/* OCP Robotics™ — site (base: proposta C v2, aprovada em 2026-11-26). Valores base em tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--barra); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--preto); color: var(--texto); font: 400 1rem/1.7 var(--fonte); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 1rem; color: var(--branco); }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pular { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--azul); color: var(--branco); padding: .75rem 1rem; }
.pular:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--azul-vivo); outline-offset: 3px; }
.moldura { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }

/* rótulo de seção: único elemento diagonal que permanece (pequeno traço inclinado) */
.rotulo { display: inline-flex; align-items: center; gap: .6rem; font: 600 .75rem/1 var(--fonte); letter-spacing: .14em; text-transform: uppercase; color: var(--azul-vivo); margin-bottom: 1.25rem; }
.rotulo::before { content: ""; width: 14px; height: 4px; background: var(--azul); transform: skewX(-30deg); }

/* botões institucionais: retangulares, cantos levemente arredondados */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .85rem 1.6rem; border-radius: var(--raio);
  background: var(--azul); color: var(--branco); border: 1px solid var(--azul); text-decoration: none; cursor: pointer;
  font: 600 .95rem/1 var(--fonte); letter-spacing: .01em; transition: background .2s, border-color .2s, color .2s; }
.botao:hover { background: var(--azul-escuro); border-color: var(--azul-escuro); }
.botao--linha { background: transparent; border-color: var(--linha-forte); color: var(--branco); }
.botao--linha:hover { background: rgba(255,255,255,.06); border-color: var(--branco); }
.botao--pequeno { min-height: 44px; padding: .65rem 1.15rem; font-size: .88rem; }

/* ---------- barra ---------- */
.barra { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--barra); display: flex; align-items: center; gap: 1rem; padding-inline: var(--gutter);
  background: rgba(18, 20, 22, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.barra__marca img { width: 168px; }
.barra__nav { position: fixed; inset: var(--barra) 0 auto; display: none; flex-direction: column; background: var(--preto); padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--linha); }
.barra__nav.aberto { display: flex; }
.barra__nav a:not(.botao) { font: 500 1rem/1 var(--fonte); text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--linha); color: var(--texto); }
.barra__nav a:not(.botao):hover { color: var(--azul-vivo); }
.barra__cta { margin-top: 1rem; align-self: flex-start; }
.barra__idioma { margin-left: auto; min-width: 44px; min-height: 44px; background: none; border: 1px solid var(--linha); border-radius: var(--raio); color: var(--texto-2); font: 600 .75rem/1 var(--fonte); cursor: pointer; }
.barra__menu { width: 44px; height: 44px; background: none; border: 1px solid var(--linha-forte); border-radius: var(--raio); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.barra__menu i { width: 18px; height: 2px; background: var(--branco); }
@media (min-width: 1100px) {
  .barra__nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 2rem; background: none; border: 0; padding: 0; margin-left: auto; }
  .barra__nav a:not(.botao) { font-size: .9rem; padding: .5rem 0; border: 0; }
  .barra__cta { margin: 0; }
  .barra__idioma { margin-left: 0; }
  .barra__menu { display: none; }
}

/* ---------- topo: Lit-e real em destaque ---------- */
.topo { padding: calc(var(--barra) + 2rem) 0 3rem; background: radial-gradient(60% 60% at 75% 40%, rgba(2,146,183,.14), transparent 70%), var(--preto); }
.topo__grade { display: grid; gap: 2.5rem; align-items: center; }
.topo h1 { max-width: 15ch; }
.topo h1 span { color: var(--azul-vivo); }
.topo__apoio { font-size: 1.12rem; color: var(--texto-2); max-width: 42ch; }
.topo__acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2.5rem; }
.topo__produto { margin: 0; position: relative; aspect-ratio: 1 / 1.05; }
.topo__produto canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.topo__poster { position: absolute; inset: 4% 8%; width: 84%; height: 92%; object-fit: contain; transition: opacity .6s; }
.robo-pronto .topo__poster { opacity: 0; }
.topo__produto figcaption { position: absolute; left: 0; bottom: 0; font: 500 .72rem/1 var(--fonte); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
/* botão de pausa (animação do Lit-e e vídeos) */
.robo-pausa, .video__pausa { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: rgba(18,20,22,.75); color: var(--branco); border: 1px solid var(--linha-forte); border-radius: var(--raio); }
.robo-pausa { right: 0; top: 0; bottom: auto; }
.robo-pausa[hidden], .video__pausa[hidden] { display: none; }
.robo-pausa span, .video__pausa span { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.robo-pausa[data-estado="pausado"] span, .video__pausa[data-estado="pausado"] span { width: 0; height: 0; border: 0; border-left: 12px solid currentColor; border-block: 7px solid transparent; margin-left: 3px; }

.specs { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linha-forte); }
.specs div { padding: 1rem 1rem 0 0; }
.specs div + div { padding-left: 1rem; border-left: 1px solid var(--linha); }
.specs dt { font: 600 .7rem/1 var(--fonte); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); }
.specs dd { margin: .45rem 0 0; font: 700 clamp(1.7rem, 3vw, 2.3rem)/1 var(--fonte); color: var(--branco); }
.specs dd small { font-size: .5em; font-weight: 600; color: var(--azul-vivo); }

@media (min-width: 960px) {
  .topo { min-height: 100svh; display: flex; align-items: center; padding-bottom: 4rem; }
  .topo__grade { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .topo__produto { aspect-ratio: auto; height: min(80vh, 780px); }
}

/* ---------- seções ---------- */
.secao { padding: 5rem 0; border-top: 1px solid var(--linha); }
.secao__lead { font-size: 1.08rem; color: var(--texto-2); max-width: 60ch; }
@media (min-width: 768px) { .secao { padding: 7rem 0; } }

/* ---------- OCP Lit-e ---------- */
.lite { background: var(--fundo-2); }
.lite__grade { display: grid; gap: 3rem; }
.lite__nome { margin: 0 0 1.5rem; }
.lite__nome img { width: min(100%, 360px); }
.lite__lead { font: 600 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--fonte); color: var(--branco); max-width: 28ch; }
.lite__texto > p:not(.rotulo):not(.lite__lead):not(.selo) { color: var(--texto-2); max-width: 54ch; }
.selo { display: inline-flex; align-items: center; gap: .5rem; margin: .5rem 0 0; font: 500 .8rem/1 var(--fonte); color: var(--texto-2); }
.selo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azul-vivo); }
.lite__foto { margin: 0; justify-self: center; width: min(100%, 440px); border-radius: 10px; overflow: hidden; background: #d9dbdc; }
.lite__foto img { width: 100%; }
.ficha { width: 100%; border-collapse: collapse; font-size: .98rem; }
.ficha caption { text-align: left; font: 600 .75rem/1 var(--fonte); letter-spacing: .14em; text-transform: uppercase; color: var(--azul-vivo); padding-bottom: 1rem; }
.ficha th, .ficha td { padding: 1rem 0; border-top: 1px solid var(--linha); text-align: left; vertical-align: baseline; }
.ficha th { font-weight: 500; color: var(--texto-2); width: 55%; }
.ficha td { font-weight: 700; color: var(--branco); }
@media (min-width: 960px) {
  .lite__grade { grid-template-columns: 1.1fr 1fr; column-gap: 5rem; align-items: center; }
  .ficha { grid-column: 1 / -1; display: grid; }
  .ficha tbody { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--linha-forte); }
  .ficha tr { display: flex; flex-direction: column-reverse; padding: 1.25rem 1.25rem 0 0; }
  .ficha tr + tr { padding-left: 1.25rem; border-left: 1px solid var(--linha); }
  .ficha th, .ficha td { border: 0; padding: 0; width: auto; }
  .ficha td { font-size: 1.5rem; margin-bottom: .4rem; }
  .ficha th { font-size: .82rem; }
}

/* ---------- tecnologia ---------- */
.tecnologia__cab { display: grid; gap: 2.5rem; margin-bottom: 3.5rem; }
.tecnologia__foto { margin: 0; border-radius: 10px; overflow: hidden; background: #e7e7e5; max-width: 400px; }
.tecnologia__foto img { width: 100%; }
.tecnologia__foto figcaption { padding: .75rem 1rem; font: 500 .82rem/1.4 var(--fonte); color: var(--texto-2); background: var(--fundo-3); }
.pilares { display: grid; gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: 10px; overflow: hidden; }
.pilar { background: var(--preto); padding: 2rem 1.75rem; }
.pilar svg, .aplicacao svg { width: 36px; fill: none; stroke: var(--azul-vivo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.25rem; }
.pilar p, .aplicacao p { margin: 0; color: var(--texto-2); font-size: .95rem; }
@media (min-width: 700px) { .pilares { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .tecnologia__cab { grid-template-columns: 1.3fr 1fr; align-items: center; column-gap: 5rem; }
  .tecnologia__foto { justify-self: end; }
  .pilares { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- OCP Studio (reorganizado em 12/11: trajetória + estação de trabalho) ---------- */
.studio { background: var(--fundo-2); }
.studio h2 { max-width: 20ch; }

/* fluxo como trajetória do robô: pontos P1–P4 ligados por uma linha */
.fluxo { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 1.75rem; position: relative; }
.fluxo li { position: relative; padding-left: 2.5rem; }
.fluxo::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--azul), var(--azul-vivo)); opacity: .55; }
.fluxo__ponto { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--fundo-2); border: 2px solid var(--azul-vivo); box-shadow: 0 0 0 4px rgba(31,176,216,.12); }
.fluxo__ponto::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--azul-vivo); }
.fluxo__p { display: block; font: 600 .7rem/1 var(--fonte); letter-spacing: .14em; color: var(--azul-vivo); margin-bottom: .45rem; }
.fluxo h3 { margin-bottom: .35rem; }
.fluxo p { margin: 0; color: var(--texto-2); font-size: .95rem; max-width: 30ch; }
@media (min-width: 900px) {
  .fluxo { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .fluxo::before { left: 10px; right: 10%; top: 9px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, var(--azul), var(--azul-vivo)); }
  .fluxo li { padding-left: 0; padding-top: 2.4rem; }
}

/* estação de trabalho: monitor principal + lista de vídeos e telas */
.estacao { display: grid; gap: 1rem; margin-top: 3.5rem; padding: .75rem; background: var(--preto);
  border: 1px solid var(--linha); border-radius: 10px; }
.monitor { min-width: 0; }
.monitor__barra { display: flex; align-items: center; gap: .65rem; padding: .65rem .85rem; background: var(--fundo-3);
  border: 1px solid var(--linha); border-bottom: 0; border-radius: 8px 8px 0 0;
  font: 600 .72rem/1.2 var(--fonte); letter-spacing: .1em; text-transform: uppercase; }
.monitor__luz { width: 8px; height: 8px; border-radius: 50%; background: var(--azul-vivo); box-shadow: 0 0 8px var(--azul-vivo); flex: none; }
.estacao[data-parado] .monitor__luz { background: var(--texto-2); box-shadow: none; }
.monitor__titulo { color: var(--texto); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor__estado { margin-left: auto; color: var(--texto-2); flex: none; }
.monitor__tela { position: relative; aspect-ratio: 16 / 10; background: #0b0d0f; border: 1px solid var(--linha);
  border-radius: 0 0 8px 8px; overflow: hidden; }
.monitor__painel { position: absolute; inset: 0; }
.monitor__painel[hidden] { display: none; }
.monitor__painel video, .monitor__painel img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* marcas de enquadramento, como numa câmera de visão */
.monitor__canto { position: absolute; width: 18px; height: 18px; pointer-events: none; border: 2px solid var(--azul-vivo); opacity: .8; }
.monitor__canto--a { top: .6rem; left: .6rem; border-right: 0; border-bottom: 0; }
.monitor__canto--b { bottom: .6rem; left: .6rem; border-right: 0; border-top: 0; }
.monitor__legenda { margin: .85rem .25rem .25rem; color: var(--texto-2); font-size: .95rem; min-height: 3em; }

.lista { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
.lista__item { flex: 0 0 200px; scroll-snap-align: start; display: grid; gap: .55rem; padding: .5rem; text-align: left; cursor: pointer;
  background: transparent; color: var(--texto); border: 1px solid var(--linha); border-radius: 8px; font: inherit;
  transition: border-color .2s, background-color .2s; }
.lista__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 4px; background: #0b0d0f; }
.lista__item small { display: block; font: 600 .66rem/1.2 var(--fonte); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); margin-bottom: .2rem; }
.lista__item strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.25; }
.lista__item:hover { border-color: var(--linha-forte); background: var(--fundo-3); }
.lista__item[aria-selected="true"] { border-color: var(--azul); background: var(--fundo-3); box-shadow: inset 3px 0 0 var(--azul-vivo); }
.lista__item[aria-selected="true"] small { color: var(--azul-vivo); }
.lista__item:focus-visible { outline: 2px solid var(--azul-vivo); outline-offset: 2px; }

@media (min-width: 960px) {
  .estacao { grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; padding: 1rem; align-items: start; }
  .lista { flex-direction: column; overflow: visible; padding: 0; }
  .lista__item { flex: none; grid-template-columns: 104px 1fr; align-items: center; gap: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .lista__item { transition: none; } }

/* ---------- aplicações ---------- */
.aplicacoes__grade { display: grid; gap: 1rem; margin-top: 2.5rem; }
.aplicacao { padding: 1.75rem; background: var(--fundo-2); border: 1px solid var(--linha); border-radius: 8px; }
.publicos { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.publicos li { font: 500 .85rem/1 var(--fonte); padding: .7rem 1rem; border: 1px solid var(--linha); border-radius: 999px; color: var(--texto-2); }
@media (min-width: 700px) { .aplicacoes__grade { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .aplicacoes__grade { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sobre ---------- */
.sobre { background: var(--fundo-2); }
.sobre__grade { display: grid; gap: 2.5rem; }
.sobre__texto { color: var(--texto-2); font-size: 1.08rem; max-width: 56ch; }
.diferenciais { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha-forte); }
.diferenciais li { display: flex; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--linha); font-weight: 600; color: var(--branco); }
.diferenciais li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(2,146,183,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231FB0D8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (min-width: 960px) { .sobre__grade { grid-template-columns: 1fr 1fr; column-gap: 5rem; align-items: center; } }

/* ---------- contato ---------- */
.contato__grade { display: grid; gap: 3rem; }
.canais { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--linha); }
.canais li { display: grid; grid-template-columns: 7rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--linha); }
.canais span { font: 600 .72rem/1.9 var(--fonte); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); }
.canais a { font-weight: 600; text-decoration: none; color: var(--azul-vivo); word-break: break-all; }
.formulario { display: grid; gap: 1rem; background: var(--fundo-2); border: 1px solid var(--linha); border-radius: 10px; padding: 1.75rem; }
.campo { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.campo label, .campo legend { font: 600 .75rem/1 var(--fonte); letter-spacing: .06em; color: var(--texto-2); padding: 0; margin-bottom: .4rem; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; background: var(--preto); color: var(--branco); border: 1px solid var(--linha-forte); border-radius: var(--raio); font: 400 1rem/1.4 var(--fonte); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul-vivo); box-shadow: 0 0 0 3px rgba(31,176,216,.2); }
.pilulas { display: flex; flex-wrap: wrap; gap: .5rem; }
.pilulas label { cursor: pointer; margin: 0; }
.pilulas input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pilulas span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--linha-forte); border-radius: var(--raio); font: 500 .9rem/1 var(--fonte); color: var(--texto); }
.pilulas input:checked + span { background: var(--azul); border-color: var(--azul); color: var(--branco); }
.pilulas input:focus-visible + span { outline: 2px solid var(--azul-vivo); outline-offset: 2px; }
.aceite { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--texto-2); }
.aceite input { accent-color: var(--azul); width: 18px; height: 18px; flex: none; }
@media (min-width: 640px) { .formulario { grid-template-columns: 1fr 1fr; padding: 2.25rem; } .campo--largo { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .contato__grade { grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; } }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); padding: 3rem 0 6rem; }
.rodape__grade { display: grid; gap: 1.5rem; }
.rodape img { width: 180px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.rodape nav a { font: 500 .88rem/1 var(--fonte); text-decoration: none; padding: .9rem 0; color: var(--texto-2); }
.rodape nav a:hover { color: var(--azul-vivo); }
.rodape p { margin: 0; font-size: .85rem; color: var(--texto-2); }
@media (min-width: 900px) { .rodape__grade { grid-template-columns: auto 1fr auto; align-items: center; } .rodape nav { justify-content: center; } }

/* ---------- flutuantes ---------- */
.whats { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; background: var(--azul); border-radius: 50%; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.whats svg { width: 28px; fill: var(--branco); }
.aviso { position: fixed; left: 50%; bottom: 5.5rem; transform: translate(-50%, 20px); z-index: 60; max-width: calc(100% - 2rem); border-radius: var(--raio);
  background: var(--branco); color: var(--preto); padding: .8rem 1.1rem; font: 500 .85rem/1.4 var(--fonte); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }

/* ---------- produção (2026-11-27): formulário real e aviso de privacidade ---------- */
.campo--isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.campo__erro { font-size: .82rem; color: var(--erro); }
.campo [aria-invalid="true"] { border-color: var(--erro); }
.formulario__retorno { margin: 0; font-size: .95rem; min-height: 1.5em; }
.formulario__retorno:empty { display: none; }
.formulario__retorno--ok { color: var(--ok); }
.formulario__retorno--erro { color: var(--erro); }
.formulario [type="submit"][disabled] { opacity: .6; cursor: progress; }
.aceite a { color: var(--azul-vivo); }
.privacidade { padding-bottom: 2rem; color: var(--texto-2); font-size: .9rem; }
.privacidade summary { cursor: pointer; color: var(--texto); font-weight: 600; padding: .75rem 0; }
.privacidade p { max-width: 70ch; }
.privacidade a { color: var(--azul-vivo); }
/* idioma (2026-11-27): o botão EN/PT virou link para a outra versão */
a.barra__idioma { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
a.barra__idioma:hover { color: var(--branco); border-color: var(--linha-forte); }
