/* ================================================
   TOTEM FOTO 42 — Estilos específicos desta página
   Escopo: body.pg-foto42
   ================================================ */

/* Os overrides aqui usam .pg-foto42 como prefixo para
   não conflitar com as páginas totem-slim-55 e outras. */

/* ========================================================= HERO TOTEM (DETALHE) ========================================================= */
.thero{ --cyan:#7fc7ff;
  position:relative; z-index:1; width:100%; padding:118px 24px 55px;
  background:#0a1f6e url("../../images/bg-totem42.jpg") center center / cover no-repeat}
.thero *{box-sizing:border-box; margin:0; padding:0}
/* botão de scroll animado (reusa .hero-scroll do index) — centralizado em todas as resoluções */
.thero .hero-scroll{left:46%; bottom:65px}
.thero-panel{position:relative; overflow:visible; border-radius:30px; min-height:520px; max-width:1320px;
  margin:0 auto -130px;   /* KNOB: o negativo faz o box DESCER sobre o fundo claro da Possibilidades */
  background:#0c1d44 url("../../images/hero-bg-42.jpg") 85% center / cover no-repeat;
  box-shadow: -6px 1px 20px 16px rgb(9 25 74 / 58%)}
/* contorno brilhante do box (rim luminoso) */
.thero-panel::after{content:""; position:absolute; inset:0; z-index:1; pointer-events:none; border-radius:inherit;
  border:1px solid rgba(243, 243, 243, 0.7);
  }
.thero-overlay{position:absolute; inset:0; z-index:1; pointer-events:none; border-radius:inherit;
  background:linear-gradient(100deg, rgba(7,18,58,.99) 0%, rgba(8,22,72,.97) 26%, rgba(10,30,92,.8) 46%, rgba(12,38,116,.45) 66%, rgba(14,46,135,.12) 100%)}
.thero-inner{position:relative; z-index:2; max-width:1240px; margin:0 auto; padding:52px 48px 54px; min-height:630px;
  display:flex; align-items:stretch}
.thero-copy{max-width:760px; display:flex; flex-direction:column; justify-content:center; gap:34px}
/* título como badge azul — mesmo padrão das páginas Slim 55 e Auto Atendimento */
.thero-eyebrow{display:inline-block; font-family:'Plus Jakarta Sans',sans-serif; font-size:14px;
  font-weight:700; letter-spacing:.28em; text-transform:uppercase; color:#fff; margin-bottom:0;
  background:#1b4fd7; padding:7px 16px; border-radius:999px; box-shadow:0 6px 18px -6px rgba(27,79,215,.6);
  align-self:center}
.thero-lettering{display:block; width:100%; max-width:580px; height:auto;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.45)) drop-shadow(0 0 11px rgba(94,155,255,.4)); padding-top: 40px;
  animation:theroLetteringGlow 2s ease-in-out infinite}   /* KNOB: duração/cor/raios do glow */
/* glow azul pulsante atrás do lettering (drop-shadow segue o contorno das letras) */
@keyframes theroLetteringGlow{
  0%,100%{filter:drop-shadow(0 10px 24px rgba(0,0,0,.45)) drop-shadow(0 0 8px rgba(94,155,255,.28)) drop-shadow(0 0 15px rgba(94,155,255,.18))}
  50%{filter:drop-shadow(0 10px 24px rgba(0,0,0,.45)) drop-shadow(0 0 17px rgba(94,155,255,.65)) drop-shadow(0 0 34px rgba(94,155,255,.42))}
}
/* 3 itens (réplica de hero-55-itens.png) */
.thero-chips{display:flex; align-items:center; gap:0; flex-wrap:nowrap}
.tchip{position:relative; display:flex; align-items:center; gap:14px; padding:6px 22px}
.tchip:first-child{padding-left:0}
.tchip + .tchip::before{content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:1px; height:46px; background:linear-gradient(180deg, rgba(127,199,255,0), rgba(127,199,255,.5), rgba(127,199,255,0))}
.tchip-ic{position:relative; flex:0 0 auto; width:56px; height:56px; border-radius:50%; display:grid; place-items:center; color:var(--cyan);
  border:1.5px solid rgba(127,199,255,.55); background:radial-gradient(closest-side, rgba(127,199,255,.16), rgba(127,199,255,0) 78%);
  box-shadow:0 0 20px -4px rgba(127,199,255,.55), inset 0 0 16px rgba(127,199,255,.2)}
.tchip-ic::before{content:""; position:absolute; inset:-6px; border-radius:50%; border:1px solid rgba(127,199,255,.2)}
.tchip-ic svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tchip-tx{font-family:'Sora',sans-serif; font-size:15px; line-height:1.28; color:#fff; font-weight:600}
.tchip-tx small{display:block; font-weight:500; color:rgba(220,234,255,.85); font-size:15px}
@media (max-width:920px){
  .thero{padding:96px 16px 44px}
  .thero-panel{border-radius:24px; min-height:620px; overflow:hidden}
  /* conteúdo (lettering + itens) por CIMA do totem */
  .thero-inner{position:relative; z-index:2; min-height:620px; padding:0 24px;
    display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center}
  .thero-copy{max-width:560px; width:100%; align-items:center; justify-content:flex-start;
    padding-top:90px;   /* ↓ KNOB: quão ABAIXO começa o lettering */
    gap:40px}            /* ↓ KNOB: distância do lettering até os 3 itens */
  .thero-lettering{margin:0 auto; padding-top:0px; max-width:400px}
  /* 3 itens em UMA linha: chips verticais (ícone em cima, texto embaixo) */
  .thero-chips{justify-content:center; gap:8px; flex-wrap:nowrap; width:70%}
  .tchip{flex:1 1 0; min-width:0; flex-direction:column; gap:8px; padding:0; text-align:center}
  .tchip:first-child{padding-left:0}
  .tchip + .tchip::before{display:none}   /* divisor só faz sentido na versão horizontal */
  .tchip-ic{width:44px; height:44px}      /* KNOB: tamanho do círculo do ícone */
  .tchip-ic svg{width:22px; height:22px}  /* KNOB: tamanho do ícone */
  .tchip-tx, .tchip-tx small{font-size:18px; overflow-wrap:break-word}  /* KNOB: fonte dos itens */
  .thero-eyebrow{align-self:center}
}
@media (max-width:560px){
  .thero-panel{min-height:440px}
  .thero-inner{min-height:440px; padding:0 16px}
  .thero-copy{padding-top:120px; gap:34px}
  .thero-lettering{max-width:330px}
  .thero-chips{gap:6px}
  .tchip{gap:6px} .tchip-ic{width:40px; height:40px} .tchip-ic svg{width:20px;height:20px}  /* KNOB: ícone em telas estreitas */
  .tchip-tx, .tchip-tx small{font-size:11.5px; line-height:1.2}  /* KNOB: fonte em telas estreitas */
}
/* === FREEZE 601px: restaura hero ao estado 920px (cancela o bloco 560px acima) === */
@media (max-width:600px){
  .thero-panel{min-height:570px}
  .thero-inner{min-height:570px; padding:0 24px}
  .thero-copy{padding-top:95px; gap:40px}
  .thero-lettering{max-width:400px}
  .thero-chips{gap:8px; width:70%}
  .tchip{gap:8px}
  .tchip-ic{width:44px; height:44px}
  .tchip-ic svg{width:22px; height:22px}
  .tchip-tx, .tchip-tx small{font-size:18px; line-height:1.28}
}
/* ---- TOTEM FOTO 42 — overrides por página ---- */
.thero.thero-f42{background-image:url(../../images/bg-totem42.jpg)}

@media (min-width:981px){
  .thero-f42 .thero-panel{min-height:750px}   /* KNOB: altura mínima só em desktop largo */
}

.thero-f42 .thero-overlay{background:linear-gradient(to bottom, transparent 0%, transparent 52%, rgba(255,255,255,.85) 82%, #fff 100%)}
.thero-f42 .thero-lettering{padding-top:0; max-width:440px}
@media (min-width:981px){
  .thero-f42 .thero-lettering{padding-top:0px;margin-left:50px;}   /* KNOB: recuo só em desktop largo */
}
.thero-subtext{font-family:'Sora',sans-serif; font-size:clamp(18px,2.2vw,26px); font-weight:600; color:#fff; line-height:1.3; margin-top:16px}
.foto-fly{position:absolute; pointer-events:none; z-index:5;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.55));
  transform:rotate(var(--rotate, 0deg)) translateY(var(--fly-y, 0px));
  will-change:transform}
.foto-fly.fly-1{width:29%; top:78%;    right:46%;   --rotate: 0deg}
.foto-fly.fly-2{width:21%; top:69%;   right:44%;  --rotate: 0deg}
.foto-fly.fly-3{width:14%; bottom:-25%; left:77%;  --rotate: 0deg}
.foto-fly.fly-4{width:19%; top:79%;   left:82%;   --rotate: 0deg}
/* === foto-fly: ajuste fino 981px–1249px === */
@media (min-width:981px) and (max-width:1249px){
  .foto-fly.fly-1{width:29%; top:78%;    right:46%}   /* KNOB */
  .foto-fly.fly-2{width:21%; top:69%;   right:44%}   /* KNOB */
  .foto-fly.fly-3{width:14%; bottom:-25%; left:77%}  /* KNOB */
  .foto-fly.fly-4{width:19%; top:79%;   left:82%}    /* KNOB */
}
/* === TABLET foto-fly ≤920px: POR CIMA do conteúdo (freeze: aplica também abaixo de 601px) === */
@media (max-width:920px){
  .thero-panel{overflow:visible}        /* fly podem escapar o box */
  .foto-fly{z-index:6}                  /* acima do conteúdo (lettering/chips z2, totem z1) */
}
/* === TABLET foto-fly — posições (≤920px) — ajuste fino aqui === */
@media (max-width:920px){
  .foto-fly.fly-1{width:21%; top:91%; right:78%; bottom:auto}
  .foto-fly.fly-2{width:20%; top:70%; right:84%; bottom:auto}
  .foto-fly.fly-3{width:16%; top:75%; left:76%;  bottom:auto}
  .foto-fly.fly-4{width:22%; top:85%; left:78%;  bottom:auto}
}
/* Background da seção Possibilidades — largura cheia da página até 1920px, com parallax.
   z-index:0 → entra no grupo auto/0 do contexto raiz (ordem de DOM): fica atrás do
   .poss-wrap (z-index:3) E por baixo da galeria (.gal, isolada, vem depois no DOM) */
.foto-floor{position:absolute; left:50%; top:54%;   /* KNOB: posição vertical — ajuste manual */
  width:100vw; max-width:1920px; height:clamp(460px,34vw,664px); height:70%;   /* KNOB: altura mínima fecha a lacuna branca ao estreitar */
  object-fit:cover; object-position:center bottom;   /* preenche sem distorcer; mantém a BASE da montanha ancorada embaixo */
  z-index:0; pointer-events:none;
  transform:translateX(-50%) translateY(var(--fly-y, 0px));   /* centraliza + parallax */
  will-change:transform; mix-blend-mode:multiply;}
.t42-cards{display:flex; flex-direction:column; gap:14px; margin-top:28px}
.t42-card{display:flex; align-items:center; gap:16px; padding:14px 18px; border-radius:14px;
  background:rgba(127,199,255,.08); border:1px solid rgba(127,199,255,.22);
  transition:background .3s, box-shadow .3s, border-color .3s; cursor:default}
.t42-card:hover{background:rgba(127,199,255,.18); border-color:rgba(127,199,255,.6);
  box-shadow:0 0 28px -6px rgba(127,199,255,.7)}
.t42-card-ic{flex:0 0 46px; width:46px; height:46px; border-radius:50%; display:grid; place-items:center; color:#7fc7ff;
  border:1.5px solid rgba(127,199,255,.55);
  background:radial-gradient(closest-side,rgba(127,199,255,.18),rgba(127,199,255,0) 80%);
  box-shadow:0 0 18px -4px rgba(127,199,255,.5)}
.t42-card-ic svg{width:22px; height:22px; stroke:currentColor; stroke-width:1.6; fill:none; stroke-linecap:round; stroke-linejoin:round}
.t42-card-tx h3{font-family:'Sora',sans-serif; font-size:15px; font-weight:700; color:#fff; margin:0}
.t42-card-tx p{font-size:12.5px; color:rgba(210,228,255,.8); line-height:1.5; margin:3px 0 0}

/* ========================================================= POSSIBILIDADES ========================================================= */
.poss{ --blue:#1b4fd7; --ink:#16233c; --body:#54627c; --line:#e4eaf6;
  position:relative; overflow:visible; width:100%; padding:115px 24px 92px;}
.poss *{box-sizing:border-box; margin:0; padding:0}
.poss-bg{position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden}
.poss-bg .circuit{opacity:.35}
.poss-bg .dots{position:absolute; inset:0; background-image:radial-gradient(rgba(120,160,235,.18) 1px, transparent 1.3px); background-size:30px 30px;
  -webkit-mask-image:radial-gradient(120% 80% at 50% 40%,#000,transparent 80%); mask-image:radial-gradient(120% 80% at 50% 40%,#000,transparent 80%); opacity:.5}
.poss-wrap{position:relative; z-index:1; max-width:1200px; margin:0 auto; display:grid; grid-template-columns: 0.6fr 1.4fr; gap:0px; align-items:center}
.poss-head{margin-bottom:31px;padding-left:47px;padding-top:140px;}
.poss-eyebrow{display:inline-flex; align-items:center; gap:12px; font-size:12.5px; letter-spacing:.34em; font-weight:600; text-transform:uppercase; color:var(--blue); margin-bottom:14px}
.poss-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--blue); box-shadow:0 0 0 4px rgba(27,79,215,.15)}
.poss-eyebrow .bar{width:46px;height:2px;border-radius:2px; background:linear-gradient(90deg,var(--blue),transparent)}
.poss-head h2{font-family:'Sora',sans-serif; font-weight:700; line-height:1.14; font-size:clamp(26px,3.2vw,40px); letter-spacing:-.01em; color:var(--ink)}
.poss-head h2 b{color:var(--blue)}
.poss-head p{margin-top:12px; font-size:clamp(14.5px,1.3vw,16px); line-height:1.6; color:var(--body); max-width:440px}
/* ===== Cards de features (adaptados de amostra/features-42.html) — escopados em .poss-grid
   p/ não colidir com o .row da seção de contato ===== */
.poss-grid{display:inline-flex; flex-wrap:nowrap; gap:8px; padding-left:0px;padding-bottom:52px;}
.poss-grid .row{grid-column:span 2}                    /* 3 por linha */
.poss-grid .row:nth-child(4){grid-column:2 / span 2}   /* centraliza a linha de baixo (cards 4 e 5) */
/* card estilo totem-55 (.pcard): vidro claro, ícone gradiente azul, texto escuro */
.poss-grid .row{position:relative; appearance:none; -webkit-appearance:none; font:inherit; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; text-align:center; width:100%;
  padding:24px 14px 22px; border-radius:18px;
  background:rgba(255,255,255,.5); border:1px solid rgba(255,255,255,.75);
  backdrop-filter:blur(10px) saturate(130%); -webkit-backdrop-filter:blur(10px) saturate(130%);
  box-shadow:0 16px 34px -22px rgba(20,60,160,.4);
  transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s, background .4s}
.poss-grid .row:hover{transform:translateY(-5px); box-shadow:0 24px 44px -22px rgba(27,79,215,.5); border-color:rgba(127,170,255,.6)}
.poss-grid .row:focus-visible{outline:3px solid rgba(27,79,215,.4); outline-offset:2px}
.poss-grid .icon-btn{display:grid; place-items:center; width:45px; height:45px; border-radius:16px; color:#fff; margin:0 auto 16px;
  background:linear-gradient(160deg,#2f6bf0,#123fb0);
  box-shadow:0 12px 24px -10px rgba(20,60,160,.65), inset 0 0 0 1px rgba(255,255,255,.14), 0 0 24px -6px rgba(60,120,255,.7)}
.poss-grid .icon-btn svg{width:30px; height:30px; stroke:#eef5ff; stroke-width:1.6; fill:none; stroke-linecap:round; stroke-linejoin:round}
.poss-grid .copy h3{font-family:'Sora',sans-serif; font-weight:700; font-size:10px; color:var(--ink); margin:0; letter-spacing:-.01em; line-height:1.2}
@media (prefers-reduced-motion:reduce){
  .poss-grid .row, .poss-grid .icon-btn, .poss-grid .icon-btn svg{transition:none}
  .srow, .srow-ic, .srow-ic svg, .srow-tx h3, .srow-tx p{transition:none}
}
/* Totem frontal com tela trocável (clique nos cards) */
.poss-media{position:relative; display:flex; align-items:center; justify-content:center}
.totem-frame{position:relative; width:583px; max-width:100%;
  margin-top:-130px; margin-bottom:-100px;   /* KNOB: quanto o totem sobe sobre o hero */
  filter:drop-shadow(0 28px 40px rgba(30,60,130,.32))}
.totem-frontal{display:block; width:100%; height:auto; position:relative; z-index:1}
.totem-screen{position:absolute; z-index:2; top:8.5%; left:12%; right:7.4%; bottom:2.9%;  /* KNOB: encaixe na tela preta */
  width:auto; height:70.4%; object-fit:cover; border-radius:3px; transition:opacity .45s ease; display:none;}  /* KNOB: duração do fade */
.totem-screen-top{z-index:3; opacity:0}   /* camada do crossfade (imagem que entra por cima) */
@media (max-width:980px){
  .poss-wrap{grid-template-columns:1fr; gap:50px}
  .poss-media{order:-1} .totem-frame{width:auto; max-width:320px; margin:0}
}
/* mobile: comprimir cabeçalho + cards p/ os 6 caberem na tela junto do totem + título */
@media (max-width:600px){
  .poss{padding-top:40px; padding-bottom:90px}   /* KNOB: respiro do topo/rodapé da seção */
  .poss-head{margin-bottom:16px;padding-top:80px;}                 /* KNOB: distância título → cards */
  .poss-head h2{font-size:21px; line-height:1.15}   /* KNOB: tamanho do texto principal */
  .poss-head p{font-size:12.5px; margin-top:6px}    /* KNOB: parágrafo de apoio */
  .totem-frame{max-width:280px; margin-bottom:-40px}
  .poss-grid{gap:10px}
  .poss-grid .row{padding:14px 6px}                  /* KNOB: respiro interno do card */
  .poss-grid .icon-btn{width:46px; height:46px; border-radius:12px; margin:0 auto 10px}   /* KNOB: tamanho do ícone */
  .poss-grid .icon-btn svg{width:24px; height:24px}
  .poss-grid .copy h3{font-size:12.5px}   /* KNOB: título do card */
}
@media (max-width:380px){
  .poss-grid{gap:6px}
}
/* === FREEZE 601px: layout tablet ≤920px — vem depois do mobile, cancela-o para <601px === */
@media (max-width:920px){
  .poss{padding-top:65px; padding-bottom:24px}   /* KNOB padding-bottom: parte da distância (~50px) até os 4 cards do spec */
  .poss-wrap{grid-template-columns:auto 1fr;
    grid-template-areas:"media head" "grid grid";
    column-gap:28px; row-gap:24px; align-items:start}
  .poss-copy{display:contents}                    /* dissolve o wrapper p/ head e grid entrarem no grid do .poss-wrap */
  .poss-media{grid-area:media; order:0; justify-self:start; align-self:start}
  .totem-frame{max-width:280px;                   /* KNOB: tamanho do totem */
    margin:-15px 0 0; margin-left:30px}            /* KNOB: negativo => sobreposição ~30px sobre o HERO */
  .poss-head{grid-area:head; padding:0; margin:0; padding-top:80px; text-align:left; align-self:start}
  .poss-grid{grid-area:grid; display:flex; flex-wrap:nowrap; justify-content:center;
    width:100%; gap:10px; padding:0}              /* 5 cards em linha única, grupo centralizado */
  .poss-grid .row{flex:1 1 0; min-width:0}
}
@media (max-width:600px){
  .totem-frame{max-width:100%; margin-left:0}     /* anula max-width:280px e margin-left:30px do bloco 920px */
}
@media (max-width:500px){
  .poss-grid{flex-wrap:wrap; justify-content:center; gap:8px}   /* permite quebra de linha: 3 cards em cima, 2 embaixo */
  .poss-grid .row{flex:0 0 calc(33.333% - 6px)}                 /* ~1/3 da largura → 3 por linha */
}


/* ========================================================= ESPECIFICAÇÕES (FAIXA AZUL) ========================================================= */
/* fundo azul idêntico ao "Nosso Serviço" do index (body #15409e + brilho radial + circuitos) */
.spec{ --cyan:#7fc7ff; --blue:#1b4fd7; --ink:#16233c; --body:#54627c;
  position:relative; isolation:isolate; z-index:2; width:100%; padding:0 24px 76px;
  background:#15409e00}
.spec *{box-sizing:border-box; margin:0; padding:0}
.spec-bg{position:absolute; inset:0; z-index:0; width:100%; height:100%; pointer-events:none}
.spec-bg .circuit{opacity:.5} .spec-bg .waves path{fill:none}   /* KNOB: visibilidade dos circuitos */
.spec::after{content:""; position:absolute; left:50%; top:46%; z-index:0; width:min(1200px,100%); height:560px; transform:translate(-50%,-50%);
  background:radial-gradient(closest-side, rgba(150,205,255,.30), rgba(150,205,255,0) 72%); pointer-events:none}
/* box: mesmo contorno + sombra do hero, com a foto de evento ao fundo; sobrepõe a seção anterior ~30px */
.spec-panel{position:relative; z-index:1; top:-20px; margin-bottom:-30px;   /* KNOB top: sobreposição sobre a Possibilidades */
  overflow:hidden; border-radius:30px; max-width:1320px; margin-left:auto; margin-right:auto; min-height:auto;
  background:rgba(120,180,255,.0);   /* KNOB: cor/opacidade do azul claro translúcido */
  backdrop-filter:blur(5px) saturate(160%); -webkit-backdrop-filter:blur(5px) saturate(160%);   /* KNOB: intensidade do blur */
  box-shadow: -2px 14px 20px 2px rgb(9 25 74 / 58%)}
/* contorno brilhante (rim) — igual ao .thero-panel::after */
.spec-panel::after{content:""; position:absolute; inset:0; z-index:4; pointer-events:none; border-radius:inherit;
  border:1px solid rgba(243,243,243,0.7)}
/* overlay sutil só p/ dar leve unidade azul (a foto é clara; os cards brancos dão o contraste) */
.spec-overlay{position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(100deg, rgba(12,32,90,.30) 0%, rgba(12,32,90,.12) 45%, rgba(12,32,90,0) 75%)}  /* KNOB: opacidade do overlay */
.spec-inner{position:relative; z-index:2; max-width:1060px; margin:0 auto; display:flex; justify-content:center; padding:48px 48px}
.spec-list{display:flex; flex-direction:row; flex-wrap:wrap; justify-content:center; gap:16px}   /* 4 cards lado a lado, centralizados. KNOB: gap entre cards */
/* cards brancos no mesmo formato dos anteriores (.pcard): glass, blur, hover, ícone gradiente, clicáveis */
.srow{font:inherit; color:inherit; text-align:center;
  flex:0 0 auto; width:clamp(190px,18vw,220px);   /* KNOB: largura (mais reduzida) dos cards */
  display:flex; flex-direction:column; align-items:center; gap:14px; padding:20px 13px; border-radius:16px;
  background:rgba(255,255,255,.86); border:1px solid rgba(255,255,255,.9);
  backdrop-filter:blur(10px) saturate(130%); -webkit-backdrop-filter:blur(10px) saturate(130%);
  box-shadow:0 16px 34px -22px rgba(20,60,160,.45);
  transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s, background .4s}
/* hover: inverte as cores do fundo e do ícone (card fica azul, ícone fica branco) */
.srow:hover{transform:translateY(-5px); box-shadow:0 24px 44px -20px rgba(27,79,215,.5);
  background:linear-gradient(160deg,#2f6bf0,#123fb0); border-color:rgba(127,170,255,.7)}   /* KNOB: gradiente azul do hover */
.srow:hover .srow-ic{background:#fff; box-shadow:0 12px 24px -10px rgba(20,60,160,.55), 0 0 22px -6px rgba(255,255,255,.6)}
.srow:hover .srow-ic svg{stroke:var(--blue)}
.srow:hover .srow-tx h3{color:#fff}
.srow:hover .srow-tx p{color:rgba(230,240,255,.9)}
.srow-ic{flex:0 0 auto; width:54px; height:54px; border-radius:14px; display:grid; place-items:center; color:#fff;
  background:linear-gradient(160deg,#2f6bf0,#123fb0);
  box-shadow:0 12px 24px -10px rgba(20,60,160,.65), inset 0 0 0 1px rgba(255,255,255,.14), 0 0 24px -6px rgba(60,120,255,.7);
  transition:background .4s, box-shadow .4s}
.srow-ic svg{width:26px;height:26px;stroke:#eef5ff;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round; transition:stroke .4s}
.srow-tx h3{font-family:'Sora',sans-serif; font-weight:700; font-size:15px; color:var(--blue); letter-spacing:-.01em; transition:color .4s}
.srow-tx p{font-size:13px; line-height:1.45; color:var(--body); margin-top:3px; transition:color .4s}
/* mobile: cards em grade 2×2 dentro do painel azul; cards compactos */
@media (max-width:600px){
  .spec{padding-bottom:48px}
  .spec-inner{padding:28px 18px}
  .spec-list{display:grid; grid-template-columns:1fr 1fr; gap:10px}   /* 4 cards em 2×2 */
  .srow{width:auto; gap:7px; padding:16px 8px}                        /* KNOB: respiro interno do card mobile */
  .srow-ic{width:42px; height:42px; border-radius:11px}
  .srow-ic svg{width:22px; height:22px}
  .srow-tx h3{font-size:13px}                            /* KNOB: título do card mobile */
  .srow-tx p{font-size:10.5px; line-height:1.3; margin-top:2px}
}
/* === tablet: 4 cards em linha única ≤920px === */
@media (max-width:920px){
  .spec{padding-top:0; padding-bottom:60px}
  .spec-inner{padding:26px 24px}                       /* KNOB: junto do poss padding-bottom dá os ~50px */
  .spec-list{display:flex; flex-wrap:nowrap; gap:10px; width:100%}   /* 4 cards em linha única */
  .srow{width:auto; flex:1 1 0; min-width:0; padding:16px 10px}
  .srow-ic{width:54px; height:54px; border-radius:14px}   /* restaura tamanho do ícone */
  .srow-ic svg{width:26px; height:26px}
  .srow-tx h3{font-size:15px}
  .srow-tx p{font-size:13px; line-height:1.45; margin-top:3px}
}
/* mobile: restaura grid 2×2 (anula o flex do bloco 920px acima) */
@media (max-width:600px){
  .spec{padding-bottom:48px}
  .spec-inner{padding:28px 18px}
  .spec-list{display:grid; grid-template-columns:1fr 1fr; gap:10px}
  .srow{width:auto; flex:initial; min-width:initial; gap:7px; padding:16px 8px}
  .srow-ic{width:42px; height:42px; border-radius:11px}
  .srow-ic svg{width:22px; height:22px}
  .srow-tx h3{font-size:13px}
  .srow-tx p{font-size:10.5px; line-height:1.3; margin-top:2px}
}

/* ========================================================= GALERIA ========================================================= */
.gal{ --cyan:#7fc7ff; --muted:rgba(206,226,255,.74);
  position:relative; isolation:isolate; overflow:hidden; width:100%; padding:80px 28px 92px; color:#fff;
  background:radial-gradient(120% 90% at 50% 0%, #16213a 0%, #111a2e 50%, #0c1322 100%)}
.gal *{box-sizing:border-box; margin:0; padding:0}
.gal-bg{position:absolute; inset:0; z-index:0; pointer-events:none}
.gal-bg .dots{position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.3px); background-size:28px 28px}
.gal-wrap{position:relative; z-index:1; max-width:1180px; margin:0 auto}
.gal-head{text-align:center; max-width:680px; margin:0 auto 44px}
.gal-eyebrow{display:inline-flex; align-items:center; gap:12px; font-size:12.5px; letter-spacing:.34em; font-weight:600; text-transform:uppercase; color:var(--cyan); margin-bottom:14px}
.gal-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--cyan); box-shadow:0 0 0 4px rgba(127,199,255,.22)}
.gal-eyebrow .bar{width:46px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--cyan),transparent)}
.gal-head h2{font-family:'Sora',sans-serif; font-weight:700; line-height:1.14; font-size:clamp(25px,3.2vw,40px); letter-spacing:-.01em}
.gal-head h2 b{color:var(--cyan)}
.gal-head p{margin-top:12px; font-size:clamp(14.5px,1.3vw,16px); line-height:1.6; color:var(--muted)}
.gal-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.gitem{position:relative; display:block; aspect-ratio:4/3; border-radius:16px; overflow:hidden; border:1px solid rgba(160,205,255,.18); box-shadow:0 20px 40px -22px rgba(0,0,0,.7)}
.gitem img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s cubic-bezier(.2,.7,.2,1), filter .5s; filter:saturate(1.02)}
.gitem::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(8,16,34,.5)); opacity:.5; transition:opacity .4s}
.gitem:hover img{transform:scale(1.06)} .gitem:hover::after{opacity:.2}
.gitem:focus-visible{outline:2px solid rgba(127,199,255,.7); outline-offset:2px}
@media (max-width:900px){.gal-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:540px){.gal{padding:60px 18px 70px} .gal-grid{grid-template-columns:1fr}}

/* GALERIA — variante "mini" (só na totem-slim-55): fotos menores 3/linha + lightbox */
.gal-mini .gal-grid{max-width:720px; margin-left:auto; margin-right:auto}   /* KNOB: largura da grade = tamanho das fotos (desktop, 3 colunas) */
.gal-mini .gitem{cursor:zoom-in}
/* mobile: 3 por linha (sobrepõe as regras base de 2/1 coluna) */
@media (max-width:900px){ .gal-mini .gal-grid{grid-template-columns:repeat(3,1fr); max-width:none; gap:8px} }
@media (max-width:540px){ .gal-mini .gal-grid{grid-template-columns:repeat(3,1fr); gap:7px} }
/* lightbox: fundo preto translúcido + foto por cima */
.gal-lightbox{position:fixed; inset:0; z-index:10050; display:flex; align-items:center; justify-content:center;
  padding:24px; background:rgba(0,0,0,.85); cursor:zoom-out;
  opacity:0; visibility:hidden; pointer-events:none; transition:opacity .5s ease, visibility 0s linear .5s}
.gal-lightbox.open{opacity:1; visibility:visible; pointer-events:auto; transition:opacity .5s ease}   /* fade-in 0.5s */
.gal-lightbox-img{max-width:min(92vw,1100px); max-height:90vh; object-fit:contain; border-radius:10px;
  box-shadow:0 30px 80px rgba(0,0,0,.6)}
.gal-lightbox-close{position:absolute; top:16px; right:20px; width:44px; height:44px; border:0; cursor:pointer;
  border-radius:50%; background:rgba(255,255,255,.12); color:#fff; font-size:28px; line-height:1; display:grid; place-items:center;
  transition:background .25s ease}
.gal-lightbox-close:hover{background:rgba(255,255,255,.24)}
.gal-lightbox-close:focus-visible{outline:2px solid rgba(127,199,255,.8); outline-offset:2px}
.gal-lightbox-prev,.gal-lightbox-next{position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border:0; cursor:pointer; border-radius:50%; background:rgba(255,255,255,.12);
  color:#fff; font-size:36px; line-height:1; display:grid; place-items:center; transition:background .25s ease; z-index:1}
.gal-lightbox-prev{left:16px}
.gal-lightbox-next{right:16px}
.gal-lightbox-prev:hover,.gal-lightbox-next:hover{background:rgba(255,255,255,.24)}
.gal-lightbox-prev:focus-visible,.gal-lightbox-next:focus-visible{outline:2px solid rgba(127,199,255,.8); outline-offset:2px}
@media(prefers-reduced-motion:reduce){.gal-lightbox-prev,.gal-lightbox-next{transition:none}}

/* ========================================================= PG-FOTO42 — fundo unificado hero+poss ========================================================= */
/* Imagem bg-totem42.jpg como background de página: 100% largura, altura proporcional, sem repetição */
body.pg-foto42{
  background: #ffffff url("../../images/bg-totem42.jpg") top center / clamp(1600px, 100%, 1920px) auto no-repeat;   /* KNOB: 1350px = largura mínima → altura mínima ≈ 943px em telas estreitas */
}
/* Hero e Poss ficam transparentes → body bg aparece por baixo */
/* z-index:auto → .thero NÃO cria stacking context; as .foto-fly (filhas de
   .thero-panel) escapam para o contexto raiz e empilham acima do totem frontal */
.pg-foto42 .thero{background: transparent; z-index: auto}
.pg-foto42 .poss {background: transparent}
/* totem frontal (dentro de .poss-wrap) acima do hero-totem (z-index:2) — fica
   "sanduíchado": acima do hero, mas abaixo das .foto-fly (z-index:5) */
.pg-foto42 .poss-wrap{z-index: 3}
/* Poss — textos adaptados para fundo escuro (originalmente projetados para fundo claro) */
.pg-foto42 .poss-eyebrow{color:#7fc7ff}
.pg-foto42 .poss-eyebrow .dot{background:#7fc7ff; box-shadow:0 0 0 4px rgba(127,199,255,.22)}
.pg-foto42 .poss-eyebrow .bar{background:linear-gradient(90deg,#7fc7ff,transparent)}
.pg-foto42 .poss-head h2{color:#223f7e}
.pg-foto42 .poss-head h2 b{color:#d43faa}
.pg-foto42 .poss-head p{color:#223f7e}
