/* Components CSS - Barbosa Transporte Premium */

/* Seções Diagonais e Divisores Angulares */
.skew-section-bottom {
    position: relative;
    padding-bottom: 8rem;
}
.skew-section-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--brand-dark);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 10;
    pointer-events: none;
}

.skew-section-top {
    position: relative;
    padding-top: 8rem;
}
.skew-section-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--brand-dark);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    z-index: 10;
    pointer-events: none;
}

/* Curvas Modernas */
.curved-top {
    border-top-left-radius: 50% 40px;
    border-top-right-radius: 50% 40px;
}

.curved-bottom {
    border-bottom-left-radius: 50% 40px;
    border-bottom-right-radius: 50% 40px;
}

/* Cinematic Overlay */
.overlay-cinematic {
    background: linear-gradient(
        to bottom,
        rgba(7, 11, 25, 0.4) 0%,
        rgba(7, 11, 25, 0.7) 60%,
        rgba(7, 11, 25, 0.98) 100%
    );
}

.overlay-radial {
    background: radial-gradient(
        circle at 50% 30%,
        rgba(3, 27, 78, 0.5) 0%,
        rgba(7, 11, 25, 0.95) 80%
    );
}

/* Elementos do Mapa de Cobertura */
.map-pulse {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--brand-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(255, 106, 0, 0.4);
    animation: map-pulse-anim 2s infinite;
}

@keyframes map-pulse-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 106, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: inherit;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
    opacity: 0.7;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #20ba5a;
    box-shadow: 0px 12px 30px rgba(37, 211, 102, 0.45);
}
