/* Slide da home: vencedores do Concurso de Postais de Boas Festas 2026 */
.hero-slide-postcards{background:radial-gradient(110% 120% at 80% 40%,#1a4196 0%,#0d2a66 40%,#061b45 78%);overflow:hidden}
.hero-slide-postcards::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.75) 0 1.2px,transparent 1.6px),radial-gradient(circle,rgba(0,167,225,.8) 0 1.5px,transparent 2px),radial-gradient(circle,rgba(229,0,126,.75) 0 1.5px,transparent 2px),radial-gradient(circle,rgba(255,212,0,.8) 0 1.5px,transparent 2px);background-size:140px 120px,230px 190px,270px 210px,190px 250px;background-position:10px 20px,60px 90px,150px 40px,30px 160px;opacity:.55;animation:hsp-snow 26s linear infinite}
@keyframes hsp-snow{to{background-position:10px 140px,60px 280px,150px 250px,30px 410px}}
.hsp-glow{position:absolute;right:12%;top:8%;width:min(560px,52vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,170,80,.3),rgba(255,139,50,.1) 38%,transparent 68%);pointer-events:none}
.hsp-fan{position:absolute;z-index:1;right:6%;top:0;bottom:0;width:min(56%,700px);perspective:1400px;display:flex;align-items:center;justify-content:center;pointer-events:none}
.hsp-card{position:absolute;height:min(76%,430px);aspect-ratio:921/1800;border-radius:4px;background:#fff;box-shadow:0 30px 50px -18px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06);transition:transform 1.2s cubic-bezier(.2,.8,.2,1),opacity .9s}
.hsp-card img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}
.hsp-card::after{content:"";position:absolute;inset:0;border-radius:4px;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.28) 48%,transparent 60%);background-size:250% 100%;background-position:120% 0;mix-blend-mode:soft-light}
.hsp-card b{position:absolute;left:50%;bottom:-20px;translate:-50% 0;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font:700 19px/1 Georgia,serif;color:#fff;background:#173783;box-shadow:0 6px 14px -4px rgba(0,0,0,.6),inset 0 0 0 2px rgba(255,255,255,.25)}
.hsp-card-1 b{background:conic-gradient(from 210deg,#fff3c4,#e9b23a,#fff0b0,#c98a14,#fff3c4);color:#5b3a00}
.hsp-card-1{z-index:3;transform:translate3d(0,-4%,60px) rotateY(-8deg)}
.hsp-card-2{z-index:2;transform:translate3d(-80%,4%,-40px) rotateY(24deg) rotateZ(-5deg)}
.hsp-card-3{z-index:1;transform:translate3d(80%,6%,-60px) rotateY(-30deg) rotateZ(5deg)}
.hero-slide-postcards.is-active .hsp-card-1{animation:hsp-float-1 7s ease-in-out infinite}
.hero-slide-postcards.is-active .hsp-card-2{animation:hsp-float-2 8s ease-in-out infinite}
.hero-slide-postcards.is-active .hsp-card-3{animation:hsp-float-3 9s ease-in-out infinite}
.hero-slide-postcards.is-active .hsp-card::after{animation:hsp-shine 5.5s ease-in-out infinite}
.hero-slide-postcards:not(.is-active) .hsp-card-2{transform:translate3d(-20%,14%,-200px) rotateY(60deg);opacity:0}
.hero-slide-postcards:not(.is-active) .hsp-card-3{transform:translate3d(20%,14%,-200px) rotateY(-60deg);opacity:0}
.hero-slide-postcards:not(.is-active) .hsp-card-1{transform:translate3d(0,10%,-120px) rotateY(-70deg);opacity:0}
@keyframes hsp-float-1{0%,100%{transform:translate3d(0,-4%,60px) rotateY(-8deg) rotateX(2deg)}50%{transform:translate3d(0,-7%,60px) rotateY(6deg) rotateX(-2deg)}}
@keyframes hsp-float-2{0%,100%{transform:translate3d(-80%,4%,-40px) rotateY(24deg) rotateZ(-5deg)}50%{transform:translate3d(-82%,1%,-40px) rotateY(16deg) rotateZ(-7deg)}}
@keyframes hsp-float-3{0%,100%{transform:translate3d(80%,6%,-60px) rotateY(-30deg) rotateZ(5deg)}50%{transform:translate3d(82%,3%,-60px) rotateY(-22deg) rotateZ(7deg)}}
@keyframes hsp-shine{0%,55%{background-position:120% 0}100%{background-position:-120% 0}}
.hsp-content{width:min(600px,48%)}
.hero-slide-postcards .hsp-content h2,body.home-immersive .hero-slide-postcards .hsp-content h2{font-size:clamp(34px,3.4vw,52px)!important;line-height:1.06!important;letter-spacing:-.01em!important;text-wrap:balance}
.hsp-content p{max-width:500px}
@media (max-width:900px){.hsp-fan{width:58%;right:0}.hsp-card{height:min(60%,340px)}.hsp-content{width:min(470px,52%)}}
@media (max-width:720px){
  .hsp-card-2{transform:translate3d(-62%,4%,-40px) rotateY(24deg) rotateZ(-5deg)}
  .hsp-fan{left:0;right:0;width:100%;top:4%;bottom:auto;height:46%}
  .hsp-card{height:88%}
  .hsp-card b{width:30px;height:30px;font-size:15px;bottom:-14px}
  .hsp-glow{left:20%;right:auto;top:0;width:80vw}
  .hsp-content{width:100%}
  .hsp-fan{opacity:.45}
  .hero-slide-postcards::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,27,69,0) 25%,rgba(6,27,69,.88) 60%);pointer-events:none}
  .hero-slide-postcards .hsp-content h2,body.home-immersive .hero-slide-postcards .hsp-content h2{font-size:clamp(28px,7.6vw,36px)!important}
}
@media (prefers-reduced-motion:reduce){
  .hero-slide-postcards::before,.hero-slide-postcards.is-active .hsp-card,.hero-slide-postcards.is-active .hsp-card::after{animation:none}
  .hsp-card{transition:none}
}

/* Variante fotografias (Jovens Gráficos) */
.hsp-badge{width:auto!important;height:auto!important;padding:8px 14px;border-radius:999px!important;font:700 13px/1 system-ui,sans-serif!important;white-space:nowrap;letter-spacing:.01em}
.hsp-photos .hsp-card{height:auto;width:min(56%,380px);padding:10px 10px 34px;background:#fbf8f2;border-radius:3px}
.hsp-photos .hsp-card img{border-radius:1px;height:auto;aspect-ratio:4/3}
.hsp-photos .hsp-card::after{inset:10px 10px 34px}
.hsp-photos .hsp-card{aspect-ratio:auto!important}
.hsp-photos .hsp-card b{bottom:-16px}
.hsp-photos .hsp-card-2,.hsp-photos .hsp-card-3{width:min(40%,265px)}
.hsp-photos .hsp-card-1{transform:translate3d(-4%,-6%,60px) rotateY(-8deg) rotateZ(-2deg)}
.hsp-photos .hsp-card-2{transform:translate3d(-64%,52%,-20px) rotateY(18deg) rotateZ(-6deg)}
.hsp-photos .hsp-card-3{transform:translate3d(64%,48%,-30px) rotateY(-22deg) rotateZ(5deg)}
.hsp-photos.is-active .hsp-card-1{animation-name:hsp-ph-1}
.hsp-photos.is-active .hsp-card-2{animation-name:hsp-ph-2}
.hsp-photos.is-active .hsp-card-3{animation-name:hsp-ph-3}
@keyframes hsp-ph-1{0%,100%{transform:translate3d(-4%,-6%,60px) rotateY(-8deg) rotateZ(-2deg)}50%{transform:translate3d(-4%,-9%,60px) rotateY(4deg) rotateZ(-1deg)}}
@keyframes hsp-ph-2{0%,100%{transform:translate3d(-64%,52%,-20px) rotateY(18deg) rotateZ(-6deg)}50%{transform:translate3d(-66%,49%,-20px) rotateY(10deg) rotateZ(-8deg)}}
@keyframes hsp-ph-3{0%,100%{transform:translate3d(64%,48%,-30px) rotateY(-22deg) rotateZ(5deg)}50%{transform:translate3d(66%,45%,-30px) rotateY(-14deg) rotateZ(7deg)}}
@media (max-width:720px){
  .hsp-photos .hsp-card-1{width:62%}
  .hsp-photos .hsp-card-2,.hsp-photos .hsp-card-3{width:44%}
  .hsp-photos .hsp-card-2{transform:translate3d(-50%,52%,-20px) rotateY(18deg) rotateZ(-6deg)}
  .hsp-photos .hsp-card-3{transform:translate3d(50%,48%,-30px) rotateY(-22deg) rotateZ(5deg)}
  .hsp-badge{font-size:11px!important;padding:6px 10px}
}
