/* Pedagógico: cabeçalho, logo, carrossel do hero e cartões. Carrega em todo o site. */

/* ---- logo: livro, lápis e "Site Pedagógico" (arquivo logo.svg, texto em curvas) ---- */
html body #pd-header .pd-logo{gap:0;align-items:center;flex:none}
html body #pd-header .pd-logo::before{content:"";display:block;width:250px;height:64px;background:url("logo.svg") left center/contain no-repeat!important}
html body #pd-header .pd-logo span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body #pd-footer .pd-ft-name{font-size:0!important;line-height:0}
html body #pd-footer .pd-ft-name::before{content:"";display:block;width:220px;height:56px;background:url("logo.svg") left center/contain no-repeat}

/* ---- cabeçalho ---- */
html body #pd-header{box-shadow:none;overflow-x:clip}
html body #pd-header .pd-top{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding-top:10px!important;padding-bottom:10px!important}
html body #pd-header .pd-search{width:100%;max-width:680px;margin:0 auto}
html body #pd-header .pd-search form{display:flex!important;align-items:center;height:46px;padding:3px 3px 3px 20px!important;box-sizing:border-box}
html body #pd-header .pd-search input[type=search]{height:38px!important;min-height:0!important;padding:0 10px 0 0!important;line-height:38px;font-size:.95rem}
html body #pd-header .pd-search button{flex:none;height:38px;min-width:104px;padding:0 24px!important;white-space:nowrap;font-weight:800;font-size:.9rem}
html body #pd-header .pd-top-actions{margin:0;gap:6px;position:relative}
html body #pd-header .pd-cart{width:42px;height:42px}
html body #pd-header .pd-login{position:relative;min-height:0;height:40px;padding:0 18px 0 22px;gap:8px;white-space:nowrap;font-size:.92rem}
html body #pd-header .pd-login::after{content:"";width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003368' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .2s}
html body #pd-header .pd-login[aria-expanded=true]::after{transform:rotate(180deg)}
html body #pd-header .pd-login.pd-in::after{display:none}
html body #pd-header .pd-nav{position:relative;align-items:center;padding-top:0!important;padding-bottom:0!important;gap:2px;min-height:46px;padding-left:calc(var(--pd-gut,16px) - 14px)!important}
html body #pd-header .pd-nav::before{content:"";position:absolute;top:0;left:calc(50% - 50vw);width:100vw;height:1px;background:var(--pd-line,#E4E8EE)}
html body #pd-header .pd-nav a{white-space:nowrap;min-height:44px;padding:0 14px;font-size:.93rem}
html body #pd-header .pd-nav a.pd-nav-cta{margin-left:auto;min-height:0;height:38px;padding:0 24px;font-weight:800;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase}
/* menu do Entrar */
.pd-login-menu{position:absolute;z-index:70;top:calc(100% + 8px);right:0;width:272px;padding:6px;border:1px solid var(--pd-line,#E4E8EE);border-radius:14px;background:#fff;box-shadow:0 18px 40px -16px rgb(0 51 104/.35),0 2px 6px rgb(16 24 40/.06)}
.pd-login-menu[hidden]{display:none}
.pd-login-menu a{display:block;padding:10px 12px;border-radius:10px;text-decoration:none;color:var(--pd-ink,#1F242E)}
.pd-login-menu a:hover,.pd-login-menu a:focus-visible{background:var(--pd-tq-l,#E3F7F8)}
.pd-login-menu strong{display:block;font:800 .95rem/1.2 Nunito,sans-serif;color:var(--pd-navy,#003368)}
.pd-login-menu span{display:block;margin-top:2px;font-size:.8125rem;color:var(--pd-mut,#5B6474)}
@media (max-width:991px){
	html body #pd-header .pd-top{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding-top:8px!important;padding-bottom:8px!important}
	html body #pd-header .pd-search{grid-column:1/-1;grid-row:2;max-width:none;margin:0}
	html body #pd-header .pd-top-actions{grid-column:2;grid-row:1}
	html body #pd-header .pd-logo::before{width:192px;height:50px}
	html body #pd-header .pd-search button{min-width:92px}
	html body #pd-header .pd-nav a.pd-nav-cta{display:none}
}

/* ---- carrossel do hero ---- */
html body #pd-hero{background:#E4EEFC!important}
html body #pd-hero .pd-hero-in{position:relative;z-index:0}
html body #pd-hero .pd-hero-in::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;z-index:-1;background:var(--sl-col,#E4EEFC) var(--sl-img) var(--sl-pos,68% 50%)/cover no-repeat}
html body #pd-hero .pd-sl1{--sl-col:#E4EEFC;--sl-img:url("img/hero-1.webp")}
html body #pd-hero .pd-sl2{--sl-col:#FCEFEA;--sl-img:url("img/hero-2.webp")}
html body #pd-hero .pd-sl3{--sl-col:#EAF6EE;--sl-img:url("img/hero-3.webp")}
html body #pd-hero:not(.pd-js) .pd-sl2,html body #pd-hero:not(.pd-js) .pd-sl3{display:none!important}
html body #pd-hero.pd-js{display:grid;position:relative;overflow:hidden}
html body #pd-hero.pd-js .pd-hero-in{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s .6s}
html body #pd-hero.pd-js .pd-hero-in.is-active{opacity:1;visibility:visible;z-index:1;transition:opacity .6s ease}
html body #pd-hero .pd-hero-art{display:none!important}
html body #pd-hero .pd-hero-copy h2{font-size:clamp(2.4rem,1.5rem + 3.2vw,3.9rem);line-height:1.04;font-weight:800;margin:0;text-wrap:balance}
@media (min-width:992px){html body #pd-hero .pd-hero-in{min-height:500px!important;padding-bottom:76px!important}}
.pd-car-ctl{position:absolute;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);width:100%;max-width:var(--pd-max,1400px);padding:0 var(--pd-gut,16px);box-sizing:border-box;display:flex;align-items:center;gap:6px;pointer-events:none}
.pd-car-ctl>*{pointer-events:auto}
.pd-car-btn{display:grid;place-items:center;width:44px;height:44px;border:1.5px solid rgb(0 51 104/.18);border-radius:50%;background:rgb(255 255 255/.92);color:var(--pd-navy,#003368);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.pd-car-btn:hover{background:var(--pd-navy,#003368);color:#fff}
.pd-car-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pd-car-dots{display:flex;align-items:center;padding:0 6px}
.pd-car-dot{display:grid;place-items:center;width:28px;height:44px;border:0;background:transparent;cursor:pointer}
.pd-car-dot::before{content:"";width:10px;height:10px;border-radius:999px;background:rgb(0 51 104/.28);transition:width .3s,background .3s}
.pd-car-dot[aria-current=true]::before{width:30px;background:var(--pd-navy,#003368)}
@media (max-width:767px){
	html body #pd-hero .pd-hero-in::before{top:auto;height:62vw;background-position:var(--sl-pos,70% 50%)}
	html body #pd-hero .pd-hero-in{padding-bottom:62vw!important}
	.pd-car-ctl{justify-content:center;bottom:10px}
	.pd-car-ctl .pd-car-btn{display:none}
	.pd-car-dots{background:rgb(255 255 255/.9);border-radius:999px}
}

/* ---- cartões: borda fina e efeitos ---- */
html body .pd-card,html body .pd-stage,html body .pd-date{border:1px solid #D9E0E9!important;transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .2s,box-shadow .3s;will-change:transform}
html body .pd-card:hover,html body .pd-card:focus-within,html body .pd-stage:hover,html body .pd-stage:focus-visible,html body .pd-date:hover,html body .pd-date:focus-visible{transform:translateY(-6px);border-color:var(--pd-tq,#00B5BB)!important;box-shadow:0 22px 38px -24px rgb(0 51 104/.5),0 2px 4px rgb(16 24 40/.05)}
html body .pd-card .pd-cover{transition:background-size .6s cubic-bezier(.2,.8,.2,1)}
html body .pd-card:hover .pd-cover,html body .pd-card:focus-within .pd-cover{background-size:112%!important}
html body .pd-stage::before,html body .pd-date::before{transition:background-size .6s cubic-bezier(.2,.8,.2,1)}
html body .pd-stage:hover::before,html body .pd-date:hover::before{background-size:112%!important}
html body .pd-card h3{transition:color .2s}
html body .pd-card:hover h3,html body .pd-card:focus-within h3{color:var(--pd-teal,#007C82)}
html body .pd-card-btn{transition:background .2s,transform .2s}
html body .pd-card:hover .pd-card-btn{background:var(--pd-green-d,#0B6620)!important}
html body .pd-stage:hover .pd-go{transform:translateX(4px)}
html body .pd-go{transition:transform .3s cubic-bezier(.2,.8,.2,1)}

@media (prefers-reduced-motion:reduce){
	html body .pd-card,html body .pd-stage,html body .pd-date,html body .pd-card .pd-cover,html body .pd-stage::before,html body .pd-date::before,html body .pd-go{transition:none!important}
	html body .pd-card:hover,html body .pd-stage:hover,html body .pd-date:hover{transform:none}
	html body #pd-hero.pd-js .pd-hero-in,html body #pd-hero.pd-js .pd-hero-in.is-active{transition:none}
}

.pd-login-note{margin:0 0 18px;padding:12px 16px;border-radius:12px;background:var(--pd-tq-l,#E3F7F8);color:var(--pd-ink,#1F242E);font-weight:600}

/* ---- imagens leves (WebP dentro do plugin) e carregamento adiado ---- */
@media (max-width:767px){
	html body #pd-hero .pd-sl1{--sl-img:url("img/hero-1-m.webp")}
	html body #pd-hero .pd-sl2{--sl-img:url("img/hero-2-m.webp")}
	html body #pd-hero .pd-sl3{--sl-img:url("img/hero-3-m.webp")}
}
html body #pd-hero:not(.pd-ready) .pd-sl2,html body #pd-hero:not(.pd-ready) .pd-sl3{--sl-img:none}
@media (min-width:768px){html body #etapas,html body #destaques,html body #datas,html body #kits{content-visibility:auto;contain-intrinsic-size:auto 640px}}
html body .pd-cover.pd-cv1{background-image:url("img/c1.webp")!important}
html body .pd-cover.pd-cv2{background-image:url("img/c2.webp")!important}
html body .pd-cover.pd-cv3{background-image:url("img/c3.webp")!important}
html body .pd-cover.pd-cv4{background-image:url("img/c4.webp")!important}
html body .pd-cover.pd-cv8{background-image:url("img/c5.webp")!important}
html body .pd-cover.pd-cv7{background-image:url("img/k1.webp")!important}
html body .pd-cover.pd-cv6{background-image:url("img/k2.webp")!important}
html body .pd-cover.pd-cv5{background-image:url("img/k3.webp")!important}
html body .pd-cover.pd-cv9{background-image:url("img/k4.webp")!important}
html body .pd-s1::before{background-image:url("img/s1.webp")}
html body .pd-s2::before{background-image:url("img/s2.webp")}
html body .pd-s3::before{background-image:url("img/s3.webp")}
html body .pd-s4::before{background-image:url("img/s4.webp")}
html body .pd-s5::before{background-image:url("img/s5.webp")}
html body .pd-s6::before{background-image:url("img/s6.webp")}
html body .pd-d1::before{background-image:url("img/d1.webp")}
html body .pd-d2::before{background-image:url("img/d2.webp")}
html body .pd-d3::before{background-image:url("img/d3.webp")}
html body .pd-d4::before{background-image:url("img/d4.webp")}
html body .pd-d5::before{background-image:url("img/d5.webp")}

/* ---- lojas de exemplo: ilustrações ---- */
html body .pd-st-list .pd-av{font-size:0!important;color:transparent!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
html body .pd-st-list .pd-a1{background-image:url("img/a1.webp")!important}
html body .pd-st-list .pd-a2{background-image:url("img/a2.webp")!important}
html body .pd-st-list .pd-a3{background-image:url("img/a3.webp")!important}
html body .pd-st-list .pd-a4{background-image:url("img/a4.webp")!important}
html body .pd-st-list .pd-a5{background-image:url("img/a5.webp")!important}
html body .pd-st-list .pd-a6{background-image:url("img/a6.webp")!important}
html body .pd-st-list .pd-a7{background-image:url("img/a7.webp")!important}
html body .pd-st-list .pd-a8{background-image:url("img/a8.webp")!important}
html body .pd-store[data-st="giz-cor"]::before{background:url("img/a1.webp") center/cover no-repeat!important}
html body .pd-store[data-st="mundo-abc"]::before{background:url("img/a2.webp") center/cover no-repeat!important}
html body .pd-store[data-st="sala-criativa"]::before{background:url("img/a3.webp") center/cover no-repeat!important}
html body .pd-store[data-st="letras-vivas"]::before{background:url("img/a4.webp") center/cover no-repeat!important}
html body .pd-store[data-st="numero-magico"]::before{background:url("img/a5.webp") center/cover no-repeat!important}
html body .pd-store[data-st="projeto-ler"]::before{background:url("img/a6.webp") center/cover no-repeat!important}
html body .pd-store[data-st="arte-escola"]::before{background:url("img/a7.webp") center/cover no-repeat!important}
html body .pd-store[data-st="cantinho-prof"]::before{background:url("img/a8.webp") center/cover no-repeat!important}

/* ---- cartão de produto (referência: capa ~1,15:1, raio 16, borda fina, avatar da loja) ---- */
html body .pd-card{border-radius:16px;overflow:hidden;background:#fff}
html body .pd-card .pd-cover{aspect-ratio:8/7!important;height:auto;padding:12px}
html body .pd-card .pd-card-b{padding:14px 16px 16px;gap:0;flex:1}
html body .pd-card h3{margin:0;font:700 1rem/1.3 Nunito,sans-serif;min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .pd-card .pd-store{margin:10px 0 0;gap:8px;align-items:center;font-size:.875rem}
html body .pd-card .pd-store::before{width:26px;height:26px;flex:none;border-radius:50%;box-shadow:0 0 0 1.5px #fff,0 0 0 2.5px #D9E0E9}
html body .pd-card .pd-price{margin:12px 0 14px;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
html body .pd-card .pd-price strong{font-size:1.3rem;font-weight:800;line-height:1.1}
html body .pd-card .pd-pix{padding:2px 8px;border-radius:6px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
html body .pd-card .pd-old{font-size:.8125rem}
html body .pd-card .pd-card-btn{margin-top:auto;width:100%;min-height:44px;border-radius:10px!important}
