*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f7faf7;color:#243326}header{background:#fff;border-bottom:1px solid #e5ebe5;padding:14px 5%;display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#234b2b;font-weight:700}.brand img{width:46px;height:46px;object-fit:cover;border-radius:8px}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}nav a{color:#315438;text-decoration:none}.login,.button,button{background:#315f38;color:#fff!important;border:0;border-radius:7px;padding:10px 16px;text-decoration:none}main{max-width:1100px;margin:auto;padding:45px 22px;min-height:75vh}.hero{background:#eef7ed;border-radius:16px;padding:42px;margin-bottom:25px}.hero h1{font-size:38px;margin-top:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.card,article{background:#fff;padding:24px;border-radius:12px;border:1px solid #e2e9e2;box-shadow:0 4px 15px #00000008}.newsimg{width:100%;height:180px;object-fit:cover;border-radius:8px}form{display:grid;gap:12px}input,textarea{width:100%;padding:12px;border:1px solid #ccd8cc;border-radius:7px;font:inherit}textarea{min-height:130px}footer{text-align:center;padding:24px;background:#edf4ed;color:#49624c}@media(max-width:800px){header{align-items:flex-start;flex-direction:column}nav{gap:10px}.hero h1{font-size:30px}}
/* v12 - identidade institucional: logotipo apenas no cabecalho */
footer .footer-logo,
footer img[src*="liceu-logo"],
.card img[src*="liceu-logo"],
article img[src*="liceu-logo"] { display:none !important; }
header .brand img { width:46px !important; height:46px !important; max-width:46px !important; object-fit:contain !important; }
footer.lem-assinatura-rodape {
  display:flex; align-items:center; justify-content:center;
  width:100%; box-sizing:border-box; min-height:58px;
  margin:0; padding:10px 16px; background:#edf4ed;
  border-top:1px solid #dfe8df; text-align:center;
}
footer.lem-assinatura-rodape .lem-slogan-original {
  display:block; width:min(260px,70vw); height:auto; max-height:34px;
  object-fit:contain; margin:0 auto;
}

/* CORRECAO V13: emblema somente no cabecalho; nunca como imagem de conteudo/cartao. */
main img[src*="liceu-logo"], main img[src*="logo.jpg"], .card img[src*="logo"], article img[src*="logo"], .content img[src*="logo"], .page-content img[src*="logo"] { display:none !important; }
header .brand img, header img[src*="liceu-logo"], header img[src*="logo.jpg"] { display:block !important; width:46px !important; height:46px !important; max-width:46px !important; object-fit:contain !important; }
footer.lem-assinatura-rodape { display:flex !important; width:100% !important; min-height:52px !important; align-items:center !important; justify-content:center !important; margin:0 !important; padding:10px 12px !important; box-sizing:border-box !important; }
footer.lem-assinatura-rodape img.lem-slogan-original { display:block !important; width:min(243px,72vw) !important; height:auto !important; max-height:29px !important; object-fit:contain !important; margin:0 auto !important; }
footer.lem-assinatura-rodape img:not(.lem-slogan-original) { display:none !important; }


/* Redes sociais: garantir visibilidade dos ícones React e fallback visual. */
.main-footer .social-links {display:flex !important;align-items:center;gap:10px;min-height:36px}
.main-footer .social-links a,.main-footer .social-links .social-link-pending {
 box-sizing:border-box;width:34px;height:34px;min-width:34px;display:inline-flex !important;
 align-items:center;justify-content:center;border-radius:50%;background:#174f42;color:#fff;
 border:1px solid rgba(255,255,255,.28);text-decoration:none
}
.main-footer .social-links .social-link-pending {opacity:.9;cursor:default}
.main-footer .social-links .lem-react-icon {display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:inherit;font-size:19px;font-weight:700;line-height:1}
.main-footer .social-links .lem-react-icon:empty::before {content:attr(data-fallback);display:inline-block}
.main-footer .social-links svg {display:block;width:19px;height:19px;stroke:currentColor}
