:root {
    --primary-color: #2E7D32; /* Verde escuro */
    --secondary-color: #FFCA28; /* Amarelo */
    --accent-color: #F06292; /* Rosa floral */
    --background-color: #E8F5E9; /* Verde claro */
    --text-color: #1A1A1A;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 18px; /* Aumentado de tamanho implícito padrão (~16px) */
}

/* Cabeçalho */
header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    max-width: 80px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-links li {
    margin: 0 5px;
}

.nav-links li a {
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Caveat', cursive;
    font-size: 24px; /* Aumentado de 20px */
    padding: 5px 8px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
    text-align: center;
}

.nav-links li a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Seção Hero */
.hero-section {
    position: relative;
    height: 300px;
    background-image: url('https://cdn.mos.cms.futurecdn.net/5ZzJRLPC4omCKG5CWzm6f6.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 20px; /* Aumentado de 16px */
    color: white;
    margin: 8px 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px 20px; /* Ajustado para acomodar fonte maior */
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px; /* Aumentado de 16px */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.animated-title {
    opacity: 0;
    animation: grow 1s forwards;
}

@keyframes grow {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* Seção de Projetos em Destaque */
.highlight-section {
    padding: 15px 10px;
    text-align: center;
    background-color: white;
}

.highlight-section h2 {
    font-family: 'Caveat', cursive;
    font-size: 36px; /* Aumentado de 30px */
    color: var(--primary-color);
    margin-bottom: 10px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: sprout 0.8s forwards;
}

@keyframes sprout {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.highlight-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.highlight-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 24px; /* Aumentado de 20px */
    margin: 8px 0;
    color: var(--primary-color);
}

.highlight-card p {
    font-size: 16px; /* Aumentado de 14px */
    padding: 0 8px 8px;
    color: var(--text-color);
}

.highlight-card:hover {
    transform: translateY(-2px);
}

/* Seções de Conteúdo */
.content-section {
    padding: 10px;
    text-align: center;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    animation: sprout 0.8s forwards;
}

.content-wrapper i {
    font-size: 28px; /* Aumentado de 24px */
    color: var(--primary-color);
    margin-bottom: 8px;
}

.content-wrapper h2 {
    font-family: 'Caveat', cursive;
    font-size: 32px; /* Aumentado de 26px */
    color: var(--primary-color);
    margin-bottom: 8px;
}

.content-wrapper p {
    font-size: 16px; /* Aumentado de 14px */
    line-height: 1.4;
}

/* Galeria em Grade */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

.gallery-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Rodapé */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.partners {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.partners img {
    width: 80px;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px; /* Aumentado de 14px */
}

footer a:hover {
    color: var(--accent-color);
}

/* Responsividade */
@media (max-width: 768px) {
    nav {
        padding: 5px 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        flex: 0 0 auto;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
        flex: 1;
        margin-left: 10px;
        max-width: 70%;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        font-size: 18px; /* Aumentado de 16px */
        padding: 5px;
        color: var(--primary-color);
        background: none;
        border-radius: 5px;
        text-align: center;
        display: block;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .nav-links li a:hover {
        color: var(--accent-color);
        transform: scale(1.05);
    }

    .hero-section {
        height: 250px;
    }

    .hero-logo {
        max-width: 120px;
    }

    .hero-text p {
        font-size: 16px; /* Aumentado de 14px */
    }

    .hero-overlay {
        padding: 10px;
    }

    .highlight-section h2 {
        font-size: 32px; /* Aumentado de 28px */
    }

    .highlight-section {
        padding: 10px 5px;
    }

    .content-section {
        padding: 5px;
    }

    .content-wrapper {
        padding: 10px;
    }

    .content-wrapper h2 {
        font-size: 28px; /* Aumentado de 24px */
    }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px; /* Aumentado de 20px */
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: opacity 0.3s;
}

.back-to-top:hover {
    background-color: #45a049;
    opacity: 0.9;
}
/* Efeito de piscar para ícones */
.blink {
    animation: blink 0.5s infinite alternate;
}

@keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Efeito de pulsar para o botão "Voltar ao Topo" */
.pulse {
    animation: pulse 0.8s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Efeito de bounce para links de navegação */
.bounce {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Transição suave para o botão "Voltar ao Topo" */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease; /* Adicionado transform */
}

.back-to-top:hover {
    background-color: #45a049;
    transform: scale(1.1); /* Aumenta ao passar o mouse */
}

/* Efeito de zoom nas imagens da galeria quando visíveis */
.gallery-grid img.visible {
    animation: zoomIn 1s ease forwards;
}

@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Efeito de balanço nos cards ao passar o mouse */
.highlight-card:hover {
    animation: sway 0.6s ease infinite alternate;
}

@keyframes sway {
    0% { transform: translateY(-2px) rotate(1deg); }
    100% { transform: translateY(-2px) rotate(-1deg); }
}
.library-files .file-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.library-files .file-list li {
    margin: 10px 0;
    background-color: #f9f9f9; /* Fundo claro */
    padding: 10px 15px;
    border-radius: 5px; /* Bordas arredondadas */
    transition: background-color 0.3s ease; /* Transição suave */
}

.library-files .file-list li:hover {
    background-color: #e0f2e9; /* Cor ao passar o mouse (verde claro) */
}

.library-files .file-list a {
    text-decoration: none;
    color: #2e7d32; /* Verde escuro */
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre ícone e texto */
}

.library-files .file-list a:hover {
    color: #1b5e20; /* Verde mais escuro ao passar o mouse */
}

.library-files .file-list i {
    font-size: 18px;
    color: #4caf50; /* Verde médio para o ícone */
}

.library-files p {
    color: #666;
    font-style: italic;
}
.news-list ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.news-list li {
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #4caf50;
    border-radius: 5px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* Espaço entre a imagem e o texto */
}

.news-thumbnail {
    width: 100px; /* Tamanho fixo da thumbnail */
    height: 60px;
    object-fit: cover; /* Mantém a proporção da imagem */
    border-radius: 3px;
}

.news-content {
    flex: 1; /* O conteúdo ocupa o espaço restante */
}

.news-content a {
    text-decoration: none;
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.1em;
}

.news-content a:hover {
    text-decoration: underline;
    color: #1b5e20;
}

.news-content p {
    margin: 5px 0 0;
    color: #555;
    font-size: 0.9em;
}

.news-content span {
    color: #888;
    font-style: italic;
}
.footer-logo {
    width: 100px; /* Tamanho reduzido - ajuste conforme necessário */
    height: auto; /* Mantém a proporção */
    display: block; /* Remove espaços indesejados */
    margin: 0 auto; /* Centraliza a logo, se desejado */
}
/* Container do vídeo para responsividade */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0; /* Espaçamento acima e abaixo */
    border: 4px solid #7DB343; /* Borda verde combinando com o site */
    border-radius: 10px; /* Cantos arredondados para um visual mais suave */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

/* Estilização do iframe */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
