body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

.header-top {
    background-color: #1e293b;
    color: white;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #f8fafc;
    min-height: 320px;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    min-height: 320px;
}

.carousel-item img {
    width: 100%;
    max-width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
}

/* Estilo para quando a imagem falha */
.img-fallback {
    width: 100%;
    min-height: 280px;
    background: #ffffff;
    border-radius: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border: 2px dashed #e2e8f0;
    color: #64748b;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-invite {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(12px);
    animation: whatsappInviteFade 0.35s ease both;
}

.whatsapp-invite.is-hidden {
    display: none;
}

.whatsapp-invite__panel {
    position: relative;
    width: min(94vw, 760px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: #0f172a;
    box-shadow: 0 32px 90px rgba(2, 6, 23, 0.46);
    animation: whatsappInviteRise 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.whatsapp-invite__frame {
    display: block;
    width: 100%;
    height: min(72vh, 470px);
    min-height: 390px;
    border: 0;
}

.whatsapp-invite__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(15, 23, 42, 0.72);
    transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-invite__close:hover {
    transform: scale(1.05);
    background: rgba(15, 23, 42, 0.92);
}

@keyframes whatsappInviteFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes whatsappInviteRise {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.dot-nav {
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .carousel-container {
        min-height: 380px;
    }

    .carousel-item {
        padding: 1.5rem;
        min-height: 380px;
    }

    .carousel-item img {
        height: 340px;
        max-width: 92%;
    }

    .img-fallback {
        min-height: 340px;
        width: 92%;
    }
}

@media (min-width: 768px) {
    .carousel-container {
        min-height: 460px;
    }

    .carousel-item {
        padding: 2rem;
        min-height: 460px;
    }

    .carousel-item img {
        height: 420px;
        max-width: 88%;
    }

    .img-fallback {
        min-height: 420px;
        width: 88%;
    }
}

@media (min-width: 1024px) {
    .carousel-container {
        min-height: 580px;
    }

    .carousel-item {
        min-height: 580px;
    }

    .carousel-item img {
        height: 520px;
        max-width: 85%;
    }

    .img-fallback {
        min-height: 450px;
        width: 80%;
    }
}

@media (max-width: 520px) {
    .whatsapp-invite {
        padding: 0.75rem;
    }

    .whatsapp-invite__panel {
        width: 100%;
        border-radius: 20px;
    }

    .whatsapp-invite__frame {
        height: 520px;
        min-height: 520px;
    }
}
