/* Identidade institucional comum v6 */
:root{--lem-green:#5dbb35;--lem-dark:#303030;--lem-font-body:Montserrat,Arial,sans-serif;--lem-font-heading:Montserrat,Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{width:100%;max-width:100%;overflow-x:hidden}
body{width:100%;max-width:100%;margin:0;font-family:var(--lem-font-body)!important;font-weight:400;line-height:1.55;overflow-x:hidden;color:#242424}
h1,h2,h3,h4,h5,h6,button,input,select,textarea{font-family:var(--lem-font-heading)!important}
img,video,iframe{max-width:100%;height:auto}
.container,.header-content{width: min(96%, 1500px);max-width:1500px;margin-left:auto;margin-right:auto}
/* assinatura consistente em todas as páginas */
.lem-institutional-signature{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 16px;margin-top:32px;border-top:1px solid #e5e7eb;background:#fff;color:#4b5563;text-align:center;font-family:var(--lem-font-body)!important;font-size:11px;letter-spacing:2px;text-transform:uppercase}
.lem-institutional-signature img{width:42px;height:42px;object-fit:contain;flex:0 0 auto}
.lem-institutional-signature .lem-signature-text{display:flex;flex-direction:column;gap:3px}
.lem-institutional-signature strong{font-weight:600;letter-spacing:1.5px}
.lem-institutional-signature span{font-size:10px;letter-spacing:2.2px;color:#6b7280}
/* A fonte exacta do lettering embutido num JPG não pode ser extraída; usar identidade sans harmonizada. */
.slogan-assinatura{font-family:var(--lem-font-body)!important;font-size:8px!important;font-weight:500!important;letter-spacing:2px!important;text-transform:uppercase}
.slogan-flutuante{font-family:var(--lem-font-body)!important;font-size:clamp(12px,1.2vw,16px);font-weight:500;letter-spacing:2px;text-transform:uppercase;text-shadow:0 1px 5px #000}
@media(max-width:700px){.lem-institutional-signature{padding:14px 10px;gap:8px;letter-spacing:1px}.lem-institutional-signature img{width:34px;height:34px}.lem-institutional-signature span{letter-spacing:1.2px}.container,.header-content{width:94%;}}

/* v10: assinatura textual, sem repetir o logótipo no rodapé */
.lem-institutional-signature{min-height:0; padding:16px 12px; margin-top:28px; display:flex; justify-content:center; align-items:center; border-top:1px solid #e5e7eb; background:#fff;}
.lem-institutional-signature img{display:none!important}
.lem-institutional-signature .lem-signature-text{display:block; text-align:center}
.lem-institutional-signature .slogan-assinatura{display:inline-block; font-family:Montserrat,Arial,sans-serif!important; font-size:9px!important; font-weight:400!important; letter-spacing:2.4px!important; text-transform:uppercase; color:#7b817b; line-height:1.5}

/* v12 - rodape assinado apenas com o lema original recortado do logotipo */
.lem-institutional-signature img:not(.lem-slogan-original),
.lem-assinatura-rodape img[src*="liceu-logo"] { display:none !important; }
.lem-assinatura-rodape .lem-slogan-original { width:min(260px,70vw)!important; max-height:34px!important; height:auto!important; object-fit:contain!important; }

/* V13: slogan como assinatura, sem emblema no corpo ou cartões. */
.lem-assinatura-rodape { display:flex!important; justify-content:center!important; align-items:center!important; width:100%!important; padding:10px 12px!important; min-height:48px!important; }
.lem-assinatura-rodape .lem-slogan-original { display:block!important; width:min(243px,72vw)!important; height:auto!important; max-height:29px!important; object-fit:contain!important; }
main img[src*="liceu-logo"], main img[src*="logo.jpg"], .card img[src*="logo"], article img[src*="logo"] { display:none!important; }


/* CORREÇÃO VISUAL V14 — assinatura manuscrita, grelha sem margens laterais artificiais */
:root{--lem-font-body:"Montserrat",Arial,sans-serif;--lem-font-heading:"Montserrat",Arial,sans-serif;--lem-slogan-ink:#b45d70}
html,body{margin:0!important;width:100%;max-width:100%;overflow-x:clip}
body{font-family:var(--lem-font-body)!important;font-size:15px;line-height:1.6}
h1,h2,h3,h4,h5,h6,button,input,select,textarea{font-family:var(--lem-font-heading)!important}
.container,.header-content{box-sizing:border-box;width:min(94%,1500px)!important;max-width:1500px!important;margin-left:auto!important;margin-right:auto!important}
/* A assinatura usa texto real, não uma imagem */
.lem-institutional-signature,.lem-assinatura-rodape{box-sizing:border-box;width:100%;display:flex!important;justify-content:center!important;align-items:center!important;text-align:center;background:#edf5ee;border-top:0;padding:15px 12px!important;min-height:54px;margin-top:28px}
.lem-institutional-signature img,.lem-assinatura-rodape img{display:none!important}
.lem-institutional-signature .slogan-assinatura,.lem-assinatura-rodape .slogan-assinatura,.slogan-assinatura{display:inline-block;font-family:"Segoe Script","Brush Script MT","URW Chancery L",cursive!important;font-size:clamp(17px,1.65vw,23px)!important;font-style:italic;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;line-height:1.25;color:var(--lem-slogan-ink)!important}
.slogan-flutuante{position:absolute;z-index:5;top:22px;right:clamp(18px,4vw,70px);max-width:80%;font-family:"Segoe Script","Brush Script MT","URW Chancery L",cursive!important;font-size:clamp(17px,1.65vw,23px)!important;font-style:italic;font-weight:600;letter-spacing:0!important;text-transform:none!important;color:var(--lem-slogan-ink)!important;text-shadow:0 1px 2px rgba(255,255,255,.35);pointer-events:none}
.hero-section{width:100%!important;max-width:none!important;margin:0!important;overflow:hidden}
.hero-section>.hero-content.container,.hero-content.container{width:min(94%,1500px)!important;max-width:1500px!important;margin:0 auto!important;padding-left:0!important;padding-right:0!important}
.hero-text{box-sizing:border-box;width:100%;max-width:760px;margin-left:0!important;padding-left:0!important}
.hero-text p{max-width:68ch}
/* Evita que o slogan ocupe espaço ou desloque o conteúdo nos ecrãs pequenos */
@media(max-width:700px){.container,.header-content,.hero-section>.hero-content.container,.hero-content.container{width:calc(100% - 32px)!important}.hero-text{padding:76px 0 42px!important}.slogan-flutuante{top:12px;right:16px;max-width:75%;font-size:16px!important}.lem-institutional-signature,.lem-assinatura-rodape{margin-top:20px;padding:13px 10px!important}.lem-institutional-signature .slogan-assinatura,.lem-assinatura-rodape .slogan-assinatura,.slogan-assinatura{font-size:18px!important}}


/* =========================================================
   LEM — ACABAMENTO RESPONSIVO DO PORTAL DO PROFESSOR
   Escopo limitado ao painel do professor para não alterar
   páginas públicas, alunos ou Direção.
   ========================================================= */
body.professor-dashboard{
  --prof-bg:#f4f7fb;--prof-ink:#1d2939;--prof-muted:#667085;
  --prof-line:#e4e9f1;--prof-green:#5c8f18;--prof-green-soft:#eef6dc;
  background:var(--prof-bg)!important;color:var(--prof-ink);
  min-height:100vh;font-size:14px;line-height:1.55;
}
.professor-dashboard .student-sidebar{
  width:264px;background:#fff;border-right:1px solid var(--prof-line);
  box-shadow:8px 0 28px rgba(20,35,60,.035);padding:24px 16px;
}
.professor-dashboard .student-logo{gap:12px;padding:0 8px 22px;border-bottom:1px solid #eef1f5;margin-bottom:18px}
.professor-dashboard .student-logo-icon{width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:linear-gradient(135deg,#a6ce39,#f5cf4b);color:#25340f}
.professor-dashboard .student-logo-text strong{font-size:14px;letter-spacing:1.3px;color:#202b3c}
.professor-dashboard .student-logo-text span{font-size:10px;letter-spacing:.7px;color:#7b8798}
.professor-dashboard .student-mini-profile{background:#f7f9fc;border:1px solid #edf0f5;border-radius:14px;padding:12px;margin:0 0 18px}
.professor-dashboard .student-navigation{gap:5px}
.professor-dashboard .student-menu-title{font-size:10px;letter-spacing:1.3px;color:#98a2b3;padding:14px 11px 5px}
.professor-dashboard .student-nav-link{min-height:42px;gap:12px;padding:11px 12px;border-radius:10px;color:#536176;font-size:12px;font-weight:600;transition:background .18s ease,color .18s ease}
.professor-dashboard .student-nav-link i{width:18px;font-size:14px;text-align:center}
.professor-dashboard .student-nav-link:hover,.professor-dashboard .student-nav-link.active{background:var(--prof-green-soft);color:#456b12}
.professor-dashboard .student-main{margin-left:264px;width:calc(100% - 264px);max-width:none;min-width:0;padding:28px clamp(18px,3vw,44px) 0}
.professor-dashboard .student-topbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 20px;margin:0 0 24px;border-bottom:1px solid var(--prof-line)}
.professor-dashboard .topbar-left,.professor-dashboard .topbar-right{display:flex;align-items:center;gap:16px;min-width:0}
.professor-dashboard .dashboard-page-title span{display:block;font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--prof-green);margin-bottom:4px}
.professor-dashboard .dashboard-page-title h1{font-family:'Roboto Slab',Georgia,serif!important;font-size:clamp(23px,2vw,30px);line-height:1.2;color:#202b3c;margin:0}
.professor-dashboard .dashboard-search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--prof-line);border-radius:10px;padding:0 12px;min-width:190px}
.professor-dashboard .dashboard-search input{border:0;outline:0;min-width:0;width:100%;padding:10px 0;background:transparent}
.professor-dashboard .topbar-icon-button{position:relative;width:40px;height:40px;display:grid;place-items:center;background:#fff;border:1px solid var(--prof-line);border-radius:11px;color:#536176}
.professor-dashboard .topbar-profile{display:flex;align-items:center;gap:10px;min-width:0}
.professor-dashboard .topbar-avatar{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:50%;background:#e9edff;color:#6554a4;font-weight:800}
.professor-dashboard .topbar-profile-info strong,.professor-dashboard .topbar-profile-info span{display:block}
.professor-dashboard .topbar-profile-info strong{font-size:12px}
.professor-dashboard .topbar-profile-info span{font-size:11px;color:var(--prof-muted)}
.professor-dashboard .student-content{width:100%;max-width:1540px;margin:0 auto;padding:0 0 30px;min-width:0}
.professor-dashboard .professor-back-link{display:inline-flex;align-items:center;gap:9px;color:#526174;font-size:12px;font-weight:700;margin:0 0 20px;padding:9px 12px;border:1px solid var(--prof-line);border-radius:9px;background:#fff}
.professor-dashboard .professor-back-link:hover{color:var(--prof-green);border-color:#c8dba5}
.professor-dashboard .class-page-header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;background:linear-gradient(120deg,#fff 0%,#fff 68%,#f5f9e9 100%);border:1px solid var(--prof-line);border-radius:18px;box-shadow:0 8px 26px rgba(28,42,65,.045);margin-bottom:20px;min-width:0}
.professor-dashboard .class-page-main{display:flex;align-items:center;gap:16px;min-width:0}
.professor-dashboard .class-page-icon{width:58px;height:58px;display:grid;place-items:center;flex:0 0 58px;border-radius:16px;background:#eef6dc;color:#537c16;font-size:23px}
.professor-dashboard .class-page-main span,.professor-dashboard .card-overline{display:block;color:#6b8d2c;font-size:10px;font-weight:800;letter-spacing:1.1px;text-transform:uppercase}
.professor-dashboard .class-page-main h2{font:700 clamp(22px,2.5vw,30px)/1.25 'Roboto Slab',Georgia,serif!important;margin:4px 0;color:#202b3c}
.professor-dashboard .class-page-main p{font-size:12px;color:var(--prof-muted);margin:0}
.professor-dashboard .class-page-actions,.professor-dashboard .grades-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.professor-dashboard .primary-action-button,.professor-dashboard .secondary-class-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 14px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap;transition:transform .15s ease,box-shadow .15s ease}
.professor-dashboard .primary-action-button{background:#5d851c;color:#fff;box-shadow:0 4px 12px rgba(93,133,28,.17)}
.professor-dashboard .secondary-class-button{background:#fff;color:#344054;border:1px solid #dce3ec}
.professor-dashboard .primary-action-button:hover,.professor-dashboard .secondary-class-button:hover{transform:translateY(-1px)}
.professor-dashboard .grades-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}
.professor-dashboard .grades-summary-card{display:flex;align-items:center;gap:13px;min-width:0;padding:18px;background:#fff;border:1px solid var(--prof-line);border-radius:15px;box-shadow:0 5px 18px rgba(28,42,65,.035)}
.professor-dashboard .grades-summary-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 43px;border-radius:12px;font-size:16px}
.professor-dashboard .grades-summary-icon.green{background:#edf7df;color:#54821a}
.professor-dashboard .grades-summary-icon.blue{background:#eaf2ff;color:#3569ae}
.professor-dashboard .grades-summary-icon.orange{background:#fff2df;color:#b76b16}
.professor-dashboard .grades-summary-icon.purple{background:#f0ecff;color:#7056b2}
.professor-dashboard .grades-summary-card span{display:block;font-size:9px;font-weight:800;letter-spacing:.6px;color:#788396}
.professor-dashboard .grades-summary-card strong{display:block;font-size:25px;line-height:1.25;margin:3px 0;color:#202b3c}
.professor-dashboard .grades-summary-card small{font-size:11px;color:var(--prof-muted)}
.professor-dashboard .quarter-selector-card,.professor-dashboard .assessment-structure,.professor-dashboard .grades-class-card{background:#fff;border:1px solid var(--prof-line);border-radius:16px;box-shadow:0 5px 18px rgba(28,42,65,.035);margin-bottom:20px;min-width:0}
.professor-dashboard .quarter-selector-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px}
.professor-dashboard .quarter-selector-card>div:first-child>span,.professor-dashboard .assessment-structure-title>span{font-size:10px;font-weight:800;letter-spacing:1.1px;color:#788396}
.professor-dashboard .quarter-selector-card h3,.professor-dashboard .assessment-structure h3,.professor-dashboard .dashboard-card-header h3{font:700 18px/1.35 'Roboto Slab',Georgia,serif!important;margin:5px 0 0;color:#202b3c}
.professor-dashboard .quarter-buttons{display:flex;gap:6px;flex-wrap:wrap;padding:4px;background:#f3f5f8;border-radius:11px}
.professor-dashboard .quarter-button{padding:9px 13px;border-radius:8px;background:transparent;color:#667085;font-size:11px;font-weight:700}
.professor-dashboard .quarter-button.active{background:#fff;color:#4c7116;box-shadow:0 2px 8px rgba(28,42,65,.09)}
.professor-dashboard .assessment-structure{padding:21px 22px}
.professor-dashboard .assessment-structure-title{margin-bottom:18px}
.professor-dashboard .assessment-steps{display:flex;align-items:center;gap:12px}
.professor-dashboard .assessment-step{display:flex;align-items:center;gap:11px;flex:1;min-width:0}
.professor-dashboard .assessment-step-number{width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px;border-radius:12px;background:#eef6dc;color:#4d7415;font-size:12px;font-weight:800}
.professor-dashboard .assessment-step strong,.professor-dashboard .assessment-step span{display:block}
.professor-dashboard .assessment-step strong{font-size:12px;color:#344054}
.professor-dashboard .assessment-step span{font-size:10px;color:#7a8596;line-height:1.45}
.professor-dashboard .assessment-step-line{height:1px;flex:0 0 20px;background:#dfe5ed}
.professor-dashboard .grades-class-card{padding:22px}
.professor-dashboard .dashboard-card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;min-width:0}
.professor-dashboard .grades-saving-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:#5a7f20;background:#f1f7e7;border-radius:999px;padding:7px 10px}
.professor-dashboard .grade-table-wrapper{width:100%;overflow:auto;border:1px solid var(--prof-line);border-radius:12px}
.professor-dashboard .grade-table{width:100%;min-width:800px;border-collapse:separate;border-spacing:0;background:#fff}
.professor-dashboard .grade-table th{padding:13px 12px;background:#f6f8fb;color:#697586;font-size:9px;font-weight:800;letter-spacing:.55px;white-space:nowrap;border-bottom:1px solid var(--prof-line)}
.professor-dashboard .grade-table td{padding:13px 12px;border-bottom:1px solid #edf0f5;font-size:12px}
.professor-dashboard .grade-table tbody tr:last-child td{border-bottom:0}
.professor-dashboard .grade-table tbody tr:hover{background:#fbfcf8}
.professor-dashboard .empty-state,.professor-dashboard .empty-classes{padding:32px 18px;text-align:center;color:#667085;background:#fafbfd;border:1px dashed #d4dce7;border-radius:12px}
.professor-dashboard .empty-state h3,.professor-dashboard .empty-classes h3{font-size:15px;color:#344054;margin:8px 0}
.professor-dashboard .student-footer,.professor-dashboard footer{margin-top:28px}
.professor-dashboard .dashboard-menu-button{display:none}
@media(max-width:1200px){
 .professor-dashboard .grades-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .professor-dashboard .class-page-header{align-items:flex-start}
 .professor-dashboard .assessment-steps{flex-wrap:wrap}
 .professor-dashboard .assessment-step{flex:1 1 40%;padding:6px 0}
 .professor-dashboard .assessment-step-line{display:none}
}
@media(max-width:900px){
 .professor-dashboard .student-sidebar{width:230px}
 .professor-dashboard .student-main{margin-left:230px;width:calc(100% - 230px);padding:22px 18px 0}
 .professor-dashboard .topbar-right .dashboard-search{display:none}
 .professor-dashboard .class-page-header{flex-direction:column}
 .professor-dashboard .class-page-actions{justify-content:flex-start;width:100%}
 .professor-dashboard .quarter-selector-card{align-items:flex-start;flex-direction:column}
 .professor-dashboard .quarter-buttons{width:100%}
}
@media(max-width:680px){
 .professor-dashboard .student-sidebar{position:relative;width:100%;height:auto;inset:auto;padding:14px 14px 10px;border-right:0;border-bottom:1px solid var(--prof-line)}
 .professor-dashboard .student-logo{padding:0 4px 12px;margin-bottom:10px}
 .professor-dashboard .student-mini-profile{margin-bottom:10px}
 .professor-dashboard .student-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .professor-dashboard .student-menu-title{grid-column:1/-1;padding:8px 7px 2px}
 .professor-dashboard .student-nav-link{font-size:11px;padding:9px 8px}
 .professor-dashboard .student-main{margin-left:0;width:100%;padding:16px 12px 0}
 .professor-dashboard .student-topbar{align-items:flex-start;margin-bottom:17px;padding-bottom:14px}
 .professor-dashboard .topbar-left{gap:10px}
 .professor-dashboard .dashboard-page-title h1{font-size:23px}
 .professor-dashboard .topbar-right{gap:8px}
 .professor-dashboard .topbar-profile-info{display:none}
 .professor-dashboard .topbar-icon-button{width:36px;height:36px}
 .professor-dashboard .class-page-header{padding:17px;border-radius:14px}
 .professor-dashboard .class-page-main{align-items:flex-start;gap:12px}
 .professor-dashboard .class-page-icon{width:45px;height:45px;flex-basis:45px;font-size:18px}
 .professor-dashboard .class-page-main h2{font-size:23px}
 .professor-dashboard .class-page-actions{display:grid;grid-template-columns:1fr;width:100%}
 .professor-dashboard .class-page-actions>*{width:100%}
 .professor-dashboard .grades-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .professor-dashboard .grades-summary-card{align-items:flex-start;gap:9px;padding:12px}
 .professor-dashboard .grades-summary-icon{width:34px;height:34px;flex-basis:34px;font-size:13px}
 .professor-dashboard .grades-summary-card span{font-size:8px;letter-spacing:.2px}
 .professor-dashboard .grades-summary-card strong{font-size:21px}
 .professor-dashboard .grades-summary-card small{font-size:10px}
 .professor-dashboard .quarter-selector-card,.professor-dashboard .assessment-structure{padding:16px}
 .professor-dashboard .quarter-buttons{display:grid;grid-template-columns:1fr;width:100%}
 .professor-dashboard .assessment-step{flex:1 1 100%}
 .professor-dashboard .grades-class-card{padding:15px}
 .professor-dashboard .dashboard-card-header{align-items:flex-start;flex-direction:column}
 .professor-dashboard .grades-header-actions{justify-content:flex-start;width:100%}
 .professor-dashboard .grade-table-wrapper{margin-top:8px}
 .professor-dashboard .dashboard-menu-button{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:9px;background:#fff;border:1px solid var(--prof-line);color:#344054}
}
@media(max-width:390px){
 .professor-dashboard .grades-summary{grid-template-columns:1fr}
 .professor-dashboard .student-navigation{grid-template-columns:1fr}
 .professor-dashboard .topbar-icon-button{display:none}
}


/* =========================================================
   LICEU ERNESTO MUTEMBA — HOMEPAGE INSTITUCIONAL
   Direcção visual inspirada na referência enviada:
   verde profundo, dourado discreto, fotografia em destaque,
   blocos editoriais, cartões e rodapé institucional.
   ========================================================= */
:root{
  --lem-forest:#063f32;
  --lem-forest-2:#0b5945;
  --lem-gold:#d8b65c;
  --lem-cream:#f7f8f3;
  --lem-text:#26352f;
}
body:has(.hero-section){background:#fff;color:var(--lem-text)}
body:has(.hero-section) .top-bar{background:var(--lem-forest);color:#eaf3ed;font-size:11px}
body:has(.hero-section) .top-contact i{color:var(--lem-gold)}
body:has(.hero-section) .top-button{background:var(--lem-gold);color:#173b2f!important;border-radius:4px;padding:10px 17px}
body:has(.hero-section) .main-header{background:#fff;box-shadow:0 5px 22px rgba(9,42,31,.08)}
body:has(.hero-section) .header-content{min-height:92px;gap:24px}
body:has(.hero-section) .logo-symbol{width:64px;height:64px}
body:has(.hero-section) .logo-symbol img{width:64px;height:64px}
body:has(.hero-section) .logo-text h1{color:var(--lem-forest);font-size:22px;letter-spacing:1.2px}
body:has(.hero-section) .logo-text h2{color:#35483f;font-size:11px;letter-spacing:1.6px}
body:has(.hero-section) .logo-text .slogan-assinatura{color:#9a7932!important;font-size:10px!important;letter-spacing:.6px!important;text-transform:none!important;font-style:italic;font-family:"Segoe Script","Brush Script MT",cursive!important}
body:has(.hero-section) .main-navigation>ul{gap:clamp(10px,1.35vw,22px)}
body:has(.hero-section) .main-navigation>ul>li>a{font-size:10px;font-weight:800;letter-spacing:.55px;color:#34483e;padding:12px 0}
body:has(.hero-section) .main-navigation>ul>li>a.active,
body:has(.hero-section) .main-navigation>ul>li>a:hover{color:var(--lem-forest);border-bottom:2px solid var(--lem-gold)}
body:has(.hero-section) .dropdown{border:1px solid #e7ece7;border-radius:8px;box-shadow:0 14px 32px rgba(9,42,31,.12);padding:8px}
body:has(.hero-section) .dropdown a{padding:10px 13px;border-radius:5px;font-size:11px}
body:has(.hero-section) .hero-section{min-height:590px;display:flex;align-items:center;position:relative;background-position:center 42%;background-size:cover}
body:has(.hero-section) .hero-overlay{background:linear-gradient(90deg,rgba(3,30,24,.86) 0%,rgba(4,43,33,.67) 48%,rgba(4,43,33,.12) 100%)}
body:has(.hero-section) .hero-content{position:relative;z-index:2;padding-top:82px;padding-bottom:82px}
body:has(.hero-section) .hero-text{max-width:700px;color:#fff}
body:has(.hero-section) .hero-small-title{display:inline-block;color:#f0d58c;font-size:10px;font-weight:800;letter-spacing:2px;margin-bottom:18px}
body:has(.hero-section) .hero-text h2{font-family:"Roboto Slab",Georgia,serif!important;font-size:clamp(34px,4.4vw,58px);line-height:1.12;letter-spacing:-.7px;color:#fff;margin:0 0 20px}
body:has(.hero-section) .hero-text p{max-width:590px;color:#e6eee9;font-size:14px;line-height:1.85}
body:has(.hero-section) .hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
body:has(.hero-section) .hero-buttons .btn{min-height:46px;display:inline-flex;align-items:center;gap:9px;border-radius:4px;padding:13px 19px;font-size:10px;font-weight:800;letter-spacing:.6px}
body:has(.hero-section) .btn-primary{background:var(--lem-gold);color:#173b2f!important}
body:has(.hero-section) .btn-primary:hover{background:#edcf7b}
body:has(.hero-section) .btn-secondary{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.72);color:#fff!important}
body:has(.hero-section) .slogan-flutuante{top:22px;right:5%;color:#fff!important;text-shadow:0 2px 10px #001d16}
body:has(.hero-section) .quick-access{position:relative;z-index:3;margin-top:-42px;padding:0 0 48px;background:transparent}
body:has(.hero-section) .quick-access-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body:has(.hero-section) .quick-card{display:flex;align-items:flex-start;gap:14px;min-height:142px;padding:22px 18px;background:#fff;border:1px solid #e8eee8;border-radius:8px;box-shadow:0 12px 35px rgba(8,47,35,.09)}
body:has(.hero-section) .quick-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;background:#edf4e9;border-radius:8px;color:var(--lem-forest);font-size:17px}
body:has(.hero-section) .quick-content h3{font-size:11px;color:var(--lem-forest);letter-spacing:.5px;margin:0 0 6px}
body:has(.hero-section) .quick-content p{font-size:11px;line-height:1.6;color:#748078;margin:0 0 11px}
body:has(.hero-section) .quick-content a{font-size:9px;font-weight:800;letter-spacing:.7px;color:#9a7932}
body:has(.hero-section) .about-section{padding:54px 0 76px;background:#fff}
body:has(.hero-section) .about-grid{align-items:center;gap:clamp(32px,5vw,78px)}
body:has(.hero-section) .about-image{border-radius:8px;overflow:hidden;box-shadow:18px 18px 0 #edf2e9}
body:has(.hero-section) .about-image img{width:100%;height:390px;object-fit:cover}
body:has(.hero-section) .about-image-badge{background:var(--lem-forest);color:#fff;border-radius:0 8px 0 0}
body:has(.hero-section) .about-content .section-subtitle,
body:has(.hero-section) .section-heading>span,
body:has(.hero-section) .section-title-row span{color:#9a7932;font-size:10px;font-weight:800;letter-spacing:1.8px}
body:has(.hero-section) .about-content h2,
body:has(.hero-section) .section-heading h2,
body:has(.hero-section) .section-title-row h2{font-family:"Roboto Slab",Georgia,serif!important;color:var(--lem-forest);font-size:clamp(27px,3vw,38px);line-height:1.2}
body:has(.hero-section) .about-content h2 span{color:#a98a42}
body:has(.hero-section) .about-content p{color:#69776f;font-size:13px;line-height:1.9}
body:has(.hero-section) .about-content .btn{border-radius:4px;background:var(--lem-forest);color:#fff!important}
body:has(.hero-section) .portal-services{padding:76px 0;background:var(--lem-cream)}
body:has(.hero-section) .section-heading{text-align:center;max-width:720px;margin:0 auto 34px}
body:has(.hero-section) .section-heading p{color:#758178;font-size:13px}
body:has(.hero-section) .services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body:has(.hero-section) .service-card{background:#fff;border:1px solid #e7ece6;border-radius:8px;padding:24px;transition:transform .2s ease,box-shadow .2s ease}
body:has(.hero-section) .service-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(8,47,35,.09)}
body:has(.hero-section) .service-icon{width:46px;height:46px;display:grid;place-items:center;background:#edf4e9;color:var(--lem-forest);border-radius:8px;font-size:18px}
body:has(.hero-section) .service-card h3{font-size:15px;color:var(--lem-forest);margin:16px 0 7px}
body:has(.hero-section) .service-card p{font-size:12px;color:#748078;line-height:1.7}
body:has(.hero-section) .service-link{display:inline-flex;gap:8px;color:#9a7932;font-size:9px;font-weight:800;letter-spacing:.8px;margin-top:13px}
body:has(.hero-section) .user-areas{padding:76px 0;background:#fff}
body:has(.hero-section) .user-area-card{border:1px solid #e7ece6;border-radius:9px;padding:27px;background:#fff;box-shadow:0 8px 26px rgba(8,47,35,.045)}
body:has(.hero-section) .user-area-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:9px;background:#edf4e9;color:var(--lem-forest);font-size:19px}
body:has(.hero-section) .user-area-card h3{color:var(--lem-forest);font-family:"Roboto Slab",Georgia,serif!important;font-size:19px}
body:has(.hero-section) .user-area-card p{color:#718078;font-size:12px;line-height:1.75}
body:has(.hero-section) .user-area-card>a{color:#9a7932;font-size:10px;font-weight:800}
body:has(.hero-section) .school-scope{background:#f0f4eb;padding:22px 0;text-align:center;color:var(--lem-forest)}
body:has(.hero-section) .school-scope strong{display:block;font-family:"Roboto Slab",Georgia,serif;font-size:22px}
body:has(.hero-section) .school-scope span{font-size:12px;color:#65746b}
body:has(.hero-section) .statistics-section{background:linear-gradient(110deg,rgba(3,48,37,.96),rgba(7,78,58,.92)),var(--lem-forest);padding:48px 0}
body:has(.hero-section) .statistics-overlay{display:none}
body:has(.hero-section) .stat-item{color:#fff}
body:has(.hero-section) .stat-item strong{color:#fff;font-family:"Roboto Slab",Georgia,serif!important;font-size:34px}
body:has(.hero-section) .stat-item span{color:#d8e5dc;font-size:10px;letter-spacing:1.2px}
body:has(.hero-section) .stat-icon{color:var(--lem-gold)}
body:has(.hero-section) .information-section{padding:76px 0;background:#f7f8f3}
body:has(.hero-section) .announcement-card,
body:has(.hero-section) .event-item,
body:has(.hero-section) .news-card{background:#fff;border:1px solid #e7ece6;border-radius:8px;box-shadow:0 6px 22px rgba(8,47,35,.045);overflow:hidden}
body:has(.hero-section) .announcement-date,.body:has(.hero-section) .news-date{background:var(--lem-forest);color:#fff}
body:has(.hero-section) .news-section{padding:76px 0;background:#fff}
body:has(.hero-section) .news-image img{width:100%;height:205px;object-fit:cover}
body:has(.hero-section) .news-content{padding:20px}
body:has(.hero-section) .news-content>span{color:#9a7932;font-size:9px;font-weight:800;letter-spacing:1.2px}
body:has(.hero-section) .news-content h3{font-family:"Roboto Slab",Georgia,serif!important;color:var(--lem-forest);font-size:16px;line-height:1.4}
body:has(.hero-section) .news-content p{color:#748078;font-size:11px;line-height:1.7}
body:has(.hero-section) .news-content a{color:#9a7932;font-size:9px;font-weight:800}
body:has(.hero-section) .portal-call{background:linear-gradient(110deg,#063f32,#0b5945);padding:42px 0}
body:has(.hero-section) .portal-call h2{font-family:"Roboto Slab",Georgia,serif!important;color:#fff;font-size:clamp(22px,2.8vw,32px)}
body:has(.hero-section) .portal-call p{color:#e0ebe4;font-size:12px}
body:has(.hero-section) .portal-call .btn-light{background:var(--lem-gold);color:#173b2f!important;border-radius:4px;font-weight:800}
body:has(.hero-section) .main-footer{background:#042f26;color:#e4eee7}
body:has(.hero-section) .main-footer h3,
body:has(.hero-section) .main-footer strong{color:#fff}
body:has(.hero-section) .main-footer p,
body:has(.hero-section) .main-footer li,
body:has(.hero-section) .main-footer a{color:#c7d7cd}
body:has(.hero-section) .main-footer a:hover{color:var(--lem-gold)}
body:has(.hero-section) .footer-bottom{background:#03251e;border-top:1px solid rgba(255,255,255,.1)}
body:has(.hero-section) .lem-institutional-signature{background:#03251e;border:0;margin:0}
body:has(.hero-section) .lem-institutional-signature .slogan-assinatura{color:#e3c779!important}
@media(max-width:1000px){
 body:has(.hero-section) .quick-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:has(.hero-section) .main-navigation>ul{gap:10px}
 body:has(.hero-section) .main-navigation>ul>li>a{font-size:9px}
}
@media(max-width:760px){
 body:has(.hero-section) .top-contact span:nth-child(n+2){display:none}
 body:has(.hero-section) .header-content{min-height:74px}
 body:has(.hero-section) .school-logo .logo-symbol,body:has(.hero-section) .school-logo .logo-symbol img{width:48px;height:48px}
 body:has(.hero-section) .mobile-menu-button{background:var(--lem-forest);color:#fff;border-radius:6px;width:42px;height:42px}
 body:has(.hero-section) .main-navigation{display:none}
 body:has(.hero-section) .main-navigation.mobile-active{display:block;position:absolute;top:100%;left:0;right:0;background:#fff;padding:14px 4%;box-shadow:0 12px 22px rgba(0,0,0,.1)}
 body:has(.hero-section) .main-navigation.mobile-active>ul{display:flex;flex-direction:column;align-items:stretch;gap:0}
 body:has(.hero-section) .main-navigation.mobile-active>ul>li>a{display:block;padding:12px;border-bottom:1px solid #edf0eb}
 body:has(.hero-section) .hero-section{min-height:530px}
 body:has(.hero-section) .hero-content{padding-top:94px;padding-bottom:75px}
 body:has(.hero-section) .hero-text h2{font-size:clamp(31px,8vw,43px)}
 body:has(.hero-section) .quick-access{margin-top:0;padding:20px 0 36px}
 body:has(.hero-section) .quick-access-grid{grid-template-columns:1fr}
 body:has(.hero-section) .quick-card{min-height:0;padding:17px}
 body:has(.hero-section) .about-grid{grid-template-columns:1fr}
 body:has(.hero-section) .about-image img{height:270px}
 body:has(.hero-section) .services-grid{grid-template-columns:1fr}
 body:has(.hero-section) .user-area-grid{grid-template-columns:1fr}
 body:has(.hero-section) .statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
 body:has(.hero-section) .information-grid{grid-template-columns:1fr}
 body:has(.hero-section) .news-grid{grid-template-columns:1fr}
 body:has(.hero-section) .portal-call-content{align-items:flex-start;flex-direction:column;gap:18px}
 body:has(.hero-section) .footer-grid{grid-template-columns:1fr 1fr;gap:25px}
}
@media(max-width:420px){
 body:has(.hero-section) .footer-grid{grid-template-columns:1fr}
 body:has(.hero-section) .statistics-grid{grid-template-columns:1fr 1fr}
 body:has(.hero-section) .hero-buttons{flex-direction:column;align-items:stretch}
 body:has(.hero-section) .hero-buttons .btn{justify-content:center}
}

/* Emblema oficial transparente — sem quadrado, fundo ou recorte */
.emblema-institucional,
.logo-symbol img,
.brand-icon img,
.direction-brand img,
.brand img[src*="liceu-emblema"],
.logo-area img.logo{
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  mix-blend-mode:normal!important;
}
.logo-symbol,.brand-icon{background:transparent!important;border:0!important;box-shadow:none!important}
.logo-symbol img{width:64px;height:64px}
.direction-brand img{width:58px;height:58px}
.logo-area img.logo{max-width:112px;max-height:112px}
@media(max-width:760px){.logo-symbol img{width:48px;height:48px}}

/* Emblema institucional: preservar transparência real do PNG em qualquer fundo. */
img[src*="liceu-emblema.png"], .emblema-institucional { background: transparent !important; border: 0 !important; box-shadow: none !important; mix-blend-mode: normal !important; object-fit: contain; }
