* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    background-color: #fff;
    color: #000;
    max-width: 100%;
}


.hero {
    background: url('../img/fundoooosaiba.png') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10% 10% 0 10%;
    overflow: hidden;
    max-width: 100%;
    margin-top: 75px;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
}

.hero-text span {
    background-color: #000;
    color: #F7BE00;
    padding: 0 10px;
}

.hero-text p {
    margin-top: 1em;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-paragrafo {
    display: flex;
    align-items: center;
    margin-top: -40px;
    margin-left: -120px;
    max-width: 100%;
}

.hero-paragrafo img {
    width: 350px;
    height: auto;
    margin-right: -90px;
    max-width: 100%;
}

.hero-paragrafo p {
    font-size: 1.2rem;
    font-weight: 600;
}

.tipos-abelhas {
    text-align: center;
    padding: 4em 2em;
}

.tipos-abelhas h2 {
    font-size: 40px;
    margin-bottom: 2em;
}

.tipos-abelhas h2 span {
    color: #F7BE00;
}

.tipos-imagens {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
    max-width: 100%;
}

.tipo-botao {
    color: #000;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tipo-botao:hover {
    transform: scale(1.1);
}

.tipo-botao img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-top: -20px;
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
    pointer-events: none;
}

.tipo-botao p {
    font-size: 27px;
    margin-top: 20px;
    font-weight: bold;
    pointer-events: none;
}

.importancia {
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.importanciaTitulo {
    margin-top: 90px;
    background-color: #F7BE00;
    width: 100%;
    padding: 0.7em;
    font-size: 2rem;
    box-sizing: border-box;
    text-align: center;
}

.importanciaTitulo h2 {
    margin: 0 auto;
    font-size: 2rem;
    max-width: 1200px;
    font-weight: 800;
}

.importanciaTitulo span {
    background-color: #000;
    color: #F7BE00;
    padding: 0 0.3em;
}

.importanciaTexto {
    padding: 2em 10%;
    box-sizing: border-box;
    margin-top: -30px;
    max-width: 100%;
}

.importanciaTexto p {
    margin-top: 2em;
    font-size: 1.1rem;
    text-align: justify;
}

.importanciaTexto p.citacao {
    font-style: italic;
}

.cards-beneficios {
    padding: 4em 10%;
    text-align: center;
    max-width: 100%;
}

.top-image img {
    height: auto;
    width: 500px;
    margin-bottom: -50px;
    margin-top: -50px;
    max-width: 100%;
}

.cards-container {
    display: flex;
    gap: 2em;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.card {
    background: white;
    border: 3px solid #000;
    border-top: 130px solid #000;
    border-radius: 15px;
    padding: 2em 1.5em;
    width: 370px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
}

.card h3 {
    color: #F7BE00;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-top: -130px;
}

.texto {
    margin-top: 80px;
    text-align: justify;
}

.textomenor {
    margin-top: 20px;
    text-align: justify;
}

.card ul {
    margin-top: 1em;
    list-style: disc;
    padding-left: 20px;
}

.card li {
    margin-bottom: 1em;
    font-size: 1rem;
    color: #000;
}

.card span {
    color: #F7BE00;
    font-weight: bold;
}

.colmeia {
    padding: 4em 0;
    text-align: center;
    max-width: 100%;
}

.colmeia h2 {
    background-color: #F7BE00;
    padding: 0.7em 0;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    width: 100%;
}

.integrantes {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3em;
    flex-wrap: wrap;
    margin-top: 3em;
    padding: 0 10%;
    max-width: 100%;
}

.integrante {
    width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    box-sizing: border-box;
    padding: 1em;
}

.integrante img {
    width: 170px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1em;
}

.integrante h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.integrante p {
    font-size: 1rem;
    text-align: justify;
    line-height: 1.5;
    flex-grow: 1;
}

.scroll-top {
   position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #f7be00;
    color: white;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.explorar-apicultura {
    background-image: url('../img/fundo_apicultura.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 60px;
    margin-top: 90px;
    margin-bottom: 120px;
    position: relative;
    max-width: 100%;
}

.conteudo-apicultura {
    text-align: left;
    max-width: 350px;
}

.titulo-apicultura {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    line-height: 1.2;
}

.botao-saiba-mais {
    background-color: #F7BE00;
    color: black;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

.botao-saiba-mais:hover {
    background-color: #e6b800;
}

@media (max-width: 1024px) {
    .hero {
        padding: 15% 5% 0 5%;
        height: auto;
    }

    .hero-text h1 {
        margin-top: 40px;
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-text p {
        text-align: center;
    }

    .hero-paragrafo {
        flex-direction: column;
        align-items: center;
        margin: 20px 0 0 0;
        padding: 0 10px;
        text-align: center;
    }

    .hero-paragrafo img {
        width: 80%;
        margin: 0 auto;
    }

    .tipos-imagens {
        flex-direction: column;
        align-items: center;
    }

    .top-image img {
        width: 80%;
        margin: 0 auto;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .integrantes {
        flex-direction: column;
        align-items: center;
    }

    .explorar-apicultura {
        justify-content: center;
        text-align: center;
        padding: 2em;
    }

    .conteudo-apicultura {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        margin-top: 40px;
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .tipo-botao img {
        width: 200px;
        height: 200px;
    }

    .tipo-botao p {
        font-size: 1.8rem;
    }

    .titulo-apicultura {
        font-size: 2rem;
    }

    .top-image img {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {

    .hero-text h1 {
        margin-top: 40px;
        font-size: 1.6rem;

    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .tipo-botao img {
        width: 160px;
        height: 160px;
    }

    .tipo-botao p {
        font-size: 1.5rem;
    }

    .titulo-apicultura {
        font-size: 1.8rem;
    }

    .explorar-apicultura {
        padding: 1.5em;
    }

    .botao-saiba-mais {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}