/* Innesco gestão · estilos comuns do site
   Marca de tema único (claro), como no manual: fundo branco, preto, laranja. */
:root {
  --laranja: #FF6600;
  --preto: #000000;
  --branco: #FFFFFF;
  --cinza-gestao: #8A8580;
  --fundo-claro: #F2F1EE;
  --texto-2: #4A4A4A;
  --linha: #E4E2DE;
  --linha-forte: #C9C6C0;
  color-scheme: light;
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--branco); color: var(--preto); }
img { max-width: 100%; }
a { color: var(--preto); }
a:hover { color: var(--preto); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 2px;
}
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
[hidden] { display: none !important; }

/* Depoimentos (Início): faixa em loop, pausa no hover, parada com movimento reduzido */

/* Formulários */
.campo-armadilha { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


/* Curtidas do blog */
button[aria-pressed="true"] { background: var(--preto) !important; color: var(--branco) !important; border-color: var(--preto) !important; }

/* Celular: o header quebra em duas linhas, a navegação rola na horizontal dentro dela mesma */
@media (max-width: 760px) {
  header nav[aria-label="Principal"] {
    width: 100%;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 4px 20px !important;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  header nav[aria-label="Principal"] a { white-space: nowrap; flex: 0 0 auto; }
  section > div, footer > div { padding-left: max(16px, env(safe-area-inset-left, 0px)) !important; padding-right: max(16px, env(safe-area-inset-right, 0px)) !important; }
  [style*="minmax(340px"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="minmax(320px"], [style*="minmax(4"], [style*="minmax(5"] { grid-template-columns: minmax(0, 1fr) !important; }
  main h1 { font-size: clamp(36px, 10.5vw, 56px) !important; }
  main [style*="grid-template-columns"] > * { min-width: 0; }
  main table { max-width: 100%; }
  main td, main th { white-space: normal !important; overflow-wrap: anywhere; }
  form#aplicacao { flex-basis: 100% !important; min-width: 0; padding: 24px 16px !important; }
  form#aplicacao fieldset[style*="padding: 18px"] { padding: 14px !important; }
}

/* Link "pular para o conteúdo": aparece só com o teclado */
.pular { position: absolute; left: -9999px; top: 0; }
.pular:focus { left: 16px; top: 16px; z-index: 20; background: var(--preto); color: var(--branco); padding: 12px 16px; font-weight: 600; }

/* Mensagem de validação na identidade do site */
.erro-campo { margin: 2px 0 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #9A3C00; display: flex; gap: 6px; align-items: flex-start; }
.erro-campo::before { content: "!"; flex: 0 0 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--laranja); color: var(--preto); font-size: 12px; font-weight: 700; margin-top: 1px; }
form.tentou input[aria-invalid="true"]:not([type=radio]), form.tentou textarea[aria-invalid="true"] { border-color: var(--laranja) !important; box-shadow: 0 0 0 1px var(--laranja); }

/* Celular estreito (iPhone mini, SE): blocos lado a lado passam a ocupar a largura toda */
@media (max-width: 480px) {
  [style*="flex: 1 1 4"], [style*="flex: 1 1 3"], [style*="flex: 1 1 5"], [style*="flex: 999 1"], [style*="flex: 0 1 4"] { flex-basis: 100% !important; min-width: 0 !important; box-sizing: border-box; }
  [style*="minmax(2"], [style*="minmax(4"], [style*="minmax(5"] { grid-template-columns: minmax(0, 1fr) !important; }
  main h1, main h2 { hyphens: auto; -webkit-hyphens: auto; }
  [style*="padding: 40px;"], [style*="padding: 36px;"], [style*="padding: 32px;"], [style*="padding: 36px 32px"] { padding: 24px 18px !important; }
}

/* Faixa de logos de clientes (monocromática) */
.faixa-logos { display: flex; flex-direction: column; gap: 18px; }
.faixa-logos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 28px 32px; align-items: center; justify-items: center; }
.logo-cliente img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; opacity: .78; }
@media (max-width: 1100px) { .faixa-logos ul { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 760px) { .faixa-logos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .logo-cliente img { height: 38px; } }
@media (max-width: 420px) { .faixa-logos ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mosaico de fotos (sempre preto e branco) */
.mosaico { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 10px; }
.mosaico .foto { min-width: 0; }
.mosaico .larga { grid-column: span 2; }
.mosaico .alta { grid-row: span 2; }
.mosaico .grande { grid-column: span 2; grid-row: span 2; }
.mosaico button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000000; cursor: zoom-in; overflow: hidden; }
.mosaico img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .4s ease; }
@media (hover: hover) { .mosaico button:hover img { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .mosaico img { transition: none; } }
@media (max-width: 1000px) { .mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 170px; } }
@media (max-width: 600px) { .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 6px; } .mosaico .grande { grid-row: span 2; } }

/* Janelas na identidade do site (foto ampliada e confirmações) */
.modal-fundo { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.82); display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal-caixa { background: var(--branco); color: var(--preto); width: min(460px, 100%); border-top: 6px solid var(--laranja); padding: 28px; display: flex; flex-direction: column; gap: 14px; font-family: Barlow, system-ui, sans-serif; }
.modal-caixa h2 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.modal-caixa p { margin: 0; font-size: 16px; line-height: 1.5; color: #333333; }
.modal-acoes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.modal-acoes button { font-family: inherit; font-size: 16px; font-weight: 600; min-height: 46px; padding: 0 20px; cursor: pointer; border: 1px solid var(--preto); background: var(--branco); color: var(--preto); }
.modal-acoes button.confirmar { background: var(--preto); color: var(--branco); }
.galeria { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.galeria img { max-width: 100%; max-height: calc(100% - 70px); object-fit: contain; filter: grayscale(1); }
.galeria figcaption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: #D9D6D0; font-size: 14px; line-height: 1.4; padding: 0 60px; }
.galeria .g-btn { position: absolute; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); color: #FFFFFF; border: 1px solid rgba(255,255,255,.4); font-size: 26px; line-height: 1; cursor: pointer; font-family: inherit; }
.galeria .g-fechar { top: 0; right: 0; }
.galeria .g-ant { left: 0; top: 50%; transform: translateY(-50%); }
.galeria .g-prox { right: 0; top: 50%; transform: translateY(-50%); }

/* Início: painel com duas faixas de fotos em sentidos opostos; param juntas com o mouse em cima, com o foco ou ao tocar */
.fotos-painel { display: flex; flex-direction: column; gap: 10px; }
.fotos-faixa { overflow: hidden; }
.fotos-faixa ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; width: max-content; animation: fotos-correm 130s linear infinite; }
.fotos-faixa.reversa ul { animation-duration: 105s; animation-direction: reverse; }
.fotos-painel:hover ul, .fotos-painel:focus-within ul, .fotos-painel.pausada ul { animation-play-state: paused; }
@keyframes fotos-correm { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
.fotos-faixa li { flex: 0 0 auto; height: 220px; }
.fotos-faixa button { display: block; height: 100%; padding: 0; border: 0; background: #000000; cursor: zoom-in; overflow: hidden; }
.fotos-faixa img { display: block; height: 100%; width: auto; filter: grayscale(1); transition: transform .4s ease; }
@media (hover: hover) { .fotos-faixa button:hover img { transform: scale(1.03); } }
@media (max-width: 600px) { .fotos-painel { gap: 6px; } .fotos-faixa li { height: 140px; } .fotos-faixa ul { gap: 6px; animation-name: fotos-correm-p; } @keyframes fotos-correm-p { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 3px)); } } }
@media (prefers-reduced-motion: reduce) { .fotos-faixa { overflow-x: auto; } .fotos-faixa ul { animation: none; } .fotos-faixa img { transition: none; } }

/* Texto dos artigos do blog (vem do gerenciador sem estilos próprios) */
.corpo-artigo { max-width: 720px; margin: 0 auto; padding: 48px 24px 72px; font-size: 19px; line-height: 1.7; color: #1A1A1A; overflow-wrap: break-word; }
.corpo-artigo p { margin: 0 0 22px; }
.corpo-artigo h2 { margin: 40px 0 16px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.corpo-artigo h3 { margin: 32px 0 12px; font-size: 23px; font-weight: 700; line-height: 1.25; }
.corpo-artigo ul, .corpo-artigo ol { margin: 0 0 22px; padding-left: 26px; }
.corpo-artigo li { margin-bottom: 8px; }
.corpo-artigo blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--laranja); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 30px; line-height: 1.15; text-transform: uppercase; }
.corpo-artigo img { display: block; max-width: 100%; height: auto; margin: 32px auto; filter: grayscale(1); }
.corpo-artigo a { color: #000000; text-decoration-color: var(--laranja); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.corpo-artigo > :last-child { margin-bottom: 0; }
@media (max-width: 480px) { .corpo-artigo { font-size: 18px; } .corpo-artigo h2 { font-size: 28px; } .corpo-artigo blockquote { font-size: 24px; } }
[data-filtro-categoria][aria-current="page"] { background: #000000 !important; color: #FFFFFF !important; border-color: #000000 !important; }
button[data-curtir][aria-pressed="true"] { background: #000000 !important; color: #FFFFFF !important; border-color: #000000 !important; }

/* Logos de clientes girando na horizontal; param com o mouse em cima, com o foco ou ao tocar */
.logos-janela { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.faixa-logos.girando ul { display: flex; width: max-content; gap: 0; animation: logos-correm var(--duracao-logos, 40s) linear infinite; }
.faixa-logos.girando .logo-cliente { flex: 0 0 auto; margin-right: 64px; }
.faixa-logos.girando .logo-cliente img { max-width: 170px; }
.faixa-logos.girando:hover ul, .faixa-logos.girando:focus-within ul, .faixa-logos.girando.pausada ul { animation-play-state: paused; }
@keyframes logos-correm { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) { .faixa-logos.girando .logo-cliente { margin-right: 40px; } }

/* Depoimentos: cartões passando na horizontal, texto de até 5 linhas, "Ler mais" abre o depoimento completo */
.dep { position: relative; }
.dep-janela { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); padding-block: 4px; }
.dep-trilho { display: flex; gap: 24px; width: max-content; align-items: stretch; }
.dep.parado .dep-janela { -webkit-mask-image: none; mask-image: none; }
.dep.parado .dep-trilho { width: auto; flex-wrap: wrap; }
.dep.correndo .dep-trilho { animation: dep-corre var(--dep-duracao, 60s) linear infinite; }
.dep.correndo:hover .dep-trilho, .dep.correndo:focus-within .dep-trilho, .dep.pausada .dep-trilho { animation-play-state: paused; }
@keyframes dep-corre { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }
.dep-cartao { margin: 0; flex: 0 0 360px; box-sizing: border-box; padding: 30px 30px 26px; border: 1px solid #E4E2DE; background: #FFFFFF; display: flex; flex-direction: column; gap: 14px; }
.dep-texto { margin: 0; font-size: 18px; line-height: 1.5; height: 7.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.dep-mais { align-self: flex-start; height: 24px; padding: 0; border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 600; color: #000000; border-bottom: 2px solid #FF6600; cursor: pointer; visibility: hidden; }
.dep-cartao.longo .dep-mais { visibility: visible; }
.dep-mais:hover, .dep-mais:focus-visible { color: #0065A8; }
.dep-assina { display: flex; align-items: flex-start; gap: 16px; border-top: 2px solid #FF6600; padding-top: 18px; }
.dep-foto { flex: 0 0 auto; height: 84px; max-width: 132px; display: flex; background: #0A2233; }
.dep-foto img { display: block; height: 84px; width: auto; max-width: 132px; object-fit: cover; object-position: center 25%; filter: grayscale(1); }
.dep-iniciais { width: 84px; align-items: center; justify-content: center; color: #FFFFFF; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 30px; }
.dep-quem { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dep-pessoas { display: flex; flex-direction: column; gap: 4px; }
.dep-pessoa { display: flex; flex-direction: column; }
.dep-pessoa strong { font-size: 16px; font-weight: 600; line-height: 1.25; }
.dep-pessoa span { font-size: 13px; color: #4A4A4A; line-height: 1.3; }
.dep-escritorio { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #4A4A4A; }
.dep-quem > .dep-escritorio:first-child { font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 600; color: #000000; }
/* janela do depoimento completo */
.dep-modal-fundo { position: fixed; inset: 0; z-index: 90; background: rgba(10,34,51,.72); display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); animation: dep-modal-entra .2s ease-out; }
.dep-modal { position: relative; background: #FFFFFF; width: min(880px, 100%); max-height: 100%; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border-top: 6px solid #FF6600; }
.dep-modal-foto { background: #0A2233; min-height: 100%; }
.dep-modal-foto img { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: center 25%; filter: grayscale(1); }
.dep-modal-foto.dep-iniciais { font-size: 88px; min-height: 260px; display: flex; }
.dep-modal-corpo { padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.dep-modal-corpo::before { content: '“'; display: block; height: .45em; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 96px; line-height: .9; color: #FF6600; }
.dep-modal-texto { margin: 0; font-size: 19px; line-height: 1.6; }
.dep-modal .dep-assina { margin-top: 0; }
.dep-modal-fechar { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 1px solid #C9C6C0; background: #FFFFFF; font-size: 22px; line-height: 1; cursor: pointer; font-family: inherit; }
.dep-modal-fechar:hover { border-color: #000000; }
@keyframes dep-modal-entra { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 760px) {
  .dep-cartao { flex-basis: 290px; padding: 24px 22px 22px; }
  .dep-texto { font-size: 17px; }
  .dep-foto, .dep-foto img { height: 72px; }
  .dep-iniciais { width: 72px; }
  .dep-modal { grid-template-columns: 1fr; }
  .dep-modal-foto img { height: auto; max-height: 300px; }
  .dep-modal-corpo { padding: 28px 22px 24px; }
  .dep-modal-texto { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .dep.correndo .dep-trilho { animation: none; } .dep-modal-fundo { animation: none; } }

/* Trilhas · entregáveis de cada fase */
.trilha-entregaveis{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:8px 24px;font-size:15px;line-height:1.45;color:#333333}
.trilha-entregaveis li{position:relative;padding-left:22px}
.trilha-entregaveis li::before{content:"";position:absolute;left:0;top:.45em;width:10px;height:10px;border:2px solid #FF6600;box-sizing:border-box}
.trilha-entregaveis-bloco{margin-top:8px;padding:18px 20px;border:1px solid #FF6600;background:#FFFFFF;display:flex;flex-direction:column;gap:10px}
