/* ════════════════════════════════════════════════════════════
   Jornada Pedagógica 2026 — Arapiraca
   Estilos do Site
   ════════════════════════════════════════════════════════════ */

/* ── ALPINE CLOAK ─────────────────────────────────────────── */
[x-cloak] { display: none !important; }

/* ── MARQUEE LOOP ─────────────────────────────────────────── */
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #fff 10%, #fff 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #fff 10%, #fff 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }

/* Cada card do marquee */
.logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 8px;
    padding: 0 12px;
    height: 54px;
    width: 160px;
    background: rgba(248,250,252,0.6);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
@media (min-width: 640px) {
    .logo-card { height: 72px; width: 240px; margin: 0 12px; }
}
@media (min-width: 1024px) {
    .logo-card { height: 90px; width: 340px; margin: 0 16px; }
}

.logo-card img {
    max-height: 85%;
    max-width: 90%;
    object-fit: contain;
}

/* Fallback quando imagem não carrega */
.logo-fallback {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 0 8px;
}
.logo-fallback-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}
.logo-fallback-text p    { font-size: 9px;  font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; line-height: 1; margin: 0; }
.logo-fallback-text h4   { font-size: 13px; font-weight: 900; line-height: 1.2; margin: 2px 0; }
.logo-fallback-text span { font-size: 8px;  font-weight: 700; line-height: 1; }

@media (min-width: 640px) {
    .logo-fallback-icon  { width: 40px; height: 40px; font-size: 18px; }
    .logo-fallback-text p    { font-size: 10px; }
    .logo-fallback-text h4   { font-size: 17px; }
    .logo-fallback-text span { font-size: 10px; }
}

/* ── HOVER GLOW ───────────────────────────────────────────── */
.glow-blue:hover  { border-color: rgba(15,82,186,.35)!important;  box-shadow: 0 8px 24px -4px rgba(15,82,186,.18)!important;  transform: translateY(-3px) scale(1.01); background: #fff!important; }
.glow-green:hover { border-color: rgba(0,168,107,.35)!important;  box-shadow: 0 8px 24px -4px rgba(0,168,107,.18)!important;  transform: translateY(-3px) scale(1.01); background: #fff!important; }
.glow-orange:hover{ border-color: rgba(255,111,0,.35)!important;  box-shadow: 0 8px 24px -4px rgba(255,111,0,.18)!important;   transform: translateY(-3px) scale(1.01); background: #fff!important; }

/* ── GLASS CARD ───────────────────────────────────────────── */
.glass-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226,232,240,0.8);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 35px -10px rgba(15,82,186,.15);
    border-color: rgba(15,82,186,.25);
}

/* ── CAROUSEL ─────────────────────────────────────────────── */
.carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
    background: #0f172a;
}
@media (min-width: 640px) {
    .carousel-viewport { border-radius: 1.5rem; }
}

.carousel-slide {
    position: absolute;
    inset: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.4);
}
@media (min-width: 640px) {
    .carousel-arrow { width: 3rem; height: 3rem; }
}
.carousel-arrow--prev { left: 0.5rem; }
.carousel-arrow--next { right: 0.5rem; }
@media (min-width: 640px) {
    .carousel-arrow--prev { left: 1rem; }
    .carousel-arrow--next { right: 1rem; }
}

.carousel-dot {
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}
.carousel-dot--active {
    width: 2rem;
    height: 0.625rem;
    background: #0F52BA;
    box-shadow: 0 4px 12px rgba(15,82,186,0.3);
}
.carousel-dot--inactive {
    width: 0.625rem;
    height: 0.625rem;
    background: #cbd5e1;
}
.carousel-dot--inactive:hover {
    background: #94a3b8;
}
@media (min-width: 640px) {
    .carousel-dot--active  { width: 2.5rem; height: 0.75rem; }
    .carousel-dot--inactive { width: 0.75rem; height: 0.75rem; }
}

.carousel-thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.carousel-thumb--active {
    border-color: #0F52BA;
    box-shadow: 0 0 0 3px rgba(15,82,186,0.3);
    transform: scale(1.1);
}
.carousel-thumb--inactive {
    opacity: 0.5;
}
.carousel-thumb--inactive:hover {
    opacity: 0.8;
}
.carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* ── SESSION CARD (Programação) ───────────────────────────── */
.session-card {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(226,232,240,0.8);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.session-card:hover {
    border-color: rgba(15,82,186,0.2);
    box-shadow: 0 12px 28px -8px rgba(15,82,186,0.12);
    transform: translateY(-3px);
}

/* ── VENUE HEADER ─────────────────────────────────────────── */
.venue-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── SCHEDULE TAB ─────────────────────────────────────────── */
.schedule-tab {
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    border: none;
    outline: none;
}
@media (min-width: 640px) {
    .schedule-tab { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
}
.schedule-tab--active {
    background: linear-gradient(135deg, #0F52BA, #00A86B);
    color: #fff;
    box-shadow: 0 8px 25px -5px rgba(15,82,186,0.3);
    transform: scale(1.05);
}
.schedule-tab--inactive {
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.schedule-tab--inactive:hover {
    border-color: rgba(15,82,186,0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
