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

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin-top: 4px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Additional improvements for buttons */
.button_js {
    transition: all 0.3s ease;
}

.button_js:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Improved box shadows for cards */
.column_column .column_attr {
    transition: all 0.3s ease;
}

.column_column .column_attr:hover {
    transform: translateY(-5px);
}

/* Responsive font sizes */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 40px !important;
        line-height: 45px !important;
    }
    
    h2 {
        font-size: 32px !important;
        line-height: 38px !important;
    }
    
    .tp-caption {
        font-size: 12px !important;
    }
}

/* Icon improvements */
.themecolor {
    color: #A83164 !important;
}

/* Link hover effects */
a {
    transition: all 0.2s ease;
}

footer a:hover {
    color: #A83164 !important;
}

/* ============================================
   PAGE PRELOADER / LOADING SCREEN
   ============================================ */

#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.logo-container {
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(168, 49, 100, 0.2));
}

/* Spinner Animation */
.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #A83164;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    border-top-color: rgba(168, 49, 100, 0.6);
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    border-top-color: rgba(168, 49, 100, 0.3);
    animation-delay: 0.4s;
}

.loading-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
    animation: blink 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .preloader-logo {
        max-width: 150px;
    }
    
    .spinner {
        width: 60px;
        height: 60px;
    }
    
    .loading-text {
        font-size: 14px;
    }
}

/* ============================================
   CARDS DE DIFERENCIAIS (About Page)
   ============================================ */

.diferencial-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.diferencial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #A83164 0%, #d14d8a 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(168, 49, 100, 0.2);
}

.diferencial-card:hover::before {
    transform: scaleX(1);
}

.diferencial-card .card-icon {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fef5f9 0%, #ffe5f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.diferencial-card:hover .card-icon {
    background: linear-gradient(135deg, #A83164 0%, #d14d8a 100%);
    transform: scale(1.1);
}

.diferencial-card:hover .card-icon i {
    color: #ffffff !important;
}

.diferencial-card h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    line-height: 1.4;
}

.diferencial-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Responsive para cards */
@media screen and (max-width: 768px) {
    .diferencial-card {
        min-height: auto;
        margin-bottom: 20px;
        padding: 30px 20px;
    }
    
    .diferencial-card .card-icon {
        width: 65px;
        height: 65px;
    }
    
    .diferencial-card .card-icon i {
        font-size: 35px !important;
    }
    
    .diferencial-card h4 {
        font-size: 16px;
    }
    
    .diferencial-card p {
        font-size: 13px;
    }
}

