/* Site Cinematográfico · © 2026 Labrego IA · LBG-SC-2026-v1 */
/* Eletrocemer · modelo corporativo de várias páginas */

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --fundo: #f4f6f8;          /* branco-gelo das seções */
  --fundo-2: #ffffff;
  --cinza: #eceff3;          /* blocos alternados */
  --texto: #18202a;
  --texto-suave: #4f5b68;
  --marinho: #0f1f36;        /* faixas escuras e rodapé */
  --acento: #d3242b;         /* vermelho do logo */
  --acento-2: #2160b4;       /* azul da marca */
  --acento-texto: #ffffff;
  --linha: rgb(24 32 42 / 0.12);
  --painel: rgb(255 255 255 / 0.9);

  --fonte-titulo: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fonte-texto: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --raio: 8px;
  --gutter: clamp(16px, 4vw, 56px);
  --largura: 1200px;
  --topo: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 17px)/1.65 var(--fonte-texto);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 650; font-stretch: 116%; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.4vw, 62px); }
h2 { font-size: clamp(26px, 2.8vw, 42px); }
h3 { font-size: clamp(18px, 1.35vw, 21px); font-weight: 600; font-stretch: 106%; }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }
.rotulo { display: block; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--acento-2); margin-bottom: 16px; }
.rotulo::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--acento); vertical-align: middle; margin-right: 12px; }

/* ── Topo e menu ───────────────────────────────────────────────────────── */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topo);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); color: #fff;
  transition: background .35s var(--ease), color .35s, box-shadow .35s;
}
.topo.rolou { background: rgb(15 31 54 / .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topo.claro { color: var(--texto); background: rgb(255 255 255 / .94); box-shadow: 0 1px 0 var(--linha); }
.marca { display: flex; align-items: center; text-decoration: none; }
.marca-logo { height: 30px; width: auto; }
.marca-logo--escuro, .topo.claro .marca-logo--claro { display: none; }
.topo.claro .marca-logo--escuro { display: block; }

.menu { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.menu > a, .menu-sub { text-decoration: none; opacity: .88; transition: opacity .25s; position: relative; padding: 6px 0; }
.menu > a:hover, .menu-sub:hover { opacity: 1; }
.menu [aria-current="page"], .menu-sub.ativo { opacity: 1; font-weight: 600; }
.menu > a[aria-current="page"]::after, .menu-sub.ativo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--acento); }
.menu > .menu-cliente { padding: 5px 10px !important; font-size: 13px; border: 1px solid currentColor; border-radius: 5px; opacity: .8; }
.menu > .menu-cliente::before { content: ""; display: inline-block; width: 9px; height: 10px; margin-right: 6px; vertical-align: -1px; background: currentColor; -webkit-mask: radial-gradient(circle at 50% 30%, #000 2.6px, transparent 3px), linear-gradient(#000, #000) bottom / 100% 5px no-repeat; mask: radial-gradient(circle at 50% 30%, #000 2.6px, transparent 3px), linear-gradient(#000, #000) bottom / 100% 5px no-repeat; }
.menu-cta { background: var(--acento); color: #fff; padding: 11px 18px !important; border-radius: 6px; font-weight: 600; opacity: 1 !important; }
.menu-grupo { position: relative; }
.menu-sub { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.menu-sub::before { content: ""; order: 2; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu-lista {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 250px;
  background: #fff; color: var(--texto); border-radius: var(--raio); box-shadow: 0 18px 40px -12px rgb(15 31 54 / .35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-lista::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.menu-grupo:hover .menu-lista, .menu-grupo:focus-within .menu-lista, .menu-grupo.aberto .menu-lista { opacity: 1; visibility: visible; transform: none; }
.menu-lista a { display: block; padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.menu-lista a:hover, .menu-lista [aria-current="page"] { background: var(--cinza); color: var(--acento-2); }
.menu-botao { display: none; }

/* ── Abertura cinematográfica (só na página inicial) ───────────────────── */
.cine { position: relative; height: var(--altura, 400vh); background: #14181d;
  --texto: #eef2f7; --texto-suave: #c3cbd5; --acento-2: #7aa7e6; --linha: rgb(238 242 247 / .14); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vinheta { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 62%, rgb(0 0 0 / .22) 100%), linear-gradient(to bottom, transparent 86%, var(--fundo) 100%); }
.momento { position: absolute; inset: auto var(--gutter) 12vh; max-width: 640px; opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); pointer-events: none; }
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--direita { left: auto; right: var(--gutter); }
.momento--centro { left: 50%; right: auto; transform: translate(-50%, 24px); text-align: center; width: min(640px, calc(100% - 2 * var(--gutter))); }
.momento--centro.ativo { transform: translate(-50%, 0); }
.painel { background: var(--painel); border: 1px solid var(--linha); border-radius: var(--raio); padding: clamp(24px, 3vw, 44px); }
.painel--vidro { background: rgb(20 24 29 / .5); border-color: rgb(238 242 247 / .14); color: var(--texto);
  backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); }
.destaque { font-family: var(--fonte-titulo); font-weight: 600; font-stretch: 112%; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.18; color: var(--texto); margin: 0 0 .6em; }
.destaque:last-child { margin: 0; }
.cine-dica { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #eef2f7; opacity: .6; transition: opacity .5s; }
.cine-dica span { width: 1px; height: 38px; background: linear-gradient(#eef2f7, transparent); animation: dica 2s var(--ease) infinite; }
@keyframes dica { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.cine.andou .cine-dica { opacity: 0; }

/* ── Topo das páginas internas: faixa de foto larga ────────────────────── */
.hero-pagina { position: relative; isolation: isolate; min-height: clamp(380px, 52vh, 540px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.arte-hero { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-pagina::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(15 31 54 / .92) 0%, rgb(15 31 54 / .72) 45%, rgb(15 31 54 / .25) 100%),
              linear-gradient(to top, rgb(15 31 54 / .55), transparent 55%); }
.hero-conteudo { width: 100%; max-width: var(--largura); margin: 0 auto; padding: calc(var(--topo) + 48px) var(--gutter) clamp(44px, 6vw, 72px); }
.hero-conteudo h1 { max-width: 22ch; font-size: clamp(30px, 3.8vw, 54px); }
.hero-conteudo p { color: rgb(255 255 255 / .85); font-size: clamp(17px, 1.3vw, 20px); max-width: 52ch; margin: 0; }
.hero-pagina::after { content: ""; position: absolute; left: var(--gutter); bottom: 0; width: 88px; height: 4px; background: var(--acento); }
.migalhas { font-size: 13px; letter-spacing: .04em; margin-bottom: 18px; color: rgb(255 255 255 / .75); display: flex; flex-wrap: wrap; gap: 8px; }
.migalhas a { text-decoration: none; }
.migalhas a:hover { color: #fff; }

/* ── Blocos de conteúdo ────────────────────────────────────────────────── */
.bloco { position: relative; isolation: isolate; padding: clamp(64px, 9vw, 120px) var(--gutter); background: var(--fundo-2); }
.bloco--cinza { background: var(--fundo); }
.bloco--escuro { background: var(--marinho); color: #fff; overflow: hidden; --texto: #fff; --texto-suave: rgb(255 255 255 / .74); --acento-2: #8db6f0; --linha: rgb(255 255 255 / .16); }
.arte-fundo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.conteudo { max-width: var(--largura); margin: 0 auto; }
.titulo-bloco { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.titulo-bloco p { font-size: clamp(16px, 1.15vw, 18px); }
.duas-colunas { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.duas-colunas--intro { align-items: start; }
.duas-colunas--video { grid-template-columns: .8fr 1.2fr; }
.link-seta { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; color: var(--acento-2); text-decoration: none; }
.link-seta::after, .saiba::after { content: "→"; transition: transform .3s var(--ease); }
.link-seta:hover::after { transform: translateX(4px); }

.numeros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; }
.numeros div { background: var(--fundo-2); padding: 26px 24px; }
.numeros dt { font-weight: 700; font-stretch: 120%; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--acento-2); }
.numeros dd { margin: 8px 0 0; font-size: 15px; color: var(--texto-suave); }

/* Cartões de serviço da página inicial */
.servicos-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.servico-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--raio); overflow: hidden; text-decoration: none;
  box-shadow: 0 1px 2px rgb(15 31 54 / .05), 0 14px 34px -18px rgb(15 31 54 / .3); transition: transform .4s var(--ease), box-shadow .4s; }
.servico-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(15 31 54 / .05), 0 22px 44px -18px rgb(15 31 54 / .4); }
.arte-card { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.servico-card-texto { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--acento); }
.servico-card-texto p { font-size: 15px; }
.servico-card-texto ul { list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: var(--texto-suave); }
.servico-card-texto li { padding: 6px 0 6px 18px; border-top: 1px solid var(--linha); position: relative; }
.servico-card-texto li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; background: var(--acento); }
.saiba { margin-top: auto; font-weight: 600; color: var(--acento-2); display: inline-flex; gap: 8px; }

/* Grade de serviços das páginas internas */
.servicos-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.servicos-grade--3 { grid-template-columns: repeat(3, 1fr); }
.cartao-servico { background: #fff; border: 1px solid var(--linha); border-top: 3px solid var(--acento-2); border-radius: var(--raio); padding: 26px 24px; }
.cartao-servico p { font-size: 15px; margin: 0; }
.cartao-servico .lista { margin: 0; }
.bloco--cinza .cartao-servico { border-color: transparent; border-top-color: var(--acento-2); box-shadow: 0 10px 30px -20px rgb(15 31 54 / .35); }

.painel-destaques { background: var(--marinho); color: #fff; border-radius: var(--raio); padding: clamp(26px, 3vw, 40px); }
.painel-destaques h3 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #8db6f0; margin-bottom: 18px; }
.destaques { list-style: none; margin: 0; padding: 0; }
.destaques li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / .14); }
.destaques li:first-child { border-top: 0; padding-top: 0; }
.destaques strong { font-weight: 650; font-stretch: 108%; font-size: 18px; }
.destaques span { color: rgb(255 255 255 / .72); font-size: 15px; }

.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px;
  font: 600 15px/1 var(--fonte-texto); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  color: var(--acento-texto); background: var(--acento); border: 0; border-radius: 6px; padding: 16px 26px;
  transition: transform .3s var(--ease), filter .3s; }
.botao:hover { transform: translateY(-2px); filter: brightness(1.08); }
.botao[disabled] { opacity: .6; cursor: progress; }
.botao--linha { background: transparent; color: #eef2f7; box-shadow: inset 0 0 0 1px rgb(238 242 247 / .45); }
.botao--branco { background: #fff; color: var(--acento); }
.botao--linha-clara { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6); }
.botoes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.botoes .botao { margin-top: 0; }

/* Régua de tensão e etapas */
.regua { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.regua li { display: grid; gap: 10px; align-content: start; padding: 26px 22px; border-top: 3px solid var(--acento-2); background: rgb(255 255 255 / .06); border-radius: 0 0 var(--raio) var(--raio); }
.regua li:last-child { border-top-color: var(--acento); }
.regua strong { font-weight: 700; font-stretch: 118%; font-size: clamp(28px, 2.8vw, 44px); line-height: 1; white-space: nowrap; }
.regua span { color: var(--texto-suave); font-size: 15px; }
.etapas { list-style: none; margin: 0; padding: 0; counter-reset: e; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.etapas li { counter-increment: e; display: grid; gap: 8px; align-content: start; padding: 0 18px 0 0; position: relative; }
.etapas li::before { content: counter(e, decimal-leading-zero); font-weight: 700; font-stretch: 120%; font-size: 30px; line-height: 1; color: var(--acento);
  padding-bottom: 16px; margin-bottom: 8px; border-bottom: 2px solid var(--linha); }
.etapas li::after { content: ""; position: absolute; left: 0; top: 46px; width: 10px; height: 10px; border-radius: 50%; background: var(--acento); }
.etapas strong { font-weight: 650; font-stretch: 108%; font-size: 17px; }
.etapas span { color: var(--texto-suave); font-size: 14px; }

.pilares { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pilares--5 { grid-template-columns: repeat(5, 1fr); }
.pilares li { background: #fff; border-radius: var(--raio); padding: 24px; border-left: 3px solid var(--acento); display: grid; gap: 4px; box-shadow: 0 10px 30px -22px rgb(15 31 54 / .35); }
.pilares strong { font-weight: 650; font-stretch: 110%; font-size: 19px; }
.pilares span { color: var(--texto-suave); font-size: 15px; }
.proposito { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lista { list-style: none; margin: 8px 0 0; padding: 0; }
.lista li { padding: 9px 0 9px 22px; border-top: 1px solid var(--linha); position: relative; font-size: 15px; }
.lista li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; background: var(--acento); }
.estados { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; }
.estados li { background: #fff; padding: 22px; display: grid; gap: 4px; }
.estados strong { font-weight: 650; font-size: 18px; }
.estados span { color: var(--texto-suave); font-size: 14px; }

.video-moldura { border-radius: var(--raio); overflow: hidden; box-shadow: 0 24px 50px -24px rgb(15 31 54 / .5); background: #000; }
.video-moldura video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.cards-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-link { position: relative; display: block; border-radius: var(--raio); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.card-link .arte-card { aspect-ratio: 16 / 9; transition: transform .6s var(--ease); }
.card-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(15 31 54 / .85), transparent 65%); }
.card-link span { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-weight: 650; font-stretch: 110%; font-size: 19px; }
.card-link span::after { content: " →"; }
.card-link:hover .arte-card { transform: scale(1.05); }

/* Clientes */
.clientes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #e3e7ec; border: 1px solid #e3e7ec; border-radius: var(--raio); overflow: hidden; }
.clientes--4 { grid-template-columns: repeat(4, 1fr); }
.clientes--7 { grid-template-columns: repeat(7, 1fr); }
.clientes--7 li { min-height: 104px; padding: 18px 10px; }
.clientes li { background: #fff; display: grid; place-items: center; text-align: center; min-height: 112px; padding: 20px 14px;
  font-weight: 700; font-stretch: 112%; font-size: clamp(16px, 1.35vw, 21px); color: #1d2530; transition: background .3s; }
.clientes li:hover { background: #f7f9fb; }
/* --w vem de cada logo: largura calculada para todos terem a mesma área visual */
.clientes img { width: min(var(--w), 86%); height: auto; }
.clientes .cliente-convite { background: var(--acento); padding: 0; }
.cliente-convite a { display: grid; place-items: center; width: 100%; height: 100%; padding: 20px 14px; color: #fff; text-decoration: none; font-size: clamp(15px, 1.15vw, 18px); }
.clientes .cliente-convite:hover { background: color-mix(in srgb, var(--acento) 88%, #fff); }

/* Faixa de chamada e rodapé */
.faixa-cta { background: var(--acento-2); color: #fff; padding: clamp(44px, 6vw, 72px) var(--gutter); }
.faixa-cta-conteudo { max-width: var(--largura); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.faixa-cta h2 { margin-bottom: .3em; }
.faixa-cta p { color: rgb(255 255 255 / .82); margin: 0; }
.rodape { background: var(--marinho); color: rgb(255 255 255 / .74); padding: clamp(52px, 6vw, 80px) var(--gutter) 28px; font-size: 15px; }
.rodape-grade { max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; }
.rodape h3 { color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.rodape nav { display: grid; gap: 10px; align-content: start; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: #fff; }
.rodape p { color: inherit; }
.rodape-marca .marca-logo { height: 28px; margin-bottom: 18px; }
.rodape-base { max-width: var(--largura); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; }
.credito { font-size: 10px; letter-spacing: .04em; opacity: .38; }
.credito:hover { opacity: .7; }

/* Contato */
.contato-grade { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.painel-form { background: #fff; border-radius: var(--raio); padding: clamp(26px, 3.4vw, 48px); box-shadow: 0 18px 44px -24px rgb(15 31 54 / .35); }
.canais { background: var(--marinho); color: #fff; border-radius: var(--raio); padding: clamp(26px, 3vw, 40px); }
.canais dl { margin: 0; }
.canais div { padding: 15px 0; border-top: 1px solid rgb(255 255 255 / .14); }
.canais div:first-child { border-top: 0; padding-top: 0; }
.canais dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #8db6f0; margin-bottom: 4px; }
.canais dd { margin: 0; }
.canais a { text-decoration: none; }
.canais a:hover { text-decoration: underline; }
.mapa iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.25); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.campo { display: grid; gap: 6px; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label { font-size: 13px; font-weight: 500; color: var(--texto-suave); }
.campo input, .campo textarea, .campo select { width: 100%; font: inherit; color: var(--texto); background: #fff; border: 1px solid rgb(24 32 42 / .2);
  border-radius: 6px; padding: 13px 14px; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--acento-2); box-shadow: 0 0 0 3px rgb(33 96 180 / .15); }
.campo.erro input { border-color: #b3261e; }
.pote { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-status.ok { color: var(--acento-2); }
.form-status.falha { color: #b3261e; }

/* WhatsApp flutuante */
.whats { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgb(0 0 0 / .3); transform: scale(0); transition: transform .5s var(--ease); }
.whats.visivel { transform: scale(1); }
.whats:hover { transform: scale(1.07); }
.whats svg { width: 30px; height: 30px; }
.whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* Revelar ao rolar */
.revelar { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }

/* ── Tablet ────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .servicos-cards, .servicos-grade { grid-template-columns: repeat(2, 1fr); }
  .etapas { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .pilares--5 { grid-template-columns: repeat(3, 1fr); }
  .clientes { grid-template-columns: repeat(4, 1fr); }
  .clientes--7 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Celular: menu recolhido ───────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --topo: 64px; }
  .menu-botao { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; }
  .menu-botao span, .menu-botao span::before, .menu-botao span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .3s, background .3s; }
  .menu-botao span::before, .menu-botao span::after { content: ""; position: absolute; left: 0; }
  .menu-botao span::before { top: -7px; } .menu-botao span::after { top: 7px; }
  .topo.menu-aberto .menu-botao span { background: transparent; }
  .topo.menu-aberto .menu-botao span::before { transform: translateY(7px) rotate(45deg); }
  .topo.menu-aberto .menu-botao span::after { transform: translateY(-7px) rotate(-45deg); }
  .menu { position: fixed; inset: var(--topo) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: #fff; color: var(--texto); box-shadow: 0 20px 40px -20px rgb(15 31 54 / .4); max-height: calc(100svh - var(--topo)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .topo.menu-aberto { background: #fff; color: var(--texto); }
  .topo.menu-aberto .marca-logo--claro { display: none; }
  .topo.menu-aberto .marca-logo--escuro { display: block; }
  .topo.menu-aberto .menu { opacity: 1; visibility: visible; transform: none; }
  .menu > a, .menu-sub { padding: 14px 0; border-bottom: 1px solid var(--linha); width: 100%; text-align: left; justify-content: space-between; }
  .menu > a[aria-current="page"]::after, .menu-sub.ativo::after { display: none; }
  .menu-lista { position: static; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .menu-grupo.aberto .menu-lista { display: block; }
  .menu-grupo:hover .menu-lista { display: none; }
  .menu-grupo.aberto:hover .menu-lista { display: block; }
  .menu-cta { margin-top: 16px; text-align: center; }
  .marca-logo { height: 24px; }
  .duas-colunas, .duas-colunas--video, .contato-grade { grid-template-columns: 1fr; }
  .regua { grid-template-columns: repeat(2, 1fr); }
  .proposito, .cards-links { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: repeat(2, 1fr); }
  .momento, .momento--direita { left: var(--gutter); right: var(--gutter); bottom: 10vh; }
  .momento--centro { left: 50%; right: auto; }
}
@media (max-width: 600px) {
  .servicos-cards, .servicos-grade, .servicos-grade--3, .etapas, .pilares, .pilares--5, .estados { grid-template-columns: 1fr; }
  .clientes, .clientes--4 { grid-template-columns: repeat(2, 1fr); }
  .clientes--7 { grid-template-columns: repeat(3, 1fr); }
  .clientes--7 li { min-height: 76px; padding: 12px 8px; }
  .clientes li { min-height: 88px; }
  .clientes img { width: min(calc(var(--w) * .82), 86%); }
  .rodape-grade { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .faixa-cta .botoes { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
  .cine { height: 100svh; }
  .momento { opacity: 1; transform: none; filter: none; }
  .momento--centro { display: none; }
  .cine-dica { display: none; }
}

/* ── Galeria "Em campo" ────────────────────────────────────────────────── */
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galeria--4 { grid-template-columns: repeat(4, 1fr); }
.foto { position: relative; display: block; border-radius: var(--raio); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--marinho); }
.arte-galeria { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(15 31 54 / .82), transparent 55%); pointer-events: none; }
.foto span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: 14px; font-weight: 500; line-height: 1.35; }
.foto:hover .arte-galeria { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(8 14 24 / .9); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: 6px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-size: 15px; }
.lightbox button { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .14); color: #fff; font-size: 24px; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / .28); }
.lightbox .lb-ant { left: 16px; } .lightbox .lb-prox { right: 16px; }
.lightbox .lb-fechar { top: 28px; right: 16px; transform: none; font-size: 22px; }
@media (max-width: 1080px) { .galeria--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .galeria, .galeria--4 { grid-template-columns: repeat(2, 1fr); gap: 8px; } .foto span { font-size: 12px; left: 10px; bottom: 8px; } .lightbox button { width: 40px; height: 40px; } }

/* Formulários: caixa de seleção e arquivo */
.campo-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texto-suave); cursor: pointer; }
.campo-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acento-2); flex: none; }
.campo input[type=file] { padding: 10px; background: var(--fundo); border-style: dashed; cursor: pointer; }
.form-status.ok { font-weight: 600; }

[hidden] { display: none !important; }

/* ── Compliance: índice, pilares e políticas ───────────────────────────── */
.indice { position: sticky; top: var(--topo); z-index: 20; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--linha); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.indice .conteudo { display: flex; gap: 28px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; }
.indice a { flex: none; padding: 16px 0; font-size: 14px; font-weight: 500; color: var(--texto-suave); text-decoration: none; border-bottom: 2px solid transparent; }
.indice a:hover { color: var(--acento-2); border-bottom-color: var(--acento-2); }
section[id] { scroll-margin-top: calc(var(--topo) + 56px); }
.pilares-programa { list-style: none; margin: 0; padding: 0; counter-reset: pp; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pilares-programa li { counter-increment: pp; background: #fff; border-radius: var(--raio); padding: 24px 20px; display: grid; gap: 8px; align-content: start; box-shadow: 0 10px 30px -22px rgb(15 31 54 / .35); border-top: 3px solid var(--acento-2); }
.pilares-programa li::before { content: counter(pp, decimal-leading-zero); font-weight: 700; font-stretch: 120%; font-size: 26px; color: var(--acento); line-height: 1; }
.pilares-programa strong { font-weight: 650; font-stretch: 108%; font-size: 17px; }
.pilares-programa span { color: var(--texto-suave); font-size: 14px; }
.politicas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.politica { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); transition: box-shadow .3s, border-color .3s; }
.politica[open] { border-color: rgb(33 96 180 / .35); box-shadow: 0 14px 34px -22px rgb(15 31 54 / .35); }
.politica summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 20px; gap: 14px; align-items: center; padding: 20px 22px; }
.politica summary::-webkit-details-marker { display: none; }
.politica summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--acento-2); justify-self: end; transition: transform .3s; }
.politica[open] summary::after { transform: rotate(45deg); }
.politica-num { font-weight: 700; font-stretch: 120%; font-size: 22px; color: var(--acento); }
.politica-titulo { font-weight: 650; font-stretch: 106%; font-size: 17px; line-height: 1.3; display: grid; gap: 4px; }
.politica-titulo small { font-weight: 400; font-stretch: 100%; font-size: 14px; color: var(--texto-suave); line-height: 1.45; }
.politica-corpo { padding: 0 22px 22px 80px; }
.politica-corpo h4 { margin: 0 0 4px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--acento-2); }
.politica-ref { margin: 12px 0 0; font-size: 13px; color: var(--texto-suave); font-style: italic; }
.etapas--4 { grid-template-columns: repeat(4, 1fr); }
.nota-atualizacao { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--linha); font-size: 14px; }
@media (max-width: 1080px) { .pilares-programa { grid-template-columns: repeat(3, 1fr); } .politicas { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pilares-programa, .etapas--4 { grid-template-columns: 1fr; } .politica-corpo { padding-left: 22px; } .politica summary { grid-template-columns: 34px 1fr 18px; padding: 16px; } }

/* Menu: separador antes de "Serviços especializados" e lista de links das áreas */
.menu-lista .menu-lista-extra { border-top: 1px solid var(--linha); margin-top: 6px; padding-top: 6px; }
.menu-lista .menu-lista-extra a { font-weight: 600; color: var(--acento-2); }
.lista-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--fundo); border-radius: var(--raio); text-decoration: none; font-weight: 600; border-left: 3px solid var(--acento); transition: background .3s, transform .3s; }
.lista-links a::after { content: "→"; color: var(--acento-2); }
.lista-links a:hover { background: #e9eef5; transform: translateX(4px); }

.h1-rotulo { display: block; font-size: 12px; font-weight: 600; font-stretch: 100%; letter-spacing: .2em; text-transform: uppercase; color: #8db6f0; margin-bottom: 12px; }

/* ── Pacto ESG ───────────────────────────────────────────────────────── */
.icone { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.esg-hero { min-height: min(86vh, 780px); }
.esg-hero::before { background: linear-gradient(to top, rgb(12 21 32 / .9), rgb(12 21 32 / .3) 55%, rgb(12 21 32 / .5)); }
.esg-hero::after { display: none; }
.esg-sobre { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.esg-hero .hero-conteudo h1 { max-width: 16ch; font-size: clamp(42px, 6.4vw, 92px); line-height: 1.02; margin-bottom: 20px; }
.esg-hero .hero-conteudo p { font-size: clamp(18px, 1.6vw, 23px); max-width: 44ch; }

.esg-manifesto { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); }
.esg-manifesto h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; margin: 0; }
.esg-abertura { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.4; color: var(--texto); margin-top: 0; }
.esg-numeros { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--linha); }
.esg-numeros div { padding: 28px 24px 0 0; }
.esg-numeros div + div { padding-left: 24px; border-left: 1px solid var(--linha); }
.esg-numeros dt { font-weight: 700; font-stretch: 120%; font-size: clamp(36px, 4.2vw, 60px); line-height: 1; color: var(--acento-2); }
.esg-numeros dd { margin: 10px 0 0; font-size: 15px; color: var(--texto-suave); }

.esg-frente { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.esg-frente--inversa .esg-frente-foto { order: 2; }
.esg-frente-foto { position: relative; margin: 0; }
.esg-frente-foto::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 88px; height: 4px; background: var(--acento); }
.esg-frente-foto img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.esg-frente-foto figcaption { margin-top: 10px; font-size: 13px; color: var(--texto-suave); }
.esg-frente-marca { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.esg-frente-marca .rotulo { margin: 0; }
.esg-frente-marca .rotulo::before { display: none; }
.esg-letra { font-weight: 700; font-stretch: 125%; font-size: 64px; line-height: 1; color: var(--acento-2); }
.esg-marca-icone { width: 34px; height: 34px; color: var(--acento); }
.esg-frente-texto h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; }
.esg-frente-texto h3 { margin: 28px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.esg-frente-texto .link-seta { margin-top: 20px; }

.esg-cursos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); }
.esg-cursos li { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: #fff; }
.esg-cursos strong { font-weight: 700; font-stretch: 115%; font-size: 26px; color: var(--acento-2); }
.esg-cursos span { font-size: 15px; color: var(--texto-suave); }
.esg-cursos small { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--texto); }

.esg-frase { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(360px, 56vh, 560px); padding: 64px var(--gutter); color: #fff; text-align: center; overflow: hidden; }
.esg-frase img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.esg-frase::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(15 31 54 / .78); }
.esg-frase blockquote { max-width: 900px; margin: 0; }
.esg-frase p { margin: 0 0 18px; color: #fff; font-weight: 600; font-stretch: 110%; font-size: clamp(28px, 4vw, 52px); line-height: 1.14; }
.esg-frase footer { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .8); }

.esg-canal-topo { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: 40px; }
.esg-canal-topo h2 { margin: 0; }
.esg-garantias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.esg-garantias li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid rgb(255 255 255 / .35); }
.esg-garantias strong { font-weight: 650; font-size: 20px; }
.esg-garantias span { font-size: 15px; color: var(--texto-suave); }

.ods-grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ods { background: var(--cor); color: #fff; aspect-ratio: 1; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ods strong { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1; }
.ods span { font-size: clamp(11px, .95vw, 13px); font-weight: 600; line-height: 1.2; }
.ods .icone { width: 40%; height: auto; margin: auto auto 0 0; }
.ods--adotado:nth-child(7) { color: #18202a; }
.ods:not(.ods--adotado) { background: var(--cinza); color: #6b7683; }
.esg-ods-itens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.esg-ods-item { padding-top: 16px; border-top: 4px solid var(--cor); }
.esg-ods-item span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.esg-ods-item h3 { margin: 8px 0; font-size: 18px; line-height: 1.25; }
.esg-ods-item p { margin: 0; font-size: 15px; color: var(--texto-suave); }

.esg-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); }
.esg-doc { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; color: var(--texto); text-decoration: none; transition: background .25s; }
.esg-doc:hover { background: #e9eef5; }
.esg-doc--mais { align-items: center; background: var(--marinho); color: #fff; }
.esg-doc--mais:hover { background: var(--acento-2); }
.esg-doc--mais .esg-doc-icone { color: #fff; }
.esg-doc--mais small { color: rgb(255 255 255 / .8); }
.esg-doc--destaque { margin-bottom: 20px; background: var(--marinho); color: #fff; }
.esg-doc--destaque:hover { background: var(--acento-2); }
.esg-doc-icone { flex: none; width: 28px; height: 28px; color: var(--acento-2); }
.esg-doc--destaque .esg-doc-icone { color: #fff; }
.esg-doc strong { display: block; font-weight: 650; font-size: 16px; }
.esg-doc small { display: block; margin-top: 4px; font-size: 14px; color: var(--texto-suave); }
.esg-doc--destaque small { color: rgb(255 255 255 / .8); }

#ambiental, #social, #governanca, #ods, #politicas, #compromisso { scroll-margin-top: calc(var(--topo) + 52px); }

@media (max-width: 900px) {
  .esg-manifesto, .esg-frente { grid-template-columns: 1fr; }
  .esg-frente--inversa .esg-frente-foto { order: 0; }
  .esg-frente-foto img { aspect-ratio: 4 / 3; }
  .esg-numeros, .esg-cursos, .esg-garantias, .esg-ods-itens { grid-template-columns: repeat(2, 1fr); }
  .esg-numeros div:nth-child(3) { padding-left: 0; border-left: 0; }
  .esg-numeros div { padding-bottom: 20px; }
}
@media (max-width: 760px) {
  .ods-grade { grid-template-columns: repeat(3, 1fr); }
  .esg-docs { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .esg-garantias, .esg-ods-itens, .esg-cursos { grid-template-columns: 1fr; }
}
