/* Fotos e vídeos oficiais (Drive "2026 Marketing Assets" da HOIST) */

/* Hero com vídeo */
.hero-video{position:absolute;inset:0;z-index:-2;overflow:hidden}
.hero-video video{position:absolute;right:0;top:0;width:72%;height:100%;object-fit:cover;object-position:60% 30%;opacity:0}
.hero-video video.is-on{opacity:1}
.hero-video::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,#07080a 0%,#07080a 30%,rgba(7,8,10,.82) 46%,rgba(7,8,10,.25) 72%,rgba(7,8,10,.45) 100%),
  linear-gradient(180deg,rgba(7,8,10,.55) 0%,transparent 22%,transparent 70%,#07080a 100%),
  radial-gradient(60% 60% at 75% 50%,rgba(0,114,188,.18),transparent 70%)}
.hero::before{z-index:-3}
@media (min-width:901px){.hero-grid{grid-template-columns:1.1fr .9fr}}
.hero-side{position:relative;align-self:stretch;min-height:420px}
.hero-side .hero-50{position:absolute;right:0;top:0;width:110px}
.hero-side .hero-tag{position:absolute;right:0;left:auto;bottom:4%}
.hero-side .hero-50{top:auto;bottom:calc(4% + 84px);width:96px;opacity:.85}
@media (max-width:900px){
  .hero{min-height:92svh;align-items:flex-end}
  .hero-video video{width:100%;object-position:62% 30%}
  .hero-video::after{background:linear-gradient(180deg,rgba(7,8,10,.35) 0%,rgba(7,8,10,.55) 40%,#07080a 78%)}
  .hero-side{display:none}
}

/* Seção com foto de fundo */
.has-bg{isolation:isolate;overflow:hidden}
.sec-bg{position:absolute;inset:0;z-index:-1}
.sec-bg img{width:100%;height:100%;object-fit:cover}
.sec-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,20,24,.94),rgba(18,20,24,.86) 50%,rgba(18,20,24,.96))}
.phero.has-bg::before{display:none}
.phero.has-bg .sec-bg::after{background:linear-gradient(90deg,rgba(7,8,10,.94) 0%,rgba(7,8,10,.75) 55%,rgba(7,8,10,.45) 100%),linear-gradient(180deg,rgba(7,8,10,.5),transparent 30%,rgba(7,8,10,.8))}
/* Páginas de segmento: foto ocupando o fundo todo da capa, escurecida só atrás do texto */
.phero--seg{min-height:min(88vh,760px);display:flex;align-items:center}
.phero--seg .wrap{width:100%}
.phero--seg .phero-grid > div{max-width:640px}
.phero--seg .sec-bg img{object-position:center 45%}
.phero.has-bg.phero--seg .sec-bg::after{background:linear-gradient(90deg,rgba(7,8,10,.92) 0%,rgba(7,8,10,.72) 38%,rgba(7,8,10,.15) 72%,rgba(7,8,10,0) 100%),linear-gradient(180deg,rgba(7,8,10,.55),transparent 28%,transparent 72%,rgba(7,8,10,.7))}
@media (max-width:900px){.phero.has-bg.phero--seg .sec-bg::after{background:linear-gradient(180deg,rgba(7,8,10,.6),rgba(7,8,10,.78) 45%,rgba(7,8,10,.92))}}
.graphite.has-bg .vcard{background:rgba(28,31,37,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}

/* Cards de segmento com foto */
.seg--photo{padding-top:0;overflow:hidden}
.seg-img{display:block;margin:0 -26px 6px;height:150px;overflow:hidden;position:relative}
.seg-img img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease-out)}
.seg--photo:hover .seg-img img{transform:scale(1.06)}
.seg--photo .ic{margin-top:-34px;position:relative;z-index:1;box-shadow:0 0 0 5px #fff}
.seg--photo:hover .ic{box-shadow:0 0 0 5px #fff}

/* Foto nas cores */
.colors-photo{margin:22px 0 0;border-radius:22px;overflow:hidden;aspect-ratio:16/8;box-shadow:0 30px 60px -36px rgba(0,0,0,.5)}
.colors-photo img{width:100%;height:100%;object-fit:cover}

/* Vídeo/foto nos benefícios da linha */
.show-media video{width:100%;height:100%;object-fit:cover}
.show-media.cover{background:#0b0c0e}

/* Hero de página com vídeo/foto */
.phero-video{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:22px;box-shadow:0 40px 80px -40px rgba(0,0,0,.8),0 0 0 1px var(--line)}
.phero-media:not(.cut) img{aspect-ratio:auto}

/* Capas do blog */
.post{padding-top:0;overflow:hidden}
.post-cover{display:block;width:calc(100% + 52px);margin:0 -26px 6px;height:170px;object-fit:cover;transition:transform 1s var(--ease-out)}
.post:hover .post-cover{transform:scale(1.04)}
.post--feat{padding:0;overflow:hidden}
.post--feat .post-cover{width:100%;height:100%;min-height:320px;margin:0;grid-row:1/3}
.post--feat>div{padding:clamp(28px,4vw,48px) clamp(28px,4vw,48px) 0}
.post--feat>p{padding:0 clamp(28px,4vw,48px) clamp(28px,4vw,48px)}
.post--feat{grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;align-items:start;gap:0 8px}
@media (max-width:900px){.post--feat{grid-template-columns:1fr}.post--feat .post-cover{grid-row:auto;min-height:220px}}

/* Link do PDF da ficha */
a.dl{transition:background .2s}
a.dl:hover{background:var(--paper)}
/* Foto de detalhe (fundo branco, resolução baixa): inteira sobre fundo claro, sem esticar */
.show-media.detail{background:linear-gradient(180deg,#fff,#e9ecf0)}
.show-media.detail img{max-height:86%;max-width:86%;width:auto;filter:none;border-radius:10px}
