* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: #f4f8f7; /* Fundo cinza/verde bem claro */
    color: #333;
}

/* Navegação */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 20px 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.logo span {
    color: #0fb27a; /* Verde principal */
}

/* Container Principal */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Seção Hero */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.hero-section h1 {
    color: #0d4a3b;
    margin-bottom: 15px;
    font-size: 32px;
}

.hero-section p {
    color: #555;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Seção de Pesquisa (NOVA) */
.research-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 50px;
}

.research-section h2 {
    color: #0fb27a;
    margin-bottom: 20px;
    text-align: center;
}

.research-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.research-content h3 {
    color: #0d4a3b;
    margin: 25px 0 15px 0;
}

.research-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.research-content li {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

.research-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #e0e0e0;
}

.research-links h3 {
    font-size: 18px;
    color: #0fb27a;
    margin-bottom: 15px;
}

.research-links ul {
    list-style: none;
    margin: 0;
}

.research-links li {
    margin-bottom: 10px;
}

.research-links a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.research-links a:hover {
    color: #1d6fa5;
    text-decoration: underline;
}

/* Área de Vídeos */
.video-section {
    margin-bottom: 50px;
}

.video-section h2 {
    color: #0d4a3b;
    margin-bottom: 10px;
    text-align: center;
}

.video-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-card h3 {
    font-size: 16px;
    color: #0fb27a;
    margin-bottom: 15px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Grid de Cards Educativos */
.info-section h2 {
    color: #0d4a3b;
    text-align: center;
    margin-bottom: 10px;
}

.info-section > p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card-header {
    padding: 20px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    color: white;
}

.plastic { background-color: #e74c3c; }
.paper { background-color: #3498db; }
.glass { background-color: #2ecc71; }
.metal { background-color: #f1c40f; color: #333; }

.card-body {
    padding: 20px;
    display: none;
}

.card-body p {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.card.active .card-body {
    display: block;
}

/* Chamada para Ação (Quiz) */
.cta-quiz {
    background: linear-gradient(135deg, #2fd296 0%, #0fb27a 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-top: 50px;
}

.cta-quiz h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cta-quiz p {
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-quiz {
    background-color: white;
    color: #0fb27a;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-quiz:hover {
    background-color: #f0f0f0;
}

/* ESTILO PARA O BOTÃO DE VOLTAR NO CABEÇALHO */
.btn-voltar-nav {
    text-decoration: none;
    color: #047857;
    background-color: #D1FAE5;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    margin-right: 16px; /* Dá um espaço entre o botão e o logo */
    display: inline-block;
}

.btn-voltar-nav:hover {
    background-color: #10B981;
    color: white;
    transform: translateX(-2px); /* Efeito de mover levemente para a esquerda */
}

/* Ajuste o header para alinhar o botão e o logo */
.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinha os itens à esquerda */
    padding: 16px 5%;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .research-section {
        padding: 25px;
    }

    .cta-quiz {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section p {
        font-size: 15px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cta-quiz h3 {
        font-size: 20px;
    }

    .cta-quiz p {
        font-size: 15px;
    }

    .btn-quiz {
        width: 100%;
        padding: 15px;
    }
}