/**
 * ================================================
 * PREMIUM ENHANCEMENTS CSS
 * ================================================
 * Cole este CSS no final do novo-layout.html
 * ou adicione como arquivo separado
 * ================================================
 */

/* ===== 1. GLASSMORPHISM PREMIUM ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(91, 143, 185, 0.25);
}

/* Aplicar em cards de serviço */
.service-item,
.specialty-card,
.about-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== 2. BOTÕES PREMIUM COM RIPPLE ===== */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #5B8FB9 0%, #3D6A8A 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(91, 143, 185, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(91, 143, 185, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-premium:active {
    transform: translateY(-1px);
}

/* ===== 3. WHATSAPP PREMIUM ===== */
.whatsapp-premium {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 
        0 10px 30px rgba(37, 211, 102, 0.4),
        0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    color: white;
}

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

.whatsapp-text {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

@keyframes pulse {
    0% { 
        box-shadow: 
            0 10px 30px rgba(37, 211, 102, 0.4), 
            0 0 0 0 rgba(37, 211, 102, 0.7); 
    }
    50% { 
        box-shadow: 
            0 10px 30px rgba(37, 211, 102, 0.4), 
            0 0 0 15px rgba(37, 211, 102, 0); 
    }
    100% { 
        box-shadow: 
            0 10px 30px rgba(37, 211, 102, 0.4), 
            0 0 0 0 rgba(37, 211, 102, 0); 
    }
}

/* ===== 4. LOADING PREMIUM ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3D6A8A 0%, #5B8FB9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    width: 280px;
    animation: fadeInScale 1s ease;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-progress {
    height: 100%;
    background: white;
    width: 0;
    animation: loading 2s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.loader-text {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

@keyframes loading {
    to { width: 100%; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== 5. SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
}

.reveal.active.reveal-left,
.reveal.active.reveal-right {
    transform: translateX(0);
    opacity: 1;
}

.reveal.active.reveal-scale {
    transform: scale(1);
    opacity: 1;
}

/* Delays para efeito cascata */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 6. BADGES DE AUTORIDADE ===== */
.credentials-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(91, 143, 185, 0.2);
}

.badge-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.badge-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.badge-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== 7. ESTATÍSTICAS PREMIUM ===== */
.stats-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #5B8FB9 0%, #3D6A8A 100%);
    border-radius: 24px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, #fff, #B8D4E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== 8. CARDS COM REVEAL EFFECT ===== */
.card-reveal {
    position: relative;
    overflow: hidden;
}

.card-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.7s ease;
}

.card-reveal:hover::after {
    left: 100%;
}

/* ===== 9. SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease 1.5s backwards;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    margin: 0 auto 8px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.scroll-text {
    font-size: 0.85rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== 10. DEPOIMENTOS PREMIUM ===== */
.testimonial-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-premium::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 120px;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #F59E0B;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.verified-badge {
    display: inline-block;
    background: #10B981;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .whatsapp-premium {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .credentials-badges {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .stats-premium {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .badge-item {
        padding: 1rem;
    }
    
    .testimonial-premium {
        padding: 2rem 1.5rem;
    }
}

/* ===== ANIMAÇÕES EXTRAS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Classes auxiliares */
.animate-in-up { animation: slideInUp 0.6s ease backwards; }
.animate-in-left { animation: slideInLeft 0.6s ease backwards; }
.animate-in-right { animation: slideInRight 0.6s ease backwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
