/* Home, "Conheça nossos serviços" (js/stance-home-servicos.js), 29/09/2026: 5 colunas e 20 por
   página, cards mais baixos e texto menor, segunda linha de filtros por tipo, paginação numerada,
   foto destacada no fundo do card ao passar o mouse, brilho de "carregando" e entrada suave (só
   opacidade e movimento, sem mudar tamanhos). */

/* Grade: 5 colunas no desktop largo; 4 de 960 a 1199px; 2 no tablet; 1 no celular. */
@media (min-width: 1200px) {
  #grid.js-filter > * { width: 20%; }
}

/* Cards com altura padrão (29/09/2026): o link ocupa uma área fixa na grade e o card fica por cima
   dela; título com até 3 linhas e reticências. Assim a grade nunca muda de altura. */
#grid.js-filter > li > a { position: relative; display: block; height: 108px; }
#grid.js-filter .item .uk-card {
  position: absolute;
  inset: 0 0 auto 0;
  min-height: 100%;
  height: 100%;
}
#grid.js-filter .iconTipo { flex: 0 0 44px; width: 44px; }
#grid.js-filter .iconTipo div { width: 30px; height: 26px; }
#grid.js-filter .ttlCards { position: relative; justify-content: center; padding: 10px 14px; gap: 4px; min-width: 0; }
#grid.js-filter .tipoPost { position: relative; z-index: 1; font-size: 12px; line-height: 1.3; letter-spacing: .02em; }
#grid.js-filter .ttlPost {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
@media (max-width: 639px) {
  #grid.js-filter > li > a { height: 96px; }
  #grid.js-filter .ttlPost { font-size: 13.5px; }
}

/* Mouse sobre o card: ele cresce 25% por cima dos vizinhos e mostra o título inteiro. Com foto
   destacada: a foto cobre o card todo (inclusive a coluna do ícone) em fade, nítida, sob um véu
   escuro; texto branco com sombra preta. A área do card na grade não muda, então nada se
   desloca. Só em aparelhos com mouse. */
@media (hover: hover) and (pointer: fine) {
  #grid.js-filter .item .uk-card {
    overflow: hidden;
    transition: transform .7s cubic-bezier(.22, .61, .36, 1), box-shadow .7s ease;
    transform-origin: center;
    will-change: transform;
  }
  #grid.js-filter > li:hover { position: relative; z-index: 20; }
  /* Crescimento lento e suave (29/09/2026): entra com um leve atraso, para o card não pular quando o
     mouse só atravessa a grade. */
  #grid.js-filter > li:hover .uk-card {
    height: auto;
    transform: scale(1.25);
    transition-delay: .08s;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  }
  #grid.js-filter > li:hover .ttlPost { -webkit-line-clamp: unset; display: block; }
  /* Primeira e última coluna crescem para dentro da grade. */
  #grid.js-filter > li:nth-child(5n+1) .uk-card { transform-origin: left center; }
  #grid.js-filter > li:nth-child(5n) .uk-card { transform-origin: right center; }
  /* Foto destacada (29/09/2026, 4): uma camada no card inteiro (foto + véu escuro) que só aparece em
     fade; nada muda de tamanho nem de lugar dentro do card. */
  #grid.js-filter .item .uk-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .3) 100%), var(--foto, none) center / cover no-repeat;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
  }
  #grid.js-filter li.tem-foto:hover .uk-card::before { opacity: 1; }
  #grid.js-filter li.tem-foto:hover .ttlPost,
  #grid.js-filter li.tem-foto:hover .tipoPost {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 8px rgba(0, 0, 0, .6);
  }
  #grid.js-filter li.tem-foto:hover .ttlPost { font-weight: 600; }
  /* A faixa colorida do ícone acompanha a altura do card ampliado (cards sem foto). */
  #grid.js-filter > li:hover .iconTipo { height: auto; align-self: stretch; }
}
@media (hover: hover) and (pointer: fine) and (max-width: 1199px) {
  #grid.js-filter > li:nth-child(5n+1) .uk-card,
  #grid.js-filter > li:nth-child(5n) .uk-card { transform-origin: center; }
  #grid.js-filter > li:nth-child(4n+1) .uk-card { transform-origin: left center; }
  #grid.js-filter > li:nth-child(4n) .uk-card { transform-origin: right center; }
}

/* Filtros por área: com "Todos" são 7 botões; no desktop ficam mais estreitos e, se não couberem,
   quebram de linha centralizados (no celular a linha continua rolando para o lado). */
@media (min-width: 960px) {
  ul.filtros-nav.uk-subnav.uk-subnav-pill { flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
  ul.filtros-nav.uk-subnav-pill > li > a { padding: 6px 18px; }
}

/* Segunda linha: tipo de conteúdo. */
.filtros-tipo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-family: 'Rubik', Arial, sans-serif;
}
.filtro-tipo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border: 1px solid #d9e1e7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  color: #444;
  font: 500 13px/1.3 'Rubik', Arial, sans-serif;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.filtro-tipo__ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--cor, #999); }
.filtro-tipo__n { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #eef2f5; color: #555; font-size: 11px; text-align: center; }
.filtro-tipo--consultoria { --cor: #e96c00; }
.filtro-tipo--auditoria { --cor: #4d9ad1; }
.filtro-tipo--diagnostico { --cor: #7b5bb7; }
.filtro-tipo--solucao { --cor: #ce1620; }
.filtro-tipo--cursos { --cor: #009e5e; }
@media (hover: hover) { .filtro-tipo:not(:disabled):hover { border-color: var(--cor); } }
.filtro-tipo.is-ativo { border-color: var(--cor); background: var(--cor); color: #fff; }
.filtro-tipo.is-ativo .filtro-tipo__ponto { background: #fff; }
.filtro-tipo.is-ativo .filtro-tipo__n { background: rgba(255, 255, 255, .25); color: #fff; }
.filtro-tipo:disabled { opacity: .45; cursor: default; }
@media (max-width: 767px) {
  .filtros-tipo { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
  .filtros-tipo::-webkit-scrollbar { display: none; }
  .filtro-tipo { flex: 0 0 auto; }
}

/* Paginação numerada entre as setas. */
.pagination-counter .counter { display: flex; align-items: center; gap: 6px; }
.stance-pg {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0077aa;
  font: 600 16px/36px 'Rubik', Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.stance-pg:hover { background: rgba(0, 159, 227, .12); }
.stance-pg.is-atual { background: #009fe3; color: #fff; cursor: default; }
.stance-pg-gap { padding: 0 2px; color: #7a8a94; }
.pagination-counter[hidden] { display: none !important; }

/* Troca: cards atuais esmaecidos com brilho até a resposta chegar; novos entram devagar. */
@keyframes stance-servico-brilho { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes stance-servico-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wrapGrid.is-carregando #grid > li { opacity: .5; transition: opacity .35s ease; pointer-events: none; }
.wrapGrid.is-carregando #grid > li .uk-card { position: relative; overflow: hidden; }
.wrapGrid.is-carregando #grid > li .uk-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 70%);
  background-size: 200% 100%;
  animation: stance-servico-brilho 1.4s ease-in-out infinite;
  pointer-events: none;
}
#grid > li.stance-servico-entra { animation: stance-servico-entra .75s cubic-bezier(.22, .61, .36, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .wrapGrid.is-carregando #grid > li .uk-card::after,
  #grid > li.stance-servico-entra { animation: none; }
  #grid.js-filter > li:hover .uk-card { transform: none; }
  #grid.js-filter .item .uk-card { transition: none; }
}

/* A lupa entrou na linha: pílulas um pouco mais justas para as 7 áreas seguirem numa linha só. */
@media (min-width: 960px) {
  /* Mesmo espaçamento das vitrines (29/09/2026): itens juntos e centralizados, não espalhados. */
  body ul.filtros-nav.uk-subnav.uk-subnav-pill { justify-content: center; gap: 10px; padding-left: 0; padding-right: 0; }
  ul.filtros-nav.uk-subnav.uk-subnav-pill > li > a { padding: 6px 14px; font-size: 13px; }
}

/* Altura mínima da grade (29/09/2026): sempre o espaço de uma página cheia (20 cards), para a página
   não "dançar" quando um filtro ou a última página trazem poucos itens; a paginação fica sempre no
   mesmo lugar. Linha = card de 108px + 15px de espaço. No celular (1 coluna) seriam 2.200px de
   espaço vazio, então lá a grade acompanha o conteúdo. */
@media (min-width: 640px) { #grid.js-filter { min-height: 1238px; } }  /* 2 colunas, 10 linhas */
@media (min-width: 960px) { #grid.js-filter { min-height: 623px; } }   /* 4 colunas, 5 linhas */
@media (min-width: 1200px) { #grid.js-filter { min-height: 500px; } }  /* 5 colunas, 4 linhas */
/* Com poucos cards (filtro), as linhas ficam juntas no topo; o flex esticava as linhas para ocupar a
   altura mínima e abria faixas vazias entre elas (29/09/2026). */
#grid.js-filter { align-content: flex-start; }

/* Celular (29/09/2026): 5 serviços por página. O HTML traz 20 (Google e IAs leem todos os links);
   na tela aparecem só os 5 primeiros até o JavaScript trazer a página de 5 com a paginação certa. */
@media (max-width: 639px) {
  #grid.js-filter > li:nth-child(n+6) { display: none; }
}

/* Setas das linhas de filtros que rolam para o lado (js/stance-home-servicos.js). */
.stance-rolo { position: relative; }
.stance-rolo__seta {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  padding: 0;
  border: 1px solid #e3e9ee;
  border-radius: 50%;
  background: #fff;
  color: #009fe3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  cursor: pointer;
}
.stance-rolo__seta[hidden] { display: none; }
.stance-rolo__seta--esq { left: -6px; }
.stance-rolo__seta--dir { right: -6px; }
.stance-rolo__seta:active { transform: scale(.94); }
.stance-rolo__seta:focus-visible { outline: 2px solid #009fe3; outline-offset: 2px; }

/* Metodologia, passo 3 "Implementação Ágil" (29/09/2026): o texto ficava abaixo do ícone, colado no
   passo 2; sobe para cima do ícone, alinhado com ele (o ícone e a linha não mudam). Só telas largas. */
@media (min-width: 981px) {
  .drop.drop3 .textoMetd { transform: translate(-100px, -220px); }
  .drop.drop3::after { transform: translate(-100px, -220px); } /* número grande acompanha o texto */
}

/* Hero da home com vídeo de fundo (29/09/2026). A capa (primeiro quadro, WebP de 28 KB, pré-carregada)
   é o fundo da seção e o maior elemento da tela; o vídeo entra depois do carregamento (js), por cima da
   capa e sob um véu escuro; título e descrição em branco para contrastar. */
body.home .et_pb_section_0 {
  background-image: url(/wp-content/uploads/2026/09/stance-hero-poster.webp) !important;
  background-size: cover !important;
  background-position: center !important;
  background-blend-mode: normal !important;
  background-color: #0e1a24 !important;
}
@media (max-width: 767px) {
  body.home .et_pb_section_0 { background-image: url(/wp-content/uploads/2026/09/stance-hero-poster-480.webp) !important; }
}
body.home .et_pb_section_0 .stance-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
body.home .et_pb_section_0 .stance-hero-video.is-tocando { opacity: 1; }
body.home .et_pb_section_0::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 18, 28, .82) 0%, rgba(8, 18, 28, .62) 45%, rgba(8, 18, 28, .35) 100%);
  pointer-events: none;
}
body.home .et_pb_section_0 > .et_pb_row { position: relative; z-index: 2; }
body.home #et-boc .et_pb_section_0 .et_pb_text_0 h1 { color: #fff !important; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
body.home #et-boc .et_pb_section_0 .et_pb_text_0 h1 span { color: #4cc6ff !important; }
body.home #et-boc .et_pb_section_0 .et_pb_text_1,
body.home #et-boc .et_pb_section_0 .et_pb_text_1 p { color: rgba(255, 255, 255, .92) !important; }
@media (max-width: 767px) {
  body.home .et_pb_section_0::before { background: linear-gradient(180deg, rgba(8, 18, 28, .82) 0%, rgba(8, 18, 28, .7) 60%, rgba(8, 18, 28, .5) 100%); }
}

/* Hero da home (29/09/2026): no lugar da foto e dos cartões, os 10 selos de conformidade do rodapé
   (script 70), espalhados em camadas do parallax. Cada selo: ícone em círculo de vidro, legenda, link
   para a pesquisa e balão com a explicação; no hover sobe e o círculo ganha borda amarela. As camadas
   do parallax ocupam o bloco inteiro: não recebem clique, só os selos. */
body.home .et_pb_section_0 .items__inner { background-image: none !important; }
.hero-selos { min-height: 400px; }
.hero-selos .items__layer { pointer-events: none; }
.hero-selo {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 92px;
  color: #fff !important;
  text-decoration: none !important;
  pointer-events: auto;
}
.hero-selo svg {
  width: 62px;
  height: 62px;
  padding: 13px;
  box-sizing: border-box;
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), border-color .3s ease, background-color .3s ease;
}
.hero-selo__nome { font: 600 13px/1.2 'Rubik', 'Rubik Fallback', Arial, sans-serif; letter-spacing: .03em; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
@media (hover: hover) {
  .hero-selo:hover svg { transform: translateY(-6px) scale(1.08); border-color: #fac300; background-color: rgba(250, 195, 0, .18); }
}
.hero-selo:focus-visible { outline: none; }
.hero-selo:focus-visible svg { border-color: #fac300; outline: 2px solid #fac300; outline-offset: 3px; }
.hero-selo__dica {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 5;
  width: 220px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font: 400 12.5px/1.45 'Rubik', 'Rubik Fallback', Arial, sans-serif;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity .25s ease, transform .3s ease;
  pointer-events: none;
}
.hero-selo__dica::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
.hero-selo:hover .hero-selo__dica,
.hero-selo:focus-visible .hero-selo__dica { opacity: 1; transform: translate(-50%, 0); }
.hero-selos:hover .hero-selo:not(:hover) .hero-selo__dica { opacity: 0; transition: none; }
/* Disposição espalhada (bloco de ~500x400). */
@media (min-width: 981px) {
  .hero-selo--iso { top: 18px; left: 60px; }
  .hero-selo--nr { top: 0; left: 215px; }
  .hero-selo--seginfo { top: 30px; left: 370px; }
  .hero-selo--esg { top: 135px; left: 0; }
  .hero-selo--meio-ambiente { top: 118px; left: 150px; }
  .hero-selo--iatf { top: 150px; left: 295px; }
  .hero-selo--fssc { top: 128px; left: 430px; }
  .hero-selo--comportamento { top: 262px; left: 70px; }
  .hero-selo--responsabilidade-social { top: 250px; left: 225px; }
  .hero-selo--legal { top: 275px; left: 375px; }
}
/* Celular e tablet: grade simples abaixo do botão, sem parallax. */
@media (max-width: 980px) {
  .hero-selos { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 6px; min-height: 0 !important; height: auto !important; margin-top: 26px; padding: 0 !important; }
  .hero-selos .items__layer { position: static !important; transform: none !important; width: auto !important; height: auto !important; }
  .hero-selo { position: static; width: auto; }
  .hero-selo svg { width: 50px; height: 50px; padding: 11px; }
  .hero-selo__nome { font-size: 11.5px; }
  .hero-selo__dica { display: none; }
}

/* Hero, telas de 981 a 1279px: selos um pouco mais juntos (o da direita saía da tela). */
@media (min-width: 981px) and (max-width: 1279px) {
  .hero-selo--iso { left: 40px; } .hero-selo--nr { left: 170px; } .hero-selo--seginfo { left: 300px; }
  .hero-selo--esg { left: 0; } .hero-selo--meio-ambiente { left: 110px; } .hero-selo--iatf { left: 225px; } .hero-selo--fssc { left: 330px; }
  .hero-selo--comportamento { left: 50px; } .hero-selo--responsabilidade-social { left: 175px; } .hero-selo--legal { left: 300px; }
}
/* Celular: legendas não encostam umas nas outras. */
@media (max-width: 980px) { .hero-selo__nome { font-size: 10px; letter-spacing: 0; text-align: center; white-space: nowrap; } .hero-selos { column-gap: 2px !important; } }

/* Divisão entre o hero e a faixa de números (29/09/2026): em vez do hero arredondado embaixo, a faixa
   de baixo sobe por cima com os cantos de cima arredondados (curva para baixo). */
body.home .et_pb_section_0 { border-radius: 0 !important; padding-bottom: 134px !important; }
body.home .et_pb_section_1 { z-index: 3 !important; border-top-left-radius: 80px !important; border-top-right-radius: 80px !important; padding-top: 60px !important; }
@media (max-width: 767px) {
  body.home .et_pb_section_0 { padding-bottom: 110px !important; }
  body.home .et_pb_section_1 { border-top-left-radius: 50px !important; border-top-right-radius: 50px !important; padding-top: 40px !important; }
}

/* Selos do hero (29/09/2026, ajuste): ícones maiores e sem borda, com flutuação leve e contínua (cada
   um num ritmo); na fileira de cima o balão abre para baixo (para cima ficava sob o menu). */
.hero-selo svg { width: 72px; height: 72px; padding: 15px; border: 0 !important; background: rgba(255, 255, 255, .14); }
@keyframes hero-selo-flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .hero-selo { animation: hero-selo-flutua 4.5s ease-in-out infinite; }
  .hero-selo--nr { animation-duration: 5.2s; animation-delay: -1.1s; }
  .hero-selo--seginfo { animation-duration: 4.2s; animation-delay: -2.3s; }
  .hero-selo--esg { animation-duration: 5.6s; animation-delay: -.6s; }
  .hero-selo--meio-ambiente { animation-duration: 4.8s; animation-delay: -3.1s; }
  .hero-selo--iatf { animation-duration: 5s; animation-delay: -1.7s; }
  .hero-selo--fssc { animation-duration: 4.4s; animation-delay: -2.8s; }
  .hero-selo--comportamento { animation-duration: 5.4s; animation-delay: -.3s; }
  .hero-selo--responsabilidade-social { animation-duration: 4.6s; animation-delay: -2s; }
  .hero-selo--legal { animation-duration: 5.1s; animation-delay: -3.5s; }
  .hero-selo:hover { animation-play-state: paused; }
}
@media (hover: hover) { .hero-selo:hover svg { background-color: rgba(250, 195, 0, .28); box-shadow: 0 10px 26px rgba(0, 0, 0, .35), 0 0 0 2px #fac300; } }
:is(.hero-selo--iso, .hero-selo--nr, .hero-selo--seginfo) .hero-selo__dica { bottom: auto; top: calc(100% + 10px); transform: translate(-50%, -6px); }
:is(.hero-selo--iso, .hero-selo--nr, .hero-selo--seginfo):hover .hero-selo__dica { transform: translate(-50%, 0); }
:is(.hero-selo--iso, .hero-selo--nr, .hero-selo--seginfo) .hero-selo__dica::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
.hero-selo:hover { z-index: 10; }
.hero-selos .items__layer:has(.hero-selo:hover) { z-index: 10; }
@media (max-width: 980px) { .hero-selo svg { width: 54px; height: 54px; padding: 12px; } }

/* Selos do hero (ajuste 3, 29/09/2026): hover mais suave, traço mais fino, ícone um pouco menor e o
   conjunto 36px mais para baixo. */
.hero-selo svg { width: 64px; height: 64px; padding: 14px; stroke-width: 1.25; transition: transform .7s cubic-bezier(.22, .61, .36, 1), background-color .6s ease, box-shadow .6s ease !important; }
.hero-selo svg * { stroke-width: 1.25; }
@media (hover: hover) { .hero-selo:hover svg { transform: translateY(-4px) scale(1.04); } }
@media (min-width: 981px) { .hero-selos { top: 36px; } } /* desce sem mudar a altura do hero (transform é usado pelo parallax) */
@media (max-width: 980px) { .hero-selo svg { width: 50px; height: 50px; padding: 11px; } }

/* H1 do hero (29/09/2026): primeira linha em peso black e um pouco maior; sombra mais marcada. */
body.home #et-boc .et_pb_section_0 .et_pb_text_0 h1 { text-shadow: 0 2px 4px rgba(0, 0, 0, .45), 0 4px 18px rgba(0, 0, 0, .45) !important; }
body.home #et-boc .et_pb_section_0 .et_pb_text_0 h1 span { font-size: 1.03em; } /* peso normal do título (sem black, 29/09/2026) */
/* Coluna do texto do hero um pouco mais larga no desktop largo, para "Consultoria e Treinamentos"
   (peso black) caber numa linha; os selos à direita continuam com espaço. */
@media (min-width: 1400px) {
  body.home .et_pb_section_0 .et_pb_column_0 { flex: 0 0 600px !important; max-width: 600px !important; width: 600px !important; }
  body.home .et_pb_section_0 .et_pb_text_0 { max-width: none !important; }
}
/* Descrição do hero no desktop largo: caixa de 560px, sem alcançar os selos. */
@media (min-width: 1400px) {
  body.home #et-boc .et_pb_section_0 .et_pb_text_1 { max-width: none !important; width: 560px !important; }
}

/* Hero no celular: linha mais larga (16px de respiro), H1 em no máximo 3 linhas ("Consultoria e
   Treinamentos" numa linha, o resto em duas) e descrição com a caixa inteira e 1px a mais. */
@media (max-width: 767px) {
  body.home #et-boc .et_pb_section_0 .et_pb_row_0 { width: calc(100% - 32px) !important; max-width: none !important; }
  body.home #et-boc .et_pb_section_0 h1 { font-size: 5.8vw !important; }
  body.home #et-boc .et_pb_section_0 .et_pb_text_1 { max-width: none !important; width: 100% !important; }
  body.home #et-boc .et_pb_section_0 .et_pb_text_1 p { font-size: 15px !important; }
}


/* Hero no tablet (768 a 980px): mesma ideia do celular. Colunas empilhadas na largura toda (32px de
   respiro), H1 em 3 linhas, descrição na caixa inteira com 1px a mais e selos alinhados ao texto. */
@media (min-width: 768px) and (max-width: 980px) {
  body.home #et-boc .et_pb_section_0 .et_pb_row_0 { width: calc(100% - 64px) !important; max-width: none !important; flex-wrap: wrap !important; }
  body.home #et-boc .et_pb_section_0 .et_pb_column_0,
  body.home #et-boc .et_pb_section_0 .et_pb_column_1 { width: 100% !important; flex: 0 0 100% !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  body.home #et-boc .et_pb_section_0 .et_pb_text_1 { max-width: none !important; width: 100% !important; }
  body.home #et-boc .et_pb_section_0 .et_pb_text_1 p { font-size: 17px !important; }
  body.home #et-boc .et_pb_section_0 .et_pb_code_0 { left: 0 !important; }
  body.home #et-boc .et_pb_section_0 .hero-selos { max-width: 600px; margin-left: 0 !important; margin-right: auto !important; }
}

/* Home, "Metodologia de sucesso" no desktop (29/09/2026): números um pouco mais à direita dos blocos de
   texto, frase de abertura mais perto do título e "Entre em contato" no canto inferior direito da seção
   (a caixa do botão mantém a altura, para os passos e a linha não subirem). */
@media (min-width: 981px) {
  body.home .et_pb_section_7 .drop::after { right: -62px !important; }
  body.home .et_pb_section_7 .et_pb_text_14 { margin-top: -14px !important; }
  body.home .et_pb_section_7 .et_pb_row_8,
  body.home .et_pb_section_7 .et_pb_column_14,
  body.home .et_pb_section_7 .et_pb_button_module_wrapper { position: static !important; }
  body.home .et_pb_section_7 .et_pb_button_module_wrapper { height: 30px; } /* a frase ganhou uma linha (25px); a soma fica igual e os passos não descem */
  body.home .et_pb_section_7 .et_pb_button_2 { position: absolute !important; right: max(10%, calc((100% - 1080px) / 2)); bottom: 48px; z-index: 2; }
}

/* Metodologia (29/09/2026): coluna do botão acima da coluna dos passos (as duas são itens de flex com
   z-index 2, e a dos passos, que vem depois, cobria o botão e ele não recebia o clique); frase de abertura
   em 3 linhas; texto do passo 2 começando alinhado embaixo do ícone (o ícone fica no mesmo lugar, então a
   linha que liga os passos não muda). */
@media (min-width: 981px) {
  body.home .et_pb_section_7 .et_pb_column_14 { z-index: 3 !important; }
  body.home .et_pb_section_7 .et_pb_text_14 { max-width: 440px !important; }
  body.home .et_pb_section_7 .drop2 { top: 57px !important; left: calc(37.5% - 100px) !important; }
  body.home .et_pb_section_7 #element-3 { top: -96px !important; left: 0 !important; }
}
/* Metodologia com topo reto; embaixo, igual à divisão do hero: a seção de contato sobe 80px por cima
   com os cantos de cima arredondados (curva para baixo). A Metodologia cresce 80px para o conteúdo não
   ficar sob o contato, e o botão sobe junto. */
body.home .et_pb_section_7 { border-radius: 0 !important; } /* topo reto: a linha termina no canto de cima à direita */
body.home .et_pb_section_8 { margin-top: -80px !important; border-top-left-radius: 80px !important; border-top-right-radius: 80px !important; }
@media (min-width: 981px) {
  body.home .et_pb_section_7 { max-height: 750px !important; }
  body.home .et_pb_section_7 .et_pb_button_2 { bottom: 128px !important; }
}
@media (max-width: 980px) {
  body.home .et_pb_section_7 { max-height: none !important; padding-bottom: 130px !important; }
}
@media (max-width: 767px) {
  body.home .et_pb_section_7 { padding-bottom: 100px !important; }
  body.home .et_pb_section_8 { margin-top: -50px !important; border-top-left-radius: 50px !important; border-top-right-radius: 50px !important; }
}

/* Metodologia (29/09/2026): passos, linha e botão 15px mais para cima; a coluna do título fica na camada
   de cima só por causa do botão, então ela não captura o mouse (senão tirava o hover dos passos 3 e 4).
   Ao passar o mouse numa etapa, o texto sobe um pouco, o número anda para o lado e o ícone balança em
   dentro da caixa, com brilho (a caixa não se move, então a linha continua encostada e por baixo dele).
   "translate" soma com o transform que já posiciona o texto do passo 3. */
@media (min-width: 981px) {
  body.home .et_pb_section_7 .et_pb_column_14 { pointer-events: none; }
  body.home .et_pb_section_7 .et_pb_column_14 .et_pb_button_2 { pointer-events: auto; }
}
@media (min-width: 981px) {
  body.home .et_pb_section_7 .et_pb_row_9 { margin-top: -15px !important; }
  body.home .et_pb_section_7 .et_pb_button_2 { bottom: 143px !important; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.home .et_pb_section_7 .drop .textoMetd,
  body.home .et_pb_section_7 .drop::after { transition: translate .35s cubic-bezier(.2, .8, .2, 1); }
  body.home .et_pb_section_7 .drop:hover .textoMetd { translate: 0 -5px; }
  body.home .et_pb_section_7 .drop:hover::after { translate: 6px 0; }
  body.home .et_pb_section_7 .drop:hover > [id^="element-"] { animation: stance-etapa .6s ease-in-out; box-shadow: 0 0 18px 2px rgba(250, 195, 0, .65) !important; }
}
/* O desenho balança dentro da caixa (posição do fundo) e a caixa fica parada: rotate/scale criavam uma
   camada própria e a linha passava por cima do ícone. */
@keyframes stance-etapa {
  0%, 100% { background-position: 50% 50%; }
  25% { background-position: 42% 46%; }
  60% { background-position: 57% 53%; }
}

/* Metodologia (29/09/2026): a âncora do fim da linha (element-6) vai para o canto de cima à direita; a
   linha termina na borda da tela em vez de 35px abaixo do topo. O CSS entra antes de a linha ser traçada. */
@media (min-width: 981px) { body.home .et_pb_section_7 #element-6 { translate: 0 -32px; } } /* sem deslocar para a direita: passava da borda e criava rolagem lateral */

/* Hero da Home (29/09/2026): H1 em 3 linhas fixas ("Consultoria e Cursos" / "em Segurança do Trabalho" /
   "Qualidade e ESG"). Entre 981 e 1399px a coluna do texto é estreita por causa dos selos; a fonte
   acompanha a tela para a primeira linha caber. */
@media (min-width: 981px) and (max-width: 1399px) {
  body.home #et-boc .et_pb_section_0 .et_pb_text_0 h1 { font-size: min(2.45vw, 36px) !important; }
}

/* Selos do hero (16/10/2026): LGPD virou "Segurança da Informação" e SA 8000 virou "Comportamento Seguro"
   (mesmas posições, classes novas). Legendas longas quebram em duas linhas, centralizadas sob o círculo,
   podendo passar um pouco da largura do selo. */
.hero-selo__nome { text-align: center; }
@media (min-width: 981px) { .hero-selo__nome { width: max-content; max-width: 116px; } }
@media (max-width: 980px) { .hero-selo--seginfo .hero-selo__nome, .hero-selo--comportamento .hero-selo__nome { white-space: normal; line-height: 1.15; } }

/* Hero em telas baixas (16/10/2026): notebook 1280x720 com a barra do navegador deixa ~570px de altura e os
   selos de baixo ficavam cortados. O conjunto encolhe por zoom (o transform é do parallax) e cabe na tela. */
@media (min-width: 981px) and (max-height: 800px) { .hero-selos { zoom: .88; } }
@media (min-width: 981px) and (max-height: 680px) { .hero-selos { zoom: .78; } }
/* Legenda de duas linhas de "Segurança da Informação" não encosta no círculo do FSSC. */
@media (min-width: 981px) { .hero-selo--fssc { top: 146px; } }
