* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}

body {
    background: #101010;
    color: #fff;
    line-height: 1.6;
}

/* About Section */
.about {
    background: #191919;
    padding: 50px 5%;
}

.main {
    max-width: 1400px; /* aumentei para dar mais espaço no desktop */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.about img {
    width: 100%;
    max-width: 900px; /* imagem grande no desktop */
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.about-text {
    max-width: 600px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-text h5 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.about-text p {
    color: #ccc;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* Service Section */
.service {
    background: #101010;
    padding: 50px 5%;
    text-align: center;
}

.service .title h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.service .title img {
    width: 100%;
    max-width: 700px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #101010;
    font-size: 16px;
    color: #f0f0f0;
}

/* Responsividade */

/* Tablets (até 1024px) */
@media (max-width: 1024px) {
    .main {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        max-width: 80%; /* mantém imagem grande no tablet */
    }

    .about-text {
        text-align: center;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .about-text h5 {
        font-size: 1.4rem;
    }
}

/* Celulares grandes (até 768px) */
@media (max-width: 768px) {
    .about {
        padding: 30px 4%;
    }

    .about img {
        max-width: 95%; /* ocupa quase toda a tela no mobile */
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text h5 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .service .title h2 {
        font-size: 2rem;
    }
}

/* Celulares pequenos (até 480px) */
@media (max-width: 480px) {
    .about img {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text h5 {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }
}