/* CSS da página do site: só o que fica dentro das janelas de produto (o kit não tem)
   e a altura dos painéis de cada grupo de cartões. Todo o resto vem de system.css. */

/* O "chão iluminado" atrás das janelas: o laranja da marca, claro */
:root {
  --ground-bg: #ffcf70;
  --ground-surface: #ffe9bd;
  --ground-ink: #0a0a0a;
  --ground-accent: #ff9f05;

  --oc-line: #e9e6e0;
  --oc-soft: #f4f2ee;
  --oc-muted: #77726a;
  --oc-ai: #ffedc8;
  --oc-ai-ink: #451a03;
}

.nav__logo svg { flex: none; }
.oc-sp { flex: 1; }
.oc-lede { font-size: var(--t-lead); line-height: 1.5; }
@media (min-width: 640px) { .oc-lede .link { white-space: nowrap; } }
.oc-stack-text { display: grid; gap: var(--s-5); align-content: start; }

/* ───────── peças comuns das janelas ───────── */
.oc-win, .oc-app, .oc-guard, .oc-dash, .panel > div {
  font: 400 14px/1.4 var(--font-text);
  color: #191816;
}
.oc-av {
  position: relative; flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  font: 600 13px/1 var(--font-text); color: #2a2825;
}
.oc-av--sm { width: 24px; height: 24px; font-size: 13px; transform: scale(.82); }
.oc-av__ch {
  position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
}
.oc-av__ch .ic, .oc-chs .ic, .oc-head .ic { display: block; margin: 0; }
.oc-site { color: #b45404; }

.oc-row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center;
  padding: 10px; border-radius: 12px; font-size: 13px;
}
.oc-row.is-on { background: #fff8eb; box-shadow: inset 0 0 0 1px #ffdb92; }
.oc-row .oc-av { grid-row: 1 / span 2; }
.oc-row b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-row time { color: var(--oc-muted); font-size: 13px; white-space: nowrap; }
.oc-row__text { grid-column: 2; color: var(--oc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-row em {
  grid-column: 3; justify-self: end; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: #ff9f05; color: #0a0a0a; font: 600 13px/18px var(--font-text); font-style: normal; text-align: center;
  transform: scale(.85);
}
.oc-ai {
  display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: 5px;
  background: var(--oc-ai); color: var(--oc-ai-ink); font: 600 13px/17px var(--font-text); font-style: normal;
  transform: scale(.85); transform-origin: left center;
}

.oc-chat { display: grid; align-content: start; gap: 8px; padding: 16px 18px; }
.oc-msg {
  max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45;
}
.oc-msg--in { justify-self: start; background: #fff; box-shadow: inset 0 0 0 1px var(--oc-line); border-bottom-left-radius: 6px; }
.oc-msg--ai { justify-self: end; background: var(--oc-ai); color: var(--oc-ai-ink); border-bottom-right-radius: 6px; }
.oc-msg--me { justify-self: end; background: #e9e6e0; border-bottom-right-radius: 6px; }
.oc-msg small { display: block; margin-top: 4px; font-size: 13px; color: var(--oc-muted); text-align: right; }
.oc-msg--ai small { color: #92420a; }
.oc-src {
  display: flex; width: max-content; max-width: 100%; align-items: center; gap: 5px; margin-top: 7px; padding: 2px 8px;
  border-radius: 99px; background: rgb(255 255 255 / .7); font-size: 13px; color: #78370c;
}
.oc-tool {
  justify-self: end; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--oc-muted);
}
.oc-acts { justify-self: end; display: flex; gap: 8px; }
.oc-acts span, .oc-btn, .oc-send {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 99px;
  background: #0a0a0a; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.oc-acts span + span, .oc-btn--ghost { background: #fff; color: #191816; box-shadow: inset 0 0 0 1px #d7d3cb; }
.oc-tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px;
  background: #e1ecf7; color: #1d4f7c; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.oc-tag--hot { background: #fde3df; color: #9b2c1c; }
.oc-tag--add { background: transparent; color: var(--oc-muted); box-shadow: inset 0 0 0 1px #d7d3cb; }
.oc-note {
  display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; border-radius: 12px;
  background: #fff7d6; color: #5f4a08; font-size: 13px; line-height: 1.45;
}
.oc-note svg { flex: none; margin-top: 3px; }
.oc-note b { font-weight: 600; margin-right: 4px; }
.oc-banner {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  background: #fff3dc; color: #78370c; font-size: 13px; border-bottom: 1px solid #ffdb92;
}

/* ───────── hero: a janela que sai da moldura ───────── */
.hero--centred .hero__window {
  background:
    radial-gradient(60% 90% at 14% 0%, #ffd27a, transparent 70%),
    radial-gradient(70% 110% at 92% 100%, #ff8a00, transparent 65%),
    #ff9f05;
}
/* a textura de seda (gerada no Higgsfield) por cima do gradiente, que fica de reserva enquanto carrega */
.hero--centred .hero__window { background: url("/site/media/hero-silk.webp") center / cover no-repeat, #ff9f05; }

/* ───────── quem usa: três fotos com legenda ───────── */
.oc-person { margin: 0; display: grid; gap: var(--s-4); align-content: start; }
.oc-person .frame { border-radius: var(--r-lg); }
.oc-person figcaption { display: grid; gap: 4px; font-size: 15px; line-height: 1.45; }
.oc-person figcaption b { font-weight: 500; }
@media (max-width: 1023px) and (min-width: 640px) {
  .oc-people > .oc-person { grid-column: auto / span 4; }
}
.oc-win { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgb(10 10 10 / .08), 0 30px 70px -30px rgb(69 26 3 / .55); }
.oc-win__bar {
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--oc-line); font-size: 13px; color: var(--oc-muted);
}
.oc-win__bar b { color: #191816; font-weight: 500; font-size: 14px; }
.oc-win__dots { display: flex; gap: 6px; }
.oc-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3dfd8; }
.oc-chs { display: flex; align-items: center; gap: 8px; }
.oc-win__body { display: grid; grid-template-columns: 286px minmax(0, 1fr); min-height: 420px; }
.oc-list { display: grid; align-content: start; gap: 2px; padding: 10px; border-right: 1px solid var(--oc-line); background: #faf9f7; }
.oc-search {
  display: flex; align-items: center; gap: 8px; height: 34px; margin-bottom: 6px; padding: 0 10px;
  border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--oc-line); color: var(--oc-muted); font-size: 13px;
}
.oc-convo { min-width: 0; }
.hero__window .oc-chat { padding: 14px 18px; }
@media (max-width: 639px) {
  .oc-win__body { grid-template-columns: minmax(0, 1fr); }
  .oc-list, .oc-chs, .hero__window .oc-tool { display: none; }
  .hero__window .oc-chat { padding: 12px 14px; }
  .hero__window .oc-msg { font-size: 13px; max-width: 92%; }
}

/* ───────── #canais: três painéis ───────── */
#canais .panel { --p-h: 392px; }
.oc-stack, .oc-mini, .oc-agenda {
  position: absolute; left: 24px; right: 24px; top: 28px;
  background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgb(10 10 10 / .06), 0 18px 40px -22px rgb(69 26 3 / .45);
}
.oc-stack { display: grid; gap: 2px; padding: 8px; }
.oc-mini { display: grid; gap: 8px; padding: 16px; bottom: -24px; align-content: start; border-radius: 14px 14px 0 0; }
.oc-agenda { display: grid; gap: 10px; padding: 16px; bottom: -24px; align-content: start; border-radius: 14px 14px 0 0; }
.oc-agenda__t { margin: 0; font-weight: 500; font-size: 14px; }
.oc-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.oc-days span {
  display: grid; place-items: center; height: 30px; border-radius: 9px;
  background: var(--oc-soft); color: var(--oc-muted); font-size: 13px; font-weight: 500;
}
.oc-days .is-on { background: #0a0a0a; color: #fff; }
.oc-agenda__row { display: flex; justify-content: space-between; padding-top: 9px; border-top: 1px solid var(--oc-line); font-size: 13px; color: var(--oc-muted); }
.oc-agenda__row b { color: #191816; font-weight: 500; }
.oc-night { max-width: 100%; justify-self: stretch; margin-top: 2px; }

/* ───────── #produto: a janela inteira ───────── */
.oc-app.ui {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); height: 496px;
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(10 10 10 / .09), 0 40px 80px -48px rgb(10 10 10 / .4);
}
.oc-app > .oc-app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.oc-app > .oc-app__pane + .oc-app__pane { border-left: 1px solid var(--oc-line); }
.oc-app > .oc-app__pane::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 64px;
  background: linear-gradient(transparent, #fff); pointer-events: none;
}
.oc-app__pane--list { display: grid; align-content: start; gap: 2px; padding: 12px; background: #faf9f7; }
.oc-app > .oc-app__pane--list::after { background: linear-gradient(transparent, #faf9f7); }
.oc-filters { display: flex; gap: 4px; margin-bottom: 8px; padding: 4px; border-radius: 99px; background: #ece9e3; width: max-content; max-width: 100%; }
.oc-filters span { padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--oc-muted); white-space: nowrap; }
.oc-filters .is-on { background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgb(10 10 10 / .08); }
.oc-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--oc-line); }
.oc-head > div { display: grid; min-width: 0; }
.oc-head b { font-weight: 500; font-size: 15px; }
.oc-head > div span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--oc-muted); white-space: nowrap; }
.oc-app .oc-chat { background: #faf9f7; padding: 18px; gap: 10px; }
.oc-app .oc-note { max-width: 82%; justify-self: end; }
@media (min-width: 1024px) and (max-width: 1279px) { .oc-app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .oc-app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; height: auto; }
  .oc-app > .oc-app__pane--open::after { display: none; }
  .oc-app > .oc-app__pane--list { max-height: 252px; }
  .oc-app > .oc-app__pane--list::after { display: none; }
  .oc-app > .oc-app__pane + .oc-app__pane { border-left: 0; border-top: 1px solid var(--oc-line); }
}
@media (max-width: 639px) {
  .oc-app.ui { grid-template-rows: auto; }
  .oc-app > .oc-app__pane--list, .oc-head .oc-tag { display: none; }
  .oc-app > .oc-app__pane + .oc-app__pane { border-top: 0; }
  .oc-head { padding: 10px 12px; gap: 8px; }
  .oc-app .oc-chat { padding: 12px; }
}

/* ───────── #ia: a decisão barrada, na seção escura ───────── */
.oc-protect { list-style: none; margin: var(--s-5) 0 0; padding: var(--s-6) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.oc-protect li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.oc-protect svg { flex: none; margin-top: 4px; color: #ff9f05; }
.oc-guard { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 40px 80px -40px #000; }
.oc-guard__in { display: grid; gap: 18px; padding: 32px; }
.oc-guard__top { display: flex; align-items: center; justify-content: space-between; }
.oc-guard .oc-msg { font-size: 16px; padding: 11px 15px; }
.oc-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-checks span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 99px; font-size: 13px; font-weight: 500; }
.oc-checks .is-ok { background: #eaf4ec; color: #1d5230; }
.oc-checks .is-no { background: #fdecea; color: #7a1f13; }
.oc-guard__t { margin: 0; font-size: 13px; font-weight: 500; color: var(--oc-muted); }
.oc-msg--blocked { text-decoration: line-through; text-decoration-color: rgb(69 26 3 / .45); opacity: .75; }
.oc-msg--blocked small { text-decoration: none; display: block; }
.oc-verdict { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: #fdecea; color: #7a1f13; }
.oc-verdict--ok { background: #eaf4ec; color: #1d5230; }
.oc-verdict__icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.oc-verdict div { display: grid; gap: 1px; }
.oc-verdict b { font-weight: 600; font-size: 14px; }
.oc-verdict span { font-size: 13px; }
.oc-gap { display: flex; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid var(--oc-line); font-size: 13px; color: var(--oc-muted); }

/* ───────── #equipe: quatro painéis ───────── */
/* cada painel mostra um pedaço da tela da conversa subindo do pé do painel */
#equipe .panel { --p-h: 320px; flex: 0 0 var(--p-h); }
@media (min-width: 1280px) { #equipe .panel { --p-h: 392px; } }
.oc-take, .oc-quick, .oc-notes, .oc-toasts {
  position: absolute; left: 40px; right: 40px; top: 40px; bottom: -24px;
  display: grid; gap: 10px; align-content: start; padding: 20px;
  background: #faf9f7; border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px rgb(10 10 10 / .06), 0 24px 50px -24px rgb(69 26 3 / .5);
}
.oc-take .oc-banner, .oc-toast, .oc-quick__list, .oc-composer, .oc-tags { box-shadow: inset 0 0 0 1px var(--oc-line); }
.oc-take .oc-banner { border: 0; border-radius: 14px; padding: 12px 14px; background: #fff; color: #191816; font-size: 14px; }
.oc-take .oc-banner--ai { background: #fff8eb; color: #78370c; box-shadow: inset 0 0 0 1px #ffdb92; }
.oc-take__arrow { justify-self: center; width: 2px; height: 22px; border-radius: 2px; background: rgb(10 10 10 / .35); }
.oc-quick__list { display: grid; padding: 6px; border-radius: 14px; background: #fff; }
.oc-quick__list > div { display: flex; gap: 12px; align-items: baseline; padding: 9px 10px; border-radius: 10px; font-size: 13px; color: var(--oc-muted); min-width: 0; }
.oc-quick__list > div span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-quick__list .is-on { background: #fff8eb; color: #191816; }
.oc-quick__list code { flex: none; font: 500 13px/1.4 var(--font-mono); color: #b45404; }
.oc-composer { display: flex; align-items: center; gap: 2px; padding: 8px 8px 8px 14px; border-radius: 14px; background: #fff; font-size: 14px; }
.oc-composer i { width: 2px; height: 18px; background: #ff9f05; animation: oc-caret 1.1s steps(1) infinite; }
@keyframes oc-caret { 50% { opacity: 0; } }
.oc-tags { display: flex; gap: 6px; padding: 10px; border-radius: 14px; background: #fff; width: max-content; max-width: 100%; }
.oc-notes .oc-note { padding: 12px 14px; }
.oc-toast { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fff; }
.oc-toast div { display: grid; min-width: 0; flex: 1; }
.oc-toast b { font-weight: 500; font-size: 14px; }
.oc-toast span { font-size: 13px; color: var(--oc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-toast time { font-size: 13px; color: var(--oc-muted); }


/* ───────── #painel: os números e a janela de indicadores ───────── */
.oc-stats { display: grid; margin-top: var(--s-3); }
.oc-stats > div { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-top: 1px solid var(--line); }
.oc-dash { background: #faf9f7; border-radius: 18px; box-shadow: 0 0 0 1px rgb(10 10 10 / .09), 0 40px 80px -48px rgb(10 10 10 / .4); }
.oc-dash__in { display: grid; gap: 14px; padding: 22px; }
.oc-dash__top { display: flex; align-items: center; justify-content: space-between; }
.oc-dash__top b { font: 500 20px/1.2 var(--font-display); letter-spacing: -0.02em; }
.oc-seg { display: flex; padding: 3px; border-radius: 99px; background: #ece9e3; }
.oc-seg i { padding: 4px 11px; border-radius: 99px; font-style: normal; font-size: 13px; font-weight: 500; color: var(--oc-muted); }
.oc-seg .is-on { background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgb(10 10 10 / .08); }
.oc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.oc-kpis > div { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--oc-line); }
.oc-kpis span { font-size: 13px; color: var(--oc-muted); }
.oc-kpis b { font: 500 26px/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.oc-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 16px 14px 0; border-radius: 14px 14px 0 0; background: #fff; box-shadow: inset 0 0 0 1px var(--oc-line); }
.oc-bars > span { flex: 1; display: flex; align-items: flex-end; border-radius: 6px 6px 0 0; background: #d7d3cb; overflow: hidden; }
.oc-bars i { display: block; width: 100%; background: #ff9f05; }
.oc-legend { display: flex; gap: 16px; margin-top: -4px; padding: 0 14px 12px; border-radius: 0 0 14px 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--oc-line); font-size: 13px; color: var(--oc-muted); margin-top: -15px; padding-top: 10px; clip-path: inset(1px 0 0 0); }
.oc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.oc-legend i { width: 9px; height: 9px; border-radius: 3px; background: #d7d3cb; }
.oc-legend .is-ai { background: #ff9f05; }
.oc-why { display: grid; gap: 9px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--oc-line); }
.oc-why p { margin: 0 0 2px; font-weight: 500; font-size: 14px; }
.oc-why > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 13px; color: var(--oc-muted); }
.oc-why i { display: block; height: 8px; border-radius: 99px; background: #0a0a0a; }

@media (max-width: 1023px) {
  .oc-guard, .oc-dash { margin-top: var(--s-6); }
}
/* tablet e notebooks estreitos: os três cartões de #canais não cabem lado a lado numa tela */
@media (min-width: 640px) and (max-width: 1279px) {
  #canais { --h: 2; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  #canais .grid > .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  #canais .panel { --p-h: 316px; }
  .oc-mini .oc-msg:nth-child(n + 4), .oc-quick__list > div:nth-child(3), .oc-notes .oc-note:nth-of-type(n + 3) { display: none; }
  .oc-quick > .oc-msg { display: none; }
  #equipe .panel { --p-h: 204px; }
  .oc-protect { display: none; }
  .oc-stack, .oc-mini, .oc-agenda { left: 16px; right: 16px; top: 20px; }
  .oc-take, .oc-quick, .oc-notes, .oc-toasts { left: 16px; right: 16px; top: 20px; padding: 12px; }
  .oc-take .oc-banner { flex-wrap: wrap; }
  .oc-why > div { grid-template-columns: 118px minmax(0, 1fr); }
  .oc-kpis b { font-size: 20px; }
  .oc-guard__in, .oc-dash__in { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .oc-composer i { animation: none; }
}

/* ícones de canal dentro das janelas: no tamanho pedido, não no padrão do kit */
.oc-av__ch .ic { width: 12px; height: 12px; }
.oc-chs .ic, .oc-chs .oc-site { width: 16px; height: 16px; }
.oc-head .ic { width: 13px; height: 13px; }

/* fechamento: o nome de linha a linha */
.close__word { font-size: calc(min(100vw - 2 * var(--gut), 1280px) / 3.42); }

.close__word { line-height: 1; }
/* telas largas: a palavra gigante passa da altura da tela e invadia os links; o rodapé cresce com o conteúdo */
footer.closing { height: auto; min-height: calc(var(--h, 1) * 100svh); }
footer.closing > .wrap { height: auto; grid-template-rows: minmax(min-content, 1fr) auto; }
.closing__cta { min-height: min-content; }
/* telas de 320px: o botão da barra vai para dentro do menu */
@media (max-width: 359px) { .nav__actions > .btn { display: none; } }

/* #faq: os quatro canais, com os ícones reais */
.oc-channels { list-style: none; margin: var(--s-5) 0 0; padding: var(--s-6) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.oc-channels li { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-body); font-weight: 500; }
.oc-channels .ic, .oc-channels .oc-site { width: 28px; height: 28px; margin: 0; }
.oc-head > div { flex: 0 1 auto; overflow: hidden; }
.oc-head > div span { overflow: hidden; text-overflow: ellipsis; }
