/* HOME V26 — padroniza os cartões de imagem (frentes, caminhos e galeria) */
:root{--card-navy:#0c3159}

/* --- 5 frentes: mesma altura de mídia, foto sem vinheta, fade inferior para o azul do cartão --- */
body.page-home main .gm-front-card-premium .gm-front-media{height:170px!important;flex:0 0 170px!important;background:#071a33!important}
body.page-home main .gm-front-card-premium .gm-front-media img{width:100%!important;height:100%!important;object-fit:cover!important;filter:saturate(.95) contrast(1.04) brightness(.9)!important;-webkit-mask-image:none!important;mask-image:none!important}
.gm-front-media:after{background:linear-gradient(180deg,rgba(6,26,51,0) 0%,rgba(6,26,51,.10) 55%,var(--card-navy) 100%)!important}
body.page-home main .gm-fc-1 .gm-front-media img{object-position:100% 50%!important}
body.page-home main .gm-fc-2 .gm-front-media img{object-position:78% 30%!important}
body.page-home main .gm-fc-3 .gm-front-media img{object-position:50% 40%}
body.page-home main .gm-fc-4 .gm-front-media img{object-position:80% 40%!important}
body.page-home main .gm-fc-5 .gm-front-media img{object-position:82% 18%!important}

/* --- 2 caminhos: foto à direita, painel escuro à esquerda (mesma lógica das heros) --- */
.gm-path-card-premium{background:#02173D!important;min-height:340px!important}
.gm-path-bg{inset:0 0 0 30%!important}
body.page-home main .gm-path-card-premium .gm-path-bg img{width:100%!important;height:100%!important;object-fit:cover!important;filter:saturate(.95) contrast(1.05) brightness(.95)!important}
body.page-home main .gm-pc-1 .gm-path-bg img{object-position:100% 45%!important}
body.page-home main .gm-pc-2 .gm-path-bg img{object-position:66% 30%!important}
.gm-path-overlay{background:linear-gradient(90deg,#02173D 0%,#02173D 34%,rgba(2,23,61,.78) 46%,rgba(2,23,61,.25) 66%,rgba(2,23,61,0) 84%),linear-gradient(0deg,rgba(2,23,61,.5) 0%,rgba(2,23,61,0) 18%)!important}
.gm-path-copy{max-width:64%!important;min-height:340px!important}

/* --- galeria "transporte real": mesmas regras, sem vinheta/oval --- */
.gm-photo-panel__media{background:#071a33!important}
body.page-home main .gm-photo-panel__media img{width:100%!important;height:100%!important;object-fit:cover!important;-webkit-mask-image:none!important;mask-image:none!important;filter:saturate(.95) contrast(1.04) brightness(.92)!important}
body.page-home main .gm-proof-gallery .gm-photo-panel--wide .gm-photo-panel__media img{object-position:100% 50%!important}
body.page-home main .gm-proof-gallery .gm-photo-panel:not(.gm-photo-panel--wide) .gm-photo-panel__media img{object-position:55% 40%!important}

@media (max-width:900px){
  .gm-path-bg{inset:0!important}
  .gm-path-overlay{background:linear-gradient(180deg,rgba(2,23,61,.30) 0%,rgba(2,23,61,.82) 46%,#02173D 100%)!important}
  .gm-path-copy{max-width:none!important;min-height:420px!important}
  .gm-front-media{height:190px!important;flex-basis:190px!important}
}

/* galeria: sem a faixa branca da arte à esquerda; caminhos no celular: foto no topo, texto embaixo (sem sobrepor) */
body.page-home main .gm-proof-gallery .gm-photo-panel--wide .gm-photo-panel__media img{object-position:100% 50%!important;transform:scale(1.35);transform-origin:82% 55%}
@media (max-width:900px){
  body.page-home main .gm-path-card-premium{display:flex!important;flex-direction:column!important;min-height:0!important}
  body.page-home main .gm-path-bg{position:relative!important;inset:auto!important;height:190px!important;flex:0 0 190px!important}
  body.page-home main .gm-path-overlay{inset:0 0 auto 0!important;height:190px!important;background:linear-gradient(180deg,rgba(2,23,61,0) 45%,#02173D 100%)!important}
  body.page-home main .gm-path-copy{min-height:0!important;justify-content:flex-start!important;padding:8px 22px 26px!important}
  body.page-home main .gm-pc-1 .gm-path-bg img{object-position:88% 40%!important}
  body.page-home main .gm-pc-2 .gm-path-bg img{object-position:72% 30%!important}
}


/* ===== V32 — galeria "Transporte real": 4 cartões iguais, centralizados ===== */
body.page-home main .gm-proof-gallery .gm-proof-gallery__grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;max-width:1240px;margin:0 auto}
body.page-home main .gm-proof-gallery .gm-photo-panel{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;border-radius:14px!important;overflow:hidden!important;background:linear-gradient(180deg,#0c3159 0%,#092747 100%)!important;border:1px solid rgba(99,159,211,.28)!important}
body.page-home main .gm-proof-gallery .gm-photo-panel__media{position:relative!important;height:190px!important;flex:0 0 190px!important;overflow:hidden!important;background:#071a33!important}
body.page-home main .gm-proof-gallery .gm-photo-panel__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,26,51,0) 55%,#0c3159 100%);pointer-events:none}
body.page-home main .gm-proof-gallery .gm-photo-panel__media img{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;transform:none!important;-webkit-mask-image:none!important;mask-image:none!important;filter:saturate(.95) contrast(1.04) brightness(.92)!important}
body.page-home main .gm-proof-gallery .gm-photo-panel:nth-child(1) .gm-photo-panel__media img{object-position:100% 50%!important}
body.page-home main .gm-proof-gallery .gm-photo-panel:nth-child(2) .gm-photo-panel__media img{object-position:55% 40%!important}
body.page-home main .gm-proof-gallery .gm-photo-panel:nth-child(3) .gm-photo-panel__media img{object-position:60% 30%!important}
body.page-home main .gm-proof-gallery .gm-photo-panel:nth-child(4) .gm-photo-panel__media img{object-position:82% 40%!important}
body.page-home main .gm-proof-gallery .gm-photo-panel__copy{padding:6px 20px 22px!important;display:flex!important;flex-direction:column!important;flex:1!important;position:relative;z-index:2}
body.page-home main .gm-proof-gallery .gm-photo-panel__copy .eyebrow{font-size:10.5px!important;margin:0 0 8px!important;letter-spacing:.12em}
body.page-home main .gm-proof-gallery .gm-photo-panel .gm-photo-panel__copy h3{font-size:18px!important;line-height:1.2!important;margin:0 0 10px!important;color:#fff!important}
body.page-home main .gm-proof-gallery .gm-photo-panel__copy p{font-size:13px!important;line-height:1.55!important;color:#c9d6e6!important;margin:0!important}
body.page-home main .gm-proof-gallery .section-head h2{color:#fff!important;opacity:1!important}
@media (max-width:1100px){body.page-home main .gm-proof-gallery .gm-proof-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){body.page-home main .gm-proof-gallery .gm-proof-gallery__grid{grid-template-columns:1fr!important}body.page-home main .gm-proof-gallery .gm-photo-panel__media{height:200px!important;flex-basis:200px!important}}

/* ===== V32 — selo SEST SENAT: só o logo, sem caixa branca, centralizado ===== */
body.page-home main .gm-credential-strip{align-items:center!important;grid-template-columns:230px minmax(0,1fr)!important;gap:32px!important}
body.page-home main .gm-credential-logo{width:auto!important;height:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.page-home main .gm-credential-logo img{width:190px!important;max-width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important;background:transparent!important}
@media (max-width:900px){body.page-home main .gm-credential-strip{grid-template-columns:1fr!important;justify-items:center;text-align:center;gap:18px!important}}

/* ===== V32 — faixa "Vamos conversar": mesmo respiro lateral das demais seções ===== */
body.page-home main .cta-band .container,
body.page-home .cta-band .container{width:min(1240px,calc(100% - 64px))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
@media (max-width:900px){body.page-home .cta-band .container{width:calc(100% - 40px)!important}}

/* V32 — Artigos da home: seção escura consistente, título legível, cards menores e alinhados ao container */
body.page-home main .gm-home-articles{background:transparent!important;color:#DDE8F6!important}
body.page-home main .gm-home-articles .gm-container{width:min(1240px,calc(100% - 64px))!important;margin-left:auto!important;margin-right:auto!important}
body.page-home main .gm-home-articles .section-head h2{color:#fff!important;opacity:1!important;font-size:clamp(28px,3vw,40px)!important;max-width:760px}
body.page-home main .gm-home-articles .section-head p{color:#B9C8DC!important;opacity:1!important;font-size:16px!important;max-width:720px}
body.page-home main .gm-home-article-grid{width:100%!important;gap:20px!important}
body.page-home main .gm-home-article-card{background:linear-gradient(180deg,#0f2b52,#0a2143)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 16px 34px rgba(0,0,0,.22)!important;color:#DDE8F6!important;border-radius:18px!important}
body.page-home main .gm-home-article-card img{height:150px!important;width:100%!important;object-fit:cover!important}
body.page-home main .gm-home-article-card>div{padding:16px 18px 18px!important}
body.page-home main .gm-home-article-card span{color:#FF7D00!important}
body.page-home main .gm-home-article-card h3{color:#fff!important;font-size:17px!important;line-height:1.3!important}
body.page-home main .gm-home-article-card a{color:#FF7D00!important;font-weight:700}
body.page-home main .gm-home-articles-more .btn-outline{color:#fff!important;border:1px solid rgba(255,255,255,.4)!important;background:transparent!important}
@media(max-width:900px){body.page-home main .gm-home-articles .gm-container{width:calc(100% - 40px)!important}}
