* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* HERO */

.hero {
    background:
        linear-gradient(rgba(0,0,0,0.35),
                         rgba(0,0,0,0.35)),
        url("../images/principal_home.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* BOTÕES */

.instagram-btn {
    background-color: #E1306C;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.instagram-btn:hover {
    background-color: #C13584;
}

.instagram-btn i {
    font-size: 18px;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

/* SEÇÕES */

section {
    padding: 60px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.sobre p {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* SERVIÇOS */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card i {
    font-size: 42px;
    color: #f39c12;
}

.card span {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
}

/* GALERIA */

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    min-height: 260px;
}

.gallery img {
    width: 320px;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* CARROSSEL */

.carousel-btn {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 15px 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.carousel-btn:hover {
    opacity: 0.9;
}

/* DEPOIMENTOS */

.testimonial-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

.testimonial-card {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 700px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#testimonialText {
    width: 100%;
    overflow-y: auto;
}

.testimonial-stars {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-message {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    margin-bottom: 5px;
}

.testimonial-city {
    color: #777;
    font-size: 0.9rem;
}

/* CONTATO */

.contato {
    text-align: center;
    background-color: #f8f8f8;
}

.contato p {
    margin-bottom: 10px;
}

.contato .fa-whatsapp {
    color: #25D366;
    margin-right: 6px;
    font-size: 1.1rem;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.whatsapp-float:hover {
    opacity: 0.9;
}

/* FOOTER */

.footer-dev {

    background: linear-gradient(
        135deg,
        #1a1a1a,
        #252525
    );

    border-top: 3px solid #f39c12;

    padding: 30px 20px;
}

.footer-content {

    max-width: 1200px;

    margin: 0 auto;

    text-align: center;
}

.footer-copyright {

    color: #ffffff;

    font-size: 1rem;

    margin-bottom: 18px;
}

.footer-logo {

    width: 140px;

    height: auto;

    display: block;

    margin: 0 auto 15px;

    transition: transform .3s ease;
}

.footer-logo:hover {

    transform: scale(1.05);
}

.footer-link {

    color: #f39c12;

    text-decoration: none;

    font-weight: 600;

    font-size: 0.95rem;
}

.footer-link:hover {

    color: #ffb84d;
}

/* RESPONSIVO */

@media (max-width: 768px) {

    .hero {
        padding: 90px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .carousel-container {
        flex-direction: column;
    }

    .gallery {
        display: block;
        text-align: center;
        min-height: auto;
    }

    .gallery img {
        width: 95vw;
        max-width: 380px;
        height: 280px;
        object-fit: cover;
        object-position: center;
        display: none;
        margin: 0 auto;
    }

    .servicos .cards {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .servicos .cards::-webkit-scrollbar {
        display: none;
    }

    .servicos .card {
        flex: 0 0 68%;
        scroll-snap-align: center;
        min-height: 140px;
        padding: 25px 15px;
    }

    .servicos .card i {
        font-size: 38px;
    }

    .testimonial-carousel {
        flex-direction: column;
    }

    .testimonial-card {
        width: 100%;
        min-height: 380px;
        padding: 30px 20px;
    }

    .carousel-btn {
        padding: 12px 15px;
        font-size: 18px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 14px 18px;
    }
}
