/* Nex8 Home photos v2 — transparent studio merchandising, distinct assets per service.
 * Local to the public Home. Existing admin, portfolio, mail and Design Studio untouched.
 */
.nex8-home .nex8-hero-specialties{
  display:flex;flex-wrap:wrap;gap:9px;margin:0;padding:0;list-style:none
}
.nex8-home .nex8-hero-specialties li{
  padding:0;border:0;background:transparent;font-size:inherit
}
.nex8-home .nex8-hero-specialties a{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:43px;padding:9px 14px;border:1px solid #54748f;border-radius:100px;
  background:#ffffff09;color:#dcecf8;text-decoration:none;
  font-size:.78rem;font-weight:750;line-height:1.25;
  transition:border-color .18s,background .18s,transform .18s
}
.nex8-home .nex8-hero-specialties a span{font-size:.86rem;color:#75d1ff}
.nex8-home .nex8-hero-specialties a:hover{
  background:#104b6d;border-color:#58c8ff;transform:translateY(-2px)
}
.nex8-home .nex8-hero-specialties a:focus-visible{
  outline:3px solid #ffac56;outline-offset:3px
}
/* Sprite atlas (four isolated product compositions, 2x2 grid, real alpha).
   Hero uses a layered tableau; category cards show each discrete product. */
.nex8-home .nex8-product-sprite{
  display:block;aspect-ratio:1/1;
  background-image:url('/assets/images/nex8-product-atlas-v2.avif?v=20261027c');
  background-repeat:no-repeat;background-size:200% 200%;
  border:0;box-shadow:none
}
.nex8-home .nex8-product-sprite--impressos{background-position:0% 0%}
.nex8-home .nex8-product-sprite--carimbos{background-position:100% 0%}
.nex8-home .nex8-product-sprite--comunicacao{background-position:0% 100%}
.nex8-home .nex8-product-sprite--brindes{background-position:100% 100%}
.nex8-home .nex8-hero-product-figure{
  position:relative;z-index:1;min-width:0;width:min(100%,690px);margin:0 auto;
  align-self:center;display:flex;flex-direction:column;gap:0
}
/* One supplied photo, alpha preserved, rendered without borders or cropping. */
.nex8-home .nex8-hero-product-photo{
  display:block;width:100%;height:auto;max-width:100%;
  aspect-ratio:3/2;object-fit:contain;object-position:center;
  background:transparent;border:0;border-radius:0;box-shadow:none;
  filter:drop-shadow(0 14px 18px #0004);
}
.nex8-home .nex8-hero-product-figure figcaption{
  margin:0;padding:0;text-align:center;color:#a8c8e0;
  font-size:.66rem;letter-spacing:.03em;line-height:1.45
}
/* Product, heading and description occupy separate layout bands.
   Never overlay theme text on top of transparent merchandise photography. */
.nex8-home .nex8-category--visual,
.nex8-home .nex8-category--visual:nth-child(2),
.nex8-home .nex8-category--visual:nth-child(4){
  min-height:390px;padding:50px 22px 23px;isolation:isolate;
  justify-content:flex-start;align-items:stretch;
  border:1px solid #294a66;
  background:radial-gradient(ellipse at 50% 27%,#124769 0%,#0b2943 50%,#061625 100%)
}
.nex8-home .nex8-category--visual:nth-child(2){
  background:radial-gradient(ellipse at 50% 20%,#14415e 0%,#09233a 57%,#061625 100%)
}
.nex8-home .nex8-category--visual:nth-child(3){
  background:radial-gradient(ellipse at 50% 18%,#11527b 0%,#0b2943 57%,#061625 100%)
}
.nex8-home .nex8-category--visual:nth-child(4){
  background:radial-gradient(ellipse at 50% 18%,#253b56 0%,#09233a 57%,#061625 100%)
}
.nex8-home .nex8-category--visual:before{display:none}
.nex8-home .nex8-category--visual:after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,transparent 48%,#06152200 70%,#06152299 92%,#061522 100%)
}
.nex8-home .nex8-category-photo{
  position:relative;top:auto;left:auto;display:block;
  width:min(100%,210px);max-width:100%;height:auto;margin:0 auto 16px;
  flex:0 0 auto;z-index:2;aspect-ratio:1/1;
  transition:transform .24s ease;
  filter:drop-shadow(0 8px 12px #0007)
}
.nex8-home .nex8-category-photo--custom{
  aspect-ratio:1/1;
  object-fit:contain;
  object-position:center;
  background:transparent;
  border:0;
}
.nex8-home .nex8-category--visual:hover .nex8-category-photo{
  transform:translateY(-5px)
}
.nex8-home .nex8-category--visual .nex8-category-number{
  position:absolute;top:23px;left:25px;z-index:3;color:#e0f3ff;
  font-size:.72rem;text-shadow:0 2px 6px #0008
}
.nex8-home .nex8-category--visual .nex8-category-arrow{
  position:absolute;top:22px;right:24px;z-index:3;color:#80d2ff
}
.nex8-home .nex8-category--visual h3{
  position:relative;z-index:3;color:#fff;
  margin:auto 0 9px;font-size:clamp(1.2rem,1.8vw,1.55rem);
  text-shadow:0 2px 7px #000a
}
.nex8-home .nex8-category--visual p{
  position:relative;z-index:3;color:#d6e6f1;
  font-size:.82rem;line-height:1.45;margin:0
}
@media(max-width:1140px){
 .nex8-home .nex8-hero-product-figure{width:min(100%,580px)}
 .nex8-home .nex8-category--visual{min-height:390px}
}
@media(max-width:900px){
 .nex8-home .nex8-hero-product-figure{width:min(100%,620px);margin:7px auto 0}
}
@media(max-width:680px){
 .nex8-home .nex8-hero-specialties{display:flex;gap:7px;margin-top:18px}
 .nex8-home .nex8-hero-specialties a{
  min-height:42px;padding:8px 11px;font-size:.69rem;gap:6px
 }
 .nex8-home .nex8-hero-product-figure{width:min(100%,420px);margin:17px auto 2px}
 .nex8-home .nex8-product-showcase{aspect-ratio:1.18/1}
 .nex8-home .nex8-product-showcase .nex8-product-sprite{filter:drop-shadow(0 10px 11px #0008)}
 .nex8-home .nex8-hero-product-figure figcaption{font-size:.6rem}
 .nex8-home .nex8-category--visual,
 .nex8-home .nex8-category--visual:nth-child(2),
 .nex8-home .nex8-category--visual:nth-child(4){
   min-height:310px;padding:40px 12px 16px;border-radius:14px
 }
 .nex8-home .nex8-category--visual .nex8-category-number{
   left:14px;top:13px;font-size:.58rem
 }
 .nex8-home .nex8-category--visual .nex8-category-arrow{
   top:10px;right:13px;font-size:1.12rem
 }
 .nex8-home .nex8-category-photo{
   top:auto;left:auto;width:100%;max-width:160px;margin:0 auto 11px
 }
 .nex8-home .nex8-category--visual h3{
   font-size:1.02rem;line-height:1.15;margin:0 0 7px
 }
 .nex8-home .nex8-category--visual p{font-size:.7rem;line-height:1.38}
}
@media(max-width:365px){
 .nex8-home .nex8-hero-specialties a{font-size:.65rem;padding:7px 9px}
 .nex8-home .nex8-category--visual{min-height:310px;padding:38px 11px 15px}
 .nex8-home .nex8-category--visual h3{font-size:.96rem}
 .nex8-home .nex8-category--visual p{font-size:.66rem}
}
@media(prefers-reduced-motion:reduce){
 .nex8-home .nex8-category-photo,.nex8-home .nex8-hero-specialties a{
   transition:none;transform:none!important
 }
}

/* HOME-HERO-MOBILE-POLISH 2026-10-28
 * Screenshot QA: preserve liked composition; make the product hero visible earlier,
 * tighten copy/CTA rhythm, and make 4 category links a balanced 2x2 cluster.
 * Scope ONLY .nex8-home; no changes to admin, theme importer or uploaded media. */
.nex8-home .nex8-hero .nex8-eyebrow:before{
  background:#ff8b37;
  height:3px;
  border-radius:100px;
}
.nex8-home .nex8-hero h1 em{
  color:#ff8633;
  text-shadow:0 9px 32px #ff6e151a;
}
.nex8-home .nex8-hero-product-figure:before{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  inset:12% 1% 5%;
  border-radius:50%;
  background:radial-gradient(ellipse at 50% 55%,#248bc62b,transparent 68%);
  filter:blur(14px);
}
.nex8-home .nex8-hero-product-photo,
.nex8-home .nex8-hero-product-figure figcaption{
  position:relative;
  z-index:1;
}
@media(max-width:680px){
  .nex8-home .nex8-hero{
    gap:0;
    padding-top:34px;
    padding-bottom:20px;
    background:
      radial-gradient(ellipse at 77% 93%,#14608b70 0%,transparent 51%),
      linear-gradient(150deg,#071827 0%,#09243e 72%,#061321 100%);
  }
  .nex8-home .nex8-hero-copy{
    width:100%;
  }
  .nex8-home .nex8-hero .nex8-eyebrow{
    max-width:355px;
    font-size:.63rem;
    line-height:1.5;
    letter-spacing:.11em;
    color:#83d4ff;
  }
  .nex8-home .nex8-hero h1{
    max-width:100%;
    margin:14px 0 13px;
    font-size:clamp(2.4rem,10.45vw,3.45rem);
    line-height:1.025;
    letter-spacing:-.064em;
  }
  .nex8-home .nex8-hero-summary{
    max-width:410px;
    font-size:.92rem;
    line-height:1.52;
    color:#c3d6e5;
  }
  .nex8-home .nex8-hero-actions{
    margin:18px 0 0;
    gap:4px;
    grid-template-columns:minmax(0,1fr);
  }
  .nex8-home .nex8-hero-actions .home-button-primary{
    min-height:52px;
    border-radius:14px;
    box-shadow:0 12px 23px #f564002b;
    font-size:.96rem;
  }
  .nex8-home .nex8-hero-actions .home-button-secondary{
    min-height:37px;
    border:0;
    background:transparent;
    color:#d7edfb;
    font-size:.86rem;
    padding:0 10px;
  }
  .nex8-home .nex8-hero-specialties{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:12px 0 0;
  }
  .nex8-home .nex8-hero-specialties li{
    display:block;
    min-width:0;
    margin:0;
  }
  .nex8-home .nex8-hero-specialties a{
    display:flex;
    width:100%;
    min-width:0;
    min-height:37px;
    justify-content:space-between;
    gap:5px;
    padding:7px 10px;
    border-color:#597a97a6;
    border-radius:11px;
    background:linear-gradient(115deg,#1539548c,#0b2d4866);
    color:#e0edf5;
    font-size:.68rem;
    font-weight:720;
    line-height:1.2;
    letter-spacing:-.01em;
  }
  .nex8-home .nex8-hero-specialties a span{
    flex:none;
    color:#ff983c;
    font-size:.78rem;
  }
  .nex8-home .nex8-hero-product-figure{
    width:min(100%,390px);
    margin:5px auto 0;
    gap:0;
  }
  .nex8-home .nex8-hero-product-photo{
    width:100%;
    height:auto;
    aspect-ratio:3/2;
    object-fit:contain;
    object-position:center;
    filter:drop-shadow(0 11px 14px #0005);
  }
  .nex8-home .nex8-hero-product-figure figcaption{
    font-size:.58rem;
    line-height:1.35;
    color:#b9d5e5;
  }
}
@media(max-width:365px){
  .nex8-home .nex8-hero{padding-top:29px;padding-bottom:17px}
  .nex8-home .nex8-hero h1{font-size:clamp(2.29rem,10.35vw,2.55rem)}
  .nex8-home .nex8-hero-specialties{gap:6px}
  .nex8-home .nex8-hero-specialties a{
    padding:7px 8px;
    font-size:.62rem;
  }
  .nex8-home .nex8-hero-product-figure{margin-top:3px}
}
@media(prefers-reduced-motion:reduce){
  .nex8-home .nex8-hero-specialties a{
    transform:none!important;
    transition:none!important;
  }
}
