/* Colégio Ômega — Home: seção "Último evento" (arte + celular com os vídeos mais vistos) */
.h-ult { --ev: #FF6B1A; --ev2: #FFC93C; position: relative; padding: clamp(64px, 9vw, 110px) 0; background: var(--fundo2); overflow: hidden; }
.h-ult::before { content: ''; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ev) 22%, transparent), transparent 65%); pointer-events: none; }
.h-ult-in { position: relative; width: min(1200px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }

/* ---------- arte (pôster) ---------- */
.h-ult-arte { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; color: #fff; text-decoration: none; background: #3a1606; box-shadow: 0 30px 70px rgba(58, 22, 6, .35); isolation: isolate; transform: rotate(-1.2deg); transition: transform .5s; }
.h-ult-arte:hover { transform: rotate(0) scale(1.01); }
.h-ult-fundo { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; filter: saturate(1.15); transform: scale(1.06); }
.h-ult-raios { position: absolute; inset: -40%; z-index: -2; background: repeating-conic-gradient(from 0deg at 50% 62%, rgba(255, 201, 60, .16) 0deg 7deg, transparent 7deg 18deg); animation: ult-gira 60s linear infinite; mix-blend-mode: screen; }
.h-ult-arte::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 10, 2, .55) 0%, rgba(120, 40, 5, .35) 38%, rgba(30, 10, 2, .92) 100%); }
@keyframes ult-gira { to { transform: rotate(360deg); } }
.h-ult-moldura { position: absolute; inset: 14px; border: 2px dashed rgba(255, 201, 60, .55); border-radius: 22px; pointer-events: none; }
.h-ult-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 9% 8% 7%; }
.h-ult-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--ev2); color: #3a1606; font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: 3px; text-transform: uppercase; padding: 8px 20px; border-radius: 99px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.h-ult-nome { margin: auto 0 0; font-family: 'Rye', var(--disp); font-weight: 400; line-height: .95; text-shadow: 0 4px 0 #3a1606, 0 10px 30px rgba(0, 0, 0, .55); }
.h-ult-nome span { display: block; font-size: clamp(40px, 6.2vw, 78px); color: #fff; }
.h-ult-nome small { display: block; font-size: clamp(22px, 3vw, 38px); color: var(--ev2); margin-top: 6px; }
.h-ult-ano { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(80px, 12vw, 156px); line-height: .85; color: transparent; -webkit-text-stroke: 3px var(--ev2); letter-spacing: 4px; margin-top: 4px; text-shadow: none; }
.h-ult-faixa { position: relative; margin-top: 18px; background: var(--ev); color: #fff; font-family: var(--disp); font-weight: 800; font-size: clamp(16px, 2vw, 22px); letter-spacing: 1.5px; text-transform: uppercase; padding: 10px 34px; transform: rotate(-2deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.h-ult-faixa::before, .h-ult-faixa::after { content: ''; position: absolute; top: 8px; width: 22px; height: 100%; background: #b8450c; z-index: -1; }
.h-ult-faixa::before { left: -14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.h-ult-faixa::after { right: -14px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.h-ult-data { margin-top: 18px; font-weight: 600; font-size: 15px; letter-spacing: .5px; color: rgba(255, 255, 255, .88); }
.h-ult-estrela { position: absolute; color: var(--ev2); font-size: 22px; opacity: .85; animation: ult-pisca 2.4s ease-in-out infinite; }
@keyframes ult-pisca { 50% { opacity: .25; transform: scale(.8); } }
.h-ult-polaroid { position: absolute; width: 27%; background: #fff; padding: 6px 6px 22px; border-radius: 4px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.h-ult-polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.h-ult-polaroid.p1 { left: -2%; top: 30%; transform: rotate(-9deg); }
.h-ult-polaroid.p2 { right: -2%; top: 24%; transform: rotate(8deg); }
.h-ult-acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- celular com os vídeos ---------- */
.h-ult-lado { display: flex; flex-direction: column; align-items: center; text-align: center; }
.h-ult-lado .sobre-tit { justify-content: center; }
.h-ult-lado h2 { color: var(--navy); font-size: clamp(30px, 3.6vw, 44px); margin: 6px 0 22px; }
.h-cel-area { position: relative; display: flex; align-items: center; gap: 18px; }
.h-cel { position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 19.2; border-radius: 48px; background: #0b0d10; padding: 12px; box-shadow: 0 0 0 2px #2b2f36, 0 0 0 5px #0b0d10, 0 40px 80px rgba(8, 38, 58, .35); }
.h-cel::before { content: ''; position: absolute; z-index: 5; left: 50%; top: 22px; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #0b0d10; }
.h-cel::after { content: ''; position: absolute; right: -7px; top: 118px; width: 4px; height: 64px; border-radius: 0 4px 4px 0; background: #2b2f36; }
.h-cel-tela { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.h-cel-trilho { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.h-cel-trilho::-webkit-scrollbar { display: none; }
.h-cel-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.h-cel-slide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.h-cel-capa { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; text-align: left; }
.h-cel-capa img { width: 100%; height: 100%; object-fit: cover; }
.h-cel-capa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent 42%), linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%); }
.h-cel-rank { position: absolute; z-index: 2; left: 16px; top: 58px; background: var(--ev); color: #fff; font-family: var(--disp); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.h-cel-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); border: 2px solid rgba(255, 255, 255, .7); transition: transform .3s, background .3s; }
.h-cel-play::after { content: ''; position: absolute; left: 27px; top: 20px; border-style: solid; border-color: transparent transparent transparent #fff; border-width: 13px 0 13px 21px; }
.h-cel-capa:hover .h-cel-play { transform: scale(1.1); background: var(--ev); border-color: var(--ev); }
.h-cel-info { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 34px; color: #fff; }
.h-cel-info b { display: block; font-size: 17px; line-height: 1.25; margin-bottom: 6px; }
.h-cel-info span { font-size: 13px; opacity: .85; }
.h-cel-pontos { position: absolute; z-index: 6; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.h-cel-pontos i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.h-cel-pontos i.on { width: 22px; background: #fff; }
.h-cel-seta { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 30px; line-height: 1; display: grid; place-items: center; padding-bottom: 4px; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.h-cel-seta:hover { background: var(--ev); transform: scale(1.08); }
.h-cel-seta[disabled] { opacity: .3; cursor: default; transform: none; background: var(--navy); }
.h-ult-dica { margin-top: 18px; font-size: 14px; color: #5b6b78; }

@media (max-width: 900px) {
  .h-ult-in { grid-template-columns: minmax(0, 1fr); }
  .h-ult-arte { max-width: 520px; width: 100%; margin: 0 auto; transform: none; }
  .h-ult-acoes { justify-content: center; }
}
@media (max-width: 520px) {
  .h-cel { width: min(270px, 66vw); border-radius: 42px; padding: 10px; }
  .h-cel-tela { border-radius: 33px; }
  .h-cel::before { top: 18px; width: 80px; height: 22px; margin-left: -40px; }
  .h-cel-seta { width: 36px; height: 36px; font-size: 22px; }
  .h-cel-area { gap: 6px; }
  .h-ult-polaroid { width: 25%; }
  .h-ult-faixa { font-size: 13px; letter-spacing: .5px; padding: 8px 18px; white-space: nowrap; }
  .h-ult-faixa::before, .h-ult-faixa::after { width: 16px; top: 6px; }
  .h-ult-faixa::before { left: -10px; }
  .h-ult-faixa::after { right: -10px; }
  .h-ult-data { font-size: 13px; }
}
