/* EBD Fiel V10 — páginas das classes. Estilo visual isolado; preserva scripts e IDs das lições. */
:root { --v10-navy:#071e3a; --v10-text:#102b4b; --v10-muted:#526882; }
body.ebd-v10 { --v10-accent:#0871dd; --v10-accent-rgb:8,113,221; --v10-image:url('../img/classes-v10/adultos.webp');
  background:linear-gradient(165deg,#dceaf8 0,#edf5fb 40%,#f7fafc 100%)!important; color:var(--v10-text);min-height:100vh;overflow-x:clip; }
body.ebd-v10-youth { --v10-accent:#008979; --v10-accent-rgb:0,137,121; --v10-image:url('../img/classes-v10/jovens.webp'); }
body.ebd-v10-teen { --v10-accent:#db741b; --v10-accent-rgb:219,116,27; --v10-image:url('../img/classes-v10/adolescentes.webp'); }
body.ebd-v10-preteen { --v10-accent:#7537b9; --v10-accent-rgb:117,55,185; --v10-image:url('../img/classes-v10/pre-adolescentes.webp'); }
body.ebd-v10,body.ebd-v10 button,body.ebd-v10 input {font-family:Inter,system-ui,sans-serif}
body.ebd-v10{padding:0!important;margin:0!important} body.ebd-v10 .ebd-v10-header{margin:0!important}
body.ebd-v10 *,body.ebd-v10 *::before,body.ebd-v10 *::after{box-sizing:border-box}
body.ebd-v10 .topbar, body.ebd-v10 .bottom-app-nav, body.ebd-v10 .bottom-more-menu {display:none!important}
/* Oculta só os blocos da página inicial presentes no HTML legado de Adultos/Jovens */
body.ebd-v10-classic main>#home,body.ebd-v10-classic main>.portal-v2-shortcuts,
body.ebd-v10-classic main>#secretaria-ebd,body.ebd-v10-classic main>#professor-fiel,
body.ebd-v10-classic main>#social-links,body.ebd-v10-classic main>#about{display:none!important}
body.ebd-v10-adult main>#youth-class,body.ebd-v10-youth main>#adult-class{display:none!important}
body.ebd-v10-classic main>.section:not(#adult-class):not(#youth-class) {display:none!important}
/* Cabeçalho idêntico nas quatro classes; sem dependência do menu legado */
.ebd-v10-header{position:sticky;top:0;z-index:5000;background:rgba(255,255,255,.96);border-bottom:1px solid #e5edf5;box-shadow:0 6px 22px #08264814;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.ebd-v10-header-inner{max-width:1200px;margin:auto;min-height:73px;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.ebd-v10-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:#10385b!important;min-width:0}
.ebd-v10-brand img{width:50px;height:50px;object-fit:contain;border-radius:12px}
.ebd-v10-brand-title{font-size:1.13rem;font-weight:900;line-height:1.08;letter-spacing:-.035em;white-space:nowrap}
.ebd-v10-brand-sub{font-size:.69rem;font-weight:700;color:#7c5a2b;letter-spacing:.08em;text-transform:uppercase}
.ebd-v10-header-links{display:flex;align-items:center;gap:10px}
.ebd-v10-header-link,.ebd-v10-menu-button{border:1px solid #dce7f2!important;background:#fff!important;color:#164368!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:12px;font-size:.81rem;font-weight:850;text-decoration:none!important;min-height:42px;cursor:pointer;box-shadow:0 4px 14px #123c6312}
.ebd-v10-menu-button{background:linear-gradient(120deg,#116ad4,#0b88ca)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 7px 17px #006ac53d}
.ebd-v10-header-link:hover,.ebd-v10-menu-button:hover{filter:brightness(.97);transform:translateY(-1px)}
.ebd-v10-header-link:focus-visible,.ebd-v10-menu-button:focus-visible,.ebd-v10-menu a:focus-visible{outline:3px solid #f8bd47;outline-offset:3px}
.ebd-v10-menu-backdrop{position:fixed;inset:0;background:rgba(4,17,32,.58);z-index:5200;backdrop-filter:blur(4px)}
.ebd-v10-menu-backdrop[hidden],.ebd-v10-menu[hidden]{display:none!important}
.ebd-v10-menu{position:fixed;z-index:5300;top:88px;right:max(20px,calc((100vw - 1200px)/2 + 24px));width:min(850px,calc(100vw - 34px));max-height:calc(100dvh - 112px);overflow:auto;overscroll-behavior:contain;background:#081d38;color:#fff;border:1px solid #355572;border-radius:24px;box-shadow:0 30px 90px #0008;scrollbar-width:thin}
.ebd-v10-menu:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important;top:88px!important;left:auto!important;bottom:auto!important}
.ebd-v10-menu-top{background:linear-gradient(115deg,#0c4f93,#09233d 75%);padding:26px 28px 22px;display:flex;justify-content:space-between;align-items:start;gap:16px}
.ebd-v10-menu-top small{font-size:.65rem;color:#b9d2f1;letter-spacing:.15em;font-weight:800}
.ebd-v10-menu-top h2{margin:5px 0;font-size:clamp(1.35rem,2.7vw,2rem);color:white;line-height:1.2;letter-spacing:-.04em}
.ebd-v10-menu-top p{font-size:.81rem;color:#c4d7e8;margin:4px 0 0}
.ebd-v10-menu-close{color:white;background:#ffffff1d;border:1px solid #ffffff35;border-radius:12px;padding:9px 12px;font-size:1.1rem;cursor:pointer}
.ebd-v10-menu-grid{padding:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ebd-v10-menu-group{min-width:0;background:linear-gradient(150deg,#172f4b,#101f37);border:1px solid #36506b;border-radius:17px;padding:17px}
.ebd-v10-menu-group h3{font-size:.89rem;color:#f7ca6e;margin:0 0 12px}
.ebd-v10-menu-group a{display:flex;align-items:center;gap:10px;min-height:41px;border-radius:11px;padding:9px 10px;color:#e9f3fe!important;font-weight:650;text-decoration:none!important;font-size:.8rem}
.ebd-v10-menu-group a:hover{background:#ffffff14}
.ebd-v10-menu-group a i{color:#73c5ff;min-width:19px;text-align:center}
.ebd-v10-menu-group a[aria-current=page]{background:#ffffff14;color:#ffe3a1!important}
body.ebd-v10-vlock{overflow:hidden!important}
/* Estrutura comum */
body.ebd-v10 main{max-width:1200px!important;margin:0 auto!important;padding:0 24px 50px!important;min-height:65vh}
body.ebd-v10-classic main .section{padding:0!important;margin:0!important}
body.ebd-v10 main>.class-hero,body.ebd-v10-classic main>.section>.class-hero{margin:24px 0 18px!important}
body.ebd-v10 .class-hero {position:relative!important;min-height:330px!important;max-width:100%!important;overflow:hidden!important;isolation:isolate!important;
 border-radius:25px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 box-shadow:0 24px 44px #16395a26!important;border:1px solid #ffffff7d!important;
 background:linear-gradient(105deg,#062a51 0%,#0a4673 52%,rgba(8,57,90,.63) 100%)!important;color:white!important;padding:36px!important}
body.ebd-v10-youth .class-hero{background:linear-gradient(105deg,#04342f,#0b6456 61%,#135b53)!important}
body.ebd-v10-teen .class-hero{background:linear-gradient(105deg,#4d2a1a,#a95420 66%,#984319)!important}
body.ebd-v10-preteen .class-hero{background:linear-gradient(105deg,#39204f,#7140a4 66%,#572a83)!important}
body.ebd-v10 .class-hero::before{content:'';position:absolute;inset:0 0 0 42%;z-index:-2;background-image:linear-gradient(90deg,#052e53 0%,transparent 40%),var(--v10-image);background-size:cover;background-position:center 32%;opacity:.9}
body.ebd-v10-youth .class-hero::before{background-image:linear-gradient(90deg,#034e47 0%,transparent 48%),var(--v10-image)}
body.ebd-v10-teen .class-hero::before{background-image:linear-gradient(90deg,#84401c 0%,transparent 48%),var(--v10-image)}
body.ebd-v10-preteen .class-hero::before{background-image:linear-gradient(90deg,#582b84 0%,transparent 48%),var(--v10-image)}
body.ebd-v10 .class-hero::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0c3d6b19,transparent 75%)}
body.ebd-v10 .class-hero-content,body.ebd-v10 .class-hero>div:first-child{position:relative;z-index:2;max-width:575px!important;margin:0!important;padding:0!important;text-align:left!important;color:white!important}
body.ebd-v10 .class-hero h1,body.ebd-v10 .class-hero h2{color:white!important;text-shadow:0 2px 15px #0004;line-height:1.05!important;font-size:clamp(2rem,4.4vw,3.3rem)!important;letter-spacing:-.05em!important;margin:12px 0!important;font-weight:900!important}
body.ebd-v10 .class-hero p{color:#e4f2ff!important;font-size:clamp(.93rem,1.45vw,1.07rem)!important;line-height:1.55!important;max-width:53ch!important;margin:0 0 20px!important}
body.ebd-v10 .class-hero-kicker{background:#ffffff22!important;border:1px solid #ffffff43!important;color:#fff!important;border-radius:50px!important;padding:8px 13px!important;font-size:.76rem!important;display:inline-flex!important;gap:9px!important;font-weight:800!important}
body.ebd-v10 .class-hero-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:9px!important;max-width:100%!important}
body.ebd-v10 .class-hero-btn{min-height:42px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:.82rem!important;padding:11px 16px!important;border-radius:12px!important;white-space:normal!important;border:1px solid #ffffff38!important;text-decoration:none!important}
body.ebd-v10 .class-hero-btn.primary{background:#ffbf48!important;color:#082440!important;font-weight:900!important}
body.ebd-v10 .class-hero-btn.secondary{background:#ffffff1e!important;color:white!important;font-weight:750!important;backdrop-filter:blur(6px)}
body.ebd-v10 .class-hero-visual{display:none!important}
body.ebd-v10 .ebd-v10-quick{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px;padding:14px 17px;border-radius:18px;background:#fff;border:1px solid #d7e5f1;box-shadow:0 7px 22px #0e42600b}
body.ebd-v10 .ebd-v10-quick a{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;border:1px solid #dbe9f4;border-radius:12px;background:#f4f8fc;color:#174565!important;font-size:.81rem;font-weight:800;text-decoration:none!important;min-height:43px}
body.ebd-v10 .ebd-v10-quick a:first-child{background:rgba(var(--v10-accent-rgb),.13);color:var(--v10-accent)!important;border-color:rgba(var(--v10-accent-rgb),.22)}
body.ebd-v10 .ebd-v10-quick a:hover{transform:translateY(-2px);box-shadow:0 5px 12px #0001}
body.ebd-v10 .ebd-class-support-access{background:#fff!important;border-radius:19px!important;border:1px solid #d7e5f0!important;box-shadow:0 10px 24px #1d466419!important;margin:0 0 18px!important;padding:20px 24px!important;max-width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
body.ebd-v10 .ebd-class-support-access h2{color:#173553!important;font-size:1.15rem!important;margin:5px 0!important}
body.ebd-v10 .ebd-class-support-access p{font-size:.82rem!important;color:#546f84!important;margin:0!important}
body.ebd-v10 .ebd-class-support-eyebrow{font-size:.67rem!important;font-weight:800!important;color:var(--v10-accent)!important}
body.ebd-v10 .ebd-class-support-button{border-radius:12px!important;background:var(--v10-accent)!important;color:white!important;min-height:44px!important;padding:12px 17px!important;font-size:.78rem!important;text-decoration:none!important;white-space:nowrap!important}
/* Adultos e Jovens: três áreas bem delimitadas, mantendo a estrutura original dos scripts. */
body.ebd-v10-classic main #adult-class>.container,body.ebd-v10-classic main #youth-class>.container{max-width:100%!important;width:100%!important;margin:0!important;padding:0!important}
body.ebd-v10-classic main .section-heading{display:none!important}
body.ebd-v10-classic main .class-section{border:1px solid #d6e4f0!important;border-radius:22px!important;padding:18px!important;margin:0!important;box-shadow:0 15px 35px #163e5820!important;background:#fff!important;color:#183953!important}
body.ebd-v10-classic main .class-head{background:linear-gradient(105deg,#f2f8ff,#eff7fd)!important;padding:12px 17px!important;border-radius:14px!important;margin-bottom:12px!important;border:1px solid #dce7f3!important}
body.ebd-v10-classic main .class-head h4{font-size:1.16rem!important;color:#132d49!important;margin:0!important}
body.ebd-v10-classic main .class-head p{color:#667b91!important}
body.ebd-v10-classic main .quick-link.quiz{border-radius:12px!important;background:var(--v10-accent)!important;color:white!important;padding:10px 14px!important}
body.ebd-v10-classic main .trim-tabs{position:relative!important;top:auto!important;z-index:1!important;border-radius:12px!important;box-shadow:none!important;margin:0 0 16px!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important;max-width:100%;overflow-x:auto}
body.ebd-v10-classic main .class-layout{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(275px,.9fr)!important;gap:17px!important;align-items:start!important}
body.ebd-v10-classic main .class-layout>aside,body.ebd-v10-classic main .class-layout>.panel-side{width:100%!important;min-width:0!important;max-width:none!important;float:none!important;display:block!important;margin:0!important;padding:0!important}
body.ebd-v10-classic main .video-section,body.ebd-v10-classic main .synopsis-video-card,body.ebd-v10-classic main .podcast-card,body.ebd-v10-classic main .panel-side>div{border:1px solid #dce9f2!important;border-radius:16px!important;background:#f8fbfe!important;padding:14px!important;box-shadow:none!important;margin:0 0 14px!important;max-width:100%!important;overflow:hidden}
body.ebd-v10-classic main .video-block-title{font-size:.85rem!important;color:#16436a!important;font-weight:850!important}
body.ebd-v10-classic main .video-entry{border-radius:14px!important;overflow:hidden!important;max-width:100%!important}
body.ebd-v10-classic main .video-universal-container{max-width:100%!important}
body.ebd-v10-classic main iframe,body.ebd-v10-classic main video{max-width:100%!important}
body.ebd-v10-classic main .video-responsive-wrapper{max-width:100%!important}
body.ebd-v10-classic main .panel-side{background:#eef5fb!important;border:1px solid #dce9f2!important;border-radius:16px!important;padding:13px!important}
body.ebd-v10-classic main .lessons-grid{max-width:100%!important}
/* Adolescentes e Pré-adolescentes: manter busca e filtros, melhorar hierarquia */
body.ebd-v10-support main>.container{max-width:100%!important;width:100%!important;padding:0!important;margin:0!important}
body.ebd-v10-support .notice p{color:#4f647b!important;opacity:1!important}
body.ebd-v10-support .notice{background:#fff!important;color:#47627e!important;border:1px solid #e2eaf2!important;box-shadow:0 6px 14px #1a477011!important;border-radius:14px!important;padding:16px 20px!important;margin:0 0 17px!important}
body.ebd-v10-support .support-content-layout{max-width:100%!important;margin:0!important;display:block!important}
body.ebd-v10-support #apoios{background:#fff!important;border:1px solid #d9e6f0!important;box-shadow:0 15px 35px #163e5820!important;border-radius:22px!important;padding:23px!important;color:#173b5e!important}
body.ebd-v10-support #apoios .class-head{background:linear-gradient(110deg,#eff6fe,#f7fafc)!important;border-radius:16px!important;padding:16px!important;gap:10px!important;align-items:center!important}
body.ebd-v10-support #apoios .class-head h3{color:#17395a!important}
body.ebd-v10-support .support-discovery{background:#f4f8fc!important;border:1px solid #dce9f3!important;border-radius:15px!important;padding:15px!important;margin:15px 0!important}
body.ebd-v10-support .support-search-input{background:#fff!important;color:#16314d!important;border:1px solid #d3e2ef!important;border-radius:10px!important}
body.ebd-v10-support .support-filter-button{border-radius:10px!important;min-height:41px!important}
body.ebd-v10-support .support-filter-button.active{background:var(--v10-accent)!important;border-color:var(--v10-accent)!important;color:#fff!important}
body.ebd-v10-support .lessons-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.ebd-v10-support .lesson-card{border-radius:15px!important;border:1px solid #dce7f0!important;overflow:hidden!important;background:#fff!important;min-width:0!important;box-shadow:0 8px 18px #12395911!important}
body.ebd-v10-support .lesson-title{color:#183856!important}
body.ebd-v10-support .lesson-action.primary{border-radius:10px!important;background:var(--v10-accent)!important;color:#fff!important}
body.ebd-v10-support .about-section{border-radius:18px!important;border:1px solid #dce8f2!important;background:white!important;padding:18px!important;margin-top:19px!important}
/* Rodapé único */
body.ebd-v10 .page-footer,body.ebd-v10 body>footer,body.ebd-v10>footer:not(.ebd-v10-footer){display:none!important}
.ebd-v10-footer{background:#07192f;border-top:3px solid var(--v10-accent);color:#d9e7f3;padding:23px 24px;margin-top:0}
.ebd-v10-footer-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.8rem}
.ebd-v10-footer-links{display:flex;flex-wrap:wrap;gap:15px}
.ebd-v10-footer a{color:#d6e8ff!important;text-decoration:none!important;font-weight:700}
.ebd-v10-footer a:hover{text-decoration:underline!important}
@media(max-width:980px){body.ebd-v10-classic main .class-layout{grid-template-columns:1fr!important}body.ebd-v10-support .lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ebd-v10 .class-hero{min-height:290px!important}}
@media(max-width:640px){
 .ebd-v10-header-inner{padding:8px 15px;min-height:66px}.ebd-v10-brand img{width:42px;height:42px}.ebd-v10-brand-title{font-size:1rem}.ebd-v10-header-link{display:none}.ebd-v10-menu-button{padding:10px 13px;font-size:.78rem}
 .ebd-v10-menu:not([hidden]){top:77px!important;right:9px!important}.ebd-v10-menu{top:77px;right:9px;width:calc(100vw - 18px);max-height:calc(100dvh - 91px);border-radius:18px}
 .ebd-v10-menu-top{padding:20px}.ebd-v10-menu-grid{grid-template-columns:1fr;padding:13px;gap:10px}.ebd-v10-menu-group{padding:14px}
 body.ebd-v10 main{padding:0 12px 28px!important}body.ebd-v10 main>.class-hero,body.ebd-v10-classic main>.section>.class-hero{margin:13px 0 12px!important}
 body.ebd-v10 .class-hero{min-height:350px!important;padding:22px!important;align-items:flex-end!important;border-radius:20px!important;background:#072c54!important}
 body.ebd-v10-youth .class-hero{background:#07554e!important}body.ebd-v10-teen .class-hero{background:#924619!important}body.ebd-v10-preteen .class-hero{background:#593286!important}
 body.ebd-v10 .class-hero::before{inset:0 0 25% 0;background-image:linear-gradient(0deg, #072c54 0%, transparent 82%),var(--v10-image);background-position:center 34%;opacity:.8}
 body.ebd-v10-youth .class-hero::before{background-image:linear-gradient(0deg,#07554e,transparent 82%),var(--v10-image)}
 body.ebd-v10-teen .class-hero::before{background-image:linear-gradient(0deg,#924619,transparent 82%),var(--v10-image)}
 body.ebd-v10-preteen .class-hero::before{background-image:linear-gradient(0deg,#593286,transparent 82%),var(--v10-image)}
 body.ebd-v10 .class-hero-content,body.ebd-v10 .class-hero>div:first-child{max-width:100%!important}
 body.ebd-v10 .class-hero h1,body.ebd-v10 .class-hero h2{font-size:clamp(1.8rem,8.2vw,2.7rem)!important;margin:10px 0!important}
 body.ebd-v10 .class-hero p{font-size:.82rem!important;margin-bottom:14px!important}
 body.ebd-v10 .class-hero-btn{font-size:.75rem!important;min-height:38px!important;padding:9px 10px!important}
 body.ebd-v10 .ebd-v10-quick{padding:10px;gap:7px}body.ebd-v10 .ebd-v10-quick a{flex:1 1 auto;padding:10px 11px;font-size:.73rem}
 body.ebd-v10 .ebd-class-support-access{flex-direction:column!important;align-items:stretch!important;padding:17px!important}
 body.ebd-v10 .ebd-class-support-button{width:100%!important;justify-content:center!important}
 body.ebd-v10-classic main .class-section,body.ebd-v10-support #apoios{padding:12px!important;border-radius:17px!important}
 body.ebd-v10-classic main .class-head{display:block!important;padding:12px!important}body.ebd-v10-classic main .class-head .quick-links{margin-top:12px}
 body.ebd-v10-classic main .video-section,body.ebd-v10-classic main .synopsis-video-card,body.ebd-v10-classic main .podcast-card{padding:10px!important}
 body.ebd-v10-support .lessons-grid{grid-template-columns:1fr!important}
 body.ebd-v10 .ebd-v10-footer-inner{justify-content:center;text-align:center}
}
@media(prefers-reduced-motion:reduce){body.ebd-v10 *{scroll-behavior:auto!important;transition:none!important}}
