/* =========================================================
   Bethapisos — estilos
   Identidade: azul e branco, como no logo, num azul mais suave.
   Ideia visual: piso assentado. A galeria alterna as fileiras
   com juntas entre as peças, e o carrossel usa barras de peça
   como indicador.
   ========================================================= */

:root {
  --branco:      #FFFFFF;
  --gelo:        #EEF3F9;   /* fundo azulado bem claro */
  --nevoa:       #D3E0EF;   /* peças, linhas e espaços de foto */
  --azul:        #3B6FB0;   /* azul principal (botões, destaques) */
  --azul-2:      #2F5C96;   /* azul ao passar o mouse */
  --azul-escuro: #27466F;   /* títulos e seções escuras */
  --azul-claro:  #9DC0E8;   /* destaques sobre fundo escuro */
  --tinta:       #1C2E45;   /* texto */
  --suave:       #56687F;   /* texto secundário */
  --azul-fundo:  #1F3A5C;   /* rodapé */

  --fg:    var(--tinta);
  --muted: var(--suave);
  --line:  rgba(28, 46, 69, .18);
  --h:     var(--azul-escuro);

  --btn-bg:   var(--azul);
  --btn-fg:   #fff;
  --btn-bg-h: var(--azul-2);

  --fonte-titulo: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --fonte-texto:  "Barlow", "Segoe UI", Roboto, Arial, sans-serif;

  --pagina: min(1200px, 100% - 2.5rem);
  --altura-header: 72px;
  --altura-faixa: 44px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--altura-header);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--branco);
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.005em;
  color: var(--h);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 800; line-height: .98; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.1; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 34em; }
.container { width: var(--pagina); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--azul-escuro); color: #fff; }
.skip:focus { top: .75rem; }

:focus-visible { outline: 3px solid var(--azul-escuro); outline-offset: 3px; }

/* ---------- Seções e temas ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); color: var(--fg); }
.section--alt  { background: var(--gelo); }
.section--dark {
  --fg: #F4F8FC; --muted: #C4D3E6; --line: rgba(244, 248, 252, .25); --h: #fff;
  --btn-bg: #fff; --btn-fg: var(--azul-escuro); --btn-bg-h: var(--gelo);
  background: var(--azul-escuro);
}
.section--blue {
  --fg: #fff; --muted: #fff; --line: rgba(255, 255, 255, .45); --h: #fff;
  --btn-bg: #fff; --btn-fg: var(--azul-escuro); --btn-bg-h: var(--gelo);
  background: var(--azul);
}
.section--dark :focus-visible, .section--blue :focus-visible { outline-color: #fff; }

.split {
  width: var(--pagina); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.split-head p { margin-top: 1.25rem; max-width: 34em; color: var(--muted); }
.split-head--wide p { max-width: 40em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.4rem;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); border-radius: 3px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--btn-bg-h); border-color: var(--btn-bg-h); }
.btn--ghost { background: transparent; border-color: var(--azul-escuro); color: var(--azul-escuro); }
.btn--ghost:hover { background: rgba(39, 70, 111, .08); border-color: var(--azul-escuro); }
.btn--sm { padding: .6rem 1rem; font-size: 1.1rem; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Topo ---------- */
/* O topo acompanha a rolagem. Logo abaixo dele vem a faixa de texto e depois o banner. */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--altura-header);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--nevoa);
  transition: background-color .25s, border-color .25s;
}
.header-inner { width: var(--pagina); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 1rem; }
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.75rem; line-height: 1;
  color: var(--azul-escuro); text-decoration: none; transition: color .25s;
}
.brand img { width: 52px; height: 52px; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { position: relative; display: block; padding: .5rem .8rem; font-weight: 500; color: var(--tinta); text-decoration: none; transition: color .25s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .1rem; height: 3px;
  background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a.is-active::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { display: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 2px solid var(--azul-escuro); border-radius: 3px; cursor: pointer;
  align-items: center; justify-content: center; transition: border-color .25s;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: var(--azul-escuro); content: ""; position: relative;
  transition: transform .2s, background-color .2s;
}
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent !important; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Faixa de texto que corre (topo) ---------- */
.faixa-topo { position: relative; height: var(--altura-faixa); overflow: hidden; background: var(--azul-fundo); color: #fff; }
.faixa-pista { height: 100%; overflow: hidden; }
.faixa-trilho { display: flex; align-items: center; width: max-content; height: 100%; margin: 0; padding: 0; list-style: none; will-change: transform; }
.faixa-trilho li {
  flex: none; display: flex; align-items: center; padding-inline: 1.1rem; white-space: nowrap;
  font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; line-height: 1;
}
.faixa-trilho li::before { content: "\25C6"; margin-right: 2.2rem; font-size: .7em; color: var(--azul-claro); }
.faixa-pausa { display: none; }

/* Faixas que correm (topo e clientes): o script mede o conteúdo, repete até não sobrar espaço vazio e liga a animação */
.faixa-trilho.pronto, .marquee-track.pronto { animation: correr var(--duracao, 40s) linear infinite; }
@keyframes correr { to { transform: translateX(var(--desloca, -50%)); } }
html.faixas-paradas .faixa-trilho, html.faixas-paradas .marquee-track { animation-play-state: paused; }

/* Quem pediu menos movimento no aparelho vê as faixas mais lentas e ganha um botão de pausa */
html.reduz .faixa-pausa {
  position: absolute; top: 0; right: 0; bottom: 0; width: 44px; padding: 0; display: grid; place-items: center;
  color: #fff; background: linear-gradient(90deg, rgba(31, 58, 92, 0), var(--azul-fundo) 40%); border: 0; cursor: pointer;
}
html.reduz .faixa-pausa svg { width: 18px; height: 18px; }
.faixa-pausa .i-play { display: none; }
html.faixas-paradas .faixa-pausa .i-play { display: block; }
html.faixas-paradas .faixa-pausa .i-pause { display: none; }

/* ---------- Botão "Pedir orçamento" do topo: pulsa e passa um brilho ---------- */
.header-cta, .nav-cta .btn { position: relative; overflow: hidden; isolation: isolate; animation: pulso 2.4s ease-out infinite; }
.header-cta::after, .nav-cta .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg); animation: brilho 3.2s ease-in-out infinite;
}
.cta-curto { display: none; }
@keyframes pulso {
  0%   { box-shadow: 0 0 0 0 rgba(59, 111, 176, .6); }
  70%  { box-shadow: 0 0 0 14px rgba(59, 111, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 111, 176, 0); }
}
@keyframes brilho { 0%, 55% { left: -70%; } 100% { left: 140%; } }

/* ---------- Início: foto em tela cheia, texto por cima ---------- */
.hero {
  --btn-bg: #fff; --btn-fg: var(--azul-escuro); --btn-bg-h: var(--gelo);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(600px, calc(100svh - var(--altura-header) - var(--altura-faixa)));
  display: flex; align-items: flex-end;
  color: #fff; background: var(--azul-escuro);
}
.hero :focus-visible { outline-color: #fff; }

.slides { position: absolute; inset: 0; z-index: 0; }
/* A foto nova aparece por cima da anterior, que só sai depois. Assim nunca se vê o fundo escuro entre as duas. */
.slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.slide.is-active  { opacity: 1; visibility: visible; z-index: 2; transition: opacity .9s ease; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(1.05); transition: transform 6s ease-out;
}
.slide.is-active img { transform: scale(1); }

/* Sem sombra escura sobre a foto: só um toque leve. A leitura do texto vem da sombra das próprias letras. */
.hero-scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: rgba(0, 0, 0, .07); }

.hero-inner {
  position: relative; z-index: 4; width: var(--pagina); margin-inline: auto;
  padding: 3.5rem 0 clamp(3.5rem, 9vh, 5.5rem);
}
.hero-copy { max-width: 44rem; text-shadow: 0 0 2px rgba(0, 0, 0, .55), 0 1px 7px rgba(0, 0, 0, .55), 0 4px 30px rgba(0, 0, 0, .5); }
.hero-copy .btn { text-shadow: none; }
.marca {
  display: block; font-family: var(--fonte-titulo); font-weight: 800;
  font-size: clamp(2.6rem, 12.5vw, 7.6rem); line-height: .9; letter-spacing: .01em;
  color: #042A7A;                       /* o azul do logo */
  /* contorno e brilho brancos para o azul escuro continuar legível sobre qualquer foto */
  -webkit-text-stroke: 2px #fff; paint-order: stroke fill;
  text-shadow: 0 0 18px rgba(255, 255, 255, .55), 0 2px 30px rgba(255, 255, 255, .4);
}
.hero-rule { height: 2px; max-width: min(100%, 38rem); margin: 1.4rem 0 1.5rem; background: rgba(255, 255, 255, .75); }

.tipos {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1;
}
.tipos li + li::before {
  content: ""; display: inline-block; width: .38em; height: .38em; margin-right: 1.1rem;
  background: var(--azul-claro); vertical-align: middle; position: relative; top: -.05em;
}
.oferta { margin: 1.25rem 0 0; padding-left: 1.2rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); font-weight: 500; line-height: 1.65; }
.oferta li::marker { color: var(--azul-claro); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.btn--ghost-light { background: rgba(20, 30, 45, .34); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border-color: rgba(255, 255, 255, .9); color: #fff; }
.btn--ghost-light:hover { background: rgba(20, 30, 45, .5); border-color: #fff; }

/* ---------- Clientes ---------- */
/* Faixa com a logo de cada cliente, sempre correndo (marquee), sem parar. Cada logo fica numa
   casinha do mesmo tamanho, sem esticar nem deformar: object-fit: contain preserva a proporção
   original da imagem, e --zoom (definido no HTML) só amplia de forma uniforme para compensar
   a margem branca que vem em alguns arquivos — nunca muda a forma da logo. */
.clientes { background: #fff; border-bottom: 1px solid var(--nevoa); padding-block: 1.6rem 1.9rem; }
.clientes-inner { display: block; }
.clientes-titulo {
  width: var(--pagina); margin: 0 auto 1.1rem; text-align: center;
  font-family: var(--fonte-texto); font-size: 1.05rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--suave);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; will-change: transform; }
.cliente { flex: none; box-sizing: border-box; width: 260px; height: 96px; padding: 10px 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cliente img {
  width: 100%; height: 100%; object-fit: contain;   /* preserva a proporção original: nunca estica nem achata */
  mix-blend-mode: multiply;                          /* some com o fundo branco da foto original, sem precisar recortar */
  transform: scale(var(--zoom, 1));                  /* ampliação uniforme (mesma escala nos dois eixos) */
}
.cliente-nome { font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.45rem; line-height: 1.1; text-align: center; color: var(--suave); }
.cliente.tem-logo .cliente-nome { display: none; }   /* com a logo carregada, o nome em texto some */

/* ---------- Serviços ---------- */
.split-head p + p { margin-top: 1rem; }
.service-list { margin: 0; }
.service { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service dt { font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: var(--azul-escuro); }
.service dd { margin: 0; align-self: center; color: var(--muted); }

.segments { width: var(--pagina); margin: clamp(3rem, 6vw, 5rem) auto 0; }
.segments h3 { margin-bottom: 1.25rem; }
.segment-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.segment { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nevoa); color: #fff; text-decoration: none; }
.segment img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.segment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .68), rgba(0, 0, 0, 0) 55%); }
.segment span { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.segment span::before { content: ""; display: block; width: 2rem; height: 4px; margin-bottom: .6rem; background: var(--azul-claro); transition: width .2s; }
.segment:hover img { transform: scale(1.04); }
.segment:hover span::before { width: 3.5rem; }
.segment:focus-visible { outline-color: var(--azul); outline-offset: -4px; }

/* ---------- Etapas ---------- */
.steps { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step-n { display: block; margin: 1rem 0 .3rem; font-family: var(--fonte-titulo); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--azul-claro); }
.step h3 { font-size: 1.6rem; }
.step p { margin-top: .5rem; color: var(--muted); }

/* ---------- Destaque: Piso Intertravado ---------- */
/* Faixa em tela cheia: a foto ocupa a seção inteira, com um degradê escurecendo da esquerda
   (onde fica o texto) para a direita (onde a foto respira livre). Nada de caixa branca ao lado
   nem divisão reta ao meio — o preço é tratado como tipografia grande, direto sobre a imagem. */
.destaque {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(400px, 46vw, 560px);
  display: flex; align-items: center;
  color: #fff; background: var(--azul-escuro);
}
.destaque-foto { position: absolute; inset: 0; z-index: 0; }
.destaque-foto img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.03);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.destaque:hover .destaque-foto img { transform: scale(1.09); }
.destaque-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 18, 34, .92) 0%, rgba(8, 18, 34, .78) 30%, rgba(8, 18, 34, .38) 56%, rgba(8, 18, 34, .06) 78%, transparent 100%),
    linear-gradient(0deg, rgba(8, 18, 34, .5) 0%, transparent 45%);
}

.destaque-conteudo {
  position: relative; z-index: 2; width: var(--pagina); margin-inline: auto; max-width: 32rem;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}
.destaque-rotulo {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--azul-claro);
}
.destaque-rotulo::before { content: ""; width: 26px; height: 2px; background: var(--azul-claro); }
.destaque-titulo {
  margin-top: .55rem; font-size: clamp(2.3rem, 4.6vw, 3.5rem); color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

/* O preço não fica numa caixa: é o maior elemento da seção, como um número de destaque editorial. */
.destaque-preco { margin: 1.1rem 0 0; line-height: 1; }
.destaque-preco-rotulo { display: block; margin-bottom: .3rem; font-size: 1.05rem; font-weight: 500; color: rgba(255, 255, 255, .82); }
.destaque-preco-valor {
  display: inline-flex; align-items: baseline;
  font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(4rem, 9vw, 6.4rem); line-height: .9; color: #fff;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .4);
}
.destaque-preco-cifrao { align-self: flex-start; margin-top: .32em; margin-right: .06em; font-size: .32em; font-weight: 700; color: var(--azul-claro); }
.destaque-preco-unidade { margin-left: .2rem; font-family: var(--fonte-texto); font-size: .28em; font-weight: 600; color: rgba(255, 255, 255, .82); }
.destaque-sub { margin-top: 1rem; max-width: 24rem; color: rgba(255, 255, 255, .82); }

/* Botão em vidro fosco: transparente sobre a foto, ganha cor sólida no toque/mouse */
.destaque-cta {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.85rem; padding: .85rem 1.5rem;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.15rem; line-height: 1; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .65); border-radius: 3px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s, border-color .2s, transform .2s;
}
.destaque-cta:hover { background: var(--azul); border-color: var(--azul); transform: translateX(3px); }
.destaque-cta-seta { width: 20px; height: 20px; transition: transform .2s; }
.destaque-cta:hover .destaque-cta-seta { transform: translateX(3px); }

/* ---------- Produtos ---------- */
.produtos-grid {
  width: var(--pagina); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.2vw, 1.75rem);
}
.produto { display: flex; flex-direction: column; gap: .35rem; }
.produto-foto {
  position: relative; aspect-ratio: 4 / 3; margin-bottom: .75rem; background: var(--gelo);
}
.produto-foto img {
  position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(20, 30, 45, .28));
}
.produto h3 { font-size: 1.5rem; }
.produto-medida { font-weight: 600; color: var(--azul-2); }
.produto p { max-width: 34em; color: var(--muted); }
.produto p.produto-medida { color: var(--azul-2); }
.produto a { align-self: flex-start; margin-top: .35rem; font-weight: 600; color: var(--azul-2); }

/* ---------- Obras: uma fileira de fotos que anda para o lado ---------- */
.galeria-wrap { position: relative; margin-top: 2rem; }
.gallery {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 6px;   /* 6px = junta entre as fotos */
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.tile { flex: none; height: clamp(240px, 32vw, 420px); aspect-ratio: var(--ar, 1.33); position: relative; overflow: hidden; scroll-snap-align: start; background: #34567F; }
.tile-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: #fff; text-align: left; }
.tile-btn:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .5s ease; }
.tile-btn:hover img { transform: scale(1.03); }

.seta {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 56px; height: 56px; padding: 0;
  display: grid; place-items: center; color: var(--azul-escuro); background: rgba(255, 255, 255, .95);
  border: 0; border-radius: 3px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: opacity .2s, background-color .2s;
}
.seta:hover { background: #fff; }
.seta:disabled { opacity: 0; pointer-events: none; }
.seta svg { width: 26px; height: 26px; }
.seta-esq { left: 12px; }
.seta-dir { right: 12px; }
.seta:focus-visible { outline-color: var(--azul-claro); }

.galeria-progresso { height: 3px; margin-top: 1rem; background: rgba(255, 255, 255, .22); }
.galeria-progresso span { display: block; height: 100%; width: 20%; background: var(--azul-claro); transform-origin: left; transition: margin-left .15s linear; }

.gallery-aviso { color: var(--muted); }

/* Foto ampliada */
.lightbox { width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(10, 13, 17, .95); }
.lightbox figure { margin: 0; height: 100%; padding: 4rem 4.5rem 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { text-align: center; color: #C9CED4; font-size: .95rem; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; padding: 0; display: grid; place-items: center;
  font-size: 2rem; line-height: 1; color: #fff; background: rgba(255, 255, 255, .1);
  border: 2px solid rgba(255, 255, 255, .5); border-radius: 3px; cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Bem-vindo e depoimentos ---------- */
.sobre-texto p { max-width: 40em; }
.sobre-texto p + p { margin-top: 1rem; }

.depoimentos-bloco { width: var(--pagina); margin: clamp(3rem, 6vw, 5rem) auto 0; }
.depoimentos-bloco h3 { margin-bottom: 1.5rem; }
.depoimentos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.depoimentos li { padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 2px solid var(--nevoa); }
.depoimentos li:first-child { padding-left: 0; border-left: 0; }
.depoimento { margin: 0; }
.depoimento blockquote { margin: 0; }
.depoimento p { font-size: 1.15rem; line-height: 1.55; }
.google-link { margin-top: 2.25rem; }
.depoimento figcaption { margin-top: 1rem; font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.3rem; color: var(--azul-escuro); }

/* ---------- Contato ---------- */
.contato-grid { width: var(--pagina); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contato-grid .lead { margin-top: 1rem; }
.contatos { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contatos strong { display: block; font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.contatos address { font-style: normal; }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; }
.field input, .field textarea { width: 100%; padding: .8rem .9rem; font: inherit; color: var(--tinta); background: #fff; border: 2px solid #fff; border-radius: 3px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--azul-escuro); outline-offset: 2px; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input::placeholder, .field textarea::placeholder { color: #6B7A8E; }
.form .btn { justify-self: start; }
.form-note { font-size: .95rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--azul-fundo); color: #D5E0EE; padding-block: 2.5rem; }
.footer-inner { width: var(--pagina); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }
.footer-logo { width: 104px; height: 104px; flex: none; }
.footer-text { display: grid; gap: .35rem; }
.footer-brand { font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.7rem; line-height: 1; color: #fff; }
.footer-copy { margin-top: .5rem; font-size: .9rem; color: #A9BBD0; }

/* ---------- Botão flutuante "Orçamento": pulsa, ganha um brilho e o ícone balança de tempos em tempos ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.1rem; overflow: hidden; isolation: isolate;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.2rem; line-height: 1;
  color: #fff; background: var(--azul); border: 2px solid #fff; border-radius: 3px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(21, 38, 61, .3);
  animation: pulso-flutuante 2.2s ease-out infinite;
}
.wa-float::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: brilho 3.2s ease-in-out infinite;
}
.wa-float .ico { position: relative; z-index: 2; transform-origin: 50% 90%; animation: balanca 3.6s ease-in-out infinite; }
.wa-float span { position: relative; z-index: 2; }
.wa-float:hover { background: var(--azul-2); }
@keyframes pulso-flutuante {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8), 0 0 0 0 rgba(59, 111, 176, .7), 0 8px 20px rgba(21, 38, 61, .3); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 0 0 22px rgba(59, 111, 176, 0), 0 8px 20px rgba(21, 38, 61, .3); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 0 0 rgba(59, 111, 176, 0), 0 8px 20px rgba(21, 38, 61, .3); }
}
@keyframes balanca {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); }
  74% { transform: rotate(-10deg); } 78% { transform: rotate(8deg); } 82% { transform: rotate(0); }
}
.wa-float[hidden] { display: none; }

/* =========================================================
   Telas menores
   ========================================================= */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .segment-grid { grid-template-columns: repeat(2, 1fr); }
  .produtos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depoimentos { grid-template-columns: 1fr; gap: 1.75rem; }
  .depoimentos li, .depoimentos li:first-child { padding: 0 0 0 1.25rem; border-left: 2px solid var(--nevoa); }
}

@media (max-width: 900px) {
  .header-cta { margin-left: auto; }
  .nav-toggle { display: flex; margin-left: .25rem; }

  .nav {
    position: fixed; left: 0; right: 0; top: var(--altura-header); margin: 0;
    background: #fff; border-bottom: 1px solid var(--nevoa); padding: .75rem 1.25rem 1.25rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { padding: .85rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--nevoa); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.is-active { font-weight: 600; color: var(--azul-2); }
  .nav-cta { display: block; margin-top: 1rem; }
  .nav-cta .btn { width: 100%; }

  .split, .contato-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: .3rem; }
}

@media (max-width: 720px) {
  .tile { height: min(64vw, 300px); }
  .seta { width: 44px; height: 44px; }
  .seta svg { width: 22px; height: 22px; }
  .seta-esq { left: 6px; }
  .seta-dir { right: 6px; }
  .lightbox figure { padding: 4rem 1rem 2rem; }
  .lb-prev { left: .5rem; top: auto; bottom: 1rem; transform: none; }
  .lb-next { right: .5rem; top: auto; bottom: 1rem; transform: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .produtos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step img { aspect-ratio: 4 / 3; }
  .actions .btn { flex: 1 1 100%; }
  .brand { font-size: 1.3rem; gap: .5rem; }
  .brand img { width: 44px; height: 44px; }
  .header-inner { gap: .5rem; }
  .cta-longo { display: none; }
  .cta-curto { display: inline; }
  .faixa-trilho li { font-size: 1rem; }
  .hero-inner { padding-bottom: 3.5rem; }
  .cliente { width: 190px; height: 76px; padding: 8px 10px; }
  .cliente-nome { font-size: 1.1rem; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
}

@media (max-width: 900px) {
  .destaque { min-height: clamp(420px, 116vw, 560px); }
  .destaque-scrim {
    background:
      linear-gradient(180deg, rgba(8, 18, 34, .5) 0%, rgba(8, 18, 34, .82) 62%, rgba(8, 18, 34, .92) 100%),
      linear-gradient(100deg, rgba(8, 18, 34, .55), transparent 75%);
  }
  .destaque-conteudo { align-self: flex-end; max-width: none; padding-bottom: 2.5rem; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.1rem; gap: .4rem; }
  .brand img { width: 40px; height: 40px; }
  .header-cta { padding: .55rem .75rem; font-size: 1rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide img { transform: none; transition: none; }
}
