/* Fluxo Lumiar | Portfólio 3D v0.12.15
 * Migração da experiência 01 do Lab. Namespace local, nenhuma regra global do Lab.
 * Sem JavaScript, os seis links aparecem em uma grade acessível.
 */
.flh-portfolio-depth {
  --depth-bg:#08090b;
  --depth-ink:#f6f9fa;
  --depth-muted:#aeb9bf;
  --depth-line:#323941;
  --depth-blue:#245a73;
  --depth-orange:#f28a45;
  background:var(--depth-bg);
  color:var(--depth-ink);
}
.flh-portfolio-depth .flh-depth-main { width:100%; min-height:calc(100svh - 145px); padding:0 0 1px; overflow:clip; }
.flh-portfolio-depth .flh-depth-shell { width:min(calc(100% - 80px),1440px); margin-inline:auto; }
.flh-portfolio-depth .flh-depth-intro { padding-block:100px 20px; }
.flh-portfolio-depth .flh-depth-kicker { display:flex; align-items:center; gap:14px; font-size:11px; line-height:1.5; font-weight:800; letter-spacing:.19em; color:#b5c1c7; }
.flh-portfolio-depth .flh-depth-kicker-line { display:block; flex:0 0 28px; height:1px; background:var(--depth-orange); }
.flh-portfolio-depth .flh-depth-intro h1 { margin:22px 0 0; max-width:1160px; font-family:'Space Grotesk','DM Sans',system-ui,sans-serif; font-size:clamp(3rem,7.4vw,8rem); font-weight:600; letter-spacing:-.075em; line-height:1.025; }
.flh-portfolio-depth .flh-depth-intro h1 span { display:block; }
.flh-portfolio-depth .flh-depth-intro h1 em { font-style:normal; color:#a6cadb; }
.flh-portfolio-depth .flh-depth-intro > p { margin:30px 0 0; max-width:630px; color:var(--depth-muted); font-size:17px; line-height:1.65; }
.flh-portfolio-depth .flh-depth-sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.flh-portfolio-depth .flh-depth-gallery { position:relative; padding:10px 0 110px; outline:none; }
.flh-portfolio-depth .flh-depth-gallery:focus-visible,
.flh-portfolio-depth .flh-depth-gallery :is(a,button):focus-visible { outline:2px solid var(--depth-orange); outline-offset:5px; }
/* Renderização sem JS: não esconder as capas ou os links dos seis cases. */
.flh-portfolio-depth .flh-depth-stage { position:relative; width:min(calc(100% - 80px),1440px); margin-inline:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.flh-portfolio-depth .flh-depth-glow { display:none; }
.flh-portfolio-depth .flh-depth-card { display:block; min-width:0; color:inherit; text-decoration:none; background:#171d22; border:1px solid #343d42; border-radius:14px; overflow:hidden; transition:border-color .2s ease; }
.flh-portfolio-depth .flh-depth-card:hover { border-color:#83b6ce; }
.flh-portfolio-depth .flh-depth-card-inner { display:block; width:100%; position:relative; overflow:hidden; background:#232a30; aspect-ratio:1.46; }
.flh-portfolio-depth .flh-depth-card img { width:100%; height:100%; object-fit:cover; display:block; -webkit-user-drag:none; }
.flh-portfolio-depth .flh-depth-card-inner::after { content:''; display:block; position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,#070a0fa8,transparent 45%); }
.flh-portfolio-depth .flh-depth-card-label { position:absolute; z-index:1; bottom:17px; left:21px; right:12px; font-size:13px; line-height:1.25; font-weight:700; letter-spacing:.02em; color:#fff; }
.flh-portfolio-depth .flh-depth-fallback-meta { display:grid; gap:10px; padding:17px 20px 20px; color:#bdc5cc; font-size:13px; line-height:1.5; }
.flh-portfolio-depth .flh-depth-fallback-meta > span:first-child { font-size:10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:#8fc0d4; }
.flh-portfolio-depth .flh-depth-fallback-link { color:#fff; font-weight:700; text-decoration:underline; text-decoration-color:var(--depth-orange); text-underline-offset:5px; }
.flh-portfolio-depth .flh-depth-info,
.flh-portfolio-depth .flh-depth-hint { display:none; }
/* Estrutura espacial original adaptada para o escopo do site oficial. */
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-stage { display:block; width:100%; height:min(57vw,680px); min-height:495px; perspective:1300px; overflow:clip; touch-action:pan-y; user-select:none; -webkit-user-select:none; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-stage::after { content:''; position:absolute; inset:0; z-index:2; background:linear-gradient(0deg,var(--depth-bg),transparent 22%); pointer-events:none; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-glow { display:block; position:absolute; width:58%; height:56%; left:21%; top:15%; background:radial-gradient(ellipse,#245a734f,transparent 75%); filter:blur(20px); pointer-events:none; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-card { position:absolute; left:50%; top:48%; width:min(54vw,725px); aspect-ratio:1.46; margin:0; padding:0; border:0; border-radius:14px; overflow:visible; background:transparent; transform-style:preserve-3d; transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .55s,filter .55s; will-change:transform; cursor:pointer; box-shadow:0 20px 60px #0009; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-card-inner { height:100%; border:1px solid #ffffff35; border-radius:14px; background:#242b31; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-card[data-position="0"] { box-shadow:0 45px 90px #000d; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-card[data-position="0"] .flh-depth-card-inner { border-color:#ffffff77; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-fallback-meta { display:none; }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-info { display:grid; grid-template-columns:110px minmax(0,1fr) auto; align-items:start; gap:35px; border-top:1px solid var(--depth-line); padding-top:26px; }
.flh-portfolio-depth .flh-depth-counter { color:#f2f5f6; font-size:30px; font-weight:600; line-height:1; letter-spacing:-.08em; font-variant-numeric:tabular-nums; }
.flh-portfolio-depth .flh-depth-counter em { color:#77868e; font-size:15px; font-style:normal; padding-inline:5px; }
.flh-portfolio-depth .flh-depth-description { min-width:0; }
.flh-portfolio-depth .flh-depth-description small { display:block; margin:0 0 8px; color:#8cb7c9; font-size:10px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.flh-portfolio-depth .flh-depth-description h3 { margin:0; font:600 clamp(30px,3.3vw,52px)/1.07 'Space Grotesk',sans-serif; letter-spacing:-.065em; }
.flh-portfolio-depth .flh-depth-description p { margin:10px 0 0; max-width:580px; color:#abb7bd; font-size:15px; line-height:1.6; }
.flh-portfolio-depth .flh-depth-description a { display:inline-block; margin-top:16px; padding-bottom:5px; border-bottom:1px solid var(--depth-orange); color:#e7f1f5; font-size:13px; font-weight:700; text-decoration:none; }
.flh-portfolio-depth .flh-depth-description a:hover { color:#fff; border-color:#fff; }
.flh-portfolio-depth .flh-depth-buttons { display:flex; align-items:center; gap:9px; padding-top:5px; }
.flh-portfolio-depth .flh-depth-control { display:grid; place-items:center; width:53px; height:53px; margin:0; padding:0; border:1px solid #53636c; border-radius:50%; color:#fff; background:#202b32; font-size:21px; cursor:pointer; transition:background .2s,border-color .2s,transform .2s; }
.flh-portfolio-depth .flh-depth-control:hover { background:#315266; border-color:#8dbbd2; transform:translateY(-2px); }
.flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-hint { display:block; margin:28px auto 0; padding-inline:20px; color:#82929a; text-align:center; font-size:12px; }
@media(max-width:900px) {
  .flh-portfolio-depth .flh-depth-stage { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-stage { height:620px; }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-card { width:min(72vw,610px); }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-info { grid-template-columns:75px minmax(0,1fr); }
  .flh-portfolio-depth .flh-depth-buttons { grid-column:2; }
}
@media(max-width:580px) {
  .flh-portfolio-depth .flh-depth-shell,
  .flh-portfolio-depth .flh-depth-stage { width:calc(100% - 36px); }
  .flh-portfolio-depth .flh-depth-intro { padding-block:74px 7px; text-align:center; }
  .flh-portfolio-depth .flh-depth-kicker { justify-content:center; font-size:10px; letter-spacing:.12em; }
  .flh-portfolio-depth .flh-depth-intro h1 { font-size:clamp(34px,9.6vw,59px); line-height:1.08; margin-top:22px; }
  .flh-portfolio-depth .flh-depth-intro > p { font-size:15px; margin:24px auto 0; }
  .flh-portfolio-depth .flh-depth-gallery { padding-top:0; padding-bottom:80px; }
  .flh-portfolio-depth .flh-depth-stage { grid-template-columns:1fr; gap:18px; }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-stage { height:450px; min-height:450px; }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-card { width:83vw; aspect-ratio:1.15; }
  .flh-portfolio-depth .flh-depth-card-label { left:12px; font-size:12px; }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-info { grid-template-columns:1fr auto; gap:15px; }
  .flh-portfolio-depth .flh-depth-counter { font-size:24px; }
  .flh-portfolio-depth .flh-depth-description { grid-column:1 / -1; grid-row:2; text-align:center; }
  .flh-portfolio-depth .flh-depth-description h3 { font-size:35px; }
  .flh-portfolio-depth .flh-depth-description p { font-size:14px; margin-left:auto; margin-right:auto; }
  .flh-portfolio-depth .flh-depth-buttons { grid-column:2; grid-row:1; padding-top:0; }
  .flh-portfolio-depth .flh-depth-control { width:46px; height:46px; }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-hint { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) {
  .flh-portfolio-depth .flh-depth-gallery *,
  .flh-portfolio-depth .flh-depth-gallery *::before,
  .flh-portfolio-depth .flh-depth-gallery *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
  .flh-portfolio-depth .flh-depth-gallery.is-enhanced .flh-depth-card { will-change:auto; }
}
