/* Estilos Gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #009739, #FEDD00);
    color: #fff;
    line-height: 1.6;
    text-align: justify; /* Textos justificados */
}

/* Cabeçalho e Menu */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header nav .logo img {
    height: 50px;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

header nav ul li a:hover {
    background-color: #009739;
    border-radius: 5px;
}

/* Seção Hero */
#hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #fff;
    color: #009739;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #009739;
    color: #fff;
    border: 2px solid #fff;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20%; /* Arredondamento de 20% */
    margin-left: 2%;
}

/* Seções Gerais */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FEDD00;
    display: flex;
    justify-content: space-between; /* Alinha texto à esquerda e imagem à direita */
    align-items: center; /* Centraliza verticalmente */
}

section h2 img.contract-icon {
    width: 200px; /* Tamanho da imagem */
    height: 200px; /* Tamanho da imagem */
    border-radius: 20%; /* Arredondamento de 20% */
    margin-left: 10px; /* Espaçamento entre o texto e a imagem */
}

section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #FEDD00;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

section ul {
    list-style: disc;
    padding-left: 20px;
}

section ul li {
    margin-bottom: 10px;
}

/* Ajuste para a seção do Contrato */
#contrato h2 {
    margin-bottom: 10px; /* Reduz a margem inferior do título */
}

#contrato p {
    margin-top: 10px; /* Ajusta o espaçamento superior do parágrafo */
}

/* Seção Documento Técnico */
#documento-tecnico .documento-topico {
    margin-bottom: 40px;
}

#documento-tecnico h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #FEDD00;
}

#documento-tecnico hr.divisor {
    border: 0;
    height: 1px;
    background: #fff;
    margin: 40px 0;
}

/* Seção Comunidade */
#comunidade .social-links {
    display: flex;
    gap: 20px;
}

#comunidade .social-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    background-color: #009739;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#comunidade .social-links a:hover {
    background-color: #007BFF;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    margin-top: 40px;
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        margin: 10px 0;
    }

    #hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image img {
        margin-top: 20px;
    }

    section {
        padding: 50px 20px;
    }

    section h2 {
        font-size: 2rem;
    }

    section h3 {
        font-size: 1.5rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    #comunidade .social-links {
        flex-direction: column;
        gap: 10px;
    }
}