/* assets/css/style.css */
/* Te Orienta nas Férias — estilos complementares ao Tailwind */

/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #152336;
    color: #fff;
    overflow-x: hidden;
}

/* ── Grid background (hero) ───────────────────────────── */
.grid-bg {
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.024) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.024) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* ── Glow blobs ───────────────────────────────────────── */
.glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: rgba(217, 30, 91, 0.15);
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.7;
    pointer-events: none;
}

.glow-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 500px;
    background: rgba(46, 107, 138, 0.25);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

/* ── Gradiente texto ──────────────────────────────────── */
.text-gradient-primary {
    background: linear-gradient(to right, #D91E5B, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-dual {
    background: linear-gradient(to right, #D91E5B, #5BBDE4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(to right, #5BBDE4, #D91E5B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Sombras de brilho (glow shadows) ────────────────── */
.shadow-primary-glow {
    box-shadow: 0 0 30px rgba(217, 30, 91, 0.4);
}
.shadow-primary-glow:hover {
    box-shadow: 0 0 40px rgba(217, 30, 91, 0.6);
}

.shadow-blue-glow {
    box-shadow: 0 0 25px rgba(91, 189, 228, 0.4);
}

/* ── Navbar ───────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background: rgba(14, 26, 43, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 1px 40px rgba(14, 26, 43, 0.6);
}

/* ── Animações de entrada ─────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out both;
}

.animate-scale-in {
    animation: scaleIn 0.9s ease-out both;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ── Cards com hover ──────────────────────────────────── */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    border-color: rgba(217, 30, 91, 0.3);
    background-color: rgba(255, 255, 255, 0.06);
}

/* ── Scroll reveal (via Intersection Observer) ────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Tabs de professores ──────────────────────────────── */
.tab-btn {
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    border: none;
    background: transparent;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active-goiania { background: #5BBDE4; color: #fff; box-shadow: 0 4px 15px rgba(91,189,228,0.4); }
.tab-btn.active-palmas  { background: #D91E5B; color: #fff; box-shadow: 0 4px 15px rgba(217,30,91,0.4); }

/* ── Professor card ───────────────────────────────────── */
.teacher-card {
    display: none;
}
.teacher-card.active { display: block; }

/* Garante rosto sempre visível nos cards de professor */
.teacher-img {
    object-fit: cover;
    object-position: top center;
    width: 100%;
    aspect-ratio: 1/1;
}

/* ── Mobile menu ──────────────────────────────────────── */
#mobile-menu {
    display: none;
    background: rgba(14, 26, 43, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
}
#mobile-menu.open { display: block; }

/* ── Dropdown inscrição ───────────────────────────────── */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 210px;
    background: rgba(14, 26, 43, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 100;
}
.dropdown-menu.open { display: block; }

/* ── Aspect ratio para iframes ────────────────────────── */
.aspect-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.aspect-video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ── Botões base ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: #D91E5B;
    color: #fff;
    box-shadow: 0 0 30px rgba(217,30,91,0.4);
}
.btn-primary:hover {
    background: #b8184e;
    box-shadow: 0 0 40px rgba(217,30,91,0.6);
}
.btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.btn-blue {
    background: #5BBDE4;
    color: #fff;
    box-shadow: 0 0 25px rgba(91,189,228,0.4);
}
.btn-blue:hover {
    background: #4aa8cf;
    box-shadow: 0 0 35px rgba(91,189,228,0.6);
}

/* ── Responsivo mobile ────────────────────────────────── */
@media (max-width: 640px) {
    .glow-top { width: 400px; height: 300px; }
    .glow-right { width: 300px; height: 300px; }
}
