@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
  --neon-1: #FF007A;  
  --neon-2: #7928CA;  
  --neon-3: #00D4FF;  
  --neon-4: #FFDF00;  
  --bg-app: #F0F4F8;  
  --card-bg: #FFFFFF;
  --text-dark: #0F172A;
  --brand-grad: linear-gradient(135deg, #FF007A, #7928CA);
  --glass-bg: rgba(255, 255, 255, 0.85);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; background-color: var(--bg-app); color: var(--text-dark); overflow-x: hidden; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 40px; z-index: 1000; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.navbar-brand { font-size: 1.8rem; font-weight: 900; background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 800; font-size: 1.1rem; transition: 0.3s; }
.nav-links a:hover { color: var(--neon-1); }

/* HERO BANNER */
.hero {
    margin-top: 80px; padding: 80px 20px;
    background: linear-gradient(-45deg, var(--neon-1), var(--neon-2), var(--neon-3), var(--neon-4));
    background-size: 300% 300%; animation: gradientBG 10s ease infinite;
    text-align: center; color: white; position: relative; overflow: hidden;
}
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero h1 { font-size: 4rem; font-weight: 900; margin-bottom: 20px; text-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 2; position: relative;}
.hero p { font-size: 1.3rem; font-weight: 600; max-width: 700px; margin: 0 auto; z-index: 2; position: relative;}

/* SECTION & GRID */
.section-title { text-align: center; font-size: 2.5rem; font-weight: 900; color: var(--neon-2); margin: 60px 0 40px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.magic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

/* SYSTEM CARDS (OS 4 PORTAIS) */
.system-card {
    background: white; border-radius: 30px; padding: 40px 30px; text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04); text-decoration: none; color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; height: 100%; position: relative;
}
.system-card:hover { transform: translateY(-10px) scale(1.02); }
.system-card .icon { font-size: 4rem; margin-bottom: 20px; animation: float 6s ease-in-out infinite; }
.system-card h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 15px; }
.system-card p { color: #64748b; font-weight: 600; font-size: 1rem; flex-grow: 1; margin-bottom: 25px; }
.system-card .btn { padding: 15px 25px; border-radius: 20px; font-weight: 800; text-transform: uppercase; transition: 0.3s; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

/* Efeitos Específicos dos 4 Sistemas */
.card-alunos { border-top: 8px solid var(--neon-3); }
.card-alunos:hover { box-shadow: 0 25px 50px rgba(0, 212, 255, 0.2); }
.card-alunos .btn { background: rgba(0,212,255,0.1); color: var(--neon-3); }
.card-alunos:hover .btn { background: var(--neon-3); color: white; }

.card-instrutores { border-top: 8px solid var(--neon-2); }
.card-instrutores:hover { box-shadow: 0 25px 50px rgba(121, 40, 202, 0.2); }
.card-instrutores .btn { background: rgba(121,40,202,0.1); color: var(--neon-2); }
.card-instrutores:hover .btn { background: var(--neon-2); color: white; }

.card-gestao { border-top: 8px solid #00F260; }
.card-gestao:hover { box-shadow: 0 25px 50px rgba(0, 242, 96, 0.2); }
.card-gestao .btn { background: rgba(0,242,96,0.1); color: #00b84c; }
.card-gestao:hover .btn { background: #00F260; color: white; }

.card-orgs { border-top: 8px solid var(--neon-4); }
.card-orgs:hover { box-shadow: 0 25px 50px rgba(255, 223, 0, 0.2); }
.card-orgs .btn { background: rgba(255,223,0,0.1); color: #b45309; }
.card-orgs:hover .btn { background: var(--neon-4); color: black; }

/* BLOG GRID */
.blog-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(121,40,202,0.15); border-bottom: 4px solid var(--neon-1); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-content h4 { font-size: 1.3rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.blog-content p { color: #64748b; font-size: 0.95rem; margin-bottom: 15px; }
.blog-meta { font-size: 0.85rem; color: var(--neon-2); font-weight: 800; display: flex; justify-content: space-between; }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: var(--glass-bg); backdrop-filter: blur(25px); border: 2px solid rgba(255,255,255,0.5);
    padding: 20px 30px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: flex; gap: 20px; align-items: center; z-index: 9999; max-width: 90%; width: 600px;
}
.cookie-banner p { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }
.cookie-banner a { color: var(--neon-1); text-decoration: none; font-weight: 800; }
.cookie-banner button {
    background: var(--brand-grad); color: white; border: none; padding: 12px 25px;
    border-radius: 15px; font-weight: 800; cursor: pointer; transition: 0.3s; white-space: nowrap;
}
.cookie-banner button:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(255,0,122,0.3); }

/* CONTENT PAGE STYLE (Blog/Sobre/Cookies) */
.content-page { padding: 120px 20px 60px; max-width: 800px; margin: 0 auto; min-height: calc(100vh - 100px); }
.content-page h1 { font-size: 2.5rem; font-weight: 900; color: var(--neon-2); margin-bottom: 30px; text-align: center;}
.content-page .card-panel { background: white; padding: 40px; border-radius: 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.04); font-size: 1.1rem; line-height: 1.6; color: #475569;}
.content-page h2 { color: var(--text-dark); margin: 30px 0 15px; font-size: 1.5rem; }

/* FOOTER */
footer { text-align: center; padding: 40px 20px; background: white; border-top: 2px solid #e2e8f0; margin-top: 60px; }
footer a { color: var(--neon-2); font-weight: 800; text-decoration: none; margin: 0 10px; }

@media(max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .cookie-banner { flex-direction: column; text-align: center; }
}