/* R4U: recorte de margens brancas externas das fotografias comerciais.
   Preserva as cores impressas de cada capa e os endereços de compra originais.
   Não se aplica globalmente: livros de capa branca continuam sendo capas brancas. */
:is(.cover-shell,.r4u-real-cover,.r4u-ed-cover,.maxwell-cover,.luxe-books a,.detail-cover-frame){
  background-color:#13100d;
}
:is(.cover-shell,.r4u-real-cover,.r4u-ed-cover,.maxwell-cover,.luxe-books a,.hero .jbook,.detail-cover-frame) img{
  object-fit:contain;
}
/* Capa fotografada sobre fundo branco: somente as sobras externas são ocultadas. */
img[src*="611x9QEvbXL"]{clip-path:inset(11% 11% 11% 12%)} /* Dale Carnegie */
img[src*="61MKBVwtSzL"]{clip-path:inset(0 17% 0 17%)} /* Talento Não É Tudo */
img[src*="727719_ampliada"]{clip-path:inset(0 17% 0 17%)} /* O Mentalista */
img[src*="616+GVYR24L"]{clip-path:inset(1% 2% 1% 8%)} /* Coaching com PNL */
img[src*="br-11134207-7r98o-m15th51wyopc0f"]{clip-path:inset(0 15% 0 15%)} /* A Loja de Tudo */
img[src*="91yj-4Jqu8L"]{clip-path:inset(4% 10% 4% 3%)} /* A Linguagem das Emoções: remove grade cinza externa */
img[src*="546516.jpg"]{clip-path:inset(0 10% 0 10%)} /* English for Business Communication */
img[src*="81QluJ4QXyL"]{clip-path:inset(4% 5% 4% 5%)} /* O Pequeno Príncipe */
img[src*="lideres_se_servem_por_ultimo_25255"]{clip-path:inset(0 15% 0 15%)}
img[src*="1517387801/1xg"]{clip-path:inset(3% 17% 2% 17%)} /* 90 segundos */
img[src*="story_brand_53637"]{clip-path:inset(3% 13% 2% 16%)}
img[src*="883143_ampliada"]{clip-path:inset(0 17% 0 17%)} /* Isso é Marketing */
img[src*="3553764/1xg"]{clip-path:inset(0 17% 0 14%)} /* TED */
img[src*="cb1b934313001f4ed6433e61af13337c"]{clip-path:inset(0 17% 0 17%)} /* Marketing 5.0 */
img[src*="receita_previsivel_autor"]{clip-path:inset(1% 21% 1% 17%)}
img[src*="883143_ampliada"],img[src*="61MKBVwtSzL"],img[src*="727719_ampliada"],img[src*="lideres_se_servem_por_ultimo_25255"]{filter:drop-shadow(10px 13px 10px #000c)!important}
img[src*="71Ils+Co9fL"]{clip-path:inset(7% 6% 4% 10%)} /* Mindset */
img[src*="61o+irdgWtL"]{clip-path:inset(6% 14% 5% 13%)}
img[src*="714GNclRg8L"]{clip-path:inset(3% 9% 4% 8%)}
img[src*="51oXMwfnOAL"]{clip-path:inset(11% 19% 8% 22%)}
img[src*="81CdW9Kq+wL"]{clip-path:inset(4%)}
img[src*="61t6WTEIJyL"]{clip-path:inset(4% 6% 3% 6%)}
img[src*="61h9s4jgsaL"]{clip-path:inset(6% 2% 3% 5%)} /* kit, nos locais legados */
img[src*="81eT2pjx4jL"]{clip-path:inset(0 0 0 0)} /* capa branca impressa: não cortar */

/* Os dois volumes do kit aparecem separados, com cor plena e sombras próprias. */
.r4u-kit-pair{display:flex!important;align-items:center;justify-content:center;gap:5%;isolation:isolate}
.r4u-kit-pair>img{width:44%!important;height:88%!important;max-width:44%!important;max-height:100%!important;object-fit:contain!important;flex:0 0 auto;filter:drop-shadow(9px 13px 9px #000c)!important}
.r4u-kit-pair>img:first-child{transform:perspective(700px) rotateY(-6deg) rotateZ(-2deg)}
.r4u-kit-pair>img:last-child{transform:perspective(700px) rotateY(6deg) rotateZ(2deg)}
.hero .kit-bookcovers.r4u-kit-pair{width:40%;right:7%;top:8%;height:84%}
.hero .kit-bookcovers.r4u-kit-pair>img{width:47%!important;max-width:47%!important;height:100%!important}
.r4u-real-cover.r4u-kit-pair{padding:8px}
.cover-shell .r4u-kit-pair{width:100%;height:100%;padding:8px}
.cover-shell .r4u-kit-pair>img{height:96%!important}
.detail-cover-frame.r4u-kit-pair{gap:2%;padding:12px}
@media(max-width:800px){
  .hero .kit-bookcovers.r4u-kit-pair{width:90%;left:5%;right:auto;top:4%;height:45%}
  .hero .kit-bookcovers.r4u-kit-pair>img{height:94%!important}
}

/* Banners: os livros ficam integralmente dentro do palco, inclusive ao trocar de slide. */
body .hero:has(.slide.active:not(:first-child)){margin-bottom:14px!important}
body .hero .product-slide:not(.journey-slide) .book-showcase{top:4%!important;height:92%!important}
body .hero .product-slide:not(.journey-slide) .showbook-main{top:1%!important;height:94%!important}
body .hero .product-slide:not(.journey-slide) .showbook-left,
body .hero .product-slide:not(.journey-slide) .showbook-right{top:12%!important;height:76%!important}
body .hero .journey-slide .journey-visual{top:3%!important;height:94%!important;overflow:visible!important}
body .hero .journey-slide .jbook-a,
body .hero .journey-slide .jbook-c{top:10%!important;height:78%!important}
body .hero .journey-slide .jbook-b{top:0!important;height:99%!important}
body .hero .journey-slide .jbook img{max-height:calc(100% - 23px)!important}
body .hero .journey-slide .jbook-a img[src*="611x9QEvbXL"],
body .hero .luxe-competency[data-slide="competencia-comunicacao"] .luxe-books a:first-child img[src*="611x9QEvbXL"]{
  clip-path:inset(13% 17% 13% 17%)!important;
  transform:none!important;
}
body .hero .kit-slide .kit-bookcovers.r4u-kit-pair{top:7%!important;height:85%!important}
body .hero .review-slide .review-body{overflow:hidden!important}
body .hero .review-slide .review-body img{width:auto!important;height:220px!important;max-height:220px!important;max-width:100%!important;justify-self:center;align-self:center;transform:none!important}
body .hero .luxe-competency .luxe-books a,
body .hero .luxe-competency .luxe-books a:nth-child(2){height:235px!important;transform:perspective(900px) rotateY(-7deg) rotateZ(-2deg)!important}
body .hero .luxe-competency .luxe-books a:nth-child(2){transform:perspective(900px) rotateY(7deg) rotateZ(2deg)!important}
body .hero .luxe-competency .luxe-books img{max-height:208px!important}
@media(max-width:800px){
  body .hero:has(.slide.active:not(:first-child)){margin-bottom:15px!important}
  body .hero .product-slide:not(.journey-slide) .book-showcase{top:4%!important;height:44%!important}
  body .hero .journey-slide .journey-visual{top:4%!important;height:46%!important}
  body .hero .journey-slide .jbook-a,
  body .hero .journey-slide .jbook-c{top:9%!important;height:83%!important}
  body .hero .journey-slide .jbook-b{top:0!important;height:99%!important}
  body .hero .kit-slide .kit-bookcovers.r4u-kit-pair{top:3%!important;height:43%!important}
  body .hero .review-slide .review-body img{height:190px!important;max-height:190px!important}
  body .hero .luxe-competency .luxe-books a,
  body .hero .luxe-competency .luxe-books a:nth-child(2){height:175px!important;transform:perspective(700px) rotateY(-5deg)!important}
  body .hero .luxe-competency .luxe-books img{max-height:155px!important}
}

/* R4U FINAL: navegação única, fotografias de categorias e jornadas sem sobreposição */
.r4u-main-nav{position:relative!important;top:auto!important;background:#0a0908!important;border-bottom:1px solid #5d4728;z-index:30!important}
.r4u-nav-inner{max-width:1600px;margin:auto;display:flex;align-items:center;gap:24px;padding:12px 21px}
.r4u-brand{display:flex;align-items:baseline;flex:none;font-size:35px;font-weight:950;letter-spacing:-.08em;white-space:nowrap;line-height:1}
.r4u-brand span,.r4u-footer-logo span{color:#ffd400}
.r4u-brand small{font-size:9px;font-weight:800;letter-spacing:.08em;margin-left:12px;white-space:normal;max-width:110px;line-height:1.2;color:#e0d6c5}
.r4u-main-nav nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;flex:1}
.r4u-main-nav nav a{padding:9px 11px;font-size:12px;font-weight:780;color:#e3dac8;border-radius:8px;white-space:nowrap}
.r4u-main-nav nav a:hover,.r4u-main-nav nav a:focus-visible{background:#292116;color:#ffd400}
/* Carnegie continua no catálogo, mas não aparece com fundo branco neste banner. */
.hero .journey-visual .jbook-b{left:29%!important;top:2%!important;width:30%!important;height:88%!important}
.hero .journey-visual .jbook-c{left:64%!important;top:9%!important;width:27%!important;height:78%!important}
.hero .journey-visual .jbook-a{display:none!important}
/* Impedir que livros ou textos ultrapassem a sua zona editorial. */
.hero .review-slide .review-body{grid-template-columns:minmax(0,65%) minmax(0,35%);overflow:hidden!important}
.hero .review-slide .review-body>div{position:relative;z-index:3;min-width:0}
.hero .review-slide .review-body>img{max-width:100%!important;max-height:92%!important;transform:none!important}
.r4u-ed-book{isolation:isolate}.r4u-ed-cover{overflow:hidden!important;position:relative;isolation:isolate}
.r4u-ed-cover img{max-width:88%!important;max-height:92%!important;position:relative;z-index:2}
.r4u-ed-book b,.r4u-ed-book small,.r4u-ed-book span{position:relative;z-index:3}
/* Fotos conceituais como fundo dos desafios: tons escuros para leitura. */
.r4u-problems-grid a,.r4u-ed-category{background-color:#1b1711!important;background-size:cover!important;background-position:center!important;position:relative;isolation:isolate;overflow:hidden}
.r4u-problems-grid a:before,.r4u-ed-category:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080706ee 0%,#0b0908b5 60%,#0a09088f 100%)}
.r4u-problems-grid a:nth-child(1),.r4u-ed-category:nth-child(7){background-image:url("https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=900&q=85")!important}
.r4u-problems-grid a:nth-child(2),.r4u-ed-category:nth-child(3){background-image:url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=900&q=85")!important}
.r4u-problems-grid a:nth-child(3),.r4u-ed-category:nth-child(4){background-image:url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=900&q=85")!important}
.r4u-problems-grid a:nth-child(4){background-image:url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?w=900&q=85")!important}
.r4u-problems-grid a:nth-child(5),.r4u-ed-category:nth-child(6){background-image:url("https://images.unsplash.com/photo-1500534623283-312aade485b7?w=900&q=85")!important}
.r4u-ed-category:nth-child(1),.r4u-ed-category:nth-child(8){background-image:url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?w=900&q=85")!important}
.r4u-ed-category:nth-child(2){background-image:url("https://images.unsplash.com/photo-1456324504439-367cee3b3c32?w=900&q=85")!important}
.r4u-ed-category:nth-child(5){background-image:url("https://images.unsplash.com/photo-1556761175-b413da4baf72?w=900&q=85")!important}
.r4u-ed-category{min-height:150px!important;justify-content:flex-end!important;padding:17px!important;border-color:#6b5333!important}
.r4u-ed-category b{font-size:17px!important;text-shadow:0 2px 9px #000}
.r4u-ed-category small{font-size:12px!important;color:#eee!important}
.r4u-problems-grid a{min-height:178px!important;justify-content:space-between}
.r4u-problems-grid b{font-size:19px!important;text-shadow:0 2px 8px #000}
.r4u-footer-logo{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:950;font-size:39px;letter-spacing:-.07em;line-height:1.2;margin-bottom:15px;color:#fff}
.r4u-footer-logo small{font-size:10px;font-weight:800;letter-spacing:.15em;color:#cbbda8;max-width:130px;text-align:left;line-height:1.35}
@media(max-width:800px){
.r4u-nav-inner{display:block;padding:12px}
.r4u-brand{margin-bottom:10px;font-size:30px}
.r4u-main-nav nav{display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;scrollbar-width:none;gap:3px;padding:3px 0 7px}
.r4u-main-nav nav::-webkit-scrollbar{display:none}
.r4u-main-nav nav a{flex:none;font-size:12px;padding:11px 12px;border:1px solid #392d1e}
.hero .journey-visual .jbook-b{left:22%!important;width:33%!important}
.hero .journey-visual .jbook-c{left:60%!important;width:31%!important}
.hero .review-slide .review-body{grid-template-columns:1fr!important;grid-template-rows:42% 58%}
.hero .review-slide .review-body>img{grid-row:1;max-height:185px!important}
.hero .review-slide .review-body>div{grid-row:2}
.r4u-problems-grid a{min-height:174px!important;padding:14px!important}
.r4u-problems-grid b{font-size:15px!important}
.r4u-ed-category{min-height:146px!important}
}
