/**
 * ========================================================================================================================
 * HERO SLIDER ULTRA MODERNO - SISTEMA DE ENTRADA IMPACTANTE
 * ========================================================================================================================
 * 
 * FUNCIONALIDADES ESPECIAIS:
 * - Imagens exibidas em escala natural (sem zoom, como slider antigo)
 * - Parallax no scroll
 * - Glassmorphism nos CTAs
 * - Harmonização automática de cores
 * - Transições cinematográficas
 * - Touch gestures para mobile
 * - Drag com mouse para navegação
 * - Linha decorativa animada
 * - FOUC fix (loading elegante)
 * 
 * @author Sistema Moderno de Sites
 * @version 1.0.0
 * @date 2025
 */

/* ==== VARIÁVEIS CSS ==== */
:root {
    --hero-transition-duration: 1200ms;
    --hero-text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    --hero-primary-color: #6b7280;
    --hero-hover-color: #4b5563;
    --hero-text-color: #ffffff;
}

/* ==== CONTAINER PRINCIPAL ==== */
.hero-slider-modern {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    cursor: default;
}

/* ==== CANVAS DE PARTÍCULAS ==== */
/* DESABILITADO - Não é adequado para o contexto de cartórios */
.hero-particles-canvas {
    display: none !important; /* Oculta completamente em todas as resoluções */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
}

/* ==== CONTAINER DE SLIDES ==== */
.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ==== SLIDE INDIVIDUAL ==== */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--hero-transition-duration) ease-in-out,
                visibility var(--hero-transition-duration) ease-in-out;
    z-index: 1;
}
    
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* ==== BACKGROUND DO SLIDE - PREENCHE TODA A ÁREA RESPONSIVAMENTE ==== */
.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;  /*✅ Melhor opção */    

    /* background-position: center center;  Centraliza */
    background-position: center top; /* Alinha no topo e centraliza horizontalmente */
    
    background-repeat: no-repeat;
}

/* ==== BACKGROUNDS ESPECÍFICOS ==== */
/* Nota: Os backgrounds são definidos dinamicamente via inline style no includeHeroSliderModerno.php */
/* Isso permite que cada cliente tenha suas próprias imagens específicas */

/* ==== OVERLAY REMOVIDO - Imagem com iluminação e nitidez originais ==== */
.hero-slide-overlay {
    display: none; /* Overlay desabilitado para manter qualidade original da imagem */
}

/* ==== CONTEÚDO DO SLIDE ==== */
.hero-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start; /* Alinhamento no topo ao invés do centro */
    padding-top: 15vh; /* Espaço do topo (15% da altura da tela) */
    z-index: 3;
}

.hero-content-wrapper {
    width: 100%;
    text-align: center;
    padding: 0 2rem;
}

/* ==== BADGE REMOVIDO ==== */
/* Badges causavam confusão parecendo botões clicáveis */
.hero-badge {
    display: none;
}

/* ==== TÍTULO PRINCIPAL - NOME DO CARTÓRIO SEMPRE EM UMA LINHA ==== */
/* Seguindo o padrão visual com fontes GRANDES e responsivas */

.hero-title.wellcome-heading {
    margin: 0;
    padding: 0;
    display: block;
    text-align: center;
    width: 100%;
}

/* "Bem-vindo ao" - Branco e Centralizado */
.hero-title.wellcome-heading h4 {
    font-size: clamp(1.2rem, 2vw, 1.8rem) !important; /* 19px min, 2% viewport, 28px max */
    font-weight: 400 !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
}

/* Nome do Cartório Completo - TAMANHO AJUSTADO E RESPONSIVO */
/* h2 serve principalmente para capturar a cor do CSS específico do cliente */
.hero-title.wellcome-heading h2 {
    font-size: clamp(1rem, 3.5vw, 2.5rem) !important; /* Escala de 1rem até 2.5rem baseado na largura */
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0.3rem 0 !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.3 !important;
    white-space: normal !important; /* Permite quebra de linha quando necessário */
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 0 2rem !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    hyphens: none !important; /* Evita hifenização */
}

/* Cor personalizada de cada cliente (Ex: style_329.css) */
/* .wellcome-heading > h2 > strong { color: #e5cf88; } */
.hero-title.wellcome-heading h2 strong,
.wellcome-heading > h2 > strong {
    font-weight: 700 !important;
    white-space: normal !important; /* Permite quebra de linha */
    /* A cor será aplicada pelo CSS específico do cliente */
}

/* "Cartório [Nome Curto]" - TAMANHO AJUSTADO E RESPONSIVO */
/* h5 serve principalmente para capturar a cor do CSS específico do cliente */
.hero-title.wellcome-heading h5 {
    font-size: clamp(1.2rem, 2vw, 1.8rem) !important; /* 19px min, 2% viewport, 28px max */
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0.3rem 0 0 0 !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.3 !important;
    white-space: nowrap !important; /* SEMPRE EM UMA LINHA */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 2rem !important;
    max-width: 100% !important;
}

/* Cor personalizada de cada cliente (Ex: style_329.css) */
/* .wellcome-heading > h5 > strong { color: #e5cf88; } */
.hero-title.wellcome-heading h5 strong,
.wellcome-heading > h5 > strong {
    font-weight: 700 !important;
    white-space: nowrap !important;
    /* A cor será aplicada pelo CSS específico do cliente */
}

/* ==== LINHA DECORATIVA ANIMADA ==== */
.hero-decorative-line {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--hero-primary-color) 0%, 
        var(--hero-hover-color) 100%
    );
    margin: 0 auto 2rem;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--hero-primary-color);
    animation: line-grow 1.5s ease-out forwards;
    animation-delay: 300ms;
}

@keyframes line-grow {
    0% { width: 0; }
    100% { width: 120px; }
}

/* ==== SUBTÍTULO ==== */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: var(--hero-text-shadow);
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

/* ==== TEXTO DO SLIDE 2 (FALE CONOSCO) COM QUEBRAS DE LINHA ==== */
.hero-contact-text {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.hero-contact-text p {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem) !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
    margin: 0.8rem 0 !important;
    opacity: 0.95;
    font-weight: 400;
}

/* ==== GRUPO DE CTAs ==== */
.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ==== CTA PRIMÁRIO COM GLASSMORPHISM ==== */
.hero-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, 
        var(--hero-primary-color) 0%, 
        var(--hero-hover-color) 100%
    );
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                0 0 0 0 rgba(255, 255, 255, 0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4),
                0 0 0 8px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important; /* Mantém branco em qualquer cor de cliente */
}

.hero-cta-primary .cta-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover .cta-icon {
    transform: translateX(5px);
}

/* Remove contorno preto e adiciona efeito elegante */
.hero-cta-primary:focus {
    outline: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4),
                0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Efeito ao clicar */
.hero-cta-primary:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Efeito Ripple nos CTAs */
.cta-ripple {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ==== CTA SECUNDÁRIO ==== */
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff !important; /* Mantém branco em qualquer cor de cliente */
}

.hero-cta-secondary .cta-icon-left {
    font-size: 1.2rem;
}

/* Remove contorno preto e adiciona efeito elegante */
.hero-cta-secondary:focus {
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
                0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Efeito ao clicar */
.hero-cta-secondary:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

/* ==== ESTATÍSTICAS RÁPIDAS ==== */
.hero-quick-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap; /* Garante que fiquem na mesma linha */
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    max-width: 700px; /* Aumentado para comportar os 3 itens */
    margin: 0 auto;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.hero-stat-item i {
    font-size: 1.5rem;
    color: var(--hero-primary-color);
}

.hero-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

/* ==== INFO BOX (SLIDE 2) ==== */
.hero-info-box {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.hero-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    color: #ffffff;
}

.hero-info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.hero-info-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    white-space: normal; /* Permite quebra de linha inteligente */
    word-break: normal; /* Evita quebra no meio das palavras */
    max-width: 350px; /* Largura máxima para o texto */
    text-align: left;
}

/* ==== SETAS DE NAVEGAÇÃO ==== */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hero-slider-modern:hover .hero-nav-arrow {
    opacity: 1;
    visibility: visible;
}

.hero-nav-prev {
    left: 2rem;
}

.hero-nav-next {
    right: 2rem;
}

.hero-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Remove contorno preto padrão do navegador */
.hero-nav-arrow:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Efeito visual ao clicar (feedback instantâneo) */
.hero-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.1s ease;
}

.hero-arrow-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

/* Ícone pulsa levemente ao clicar */
.hero-nav-arrow:active .hero-arrow-icon {
    transform: scale(0.9);
}

/* ==== BULLETS DE NAVEGAÇÃO ==== */
.hero-nav-bullets {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 15; /* Maior que conteúdo (z-index: 3) para nunca ficar por baixo */
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
}

.hero-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-bullet:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* Remove contorno preto do bullet */
.hero-bullet:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Efeito ao clicar no bullet */
.hero-bullet:active {
    transform: scale(0.9);
    transition: all 0.1s ease;
}

.hero-bullet.active {
    width: 40px;
    border-radius: 10px;
    background: var(--hero-primary-color);
    border-color: var(--hero-primary-color);
}

/* ==== INDICADOR DE SCROLL REMOVIDO ==== */
/* Não é necessário - todo mundo já sabe que pode rolar a página */
.hero-scroll-indicator {
    display: none;
}

/* ==== RESPONSIVIDADE ==== */

/* Tablets */
@media (max-width: 992px) {
    .hero-slider-modern {
        height: 80vh;
        min-height: 550px;
    }
    
    /* Ajuste do padding superior em tablet */
    .hero-slide-content {
        padding-top: 13vh; /* Intermediário entre desktop e mobile */
    }
    
    /* Responsividade do nome do cartório em tablets */
    .hero-title.wellcome-heading h4 {
        font-size: clamp(1.1rem, 2.5vw, 1.6rem) !important;
    }
    
    .hero-title.wellcome-heading h2 {
        font-size: clamp(0.95rem, 4vw, 2.2rem) !important;
        padding: 0 1.5rem !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .hero-title.wellcome-heading h5 {
        font-size: clamp(1.1rem, 2.2vw, 1.6rem) !important;
        padding: 0 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Texto do slide 2 em tablets */
    .hero-contact-text p {
        font-size: clamp(1rem, 2vw, 1.2rem) !important;
        margin: 0.7rem 0 !important;
    }
    
    .hero-nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .hero-nav-prev {
        left: 1rem;
    }
    
    .hero-nav-next {
        right: 1rem;
    }
    
    /* Bullets um pouco menores em tablet */
    .hero-nav-bullets {
        bottom: 2rem;
        gap: 0.8rem;
        padding: 0.4rem 0.8rem;
        background: rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(5px);
        border-radius: 18px;
    }
    
    .hero-bullet {
        width: 10px;
        height: 10px;
    }
    
    .hero-bullet.active {
        width: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-slider-modern {
        height: 100vh;
        min-height: 600px;
    }
    
    /* Ajuste do padding superior em mobile */
    .hero-slide-content {
        padding-top: 12vh; /* Um pouco menos que desktop */
    }
    
    .hero-content-wrapper {
        padding: 0 1rem;
    }
    
    /* Responsividade do nome do cartório em mobile */
    .hero-title.wellcome-heading h4 {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
    }
    
    .hero-title.wellcome-heading h2 {
        font-size: clamp(0.85rem, 5vw, 1.8rem) !important;
        padding: 0 1rem !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .hero-title.wellcome-heading h5 {
        font-size: clamp(0.95rem, 3.5vw, 1.3rem) !important;
        padding: 0 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    /* Texto do slide 2 em mobile */
    .hero-contact-text {
        max-width: 90%;
        padding: 0 1rem;
    }
    
    .hero-contact-text p {
        font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
        margin: 0.6rem 0 !important;
        line-height: 1.5 !important;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1.1rem 2rem;
    }
    
    .hero-quick-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .hero-stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .hero-info-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        max-width: 90%; /* Ajusta largura em mobile */
    }
    
    .hero-info-content {
        align-items: center;
    }
    
    .hero-info-value {
        font-size: 1rem; /* Ligeiramente menor em mobile */
        max-width: 280px; /* Ajusta largura máxima em mobile */
        text-align: center; /* Centraliza em mobile */
    }
    
    /* Setas de navegação menores mas visíveis em mobile */
    .hero-nav-arrow {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        opacity: 0.8; /* Sempre visível em mobile */
        visibility: visible;
    }
    
    .hero-nav-arrow:hover {
        opacity: 1;
    }
    
    .hero-nav-prev {
        left: 0.5rem;
    }
    
    .hero-nav-next {
        right: 0.5rem;
    }
    
    .hero-arrow-icon {
        width: 18px;
        height: 18px;
    }
    
    /* Bullets menores e mais embaixo para evitar sobreposição */
    .hero-nav-bullets {
        bottom: 1rem; /* Mais próximo da borda inferior */
        gap: 0.6rem; /* Espaçamento menor */
        padding: 0.5rem 1rem; /* Adiciona padding */
        background: rgba(0, 0, 0, 0.2); /* Fundo semi-transparente para destaque */
        backdrop-filter: blur(5px);
        border-radius: 20px;
    }
    
    /* Bullets menores em mobile */
    .hero-bullet {
        width: 8px;
        height: 8px;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }
    
    .hero-bullet.active {
        width: 24px; /* Menor que desktop (40px) */
    }
    
    /* Adiciona espaço extra no conteúdo para não encostar nos bullets */
    .hero-content-wrapper {
        padding-bottom: 4rem; /* Garante espaço para os bullets */
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    /* Ajuste do padding superior em telas muito pequenas */
    .hero-slide-content {
        padding-top: 10vh; /* Menos espaço no topo para aproveitar tela */
    }
    
    .hero-content-wrapper {
        padding: 0 0.75rem 5rem 0.75rem; /* Ainda mais espaço embaixo */
    }
    
    /* Bullets ainda menores */
    .hero-nav-bullets {
        bottom: 0.75rem; /* Quase na borda */
        padding: 0.4rem 0.8rem;
        gap: 0.5rem;
    }
    
    .hero-bullet {
        width: 6px;
        height: 6px;
    }
    
    .hero-bullet.active {
        width: 20px;
    }
    
    /* Responsividade extrema para telas muito pequenas */
    .hero-title.wellcome-heading h4 {
        font-size: clamp(0.9rem, 5vw, 1.1rem) !important;
    }
    
    .hero-title.wellcome-heading h2 {
        font-size: clamp(0.75rem, 6vw, 1.5rem) !important;
        padding: 0 0.5rem !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .hero-title.wellcome-heading h5 {
        font-size: clamp(0.85rem, 4.5vw, 1.1rem) !important;
        padding: 0 0.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Texto do slide 2 em mobile pequeno */
    .hero-contact-text p {
        font-size: clamp(0.85rem, 4.5vw, 1rem) !important;
        margin: 0.5rem 0 !important;
    }
}

/* ==== EFEITO PARALLAX (ativado via JavaScript) ==== */
.hero-slider-modern.parallax-active .hero-slides-container {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==== CURSOR PADRÃO ==== */
.hero-slider-modern {
    cursor: default; /* Cursor normal - sem sugerir drag */
}

/* ==== ANIMAÇÕES AOS (Animate On Scroll) ==== */
[data-aos="fade-down"] {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="grow-line"] {
    width: 0 !important;
}

.hero-slide.active [data-aos] {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active [data-aos="grow-line"] {
    animation: line-grow 1.5s ease-out forwards;
    animation-delay: 300ms;
}

/* ==== PREVENÇÃO DE FOUC ==== */
body.harmonizacao-pendente .hero-slider-modern {
    opacity: 0;
}

body.harmonizacao-concluida .hero-slider-modern {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

