/* Otimizações CSS */
.hero-bg {
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    /* Gradiente laranja muito suave */
}

.btn-pulse {
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

/* Scrollbar Oculta */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Gradiente no texto */
.text-gradient {
    background: linear-gradient(to right, #ff6b00, #ff9e00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Ajuste do carrossel */
.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
}

.carousel-item {
    /* Flex sizing removed to allow Tailwind classes (w-[85vw], etc) to work */
    scroll-snap-align: center;
}



/* Estilos do Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    /* Mais espaço para o texto */
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: bold;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Tooltip do WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    bottom: 60px;
    /* Acima do botão */
    right: 0;
    background-color: white;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* Mostrar tooltip automaticamente (opcional) ou no hover do container */
.whatsapp-container:hover .whatsapp-tooltip,
.whatsapp-tooltip.show {
    /* Classe JS para mostrar auto */
    opacity: 1;
    visibility: visible;
}

/* Container para posicionamento relativo do tooltip */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Ajuste do botão dentro do container */
.whatsapp-container .whatsapp-float {
    position: static;
    /* Reseta fixed pois o container já é fixed */
}