/* Colégio Ômega — cabeçalho e menu (site inteiro e landings de eventos) */
.omg-topo { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 9990; font-family: 'Barlow', system-ui, sans-serif; line-height: 1.4; -webkit-font-smoothing: antialiased; }
.omg-topo *, .omg-topo *::before, .omg-topo *::after { box-sizing: border-box; }
.omg-topo a { text-decoration: none; }
.omg-topo ul { list-style: none; margin: 0; padding: 0; }
.omg-aviso { background: #FF822B; color: #0B2A3F; text-align: center; font-size: 14px; font-weight: 600; padding: 7px 16px; margin: 0; }
.omg-aviso a { color: inherit; border-bottom: 1px solid currentColor; }
.omg-nav { background: #08263A; display: flex; align-items: center; justify-content: space-between; padding: 10px clamp(16px, 4vw, 48px); position: relative; }
.omg-logo img { height: 52px; width: auto; display: block; }
.omg-links { display: flex; align-items: center; gap: 2px; }
.omg-links > li { position: relative; }
.omg-links > li > a { display: block; padding: 10px 13px; color: #fff; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; border-radius: 10px; transition: background .2s; }
.omg-links > li > a:hover, .omg-links > li.omg-ativo > a { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 -3px 0 #FF822B; }
.omg-links b { font-size: 11px; opacity: .8; font-weight: 400; }
.omg-btn-mat { background: #FF822B !important; color: #0B2A3F !important; margin-left: 8px; }
.omg-menu-btn { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; background: none; border: 0; cursor: pointer; }
.omg-menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* submenus simples (O Colégio, Ensino, Acesso restrito) */
.omg-sub { position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(8, 38, 58, .18); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.omg-tem-sub:hover > .omg-sub, .omg-tem-sub:focus-within > .omg-sub { opacity: 1; visibility: visible; transform: none; }
.omg-sub a { display: block; padding: 9px 12px; border-radius: 9px; color: #1B2733; font-weight: 600; font-size: 15px; }
.omg-sub a:hover { background: #F4F7FA; color: #0D4D7D; }

/* painel de eventos: evento × ano */
.omg-tem-mega { position: static !important; }
.omg-mega { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 10px); width: min(1100px, calc(100vw - 32px)); background: #fff; border-radius: 0 0 18px 18px; box-shadow: 0 14px 34px rgba(8, 38, 58, .18); padding: 24px; opacity: 0; visibility: hidden; transition: .25s; }
.omg-tem-mega:hover .omg-mega, .omg-tem-mega:focus-within .omg-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.omg-mega-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.omg-mega-col { border-left: 3px solid var(--c, #1A75B8); padding: 4px 0 4px 12px; }
.omg-mega-tit { display: flex; gap: 6px; font-weight: 700; color: #1B2733; font-size: 15px; }
.omg-mega-anos { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.omg-mega-anos a { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #F4F7FA; color: #5A6875; }
.omg-mega-anos a:hover, .omg-mega-anos a.omg-ativo { background: var(--c, #1A75B8); color: #fff; }
.omg-mega-todos { display: inline-block; margin-top: 16px; font-weight: 700; color: #1A75B8; }

@media (max-width: 1024px) {
  .omg-menu-btn { display: flex; }
  .omg-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #08263A; padding: 8px 16px 18px; max-height: calc(100vh - 110px); overflow-y: auto; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
  .omg-nav.omg-aberto .omg-links { display: flex; }
  .omg-btn-mat { margin: 8px 0 0; text-align: center; }
  .omg-sub, .omg-mega { position: static; transform: none !important; width: auto; opacity: 1; visibility: visible; display: none; box-shadow: none; margin: 4px 0 8px; border-radius: 14px; }
  .omg-mega { padding: 14px; }
  .omg-tem-sub.omg-aberto > .omg-sub, .omg-tem-mega.omg-aberto .omg-mega { display: block; }
  .omg-logo img { height: 44px; }
}
@media (max-width: 520px) { .omg-aviso { font-size: 12.5px; } }

/* painéis com cartões (O Colégio, Ensino) */
.omg-cards { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 14px; }
.omg-card { display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 12px; border-radius: 16px; color: #1B2733; transition: background .2s, transform .2s; }
.omg-card:hover, .omg-card.omg-ativo { background: #F4F7FA; transform: translateY(-3px); }
.omg-card-img { display: block; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; border-bottom: 4px solid var(--c); margin-bottom: 8px; }
.omg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.omg-card:hover .omg-card-img img { transform: scale(1.07); }
.omg-card strong { font-size: 16px; font-weight: 700; color: #0B2A3F; }
.omg-card small { font-size: 13px; color: #5A6875; line-height: 1.35; }
.omg-card-cta { background: #0D4D7D; color: #fff; padding: 18px; justify-content: flex-end; }
.omg-card-cta:hover { background: #08263A; }
.omg-card-cta strong { color: #fff; font-size: 19px; line-height: 1.15; }
.omg-card-cta small { color: rgba(255, 255, 255, .8); }
.omg-card-cta b { margin-top: 10px; color: #FF822B; font-size: 14px; }
@media (max-width: 1024px) {
  .omg-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .omg-card { padding: 6px 6px 10px; }
  .omg-card-img { aspect-ratio: 16/9; margin-bottom: 4px; }
  .omg-card strong { font-size: 15px; }
  .omg-card-cta { grid-column: span 2; padding: 14px; }
}

/* ponte entre o item e o painel + fechamento com atraso (o painel não fecha no caminho do mouse) */
@media (min-width: 1025px) {
  .omg-mega::before, .omg-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
  .omg-mega, .omg-sub { transition: opacity .25s, transform .25s, visibility 0s linear .3s; transition-delay: .3s; }
  .omg-tem-mega:hover .omg-mega, .omg-tem-mega:focus-within .omg-mega,
  .omg-tem-sub:hover > .omg-sub, .omg-tem-sub:focus-within > .omg-sub { transition: opacity .25s, transform .25s, visibility 0s; transition-delay: 0s; }
}


/* rodapé novo (todas as páginas) */
.omg-rodape { position: relative; margin-top: 110px; overflow: visible; }
.omg-ondas { position: absolute; left: 0; right: 0; bottom: 100%; height: 110px; overflow: hidden; pointer-events: none; line-height: 0; }
.omg-ondas svg { width: 200%; height: 100%; display: block; }
.omg-ondas .o1 { animation: omg-onda 18s linear infinite; }
.omg-ondas .o2 { animation: omg-onda 12s linear infinite reverse; }
.omg-ondas .o3 { animation: omg-onda 24s linear infinite; }
@keyframes omg-onda { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.omg-rodape::before { content: 'Ω'; position: absolute; right: 2%; bottom: 0; font-family: Georgia, serif; font-size: 360px; line-height: 1; color: rgba(255, 255, 255, .035); pointer-events: none; }
.omg-rodape::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #FF822B, #FFAA6D 30%, #1485DB 70%, #0D4D7D); }

.omg-rodape { background: #08263A; color: rgba(255, 255, 255, .78); font-family: 'Barlow', system-ui, sans-serif; font-size: 15px; line-height: 1.55; padding: 64px clamp(16px, 4vw, 48px) 24px; }
.omg-rodape *, .omg-rodape *::before { box-sizing: border-box; }
.omg-rodape a { color: #fff; text-decoration: none; }
.omg-rodape ul { list-style: none; margin: 0; padding: 0; }
.omg-rod-in { width: min(1200px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.5fr; gap: 40px; }
.omg-rodape h4 { font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-size: 20px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 16px; }
.omg-rodape h4::after { content: ''; display: block; width: 32px; height: 3px; border-radius: 3px; background: #FF822B; margin-top: 8px; }
.omg-rod-marca img { height: 56px; width: auto; margin-bottom: 14px; }
.omg-rod-marca p { margin: 0 0 16px; }
.omg-redes { display: flex; gap: 10px; }
.omg-redes a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.omg-redes a:hover { background: #FF822B; color: #0B2A3F; transform: translateY(-2px); }
.omg-rod-links li, .omg-rod-contato li { margin-bottom: 8px; }
.omg-rod-links a:hover, .omg-rod-contato a:hover { color: #FFAA6D; }
.omg-rod-btn { display: inline-block; margin-top: 8px; background: #FF822B; color: #0B2A3F !important; font-weight: 700; padding: 10px 22px; border-radius: 99px; }
.omg-rod-blog li { margin-bottom: 14px; }
.omg-rod-blog li a { display: flex; gap: 12px; align-items: center; }
.omg-rod-blog img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.omg-rod-blog strong { display: block; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.omg-rod-blog small { color: #FFAA6D; font-size: 13px; }
.omg-rod-blog li a:hover strong { color: #FFAA6D; }
.omg-rod-mais { font-weight: 700; color: #FFAA6D !important; }
.omg-rod-base { width: min(1200px, 100%); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.omg-rod-pagto { display: flex; align-items: center; gap: 16px; }
.omg-rod-pagto span { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 1px; color: #fff; line-height: 1.15; }
.omg-rod-pag { height: 84px; width: auto; background: #fff; padding: 8px; border-radius: 12px; }
.omg-rod-base p { margin: 0; font-size: 13px; opacity: .7; }
@media (max-width: 1024px) { .omg-rod-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .omg-rod-in { grid-template-columns: 1fr; gap: 32px; } .omg-rod-base { justify-content: center; text-align: center; } }
