
/* Hub de Parceiros v5.1 — extensão isolada para preservar as demais 13 páginas */
html{scroll-padding-top:104px}
.v5-partner-products .v5-cardgrid{max-width:910px;gap:17px}
.v5-partner-products button.v5-product-card{width:100%;border:0;text-align:left;padding:0;font-family:inherit;cursor:pointer}
.v5-partner-products .hub-product-select{transition:box-shadow .25s,transform .25s}
.v5-partner-products .hub-product-select:focus-visible{outline:3px solid #65a530;outline-offset:4px}
.v5-partner-products .hub-product-select.is-selected{box-shadow:0 0 0 4px #65a530,0 14px 35px #1f295a20}
.v5-partner-products .hub-product-select:hover{transform:translateY(-3px)}
.hub-library-intro{margin:70px auto 24px;max-width:910px;border-top:1px solid #dde2d7;padding-top:39px;display:flex;justify-content:space-between;align-items:center;gap:34px}
.hub-library-title h2{margin:0 0 8px;font-size:clamp(27px,3.1vw,40px);letter-spacing:-.045em;line-height:1.13;color:#20295d}
.hub-library-title p{font-size:13px;line-height:1.6;margin:0;max-width:450px;color:#4b5268}
.hub-library-steps{flex:0 0 260px;display:grid;gap:10px;color:#20295d}
.hub-library-steps span{font-size:13px;color:#65a530;display:flex;gap:11px;align-items:center;border-bottom:1px solid #e5e7e7;padding:7px 0}
.hub-library-steps strong{color:#20295d;font-size:12px;font-weight:750}
.hub-video-panel{scroll-margin-top:108px;max-width:910px;margin:0 auto;display:grid;grid-template-columns:48% 52%;background:#f4f6f2;border:1px solid #e4e9e0;border-radius:28px;overflow:hidden}
.hub-panel-overview{display:flex;flex-direction:column;min-width:0}
.hub-panel-photo{height:235px;overflow:hidden}.hub-panel-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hub-panel-copy{padding:25px 28px 30px;display:flex;align-items:flex-start;flex-direction:column;flex:1}
.hub-panel-copy h3{font-size:clamp(28px,2.7vw,38px);letter-spacing:-.045em;margin:0 0 10px;line-height:1.08;color:#20295d}
.hub-panel-copy p{font-size:13px;line-height:1.65;max-width:310px;margin:0 0 13px;color:#42485e}
.hub-count{font-size:11px;color:#667063;font-weight:700;margin:4px 0 17px}
.hub-secondary{display:inline-flex;gap:10px;align-items:center;padding:10px 17px;border:1px solid #abbba4;color:#20295d;border-radius:30px;font-weight:750;font-size:12px;text-decoration:none;transition:background .2s}
.hub-secondary:hover{background:white}
.hub-video-results{background:#20295d;padding:35px;min-height:395px;display:flex;flex-direction:column;gap:12px;align-items:stretch;justify-content:center}
.hub-video-empty{text-align:center;color:white;margin:auto;display:flex;flex-direction:column;align-items:center;gap:9px;max-width:330px}
.hub-empty-icon{width:78px;height:78px;border:1px solid #929bb0;border-radius:50%;display:grid;place-items:center;margin-bottom:8px}.hub-empty-icon svg{height:32px;width:32px}
.hub-video-empty h4{font-weight:800;font-size:clamp(18px,2vw,24px);margin:0;letter-spacing:-.02em;color:white}
.hub-video-empty p{color:#d7dbe7;font-size:12px;line-height:1.7;margin:0;max-width:300px}
.hub-video-card{font-family:inherit;display:flex;align-items:center;gap:15px;padding:19px 17px;background:#313c73;border:1px solid #5c6795;border-radius:15px;color:white;text-align:left;cursor:pointer;transition:transform .2s,background .2s}
.hub-video-card:hover{background:#3b4b8f;transform:translateX(3px)}
.hub-video-card:focus-visible{outline:3px solid #65a530;outline-offset:3px}
.hub-video-play{background:#65a530;border-radius:50%;height:38px;width:38px;display:grid;place-items:center;flex-shrink:0}.hub-video-play svg{height:19px;width:19px}
.hub-video-title{font-weight:700;font-size:13px;line-height:1.25;flex:1}.hub-video-index{font-size:11px;opacity:.6;font-weight:700}
.hub-video-notice{max-width:910px;margin:17px auto 0;display:flex;align-items:flex-start;gap:11px;color:#52614d}
.hub-info-icon{background:#eff4e7;border:1px solid #c9d8b5;border-radius:50%;width:22px;height:22px;flex-shrink:0;display:grid;place-items:center;font-weight:bold;font-family:Georgia,serif}
.hub-video-notice p{font-size:11px;line-height:1.6;margin:2px 0 0}
.hub-player-overlay{position:fixed;z-index:99999;inset:0;background:#070b19ed;display:grid;place-items:center;padding:22px;backdrop-filter:blur(7px)}
.hub-player-dialog{max-width:940px;width:100%;border-radius:18px;overflow:hidden;background:#111735;box-shadow:0 20px 80px #0009}
.hub-player-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 20px;color:white}.hub-player-top h3{margin:0;font-size:16px;line-height:1.35;color:white}
.hub-player-close{background:#fff2;color:white;border:1px solid #fff4;border-radius:25px;font:inherit;font-size:12px;padding:9px 13px;cursor:pointer}
.hub-player-video{aspect-ratio:16/9}.hub-player-video iframe,.hub-player-video video{width:100%;height:100%;border:0;display:block;background:black}
body.hub-player-open{overflow:hidden}
@media(max-width:780px){.hub-library-intro{display:block;margin-top:50px;padding-top:28px}.hub-library-steps{grid-template-columns:1fr 1fr 1fr;gap:5px;margin-top:24px}.hub-library-steps span{align-items:start;font-size:10px;flex-direction:column;gap:3px}.hub-library-steps strong{font-size:10px}.hub-video-panel{grid-template-columns:1fr;border-radius:20px}.hub-panel-overview{display:grid;grid-template-columns:40% 60%}.hub-panel-photo{height:100%;min-height:250px}.hub-panel-copy{padding:22px 17px}.hub-panel-copy h3{font-size:25px}.hub-panel-copy p{font-size:11px}.hub-video-results{min-height:220px;padding:26px 20px}.hub-video-empty{margin:10px auto 20px}.hub-video-notice{margin:18px 2px 0}}
@media(max-width:470px){.v5-partner-products .v5-cardgrid{gap:10px}.hub-panel-overview{grid-template-columns:1fr}.hub-panel-photo{height:205px;min-height:0}.hub-panel-copy{padding:22px}.hub-panel-copy h3{font-size:28px}.hub-library-steps{display:none}.hub-library-title h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){.hub-video-card,.hub-product-select,.hub-secondary{transition:none}}


/* V6: Independent video library for all supplied products and complete line */
.hub-full-line{display:flex;align-items:center;justify-content:center;width:min(910px,100%);margin:28px auto 22px;background:var(--navy);color:white;border:1px solid #20295d;padding:18px 20px;border-radius:16px;font-size:clamp(13px,1.5vw,17px);font-family:inherit;font-weight:800;cursor:pointer;transition:transform .2s,background .2s;text-align:center}
.hub-full-line:hover,.hub-full-line.is-selected{background:#448f20;transform:translateY(-2px);border-color:#448f20}
.hub-full-line:focus-visible{outline:3px solid #65a530;outline-offset:4px}
.hub-video-card{min-height:74px}
.hub-player-dialog{max-width:min(960px,90vw)}
.hub-player-video{aspect-ratio:9/16;max-height:80vh;max-width:500px;margin:0 auto}
.hub-player-video iframe{width:100%;height:100%;background:#000}
@media(max-width:700px){.hub-full-line{margin:25px auto 20px}.hub-player-dialog{max-width:95vw}.hub-player-video{max-height:76vh}}

/* V7: named tutorials and contained library button */
.hub-full-line{font-family:inherit!important;display:flex!important;justify-content:flex-start!important;gap:17px!important;max-width:910px;align-items:center!important;width:100%;margin:28px auto 22px!important;text-align:left!important;color:#fff!important;padding:18px 20px!important;border-radius:18px!important;background:#20295d!important;border:1px solid #445087!important}
.hub-full-line:hover{background:#2b3870!important}
.hub-full-line .v7-full-line-play{flex:none;border-radius:50%;display:grid;place-items:center;background:#65a530;color:white;width:42px;height:42px;font-size:15px}
.hub-full-line strong,.hub-full-line small{display:block}.hub-full-line strong{font-size:16px;line-height:1.2}.hub-full-line small{font-size:11px;font-weight:400;color:#dfe8f6;margin-top:6px}.v7-full-line-arrow{margin-left:auto;font-size:20px}
.hub-video-results{background:#20295d!important}.hub-video-card{background:#39477d!important}
.hub-player-dialog{background:#20295d}.hub-player-overlay{background:#070b19d9}
@media(max-width:470px){.hub-full-line{padding:15px!important}.hub-full-line strong{font-size:13px}.hub-full-line small{font-size:10px}}


/* ===== V7.6 hub image/focus fixes ===== */
.hub-panel-photo{height:235px;overflow:hidden;background:#f4f5f8;display:grid;place-items:center}
.hub-panel-photo img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;padding:14px}
.hub-full-line{align-items:center}
.hub-full-line .v7-full-line-play{display:inline-grid;place-items:center;min-width:24px}
@media(max-width:780px){
  .hub-panel-photo{min-height:220px;height:220px}
  .hub-panel-photo img{padding:10px}
}
@media(max-width:470px){
  .hub-panel-photo{height:210px}
  .hub-panel-photo img{padding:8px}
}


/* ===== V7.7 library focus refinements ===== */
.hub-panel-photo{background:#f4f5f8;overflow:hidden}
.hub-panel-photo img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;padding:0!important}
@media(max-width:470px){
  .hub-panel-photo{height:220px!important}
}

/* V7.8 - fotografias com enquadramento dedicado por produto, desktop e mobile */
.hub-panel-photo{background:#f3f4f2!important;overflow:hidden!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;display:block!important}
.hub-panel-photo img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center center!important;padding:0!important;max-width:none!important}
@media(max-width:780px){.hub-panel-photo{height:auto!important;min-height:0!important}.hub-panel-photo img{height:auto!important;aspect-ratio:16/9!important}}
@media(max-width:470px){.hub-panel-photo{height:auto!important;min-height:0!important}.hub-panel-photo img{height:auto!important}}
