/* AISS do Brasil | estilos do site */

:root {
  --azul: #2361a6;
  --azul-escuro: #184a85;
  --azul-profundo: #0b1e3a;
  --azul-noite: #071428;
  --azul-apoio: #4a86c8;
  --azul-claro: #e6eef8;
  --laranja: #f98e2b;
  --laranja-escuro: #c96510;
  --vermelho: #d8473f;
  --grafite: #1a2433;
  --grafite-2: #4a5768;
  --aco: #e9ebef;
  --aco-claro: #f4f6f8;
  --linha: #d6dce4;
  --branco: #ffffff;
  --zap: #1b8a4b;
  --zap-hover: #116b37;

  --fonte: "Inter", "Helvetica Neue", Arial, sans-serif;
  --largura: 1200px;
  --texto: 64ch;
  --raio: 10px;
  --raio-pequeno: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--fonte); font-size: 1.0625rem; line-height: 1.6;
  color: var(--grafite); background: var(--branco); text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: var(--azul-escuro); }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }

h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 0.5em; color: var(--azul-profundo); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--texto); }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--grafite-2); }

.pular { position: absolute; left: -999px; top: 0; background: var(--grafite); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.pular:focus { left: 1rem; top: 1rem; }
.conteiner { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }

/* Cabeçalho */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--linha); backdrop-filter: saturate(140%) blur(6px); }
.topo .conteiner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.topo .marca img { width: 158px; }
.menu { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.menu a { color: var(--azul-profundo); text-decoration: none; font-weight: 550; font-size: 0.95rem; white-space: nowrap; padding: 0.4rem 0; }
.menu a:hover { color: var(--azul); }
.menu a[aria-current="page"] { color: var(--azul); box-shadow: inset 0 -2px 0 var(--laranja); }
.topo .entrar { font-size: 0.92rem; color: var(--grafite-2); text-decoration: none; white-space: nowrap; }
.topo .entrar:hover { color: var(--azul); }
.abrir-menu { display: none; margin-left: auto; background: none; border: 1px solid var(--linha); border-radius: var(--raio-pequeno); padding: 0.5rem 0.8rem; font: inherit; color: var(--grafite); cursor: pointer; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.4rem; border-radius: 999px;
  font-family: var(--fonte); font-weight: 650; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.botao svg { width: 1.35em; height: 1.35em; flex: none; }
.botao-zap { background: var(--zap); color: #fff; }
.botao-zap:hover, .botao-zap:focus-visible { background: var(--zap-hover); color: #fff; }
.botao-linha { border-color: var(--azul); color: var(--azul); background: transparent; }
.botao-linha:hover { background: var(--azul); color: #fff; }
.botao-claro { border-color: rgba(255,255,255,.55); color: #fff; }
.botao-claro:hover { background: #fff; color: var(--azul-profundo); }
.botao-pequeno { padding: 0.6rem 1.05rem; font-size: 0.95rem; }
.botoes { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.nota-botao { font-size: 0.9rem; color: var(--grafite-2); margin: 0.7rem 0 0; }
.link-zap { display: inline-flex; align-items: center; gap: 0.45rem; }
.link-zap svg { width: 1.15em; height: 1.15em; flex: none; }

/* Abertura da home: foto industrial esmaecida, no espírito da home atual */
.abertura-home { position: relative; overflow: hidden; background: var(--aco-claro); min-height: min(86vh, 760px); display: flex; align-items: center; }
.abertura-home .fundo { position: absolute; inset: 0; }
.abertura-home .fundo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: grayscale(1) contrast(1.05); }
.abertura-home .fundo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--aco-claro) 0%, rgba(244,246,248,.96) 34%, rgba(244,246,248,.55) 62%, rgba(35,97,166,.18) 100%),
    linear-gradient(0deg, rgba(244,246,248,.9) 0%, rgba(244,246,248,0) 30%);
}
.abertura-home .conteiner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.abertura-home h1 { max-width: 12ch; color: var(--azul); }
.abertura-home .lead { max-width: 44ch; color: var(--grafite); }
.marcas-curtas { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: 0.95rem; color: var(--grafite-2); }
.marcas-curtas li { display: flex; align-items: center; gap: 0.5rem; }
.marcas-curtas li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); }

/* Cartão de leitura flutuante */
.leitura {
  justify-self: end; width: min(100%, 380px); background: rgba(11,30,58,.92); color: #e6eef8;
  border-radius: 14px; padding: 1.25rem 1.35rem 1.1rem; box-shadow: 0 30px 60px -24px rgba(7,20,40,.6);
  backdrop-filter: blur(4px);
}
.leitura-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.86rem; color: #a9bbd3; }
.leitura-topo strong { color: #fff; font-size: 1rem; }
.leitura-valor { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.6rem 0 0.2rem; }
.leitura-valor b { font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.leitura-valor span { font-size: 0.95rem; color: #a9bbd3; }
.estado { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 650; padding: 0.2rem 0.6rem; border-radius: 999px; }
.estado::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.estado-normal { color: #7fb3ea; background: rgba(74,134,200,.16); }
.estado-atencao { color: var(--laranja); background: rgba(249,142,43,.16); }
.estado-alerta { color: #ff8a80; background: rgba(216,71,63,.18); }
.leitura svg { width: 100%; height: 70px; display: block; margin: 0.4rem 0 0.6rem; }
.leitura .mini { fill: none; stroke: var(--azul-apoio); stroke-width: 2; }
.leitura .mini-alto { fill: none; stroke: var(--laranja); stroke-width: 2.2; }
.leitura .mini-lim { stroke: #a9bbd3; stroke-dasharray: 3 5; opacity: .6; }
.leitura-aviso { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 0.7rem; color: #dbe6f3; }
.leitura-aviso svg { width: 18px; height: 18px; margin: 0; color: #4fd18b; flex: none; }

/* Faixa de logos (desligada até autorização do cliente) */
.logos { padding: 2.5rem 0; border-bottom: 1px solid var(--linha); }
.logos p { text-align: center; margin: 0 auto 1.4rem; color: var(--grafite-2); font-size: 0.95rem; }
.logos ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3rem; }
.logos img { height: 38px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* Seções */
.secao { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.secao-aco { background: var(--aco-claro); }
.secao-escura { background: var(--azul-profundo); color: #dbe6f3; }
.secao-escura h2, .secao-escura h3 { color: #fff; }
.secao-escura p { color: #b9c8dc; }
.secao-escura .lead { color: #c9d6e7; }
.secao-escura a:not(.botao) { color: #fff; }
.intro { max-width: 760px; margin-bottom: 2.75rem; }
.intro p:last-child { margin-bottom: 0; }
.rotulo { display: inline-block; font-size: 0.92rem; font-weight: 650; color: var(--azul); margin-bottom: 0.8rem; }
.secao-escura .rotulo { color: var(--laranja); }

/* Produtos */
.produtos { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; }
.produto-card { background: var(--aco); border-radius: 18px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.produto-card .foto { background: var(--aco); display: flex; justify-content: center; }
.produto-card .foto img { width: auto; max-height: 420px; }
.produto-card .texto { padding: 0 2rem 2rem; }
.produto-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.4rem; }
.produto-card .selo { display: inline-block; background: var(--azul); color: #fff; font-size: 0.82rem; font-weight: 650; padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem; }
.produto-card .selo-laranja { background: var(--laranja); color: var(--azul-profundo); }
.especs { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0.35rem; }
.especs li { display: flex; gap: 0.6rem; font-size: 0.98rem; }
.especs li::before { content: ""; flex: none; width: 12px; height: 2px; background: var(--laranja); margin-top: 0.75em; }

/* Monitoramento: registro de leituras (exemplo ilustrativo) */
.monitor { display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: 2.5rem; }
.monitor .intro { margin-bottom: 0; }
.monitor > *, .reg, .duas-colunas > *, .faixa-foto > * { min-width: 0; }
.reg { background: var(--azul-noite); border: 1px solid #1d3558; border-radius: 16px; padding: 1.25rem 1.25rem 1rem; position: relative; }
.reg-cab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; align-items: flex-start; margin-bottom: 0.75rem; }
.reg-cab h3 { margin: 0; font-size: 1.1rem; color: #fff; }
.reg-cab p { margin: 0.15rem 0 0; font-size: 0.88rem; color: #8ea4c2; }
.reg-leg { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; list-style: none; padding: 0; margin: 0; font-size: 0.82rem; color: #a9bbd3; }
.reg-leg li { display: flex; align-items: center; gap: 0.4rem; }
.reg-leg i { width: 14px; height: 3px; border-radius: 2px; background: var(--azul-apoio); display: inline-block; }
.reg-leg i.l-at { background: var(--laranja); }
.reg-leg i.l-al { background: var(--vermelho); }
.reg-leg i.l-lim { background: none; border-top: 2px dashed #8ea4c2; height: 0; }
.reg-svg { width: 100%; height: auto; display: block; overflow: visible; cursor: crosshair; touch-action: pan-y; }
.reg-svg:focus-visible { outline: 2px solid var(--laranja); outline-offset: 4px; border-radius: 6px; }
.reg-svg .grade line { stroke: #1d3558; }
.reg-svg .eixo text { fill: #7f95b3; font-size: 12px; font-family: var(--fonte); }
.reg-svg .faixa { fill: rgba(74,134,200,.10); }
.reg-svg .lim { stroke-width: 1.2; stroke-dasharray: 5 6; }
.reg-svg .lim-at { stroke: var(--laranja); }
.reg-svg .lim-al { stroke: var(--vermelho); }
.reg-svg .lim-txt { font-size: 11.5px; font-family: var(--fonte); font-weight: 600; }
.reg-svg .serie { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.reg-svg .s-normal { stroke: var(--azul-apoio); }
.reg-svg .s-desvio { stroke: var(--laranja); stroke-width: 2.6; }
.reg-svg .area { fill: url(#gradReg); opacity: .5; }
.reg-svg .evento line { stroke: #c9d6e7; stroke-width: 1; stroke-dasharray: 2 4; }
.reg-svg .evento circle { fill: var(--azul-noite); stroke-width: 2.5; }
.reg-svg .ev-alerta circle { stroke: var(--laranja); }
.reg-svg .ev-acao circle { stroke: #4fd18b; }
.reg-svg .evento text { fill: #e6eef8; font-size: 12px; font-family: var(--fonte); font-weight: 600; }
.reg-svg .guia { stroke: #fff; stroke-width: 1; opacity: 0; }
.reg-svg .marca { fill: #fff; stroke: var(--azul-noite); stroke-width: 2; opacity: 0; }
.reg-svg.ativo .guia { opacity: .45; }
.reg-svg.ativo .marca { opacity: 1; }
.reg-pop {
  position: absolute; pointer-events: none; min-width: 190px; background: #fff; color: var(--grafite);
  border-radius: 10px; padding: 0.7rem 0.85rem; font-size: 0.86rem; line-height: 1.45;
  box-shadow: 0 16px 36px -12px rgba(0,0,0,.55); opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; z-index: 3;
}
.reg-pop.vis { opacity: 1; transform: none; }
.reg-pop b { display: block; font-size: 0.92rem; margin-bottom: 0.15rem; color: var(--azul-profundo); }
.reg-pop dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 0.1rem 0.9rem; }
.reg-pop dt { color: var(--grafite-2); }
.reg-pop dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.reg-pop .estado { margin-top: 0.45rem; }
.reg-pop .estado-normal { color: var(--azul); background: var(--azul-claro); }
.reg-pop .estado-atencao { color: var(--laranja-escuro); background: #fff1e3; }
.reg-pop .estado-alerta { color: var(--vermelho); background: #fde9e7; }
.reg-nota { font-size: 0.82rem; color: #7f95b3; margin: 0.6rem 0 0; max-width: none; }
.reg-tab { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.reg-tab caption { text-align: left; color: #c9d6e7; font-weight: 650; padding-bottom: 0.4rem; font-size: 0.9rem; }
.reg-tab th, .reg-tab td { text-align: left; padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid #1d3558; }
.reg-tab th { color: #7f95b3; font-weight: 600; }
.reg-tab td { color: #dbe6f3; }
.reg-tab tr.fora td { color: var(--laranja); }
.reg-tab .estado { font-size: 0.76rem; }

/* Painel da planta (desenhado) */
.painel { background: #fff; color: var(--grafite); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.pn-cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; background: var(--azul); color: #fff; }
.pn-cab strong { font-size: 1rem; }
.pn-cab span { font-size: 0.8rem; color: #d3e2f4; }
.pn-resumo { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-bottom: 1px solid var(--linha); }
.pn-resumo div { padding: 0.7rem 0.4rem; font-size: 0.78rem; color: var(--grafite-2); }
.pn-resumo b { display: block; font-size: 1.45rem; line-height: 1.1; color: var(--azul-profundo); }
.pn-resumo .r-at b { color: var(--laranja-escuro); }
.pn-lista { list-style: none; margin: 0; padding: 0; }
.pn-lista li { display: grid; grid-template-columns: 10px 1fr auto; gap: 0.75rem; align-items: center; padding: 0.7rem 1.15rem; border-bottom: 1px solid var(--aco); font-size: 0.9rem; }
.pn-lista .pt { width: 10px; height: 10px; border-radius: 50%; background: var(--azul-apoio); }
.pn-lista .pt-at { background: var(--laranja); box-shadow: 0 0 0 4px rgba(249,142,43,.2); }
.pn-lista small { display: block; color: var(--grafite-2); font-size: 0.78rem; }
.pn-lista .v { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.pn-lista li.at { background: #fff7ef; }
.pn-aviso { padding: 0.85rem 1.15rem; font-size: 0.84rem; color: var(--grafite-2); background: var(--aco-claro); }
.pn-aviso b { color: var(--azul-profundo); }
.monitor-lado { display: grid; gap: 1.25rem; }
.monitor-lado .botoes { margin-top: 0.25rem; }

/* Faixa com foto */
.faixa-foto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.faixa-foto figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.faixa-foto figure img { width: 100%; height: 100%; object-fit: cover; }
.invertida figure { order: 2; }

.pontos { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.pontos li { padding: 1rem 0 1rem 1.6rem; border-top: 1px solid var(--linha); position: relative; }
.pontos li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--azul); }
.pontos li:last-child { border-bottom: 1px solid var(--linha); }
.pontos strong { display: block; font-size: 1.05rem; color: var(--azul-profundo); margin-bottom: 0.15rem; }
.secao-escura .pontos li { border-color: #24406a; }
.secao-escura .pontos strong { color: #fff; }

/* Etapas (sequência real: instalar, transmitir, alertar) */
.etapas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: etapa; }
.etapas li { counter-increment: etapa; background: #fff; border-radius: 14px; padding: 1.6rem 1.5rem 1.4rem; border-top: 4px solid var(--azul); }
.etapas li::before { content: counter(etapa); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--azul-claro); color: var(--azul); font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.etapas li:last-child { border-top-color: var(--laranja); }
.etapas p { font-size: 1rem; margin: 0; }
.integracao { margin-top: 1.75rem; padding: 1.1rem 1.4rem; background: #fff; border-left: 4px solid var(--laranja); border-radius: 0 var(--raio-pequeno) var(--raio-pequeno) 0; max-width: 760px; }
.integracao p { margin: 0; }

/* Segmentos */
.segmentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.segmento { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.6; color: #fff; }
.segmento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.segmento:hover img { transform: scale(1.04); }
.segmento::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,30,58,0) 25%, rgba(11,30,58,.75) 55%, rgba(11,30,58,.96) 100%); }
.segmento div { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; z-index: 1; }
.segmento h3 { color: #fff; margin: 0 0 0.3rem; font-size: 1.35rem; }
.segmento p { margin: 0; font-size: 0.95rem; color: #d3e2f4; }
.prova { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.9rem; font-size: 1.02rem; max-width: 80ch; }
.prova::before { content: ""; width: 32px; height: 3px; background: var(--laranja); flex: none; }

/* Ficha técnica */
.ficha { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: #fff; border-radius: 14px; overflow: hidden; }
.ficha caption { text-align: left; font-weight: 800; font-size: 1.15rem; padding-bottom: 0.7rem; color: var(--azul-profundo); }
.ficha th, .ficha td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--aco); vertical-align: top; }
.ficha tr:last-child th, .ficha tr:last-child td { border-bottom: 0; }
.ficha th { font-weight: 600; width: 40%; color: var(--grafite-2); }

/* Falhas detectadas */
.falhas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.falhas li { background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 1.15rem 1.2rem; }
.falhas strong { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; color: var(--azul-profundo); }
.falhas span { color: var(--grafite-2); font-size: 0.96rem; }

/* Aplicações */
.aplicacoes { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.aplicacoes li { border: 1px solid var(--linha); background: #fff; padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.95rem; }

/* Perguntas */
.perguntas { max-width: 860px; }
.perguntas details { border-top: 1px solid var(--linha); padding: 1.15rem 0; }
.perguntas details:last-child { border-bottom: 1px solid var(--linha); }
.perguntas summary { cursor: pointer; font-weight: 650; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--azul-profundo); }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--laranja); flex: none; }
.perguntas details[open] summary::after { content: "\2212"; }
.perguntas details p { margin: 0.75rem 0 0; color: var(--grafite-2); }

/* Chamada final */
.chamada { position: relative; overflow: hidden; }
.chamada .fundo { position: absolute; inset: 0; }
.chamada .fundo img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1); }
.chamada .fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--azul-profundo) 30%, rgba(11,30,58,.6)); }
.chamada .conteiner { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: end; }
.contatos-zap { display: grid; gap: 0.8rem; justify-items: start; }
.secao-escura .nota-botao { color: #a9bbd3; }

/* Página interna e páginas de produto */
.pagina-topo { background: var(--aco-claro); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.pagina-topo h1 { max-width: 20ch; }
.pagina-topo .lead { max-width: 58ch; }
.migalha { font-size: 0.9rem; margin-bottom: 1rem; color: var(--grafite-2); }
.migalha a { color: var(--grafite-2); }

.produto-topo { background: var(--aco); padding: clamp(2.5rem, 5vw, 4rem) 0 0; overflow: hidden; }
.produto-topo .conteiner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: end; }
.produto-topo .texto { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.produto-topo h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16ch; }
.produto-topo .foto img { width: auto; max-height: 520px; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.chips li { background: #fff; border: 1px solid var(--linha); border-radius: 8px; padding: 0.55rem 0.8rem; font-size: 0.9rem; line-height: 1.3; }
.chips b { display: block; font-size: 1.05rem; color: var(--azul-profundo); }

.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.figura { margin: 0; background: var(--aco); border-radius: var(--raio); padding: 1.25rem; }
.figura figcaption { font-size: 0.88rem; color: var(--grafite-2); margin-top: 0.6rem; }

/* Blog */
.posts { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.posts li { border-top: 1px solid var(--linha); padding: 1.75rem 0; }
.posts li:last-child { border-bottom: 1px solid var(--linha); }
.posts h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.posts h2 a { color: var(--azul-profundo); text-decoration: none; }
.posts h2 a:hover { color: var(--azul); text-decoration: underline; }
.post-data { font-size: 0.92rem; color: var(--grafite-2); margin-bottom: 0.6rem; }
.artigo { max-width: 720px; }
.artigo h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.artigo ul { padding-left: 1.2rem; max-width: var(--texto); }
.artigo li { margin-bottom: 0.5rem; }
.caixa-cta { margin-top: 3rem; padding: 1.75rem; background: var(--azul-claro); border-radius: var(--raio); }
.caixa-cta h2 { font-size: 1.45rem; margin-top: 0; }

/* Rodapé */
.rodape { background: var(--azul-noite); color: #b9c8dc; padding: 3.5rem 0 2rem; font-size: 0.96rem; }
.rodape a { color: #fff; }
.rodape .conteiner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.rodape h2 { color: #fff; font-size: 1.05rem; margin-bottom: 0.8rem; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: 0.5rem; }
.rodape .marca-rodape { background: #fff; display: inline-block; padding: 0.6rem 0.8rem; border-radius: var(--raio-pequeno); margin-bottom: 1rem; }
.rodape .marca-rodape img { width: 140px; }
.rodape .credito { grid-column: 1 / -1; border-top: 1px solid #1d3558; padding-top: 1.5rem; margin-top: 1rem; font-size: 0.86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.rodape .fotos { grid-column: 1 / -1; font-size: 0.8rem; color: #7f95b3; margin: 0; max-width: none; }
.rodape .fotos a { color: #a9bbd3; }

.barra-zap { display: none; }
.lp .topo .conteiner { min-height: 68px; }

/* Entrada leve dos elementos abaixo da dobra */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-d, 0ms); }
  .rv.vis { opacity: 1; transform: none; }
  .reg-svg .serie { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .reg.vis .serie, .reg:not(.rv) .serie { animation: desenhar 1.8s ease-out .2s forwards; }
  .reg.vis .s-desvio, .reg:not(.rv) .s-desvio { animation-delay: 1.2s; animation-duration: .9s; }
  .leitura { animation: subir .8s cubic-bezier(.2,.7,.2,1) .25s both; }
  .leitura .mini-alto { stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenhar 1s ease-out 1s forwards; }
}
@keyframes desenhar { to { stroke-dashoffset: 0; } }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .abrir-menu { display: inline-block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 0.5rem 1.25rem 1rem; border-bottom: 1px solid var(--linha); }
  .menu.aberto { display: flex; }
  .menu a { padding: 0.7rem 0; width: 100%; }
  .menu a[aria-current="page"] { box-shadow: none; }
  .monitor { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .abertura-home .conteiner, .produtos, .faixa-foto, .duas-colunas, .chamada .conteiner, .rodape .conteiner, .produto-topo .conteiner { grid-template-columns: 1fr; }
  .abertura-home .fundo::after { background: linear-gradient(180deg, rgba(244,246,248,.97) 0%, rgba(244,246,248,.88) 55%, rgba(244,246,248,.6) 100%); }
  .leitura { justify-self: start; }
  .invertida figure { order: 0; }
  .etapas, .falhas, .segmentos { grid-template-columns: 1fr; }
  .segmento { aspect-ratio: 16 / 10; }
  .produto-topo .foto img { max-height: 360px; }
  .topo .botao-topo, .topo .entrar { display: none; }
  .barra-zap { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linha); }
  .barra-zap .botao { width: 100%; justify-content: center; }
  body { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .lead { font-size: 1.1rem; }
  .botoes .botao { width: 100%; justify-content: center; }
  .produto-card .texto { padding: 0 1.25rem 1.5rem; }
  .reg { padding: 1rem 0.85rem 0.85rem; }
  .reg-tab th:nth-child(3), .reg-tab td:nth-child(3) { display: none; }
}

/* Gráfico com rolagem lateral no celular, para os rótulos continuarem legíveis */
.reg-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) { .reg-svg { min-width: 640px; } }
