/* AGJ Treinamento e Consultoria — one-page
   Paleta extraída do material da marca (ver NOTAS-DECISOES.md) */
:root {
  --cor-principal: #3ABAC2;          /* turquesa — Guia da Marca p.7 */
  --cor-principal-escura: #2E959B;   /* hover (~20% mais escura) */
  --cor-principal-texto: #1F7178;    /* texto pequeno sobre claro (AA) */
  --cor-principal-profunda: #1C5D62; /* ícones do Guia de Serviços */
  --cor-principal-clara: #9BE0E5;    /* texto turquesa sobre grafite (AA) */
  --cor-apoio: #38B6FF;              /* azul da pirâmide do logo — decorativo */
  --cinza-marca: #D9D9D9;            /* face clara da pirâmide */
  --grafite: #545454;                /* fundo do material da marca */
  --escuro: #2E3031;
  --claro: #F5F6F6;
  --lavado: #E9F6F7;
  --branco: #FFFFFF;
  --texto: #222526;
  --texto-2: #545454;
  --linha: #D5DFE0;
  --sombra: 0 18px 40px -22px rgba(30, 40, 42, .35);
  --raio: 0;
  --raio-btn: 0;
  --topo-h: 76px;
  --fonte: "Anek Latin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-titulo: var(--fonte);
  --fonte-texto: var(--fonte);
  --largura-titulo: 88%;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip; background: var(--claro); color: var(--texto);
  font-family: var(--fonte-texto); font-size: 17px; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); font-weight: 650; font-stretch: var(--largura-titulo); letter-spacing: -.025em; line-height: 1.06; margin: 0 0 .5em; color: var(--texto); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cor-principal); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.pular {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--raio-btn);
  background: var(--escuro); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s;
}
.pular:focus { top: 12px; }

/* Ícones */
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; flex: none; }
.ico-wa { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn .ico-wa { width: 22px; height: 22px; margin: -2px 0; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: var(--raio-btn); border: 2px solid transparent;
  background: transparent; font-family: var(--fonte-texto); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--pri { background: var(--cor-principal); color: #142527; box-shadow: 0 10px 22px -12px rgba(58, 186, 194, .9); }
.btn--pri:hover { background: var(--cor-principal-escura); color: #fff; }
.btn--sec { border-color: var(--grafite); color: var(--texto); background: transparent; }
.btn--sec:hover { background: var(--grafite); color: #fff; }

.link {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem;
  color: var(--cor-principal-texto); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px;
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 2px; }
.link .ico { transition: transform .25s var(--ease); }
.link:hover .ico { transform: translateX(3px); }

.rotulo {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.1rem;
  font-size: 22px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cor-principal-texto);
}
.rotulo::before { content: ""; width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-bottom: 17px solid var(--cor-principal); }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--topo-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.topo.is-rolado { box-shadow: 0 8px 28px -18px rgba(0, 0, 0, .45); border-color: var(--linha); }
.topo__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topo__logo img { width: 190px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu ul { display: flex; gap: 26px; }
.menu ul a {
  position: relative; font-size: .9rem; font-weight: 600; color: var(--texto-2); text-decoration: none; padding: 6px 0;
}
.menu ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cor-principal);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.menu ul a:hover, .menu ul a.is-ativo { color: var(--texto); }
.menu ul a:hover::after, .menu ul a.is-ativo::after { transform: scaleX(1); }
.menu__cta { padding: .75em 1.2em; }
.topo__menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--raio-btn); position: relative; }
.topo__menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--texto); border-radius: 0; transition: transform .3s var(--ease), opacity .2s; }
.topo__menu-btn span:nth-child(1) { top: 15px; }
.topo__menu-btn span:nth-child(2) { top: 21px; }
.topo__menu-btn span:nth-child(3) { top: 27px; }
.topo__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topo__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topo__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Seções ---------- */
.secao { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.secao--clara { background: var(--claro); }
.secao--lavada { background: var(--lavado); }
.secao--escura { background: var(--grafite); color: #fff; }
.secao--escura h2, .secao--escura h3 { color: #fff; }
.secao--escura .rotulo { color: var(--cor-principal-clara); }
.secao h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.cabeca { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.cabeca p:last-child { color: var(--texto-2); font-size: 1.05rem; margin: 0; }
.cabeca--esq { text-align: left; margin: 0; }
.secao--escura .cabeca p { color: rgba(255, 255, 255, .86); }
.destaque { color: var(--cor-principal-texto); }

/* ---------- Máscaras com foto (zoom-out ao entrar) ---------- */
.mascara { position: relative; overflow: hidden; background: var(--cinza-marca); }
.mascara picture { position: absolute; inset: 0; }
.mascara img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 1.8s var(--ease); }
.is-in .mascara img, .mascara.is-in img { transform: scale(1); }

/* ---------- Hero: foto de processo cobrindo o fundo inteiro ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: min(100svh, 940px); padding: calc(var(--topo-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 112px);
  background: var(--escuro); color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--escuro); }
.js .hero__bg[data-reveal] { transform: none; transition: opacity 1.2s var(--ease); }
.hero__bg img { object-position: 60% 50%; transform: scale(1.14); transition: transform 2.4s var(--ease); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(34, 37, 38, .94) 0%, rgba(34, 37, 38, .84) 38%, rgba(34, 37, 38, .42) 72%, rgba(34, 37, 38, .22) 100%),
    linear-gradient(0deg, rgba(34, 37, 38, .7) 0%, rgba(34, 37, 38, 0) 34%);
}
.hero__grid { position: relative; }
.hero__txt { max-width: 900px; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 5rem); line-height: .98; margin-bottom: .42em; color: #fff; }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 590px; }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero .btn--sec { border-color: rgba(255, 255, 255, .8); color: #fff; }
.hero .btn--sec:hover { background: #fff; border-color: #fff; color: var(--texto); }
.hero__prova { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); max-width: 660px; }
.hero__prova p { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero__prova ul { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.hero__prova img { height: 28px; width: auto; opacity: .85; }

.marca { position: relative; display: inline-block; white-space: nowrap; color: var(--cor-principal); }
.marca__traco { position: absolute; left: -2%; width: 104%; bottom: -.12em; height: .3em; overflow: visible; }
.marca__traco path {
  fill: none; stroke: var(--cor-principal); stroke-width: 7; stroke-linecap: square;
  stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400);
  transition: stroke-dashoffset 1.1s var(--ease) 1.15s;
}
.is-in .marca__traco path { stroke-dashoffset: 0; }

.hero__metodo { position: absolute; right: 0; bottom: calc(-1 * clamp(40px, 6vw, 72px)); display: flex; align-items: flex-end; gap: 14px; }
.piramide { width: clamp(64px, 7vw, 96px); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .3)); }
.piramide__a { fill: var(--cor-apoio); }
.piramide__b { fill: var(--cinza-marca); }
.hero__selo { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.hero__selo span {
  padding: 7px 14px; background: rgba(255, 255, 255, .1); border-left: 3px solid var(--cor-principal); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* Palavra a palavra */
[data-palavras] .p { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
[data-palavras] .p > span { display: inline-block; }
.js [data-palavras] .p > span { transform: translateY(105%); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js [data-palavras].is-in .p > span { transform: none; opacity: 1; }
.p.unidade { overflow: visible; }

/* Revelação ao rolar */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Sobre ---------- */
.sobre__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.mascara--sobre { aspect-ratio: 4 / 4.6; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); border-radius: 0; }
.sobre__foto { position: relative; isolation: isolate; }
.sobre__foto::after {
  content: ""; position: absolute; right: -18px; top: -18px; width: 38%; aspect-ratio: 1; z-index: -1;
  background: var(--cor-principal); clip-path: polygon(100% 0, 100% 100%, 0 0); opacity: .9;
}
.sobre__txt p { color: var(--texto-2); }
.sobre__txt p strong { color: var(--texto); }
.assinatura { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 32px 0 0; border-top: 1px solid var(--linha); }
.assinatura > div { padding: 18px 16px 0 0; }
.assinatura > div + div { padding-left: 16px; border-left: 1px solid var(--linha); }
.assinatura dt { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cor-principal-texto); margin-bottom: 6px; }
.assinatura dt .ico { width: 1.1em; height: 1.1em; }
.assinatura dd { margin: 0; font-weight: 650; font-stretch: var(--largura-titulo); letter-spacing: -.015em; font-size: 1.25rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.assinatura small { display: block; margin-top: 4px; font-stretch: 100%; letter-spacing: 0; font-weight: 400; font-size: .88rem; color: var(--texto-2); line-height: 1.4; }

/* ---------- Faixa com imagem fixa ---------- */
.faixa {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  min-height: clamp(360px, 62vh, 620px); color: #fff; text-align: center; background: var(--escuro);
}
.faixa__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("../img/faixa-linha-producao.jpg");
  background-image: image-set(url("../img/faixa-linha-producao.webp") type("image/webp"), url("../img/faixa-linha-producao.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
}
.faixa::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 33, 34, .55), rgba(30, 33, 34, .78));
}
@media (hover: hover) and (pointer: fine) { .faixa__bg { background-attachment: fixed; } }
.parallax-js .faixa__bg { inset: -20% 0; will-change: transform; }
.faixa__txt p {
  margin: 0 auto; max-width: 980px; font-weight: 650; font-stretch: var(--largura-titulo); line-height: 1.04; letter-spacing: -.025em;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
}
.faixa__txt em { font-style: normal; color: var(--cor-principal); }
.faixa__txt small { display: block; margin-top: 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }

/* ---------- Serviços (pilares) ---------- */
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pilar {
  display: flex; flex-direction: column; background: var(--branco); border-radius: var(--raio); overflow: hidden;
  border: 1px solid var(--linha); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease);
}
.pilar:hover, .js .pilar.is-in:hover { transform: translateY(-6px); box-shadow: var(--sombra); transition-delay: 0s; }
.mascara--card { aspect-ratio: 16 / 10; clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
.pilar__corpo { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 28px 28px; }
.pilar__ico {
  display: grid; place-items: center; width: 56px; height: 56px; margin: -30px 0 16px; position: relative; z-index: 1;
  border-radius: 0; background: var(--grafite); color: var(--cor-principal); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
}
.pilar__ico .ico { width: 26px; height: 26px; }
.pilar h3 { font-size: 1.5rem; letter-spacing: -.01em; }
.pilar p { color: var(--texto-2); font-size: .95rem; }
.pilar .link { margin-top: auto; align-self: flex-start; }

/* ---------- Treinamentos ---------- */
.trein__topo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.trein__topo .btn { margin-top: 8px; }
.mascara--trein { aspect-ratio: 16 / 10.5; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); border-radius: 0; background: var(--escuro); }
.programas { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; counter-reset: none; }
.programa {
  position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: var(--raio);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .3s, border-color .3s, transform .35s var(--ease), opacity .8s var(--ease);
}
.programa::before {
  content: ""; position: absolute; right: 0; top: 0; width: 46px; height: 46px; 
  background: var(--cor-principal); clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: .0; transition: opacity .3s;
}
.programa:hover, .js .programa.is-in:hover { background: rgba(255, 255, 255, .09); border-color: rgba(58, 186, 194, .6); transform: translateY(-4px); transition-delay: 0s; }
.programa:hover::before { opacity: 1; }
.programa__num { font-weight: 650; font-stretch: var(--largura-titulo); letter-spacing: -.02em; font-size: 2.4rem; line-height: 1; color: var(--cor-principal); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.programa h3 { font-size: 1.28rem; margin-bottom: .55em; }
.programa p { font-size: .88rem; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.programa .link { margin-top: auto; align-self: flex-start; color: var(--cor-principal-clara); }

/* ---------- Consultoria ---------- */
.cons__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.cons__intro p { color: var(--texto-2); }
.cons__foto { margin-top: 28px; }
.mascara--cons { aspect-ratio: 16 / 10; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%); border-radius: 0; }

.linha { position: relative; padding-left: 0; --fill: 0; }
.linha::before, .linha::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; border-radius: 0;
}
.linha::before { background: var(--linha); }
.linha::after { background: var(--cor-principal); transform-origin: top; transform: scaleY(var(--fill)); }
.linha__passo { position: relative; padding: 0 0 44px 84px; }
.linha__passo:last-child { padding-bottom: 0; }
.linha__marco {
  position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 57px; height: 57px; border-radius: 0;
  background: var(--branco); color: var(--texto-2); border: 3px solid var(--linha); transition: background-color .4s, border-color .4s, color .4s;
}
.linha__marco .ico { width: 24px; height: 24px; }
.linha__passo.is-ativo .linha__marco { background: var(--grafite); border-color: var(--cor-principal); color: var(--cor-principal); }
.linha__etapa { margin: 4px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums; text-transform: uppercase; color: var(--cor-principal-texto); }
.linha__passo h3 { font-size: 1.7rem; margin-bottom: .3em; }
.linha__passo p:last-child { color: var(--texto-2); margin: 0; }

.areas { margin-top: clamp(64px, 9vw, 112px); }
.areas__cabeca { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 8px; }
.areas__titulo { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.areas__cabeca p { margin: 0; max-width: 460px; color: var(--texto-2); }

/* Escada: cinco cards iguais que sobem da esquerda para a direita.
   O degrau (linha turquesa) se desenha em sequência quando a lista entra na tela. */
.degraus {
  --passo: clamp(28px, 3.6vw, 48px); --vao: 14px;
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--vao); align-items: stretch;
  padding-top: calc(var(--passo) * 4 + 64px);
}
.js .degraus[data-reveal] { opacity: 1; transform: none; }
.degrau { position: relative; display: flex; transform: translateY(calc(var(--passo) * var(--n) * -1)); }
.degrau::before, .degrau::after { content: ""; position: absolute; background: var(--cor-principal); }
/* piso do degrau: sobre o card, atravessando o vão até o próximo */
.degrau::before { left: 0; top: -14px; height: 4px; width: calc(100% + var(--vao)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); transition-delay: calc(var(--n) * .42s + .5s); }
/* espelho do degrau: sobe até o piso do próximo */
.degrau::after { left: calc(100% + var(--vao) - 4px); top: calc(-14px - var(--passo)); width: 4px; height: calc(var(--passo) + 4px); transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--ease); transition-delay: calc(var(--n) * .42s + .9s); }
.degrau:last-child::before { width: 100%; }
.degrau:last-child::after { display: none; }
.degraus.is-in .degrau::before { transform: scaleX(1); }
.degraus.is-in .degrau::after { transform: scaleY(1); }

.degrau__card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; width: 100%;
  padding: 22px 20px 20px; background: var(--branco); border: 1px solid var(--linha);
  opacity: 0; transform: translateY(48px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s, box-shadow .3s;
  transition-delay: calc(var(--n) * .42s + .2s);
}
.degraus.is-in .degrau__card { opacity: 1; transform: none; }
/* hover: o grafite sobe por dentro do card */
.degrau__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grafite); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.degrau__card:hover { border-color: var(--grafite); box-shadow: var(--sombra); transition-delay: 0s; }
.degrau__card:hover::before { transform: scaleY(1); }
.degrau__card:hover h4, .degrau__card:hover p { color: #fff; }
.degrau__card:hover .degrau__num { color: var(--cor-principal); }
.degrau__card:hover .degrau__link { color: var(--cor-principal-clara); }
.degrau__num { font-weight: 650; font-stretch: var(--largura-titulo); font-size: 2.6rem; line-height: 1; color: var(--cor-principal-texto); font-variant-numeric: tabular-nums; margin-bottom: 14px; transition: color .3s; }
.degrau h4 { font-size: 1.2rem; margin-bottom: .55em; transition: color .3s; }
.degrau p { font-size: .9rem; line-height: 1.55; color: var(--texto-2); transition: color .3s; }
.degrau__link { margin-top: auto; align-self: flex-start; font-size: .88rem; }
.degrau__piramide {
  position: absolute; right: -4px; top: calc(-14px - 58px); width: 44px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18));
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(4 * .42s + 1.1s);
}
.degraus.is-in .degrau__piramide { opacity: 1; transform: none; }

/* ---------- Faixa: CTA ---------- */
.faixa__cta { margin-top: 28px; }

/* ---------- Clientes ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logos li {
  flex: 0 0 calc((100% - 4 * 14px) / 5); aspect-ratio: 16 / 8; display: grid; place-items: center; padding: 18px 26px;
  background: var(--branco); border: 1px solid var(--linha); border-radius: 0;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.logos li:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.logos img { max-width: 76%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.logos__escuro { position: relative; background: #000 !important; border-color: #000 !important; padding: 0 !important; overflow: hidden; }
.logos__escuro picture { position: absolute; inset: 6px; }
.logos__escuro img { max-width: 100%; max-height: none; width: 100%; height: 100%; object-fit: contain; }

/* ---------- Contato ---------- */
.contato__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contato__info > p { color: var(--texto-2); }
.contato__lista { display: grid; gap: 18px; margin-top: 28px; }
.contato__lista li { display: flex; gap: 16px; align-items: flex-start; }
.contato__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 0; background: var(--branco); color: var(--cor-principal-texto); border: 1px solid var(--linha); flex: none; }
.contato__ico--wa { background: #25D366; color: #fff; border-color: #25D366; }
.contato__lista strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); }
.contato__lista a, .contato__lista address, .contato__lista span { font-weight: 600; color: var(--texto); text-decoration: none; overflow-wrap: anywhere; }
.contato__lista a:hover { color: var(--cor-principal-texto); text-decoration: underline; }

.atalhos { padding: clamp(28px, 4vw, 40px); border-radius: var(--raio); background: var(--grafite); color: #fff; position: relative; overflow: hidden; }
.atalhos::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; background: var(--cor-principal); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .18; }
.atalhos h3 { color: #fff; font-size: 1.7rem; margin-bottom: .3em; }
.atalhos > p { color: rgba(255, 255, 255, .82); margin-bottom: 22px; }
.atalho {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-top: 10px; border-radius: 0;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 600;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.atalho .ico { color: var(--cor-principal); }
.atalho span { flex: 1; }
.atalho__seta { transition: transform .25s var(--ease); }
.atalho:hover { background: rgba(58, 186, 194, .16); border-color: var(--cor-principal); transform: translateX(4px); }
.atalho:hover .atalho__seta { transform: translateX(4px); }
.atalho--cv { background: transparent; border-style: dashed; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--escuro); color: rgba(255, 255, 255, .78); padding: 72px 0 0; font-size: .92rem; }
.rodape__grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; padding-bottom: 48px; }
.rodape__marca img { width: 200px; margin-bottom: 18px; }
.rodape h2 { font-size: 13px; font-weight: 600; font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; color: var(--cor-principal-clara); margin-bottom: 16px; }
.rodape__nav ul { display: grid; gap: 8px; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { color: var(--cor-principal-clara); text-decoration: underline; }
.rodape__contato p { margin-bottom: 12px; overflow-wrap: anywhere; }
.rodape__base { border-top: 1px solid rgba(255, 255, 255, .14); padding: 24px 0 32px; font-size: .8rem; color: rgba(255, 255, 255, .66); }
.rodape__base p { margin-bottom: .6em; max-width: 900px; }
.rodape__base strong { color: rgba(255, 255, 255, .86); }
.rodape__credito { margin-top: 1.2em; padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- WhatsApp flutuante + cookies ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); transition: transform .25s var(--ease);
}
.wa-float .ico-wa { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }

.cookies {
  position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 440px; padding: 18px 20px; border-radius: var(--raio);
  background: var(--branco); border: 1px solid var(--linha); box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .45); font-size: .88rem;
  transition: opacity .35s, transform .35s var(--ease);
}
.cookies[hidden] { display: none; }
.cookies.is-saindo { opacity: 0; transform: translateY(16px); }
.cookies p { margin: 0 0 12px; color: var(--texto-2); }
.cookies a { color: var(--cor-principal-texto); font-weight: 600; }
.cookies__acoes { display: flex; gap: 10px; }
.cookies__acoes .btn { flex: 1; padding: .7em 1em; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  /* escada vira descida vertical: cards iguais, cada um deslocado para a direita */
  .degraus { grid-template-columns: 1fr; padding-top: 0; gap: 0; margin-top: 24px; }
  .degrau { transform: none; width: 78%; margin-left: calc(var(--n) * 5.5%); padding-top: 18px; }
  .degrau::before { top: 0; width: 100%; transition-delay: calc(var(--n) * .3s + .3s); }
  .degrau::after { display: none; }
  .degrau__card { transition-delay: calc(var(--n) * .3s); }
  .degrau__piramide { top: -40px; right: 0; transition-delay: 1.6s; }

  .programas { grid-template-columns: repeat(2, 1fr); }
  .logos li { flex-basis: calc((100% - 3 * 14px) / 4); }
}

@media (max-width: 960px) {
  :root { --topo-h: 66px; }
  .topo__logo img { width: 160px; }
  .topo__menu-btn { display: block; }
  .menu {
    position: fixed; top: var(--topo-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px 16px 28px; background: var(--branco); border-bottom: 1px solid var(--linha); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .35);
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
    max-height: calc(100vh - var(--topo-h)); overflow-y: auto;
  }
  .menu.is-aberto { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease), visibility 0s; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--linha); }
  .menu ul a::after { display: none; }
  .menu ul a.is-ativo { color: var(--cor-principal-texto); }
  .menu .menu__cta { display: flex; width: 100%; padding: 1em; }

  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(34, 37, 38, .78) 0%, rgba(34, 37, 38, .86) 55%, rgba(34, 37, 38, .94) 100%); }
  .hero__metodo { position: static; margin-top: 36px; }
  .hero__selo { flex-direction: row; flex-wrap: wrap; flex: 1; min-width: 0; }
  .hero__selo span { font-size: 12px; letter-spacing: .1em; padding: 6px 10px; }
  .hero__metodo .piramide { width: 52px; flex: none; }
  .sobre__grid, .trein__topo, .cons__grid, .contato__grid { grid-template-columns: 1fr; }
  .sobre__foto { max-width: 560px; }
  .mascara--sobre { aspect-ratio: 4 / 3.2; }
  .pilares { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .rodape__grid { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .rotulo { font-size: 18px; }
  .degrau { width: calc(100% - 4 * 8px); margin-left: calc(var(--n) * 8px); }

  .programas { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .logos { gap: 10px; }
  .logos li { flex-basis: calc((100% - 10px) / 2); padding: 14px 16px; }
  .logos img { max-height: 46px; }
  .assinatura { grid-template-columns: 1fr; }
  .assinatura > div, .assinatura > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--linha); }
  .linha__passo { padding-left: 74px; }
  .rodape__grid { grid-template-columns: 1fr; }
  .cookies { left: 12px; right: 84px; bottom: 12px; max-width: none; padding: 14px 16px; }
  .cookies__acoes { flex-direction: row; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__prova ul { gap: 12px 22px; }
  .hero__prova img { height: 20px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal], .js [data-palavras] .p > span { opacity: 1 !important; transform: none !important; }
  .mascara img { transform: none !important; }
  .marca__traco path { stroke-dashoffset: 0 !important; }
  .faixa__bg { background-attachment: scroll !important; transform: none !important; }
  .linha::after { transform: scaleY(1) !important; }
  .degrau__card, .degrau__piramide { opacity: 1 !important; transform: none !important; }
  .degrau::before, .degrau::after { transform: none !important; }
}
