/* Colégio Ômega — Home nova */
.home-nova { --acc: #FF822B; --acc2: #FF822B; --btn-tx: #0B2A3F; }
.home-nova .sobre-tit { color: #E8650F; }
.home-nova .sobre-tit::before { background: #FF822B; }
.centro-txt { text-align: center; }
.centro-txt .sobre-tit::before { display: none; }
.h-cab-linha { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.btn-claro2 { background: transparent; color: var(--azul); border: 2px solid var(--azul); box-shadow: none; }

/* topo com vídeo */
.h-hero { position: relative; min-height: min(92vh, 820px); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--navy); }
.h-hero-video { position: absolute; inset: 0; }
.h-hero-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(56.25vw, 100vh); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.h-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 38, 58, .88) 0%, rgba(8, 38, 58, .55) 50%, rgba(8, 38, 58, .2) 100%), linear-gradient(0deg, rgba(8, 38, 58, .7), transparent 40%); }
.h-hero-in { position: relative; z-index: 2; width: min(1200px, 100%); margin: 0 auto; padding: 60px clamp(16px, 4vw, 48px) 120px; }
.h-selo { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); padding: 7px 16px; border-radius: 99px; animation: sobe .8s both; }
.h-hero h1 { font-size: clamp(48px, 8.5vw, 112px); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 18px 0 16px; max-width: 900px; animation: sobe .8s .1s both; }
.h-hero h1 em { font-style: normal; color: var(--amarelo); display: block; }
.h-hero-in > p { font-size: clamp(18px, 2.2vw, 23px); max-width: 600px; opacity: .95; animation: sobe .8s .2s both; }
.h-acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; animation: sobe .8s .3s both; }
.h-acoes .btn { --acc: var(--amarelo); color: #0B2A3F; }
.h-acoes .btn-claro { color: #fff; }
.h-palavras { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; overflow: hidden; padding: 14px 0; background: rgba(8, 38, 58, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .14); }
.h-pal-trilho { display: flex; align-items: center; gap: 26px; width: max-content; padding-right: 26px; white-space: nowrap; will-change: transform; }
.h-pal-trilho i { font-style: normal; font-family: Georgia, serif; font-size: 22px; color: #FF822B; }
.h-pal-trilho span { line-height: 1.1; color: #fff; }
.h-pal-trilho .f1 { font-family: var(--disp); font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: .5px; }
.h-pal-trilho .f2 { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; font-size: 30px; color: #FFAA6D; }
.h-pal-trilho .f3 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 38px; }
.h-pal-trilho .f4 { font-family: var(--disp); font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: 1px; color: transparent; -webkit-text-stroke: 1.5px #fff; }

/* etapas de ensino: slides de 3 cartões ligados */
.h-seg { padding: clamp(64px, 9vw, 110px) 0; overflow: hidden; }
.h-et-ctrl { display: flex; align-items: center; gap: 14px; }
.h-et-seta { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 32px; line-height: 1; display: grid; place-items: center; padding-bottom: 4px; transition: background .2s, transform .2s; }
.h-et-seta:hover { background: var(--azul2); transform: scale(1.06); }
.h-et-pontos { display: flex; gap: 8px; }
.h-et-pontos button { width: 10px; height: 10px; padding: 0; border-radius: 99px; background: var(--linha); transition: .3s; }
.h-et-pontos button.ativo { width: 30px; background: var(--amarelo); }
.h-et-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.h-et-trilho::-webkit-scrollbar { display: none; }
.h-et-grupo { flex: 0 0 100%; scroll-snap-align: start; padding-top: 8px; }
/* selo + linha que liga os 3 cartões */
.h-et-liga { position: relative; height: 56px; margin: 0 calc(100% / 8); }
.h-et-liga::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--g); opacity: .5; }
.h-et-liga::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 30px; border: 4px solid color-mix(in srgb, var(--g) 50%, transparent); border-bottom: 0; border-radius: 14px 14px 0 0; }
.h-et-liga span { position: relative; z-index: 1; display: table; margin: 0 auto; background: var(--g); color: #fff; font-family: var(--disp); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 1px; padding: 8px 26px; border-radius: 99px; box-shadow: 0 8px 22px color-mix(in srgb, var(--g) 40%, transparent); }
.h-et-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 4px 30px; }
.h-et-card { position: relative; display: block; height: clamp(420px, 36vw, 500px); border-radius: 24px; text-decoration: none; color: #fff; box-shadow: var(--sombra); transition: transform .4s, box-shadow .4s; }
.h-et-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(8, 38, 58, .25); }
.h-et-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.h-et-card::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(0deg, color-mix(in srgb, var(--c) 92%, #000) 0%, color-mix(in srgb, var(--c) 55%, transparent) 40%, transparent 68%); }
/* bolinha no alto de cada cartão, presa à linha */
.h-et-no { position: absolute; z-index: 3; top: 0; left: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #fff; border: 6px solid var(--c); box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.h-et-txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; }
.h-et-txt em { font-style: normal; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 99px; }
.h-et-txt h3 { font-size: clamp(26px, 2.35vw, 36px); margin: 10px 0 6px; white-space: nowrap; }
.h-et-cta .h-et-txt h3 { white-space: normal; }
.h-et-txt p { font-size: 15px; opacity: .95; line-height: 1.5; margin-bottom: 14px; }
.h-et-txt b { display: inline-block; font-size: 15px; background: #fff; color: var(--c); padding: 9px 18px; border-radius: 99px; transition: transform .2s; }
.h-et-card:hover .h-et-txt b { transform: translateX(4px); }
.h-et-grupo-mob { display: none; }
/* animações dos cartões (só com JS ativo: .h-et-anim) */
.h-et-grupo { transition: transform .75s cubic-bezier(.65, 0, .25, 1); }
.h-et-anim .h-et-card { opacity: 1; }
.h-et-anim .h-et-card.entra, .h-et-anim .h-et-card.entra-d, .h-et-anim .h-et-card.entra-e { animation: .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 110ms) both; }
.h-et-card.entra { animation-name: et-sobe; }
.h-et-card.entra-d { animation-name: et-direita; animation-delay: calc(150ms + var(--i, 0) * 90ms) !important; }
.h-et-card.entra-e { animation-name: et-esquerda; animation-delay: calc(150ms + (3 - var(--i, 0)) * 90ms) !important; }
@keyframes et-sobe { from { opacity: 0; transform: translateY(70px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes et-direita { from { opacity: 0; transform: translateX(120px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes et-esquerda { from { opacity: 0; transform: translateX(-120px) rotate(-3deg); } to { opacity: 1; transform: none; } }
.h-et-anim .h-et-liga::before, .h-et-anim .h-et-liga::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.65, 0, .25, 1) .1s; }
.h-et-anim .h-et-liga.desenha::before, .h-et-anim .h-et-liga.desenha::after { transform: scaleX(1); }
.h-et-anim .h-et-liga span { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transform: scale(.6); }
.h-et-anim .h-et-liga.desenha span { transform: scale(1); }
@media (min-width: 761px) { .h-et-trilho { overflow: hidden; scroll-snap-type: none; } }
/* cartão-convite */
.h-et-cta { background: radial-gradient(circle at 80% 15%, #FFAA6D, transparent 55%), linear-gradient(160deg, #FF822B, #E8650F); }
.h-et-cta::after { display: none; }
.h-et-cta .h-et-txt { color: #0B2A3F; }
.h-et-cta .h-et-txt em { background: rgba(255, 255, 255, .35); }
.h-et-cta .h-et-txt b { background: #0D4D7D; color: #fff; }
.h-et-omega { position: absolute; right: 18px; top: -230px; font-family: Georgia, serif; font-size: 220px; line-height: 1; color: rgba(255, 255, 255, .22); }

/* sobre */
.h-sobre { padding: 0; background: var(--fundo2); overflow: hidden; }
.h-sobre-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch; width: 100%; max-width: none; padding: 0; min-height: min(86vh, 760px); }
.h-sobre-in > div:last-child { align-self: center; padding: clamp(56px, 8vw, 110px) clamp(16px, 5vw, 80px); max-width: 640px; }
.h-sobre h2 { color: var(--navy); margin-bottom: 18px; font-size: clamp(36px, 4.6vw, 58px); }
.h-sobre p { color: var(--tx2); margin-bottom: 16px; }
.h-sobre .lead { font-size: 20px; color: var(--tx); border-left: 4px solid var(--amarelo); padding-left: 18px; }
.h-sobre .btn { margin-top: 8px; }
.h-sobre-fotos { position: relative; min-height: 520px; }
.h-sobre-fotos .f1 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 48px 48px 0; }
.h-sobre-fotos::after { content: ''; position: absolute; inset: 0; border-radius: 0 48px 48px 0; background: linear-gradient(90deg, transparent 55%, rgba(8, 38, 58, .25)); pointer-events: none; }
.h-sobre-fotos .f2 { position: absolute; z-index: 2; right: -60px; bottom: 60px; width: min(260px, 34%); aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 8px solid #fff; box-shadow: 0 20px 44px rgba(8, 38, 58, .3); filter: sepia(.25); transform: rotate(3deg); }
.h-sobre-selo { position: absolute; z-index: 2; left: clamp(16px, 4vw, 48px); bottom: 48px; background: var(--amarelo); color: #0B2A3F; font-family: var(--disp); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; padding: 18px 24px; border-radius: 18px; transform: rotate(-4deg); box-shadow: var(--sombra); }

/* pilares */
.h-pilares { padding: clamp(64px, 9vw, 110px) 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.h-pilares::before { content: 'Ω'; position: absolute; right: -40px; top: -80px; font-size: 480px; line-height: 1; color: rgba(255, 255, 255, .04); font-family: Georgia, serif; }
.h-pilares .sobre-tit { color: var(--amarelo); }
.h-pil-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.h-pil { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 30px 26px; transition: background .3s, transform .3s; }
.h-pil:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.h-pil i { font-style: normal; font-size: 40px; display: block; margin-bottom: 12px; }
.h-pil h3 { font-size: 32px; color: var(--amarelo); margin-bottom: 10px; }
.h-pil p { opacity: .85; font-size: 16px; }

/* fundo dos pilares: professora em sala, transparente e em movimento lento */
.h-pil-bg { position: absolute; inset: 0; overflow: hidden; }
.h-pil-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.2); animation: pil-mov 26s ease-in-out infinite alternate; }
.h-pil-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 38, 58, .45), rgba(8, 38, 58, .78)); }
@keyframes pil-mov { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-3%, -2%); } }
.h-pilares .sec-in { position: relative; z-index: 1; }

/* atividades: faixa rolando */
.h-ativ { padding: clamp(64px, 9vw, 110px) 0; overflow: hidden; }
.h-ativ-trilho { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 8px clamp(16px, 4vw, 48px) 12px; cursor: grab; }
.h-ativ-trilho::-webkit-scrollbar { display: none; }
.h-ativ-item { position: relative; width: clamp(240px, 24vw, 330px); aspect-ratio: 3/4; border-radius: 26px; overflow: hidden; flex: none; text-decoration: none; box-shadow: var(--sombra); }
.h-ativ-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.h-ativ-item:hover img { transform: scale(1.08); }
.h-ativ-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 38, 58, .9), transparent 55%); }
.h-ativ-item span { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff; font-family: var(--disp); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; }
.h-ativ-item small { display: block; font-family: 'Barlow', sans-serif; font-weight: 500; font-size: 15px; text-transform: none; line-height: 1.35; margin-top: 8px; opacity: .9; }
.h-ativ-item span::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--amarelo); margin-bottom: 12px; }

/* sistema de ensino: foto dos livros Bernoulli ao fundo */
.h-sistema { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 130px) 0 clamp(56px, 7vw, 90px); color: #fff; background: #0D4D7D; }
.h-sistema::before { content: ""; position: absolute; inset: 0; background: url(https://colegiomegapls.com.br/wp-content/uploads/colegio_omega_educacao-43-1024x567.jpg) right center / cover no-repeat; animation: pil-mov 30s ease-in-out infinite alternate; }
.h-sistema::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0D4D7D 0%, rgba(13, 77, 125, .94) 30%, rgba(13, 77, 125, .55) 58%, rgba(13, 77, 125, .1) 100%), linear-gradient(0deg, rgba(8, 38, 58, .85) 0%, transparent 45%); }
.h-sis-in { position: relative; z-index: 1; display: block; }
.h-sis-in > div:first-child { max-width: 520px; margin-bottom: clamp(48px, 7vw, 110px); }
.h-sistema h2 { font-size: clamp(36px, 4.6vw, 58px); }
.h-sistema .sobre-tit { color: #FFAA6D !important; }
.h-sistema p { opacity: .92; margin: 14px 0 22px; font-size: 18px; }
.h-sis-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-sis { background: rgba(255, 255, 255, .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .25); border-radius: 22px; padding: 24px 26px; color: #fff; }
.h-sis b { display: block; font-family: var(--disp); font-size: 34px; color: #fff; margin-bottom: 6px; }
.h-sis b::after { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: #FF822B; margin-top: 8px; }
.h-sis p { margin: 0; color: rgba(255, 255, 255, .88); opacity: 1; font-size: 15px; }

/* estrutura */
.h-estr { padding: clamp(64px, 9vw, 110px) 0; }
.h-estr-grade { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.h-estr-f { border-radius: 18px; overflow: hidden; }
.h-estr-f:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.h-estr-f:nth-child(6) { grid-column: span 2; }
.h-estr-f img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.h-estr-f:hover img { transform: scale(1.07); }

/* retrospectiva */
.h-retro { padding: clamp(64px, 9vw, 110px) 0; background: var(--navy); color: #fff; }
.h-retro .sobre-tit { color: var(--amarelo); }
.h-retro .yt { max-width: 1000px; margin: 0 auto; --acc: var(--amarelo); }

/* blog */
.h-blog { padding: clamp(64px, 9vw, 110px) 0; }
.h-blog-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-post { text-decoration: none; display: block; }
.h-post-img { aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; margin-bottom: 14px; }
.h-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.h-post:hover img { transform: scale(1.06); }
.h-post span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--azul2); }
.h-post h3 { font-size: 24px; color: var(--navy); margin-top: 4px; }
.h-post:hover h3 { color: var(--azul2); }
.h-post p { color: var(--tx2); font-size: 15px; line-height: 1.55; margin: 8px 0 10px; }
.h-post b { font-size: 15px; color: #E8650F; }

/* contato + mapa */
.h-contato { padding: 0 0 clamp(64px, 9vw, 110px); }
.h-cont-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--sombra); padding: 0; }
.h-cont-txt { background: var(--azul); color: #fff; padding: clamp(28px, 5vw, 56px); }
.h-cont-txt .sobre-tit { color: var(--amarelo); }
.h-cont-txt p { opacity: .9; margin: 10px 0 18px; }
.h-cont-txt ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.h-cont-txt a:not(.btn) { color: #fff; }
.h-mapa { min-height: 380px; }
.h-mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

@media (max-width: 1100px) {
  .h-et-cards { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .h-et-txt { padding: 16px; }
  .h-et-txt p { display: none; }
}
@media (max-width: 900px) {
  .h-sobre-in, .h-sis-in, .h-cont-in { grid-template-columns: 1fr; }
  .h-pil-grade, .h-blog-grade { grid-template-columns: 1fr; }
  .h-estr-grade { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .h-hero { min-height: 88vh; }
  .h-hero-in { padding-bottom: 150px; }
  .h-sis-cards { grid-template-columns: 1fr; }
  .h-sistema::before { background-position: 70% center; opacity: .6; }
}
@media (max-width: 760px) {
  .h-seg .h-cab-linha { display: block; text-align: center; }
  .h-seg .h-cab-linha .sobre-tit { justify-content: center; }
  .h-seg .h-cab-linha .sobre-tit::before { display: none; }
  .h-et-ctrl { justify-content: center; margin: 20px auto 26px; }
  .h-et-trilho { margin-left: -8px; margin-right: -8px; padding: 6px 8px 24px; gap: 14px; scroll-snap-type: x mandatory; scroll-padding-left: 8px; }
  .h-et-grupo { display: contents; transform: none !important; }
  .h-et-anim .h-et-card { opacity: 1; animation: none !important; }
  .h-et-liga, .h-et-no { display: none; }
  .h-et-cards { display: contents; }
  .h-et-card { flex: 0 0 calc(100vw - 22px); width: calc(100vw - 22px); max-width: 430px; height: 540px; scroll-snap-align: start; overflow: hidden; }
  .h-et-card::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c) 94%, #000) 0%, color-mix(in srgb, var(--c) 76%, transparent) 46%, transparent 76%); }
  .h-et-txt { padding: 18px 16px 20px; }
  .h-et-txt em { font-size: 12px; letter-spacing: .8px; padding: 5px 10px; }
  .h-et-txt h3 { font-size: 29px; line-height: 1.05; white-space: normal; }
  .h-et-txt p { display: block; font-size: 14px; line-height: 1.38; margin-bottom: 12px; }
  .h-et-txt b { font-size: 14px; padding: 9px 16px; }
  .h-et-grupo-mob { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .9px; opacity: .9; margin-bottom: 8px; }
  .h-et-seta { width: 44px; height: 44px; font-size: 26px; }
}
@media (max-width: 520px) {
  .h-pal-trilho .f1, .h-pal-trilho .f2, .h-pal-trilho .f4 { font-size: 24px; }
  .h-pal-trilho .f3 { font-size: 30px; }
  .h-sobre-fotos { min-height: 380px; }
  .h-sobre-fotos .f1, .h-sobre-fotos::after { border-radius: 0 0 36px 36px; }
  .h-sobre-fotos .f2 { right: 16px; bottom: -40px; width: 130px; border-width: 5px; }
  .h-sobre-selo { font-size: 17px; }
}
