:root {
    --primary: #327824;
    --primary-dark: #245a1b;
    --primary-light: #eef6ed;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* Altura fixa para alinhar itens */
}

/* Esconde o ícone do menu no Desktop */
.mobile-menu {
    display: none; 
    cursor: pointer;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Cards de Destaque (Portal do Aluno) */
.highlight-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top: 6px solid var(--primary);
    text-align: center;
}

.highlight-card i { 
    width: 50px; 
    height: 50px; 
    color: var(--primary); 
    margin-bottom: 20px;
}

.highlight-card h3 { margin-bottom: 15px; font-size: 1.5rem; }

/* Botões */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(50, 120, 36, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Seções Gerais */
.section { padding: 100px 0; }
.bg-light { background: var(--bg-light); }
.bg-green { background: var(--primary); color: white; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 15px; }

/* Flex e Grid Layouts */
.flex { display: flex; align-items: center; gap: 50px; }
.section-image, .section-text { flex: 1; }
.section-image img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.grid-cards, .grid-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(50, 120, 36, 0.15);
    border-color: var(--primary-light);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Garante que a foto não estique */
}
.card-body{
    padding: 3%;
}

/* ESTILIZAÇÃO DA EQUIPE (CORRIGIDA) */
.grid-team {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colunas fixas no desktop */
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
}

.member-img-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    padding: 5px;
    background: white;
    transition: var(--transition);
}

.team-member:hover .member-img-container {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-member h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-member span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Aplicações Restritas */
.grid-apps { margin-top: 30px; }
.app-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.app-item i { width: 30px; height: 30px; }
.app-item:hover { background: var(--white); color: var(--primary); transform: translateY(-5px); }

/* Timeline de Ações */
.timeline {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline li {
    margin-bottom: 30px;
    padding-left: 30px;
    border-left: 3px solid var(--primary);
    position: relative;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
}

/* Contato */
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.contact-info h2 { margin-bottom: 20px; color: var(--primary-dark); }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.info-item i { color: var(--primary); }

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    background: #fdfdfd;
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    background: white;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 50px 0;
    text-align: center;
    font-size: 0.9rem;
}

.rodapea {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
/* RESPONSIVIDADE CORRIGIDA */
@media (max-width: 1024px) {
    .grid-team { grid-template-columns: repeat(3, 1fr); }
    .hero-text h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block; /* Garante que o ícone apareça */
        font-size: 2rem;
        z-index: 1001;
    }

    /* Estilo do Menu Mobile quando escondido */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: fixed; /* Mude para fixed */
        top: 60px; /* Altura exata do seu nav */
        left: 0;
        width: 100%;
        height: calc(100vh - 60px); /* Ocupa o restante da tela */
        background-color: white; /* Cor de fundo sólida */
        padding: 40px 0;
        z-index: 999;
        text-align: right;
        padding-right: 3%;
    }

    /* ESTA É A REGRA PRINCIPAL: Quando o JS adicionar a classe .active */
    .nav-links.active {
        display: flex !important; /* Força a exibição */
    }

    .nav-links li a {
        font-size: 1.2rem;
        color: var(--text-dark);
        display: block;
        width: 100%;
    }

    /* Ajustes das outras seções para mobile */
    .hero-content, .flex, .grid-contact { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .hero-text h1 { font-size: 2.2rem; }
    .grid-team { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .grid-team { grid-template-columns: 1fr; }
}

/* Banner LGPD */
.cookie-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 15px;
    z-index: 9999;
    display: none; /* Escondido por padrão */
    border-left: 6px solid var(--primary);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #444;
    font-size: 0.9rem;
}

.cookie-text i { color: var(--primary); width: 30px; }
.cookie-text a { color: var(--primary); font-weight: bold; text-decoration: none; }

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

.btn-cookie-deny {
    background: #eee;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

/* Responsivo */
@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-text { flex-direction: column; align-items: center; }
}

/* Bloqueio de rolagem (ESSENCIAL) */
body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

/* --- ESTILO LGPD MODAL (BLOQUEIO TOTAL) --- */

/* 1. Travar o fundo */
body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

/* 2. Camada de desfoque */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) !important; /* Fundo escuro */
    backdrop-filter: blur(15px) !important;     /* DESFOQUE */
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999 !important;                 /* Acima de tudo */
    display: none;                              /* JS controla isso */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 3. O Modal Branco */
.cookie-modal {
    background: #ffffff !important;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: block !important;
}

.cookie-header i { color: #327824; margin-bottom: 15px; display: inline-block; }
.cookie-header h2 { color: #245a1b; margin-bottom: 15px; font-family: 'Inter', sans-serif; }
.cookie-body p { color: #555; margin-bottom: 25px; line-height: 1.6; }

.cookie-footer { display: flex; flex-direction: column; gap: 10px; }

.btn-cookie-full {
    background: #327824;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-full:hover { background: #245a1b; }

.btn-cookie-link {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.85rem;
}