/* ================================================
   TOTEM SLIM 55 — Estilos específicos desta página
   Escopo: body.pg-slim55
   ================================================ */

/* Os overrides aqui usam .pg-slim55 como prefixo para
   não conflitar com index.html e outras páginas de totem. */

/* ========================================================= HERO TOTEM (DETALHE) ========================================================= */
.thero{ --cyan:#7fc7ff;
  position:relative; z-index:1; width:100%; padding:118px 24px 55px;
  background:#0a1f6e url("../../images/bg-totem55.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:44%; bottom:-100px}
.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-55.png") center 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%)}
/* Totem com o topo saindo para fora do box */
.thero-totem{position:absolute; right:26%; bottom:4.5%; z-index:2; width:auto; height: clamp(430px,70vw,622px);
  filter:drop-shadow(0 32px 42px rgba(0,0,0,.55)); pointer-events:none}
.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:space-between; gap:34px}
/* eyebrow textual acima do lettering (identifica o modelo) */
.thero-headline{padding-top:110px; text-align:center}   /* KNOB: assume o offset que era do lettering */
/* título como badge azul (contraste sobre o fundo escuro do hero, em todas as resoluções) */
.thero-eyebrow{display:inline-block; font-family:'Plus Jakarta Sans',sans-serif; font-size:14px; text-align:center;
  font-weight:700; letter-spacing:.28em; text-transform:uppercase; color:#fff; margin-bottom:22px;
  background:#1b4fd7; padding:7px 16px; border-radius:999px; box-shadow:0 6px 18px -6px rgba(27,79,215,.6)}
.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:0;
  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:150px;   /* ↓ KNOB: quão ABAIXO começa o lettering */
    gap:40px}            /* ↓ KNOB: distância do lettering até os 3 itens */
  .thero-headline{padding-top:0; text-align:center}
  .thero-eyebrow{margin-bottom:18px}
  .thero-lettering{margin:0 auto; padding-top:14px; max-width:430px}
  /* 3 itens em UMA linha: chips verticais (ícone em cima, texto embaixo) */
  .thero-chips{justify-content:center; gap:8px; flex-wrap:nowrap; width:100%}
  .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:12px; overflow-wrap:break-word}  /* KNOB: fonte dos itens */
  /* totem ATRÁS do conteúdo, centralizado */
  .thero-totem{z-index:1; left:50%; right:auto; bottom:auto; transform:translateX(-50%);
    top:10%;                          /* ↓ KNOB: posição do TOPO do totem */
    height:clamp(380px,82vw,510px)}   /* ↓ KNOB: tamanho do totem */
}
@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 */
  .thero-totem{top:9%; height:clamp(320px,86vw,470px)}
}
/* ---- TOTEM FOTO 42 — overrides por página ---- */
.thero.thero-f42{background-image:url(../../images/bg-totem42.jpg)}
.thero-f42 .thero-panel{background-image:url(../../images/hero-bg-42.jpg); background-position:center top; min-height:750px}
.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:60px; max-width:440px}
.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}
.thero-f42 .thero-totem{right:14%; bottom:3%; height:clamp(380px,58vw,570px)}
.foto-fly{position:absolute; pointer-events:none; z-index:3; filter:drop-shadow(0 8px 20px rgba(0,0,0,.55))}
.foto-fly.fly-1{width:20%; top:6%;  right:6%;  transform:rotate(9deg)}
.foto-fly.fly-2{width:18%; top:30%; right:-1%; transform:rotate(-6deg)}
.foto-fly.fly-3{width:22%; bottom:18%; left:46%; transform:rotate(5deg)}
.foto-fly.fly-4{width:16%; top:12%; left:30%; transform:rotate(-10deg)}
.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;
  background:#eef2f9 url("../../images/bg-totem55-cards.jpg") center top / cover no-repeat}
.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:1.1fr .9fr; gap:48px; align-items:center}
.poss-head{margin-bottom:34px}
.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}
.poss-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.pcard{position:relative; appearance:none; -webkit-appearance:none; font:inherit; cursor:pointer;
  padding:24px 14px 22px; border-radius:18px; text-align:center;
  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}
.pcard:hover{transform:translateY(-5px); box-shadow:0 24px 44px -22px rgba(27,79,215,.5); border-color:rgba(127,170,255,.6)}
.pcard.is-active{border-color:rgba(43,109,240,.6); background:rgba(255,255,255,.72);
  box-shadow:0 24px 46px -22px rgba(27,79,215,.55), 0 0 0 1px rgba(43,109,240,.25)}
.pcard:focus-visible{outline:3px solid rgba(27,79,215,.4); outline-offset:2px}
.pcard-ic{display:grid; place-items:center; width:62px; height:62px; 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)}
.pcard-ic svg{width:30px;height:30px;stroke:#eef5ff;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.pcard h3{font-family:'Sora',sans-serif; font-weight:700; font-size:15.5px; color:var(--ink); margin-bottom:8px; letter-spacing:-.01em; line-height:1.2}
.pcard p{font-size:13px; line-height:1.5; color:var(--body)}
/* 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:3.9%; left:5.5%; right:7.4%; bottom:2.9%;  /* KNOB: encaixe na tela preta */
  width:auto; height:95%; object-fit:cover; border-radius:3px; transition:opacity .45s ease}  /* 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}                 /* 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:200px; margin-bottom:-40px}
  .poss-grid{grid-template-columns:repeat(3,1fr); gap:8px}
  .pcard{padding:10px 5px}                        /* KNOB: respiro interno do card */
  .pcard-ic{width:36px; height:36px; border-radius:10px; margin-bottom:6px}
  .pcard-ic svg{width:19px; height:19px}
  .pcard h3{font-size:11px; line-height:1.15; margin-bottom:3px}   /* KNOB: título do card */
  .pcard p{font-size:9.5px; line-height:1.25}
}
@media (max-width:380px){
  .poss-grid{gap:6px}
  .pcard p{display:none}   /* telas bem estreitas: oculta a descrição p/ garantir os 6 botões na tela */
}

/* ========================================================= 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 45px;
  background:#15409e}
.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:-55px; margin-bottom:-130px;   /* KNOB top: sobreposição sobre a Possibilidades; bottom: sobreposição sobre a Galeria */
  overflow:hidden; border-radius:30px; max-width:1320px; margin-left:auto; margin-right:auto; min-height:420px;
  background:#103a8e url("../../images/bg-totem55-spec.jpg") center center / cover no-repeat;
  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:790px; margin:0 auto; display:grid; grid-template-columns:1.05fr .95fr; gap:34px; align-items:center; padding:48px 48px}
.spec-list{display:flex; flex-direction:column; gap:14px}
/* cards brancos no mesmo formato dos anteriores (.pcard): glass, blur, hover, ícone gradiente, clicáveis */
.srow{appearance:none; -webkit-appearance:none; font:inherit; color:inherit; cursor:pointer; text-align:left; width:100%;
  display:flex; align-items:center; gap:14px; padding:15px 18px; 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}
.srow:hover{transform:translateY(-5px); box-shadow:0 24px 44px -20px rgba(27,79,215,.5); border-color:rgba(127,170,255,.7)}
.srow.is-active{border-color:rgba(43,109,240,.6); background:rgba(255,255,255,.96);
  box-shadow:0 24px 46px -22px rgba(27,79,215,.55), 0 0 0 1px rgba(43,109,240,.25)}
.srow:focus-visible{outline:3px solid rgba(27,79,215,.4); outline-offset:2px}
.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)}
.srow-ic svg{width:26px;height:26px;stroke:#eef5ff;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.srow-tx h3{font-family:'Sora',sans-serif; font-weight:700; font-size:17px; color:var(--blue); letter-spacing:-.01em}
.srow-tx p{font-size:13px; line-height:1.45; color:var(--body); margin-top:3px}
/* mídia: totem (frontal com tela trocável + lateral, numa única imagem) */
.spec-media{display:flex; align-items:center; justify-content:center}
.spec-totem-frame{position:relative; display:inline-block; height:clamp(330px,40vw,470px);   /* KNOB: tamanho do totem */
  filter:drop-shadow(0 26px 36px rgba(0,0,0,.45))}
.spec-totem-frontal{display:block; height:100%; width:auto}
/* tela trocável sobre o totem FRONTAL (lado esquerdo da imagem) — crossfade.
   Usa left/top/width/height (% do frame) p/ encaixar na tela preta — em <img> o right/bottom é ignorado. */
.spec-screen{position:absolute; z-index:2; left:5.9%; top:3%; width:52.5%; height:54.7%;   /* KNOB: encaixe na tela preta do frontal */
  object-fit:cover; border-radius:2px; transition:opacity .45s ease}
.spec-screen-top{z-index:3; opacity:0}   /* camada de cima do crossfade */
/* desktop: o .spec-media define a altura do box e o totem ocupa 90% dela */
@media (min-width:901px){
  .spec-panel{min-height:0}
  .spec-inner{align-items:stretch; padding:36px 48px}   /* padding vertical aumenta a altura do box */
  .spec-media{height:clamp(520px,54vw,640px); align-items:center; justify-content:center}   /* KNOB: altura do box */
  .spec-totem-frame{height:90%}   /* totem ocupa 90% da altura do box */
  .spec-list{justify-content:center}   /* cards centralizados verticalmente (alinha com o totem). KNOB: trocar p/ flex-start + padding-top:60px se quiser ~60px */
}
@media (max-width:900px){
  .spec-inner{grid-template-columns:1fr; gap:22px; padding:34px 24px}
  .spec-media{order:-1}   /* totem no topo */
  .spec-totem-frame{height:clamp(260px,50vw,340px)}
}
/* mobile: o BOX contém só o totem (grande, centralizado); os 4 cards saem p/ a área azul */
@media (max-width:600px){
  .spec{padding-bottom:48px}
  /* .spec-panel deixa de ser o box → vira wrapper transparente (mantém a sobreposição de 30px sobre a Possibilidades) */
  .spec-panel{background:none; box-shadow:none; border-radius:0; overflow:visible; min-height:0; top:-30px; margin-bottom:-30px}
  .spec-panel::after{display:none}   /* sem rim no panel */
  .spec-overlay{display:none}        /* sem overlay escuro */
  .spec-inner{grid-template-columns:1fr; padding:0; gap:22px}
  /* .spec-media VIRA o box: foto + cantos + sombra + rim, com o totem centralizado */
  .spec-media{position:relative; overflow:hidden; border-radius:24px; padding:35px 16px;   /* KNOB: 35px = margem topo/base do totem */
    align-items:center; justify-content:center; gap:0;
    background:#103a8e url("../../images/bg-totem55-spec.jpg") center center / cover no-repeat;
    box-shadow: -1px 5px 18px 0px rgb(9 25 74 / 58%)}
  .spec-media::after{content:""; position:absolute; inset:0; z-index:2; pointer-events:none; border-radius:inherit;
    border:1px solid rgba(243,243,243,0.7)}
  .spec-totem-frame{height:clamp(340px,56vh,440px)}   /* KNOB: tamanho do totem no box */
  /* cards fora do box, sobre o azul */
  .spec-list{display:grid; grid-template-columns:1fr 1fr; gap:10px}   /* 4 cards em 2×2 na área azul */
  .srow{flex-direction:column; text-align:center; gap:7px; padding:12px 8px}
  .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}
}

/* ========================================================= GALERIA ========================================================= */
.gal{ --cyan:#7fc7ff; --muted:rgba(206,226,255,.74);
  position:relative; isolation:isolate; overflow:hidden; width:100%; padding:90px 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}}
