:root {
    --primary-black: #000000;
    --primary-gold: #C9A227; /* Dourado amadeirado principal */
    --primary-white: #FFFFFF;
    --secondary-gold: #9E7B34; /* Dourado amadeirado escuro */
    --light-gold: #E3B148; /* Dourado amadeirado claro */
    --wenge-dark: #5D4A36; /* Marrom wengue/madeira escura */
    --wenge-medium: #8B7355; /* Marrom médio amadeirado */
    --wood-light: #B69B72; /* Madeira clara dourada */
    --gray-dark: #1A1A1A;
    --gray-light: #F5F5F5;
}

/* Reset e estilos globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--primary-black);
    background-color: var(--primary-white);
    overflow-x: hidden;
}

 /* Loading spinner enquanto a página carrega */
        .loading-spinner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-black);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading-spinner.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        .spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(255, 215, 0, 0.1);
            border-left-color: var(--primary-gold);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Estilo personalizado para o Typebot */
        .typebot-bubble {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
        }

        .typebot-button {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
            border: none;
            color: var(--primary-black);
            font-size: 28px;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            animation: pulse 2s infinite;
        }

        .typebot-button:hover {
            transform: scale(1.15) rotate(10deg);
            box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
        }

        .typebot-button .tooltip {
            position: absolute;
            right: 80px;
            background: var(--primary-black);
            color: var(--primary-gold);
            padding: 8px 15px;
            border-radius: 25px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--primary-gold);
            font-weight: 500;
        }

        .typebot-button:hover .tooltip {
            opacity: 1;
            visibility: visible;
            right: 90px;
        }

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

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

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

        /* Floating Language Switcher */
        .floating-lang-switcher {
            position: fixed;
            right: 20px;
            bottom: 200px;
            /* Fica acima do Typebot */
            z-index: 9998;
            display: flex;
            flex-direction: column;
            gap: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateX(50px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .floating-lang-switcher.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .floating-lang-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--primary-black);
            border: 2px solid var(--primary-gold);
            color: var(--primary-white);
            padding: 12px 20px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 1rem;
            font-weight: 600;
            width: 85px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .floating-lang-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .floating-lang-btn:hover::before {
            left: 100%;
        }

        .floating-lang-btn .flag-icon {
            width: 24px;
            height: 18px;
            border-radius: 4px;
            object-fit: cover;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        .floating-lang-btn.floating-pt {
            background: linear-gradient(135deg, var(--primary-black) 0%, #1a4d2e 100%);
            border-color: #009c3b;
        }

        .floating-lang-btn.floating-pt.active {
            background: linear-gradient(135deg, #009c3b, #002776);
            border-color: var(--primary-gold);
            color: white;
            transform: scale(1.05);
        }

        .floating-lang-btn.floating-en {
            background: linear-gradient(135deg, var(--primary-black) 0%, #b22234 100%);
            border-color: #3c3b6e;
        }

        .floating-lang-btn.floating-en.active {
            background: linear-gradient(135deg, #b22234, #3c3b6e);
            border-color: var(--primary-gold);
            color: white;
            transform: scale(1.05);
        }

        .floating-lang-btn:hover {
            transform: translateX(-10px) scale(1.05);
            box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
        }

        .floating-lang-btn.floating-pt:hover {
            border-color: #009c3b;
        }

        .floating-lang-btn.floating-en:hover {
            border-color: #3c3b6e;
        }

        /* Tooltip personalizado */
        .floating-lang-btn {
            position: relative;
        }

        .floating-lang-btn::after {
            content: attr(data-tooltip);
            position: absolute;
            left: -80px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-black);
            color: var(--primary-gold);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            border: 1px solid var(--primary-gold);
            font-weight: 500;
        }

        .floating-lang-btn:hover::after {
            opacity: 1;
            visibility: visible;
            left: -90px;
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .floating-lang-switcher {
                bottom: 100px;
                right: 15px;
            }

            .floating-lang-btn {
                padding: 10px 15px;
                width: 90px;
                font-size: 0.9rem;
            }

            .floating-lang-btn .flag-icon {
                width: 20px;
                height: 15px;
            }

            .floating-lang-btn::after {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .floating-lang-switcher {
                bottom: 90px;
                right: 10px;
                gap: 8px;
            }

            .floating-lang-btn {
                padding: 8px 12px;
                width: 80px;
                font-size: 0.8rem;
            }

            .floating-lang-btn .flag-icon {
                width: 18px;
                height: 12px;
            }
        }

        /* Language Switcher Styles */
        .language-switcher {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-right: 15px;
            background: rgba(255, 255, 255, 0.1);
            padding: 3px;
            border-radius: 30px;
            border: 1px solid var(--primary-gold);
        }

        .lang-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            background: transparent;
            border: none;
            color: var(--primary-white);
            padding: 5px 12px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .lang-btn .flag-icon {
            width: 20px;
            height: 15px;
            border-radius: 3px;
            object-fit: cover;
        }

        .lang-btn.active {
            background: var(--primary-gold);
            color: var(--primary-black);
        }

        .lang-btn.active .flag-icon {
            box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
        }

        .lang-btn:hover {
            background: rgba(255, 215, 0, 0.2);
        }

        @media (max-width: 768px) {
            .language-switcher {
                margin-right: 10px;
            }

            .lang-btn span {
                display: none;
            }

            .lang-btn {
                padding: 5px 8px;
            }
        }

        /* Estilo para os modais */
        .modal-content {
            background-color: var(--primary-white);
            border: 2px solid var(--primary-gold);
            border-radius: 15px;
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
            color: var(--primary-white);
            border-bottom: 2px solid var(--primary-gold);
            border-radius: 15px 15px 0 0;
            padding: 1.5rem;
        }

        .modal-header .modal-title {
            color: var(--primary-gold);
            font-weight: 700;
            font-size: 1.5rem;
        }

        .modal-header .btn-close {
            filter: brightness(0) invert(1);
            opacity: 0.8;
            transition: all 0.3s ease;
        }

        .modal-header .btn-close:hover {
            opacity: 1;
            transform: rotate(90deg);
        }

        .modal-body {
            padding: 2rem;
            max-height: 70vh;
            overflow-y: auto;
        }

        .modal-body h4 {
            color: var(--primary-gold);
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .modal-body h5 {
            color: var(--primary-black);
            font-weight: 600;
            margin-top: 1.5rem;
            margin-bottom: 1rem;
            border-left: 4px solid var(--primary-gold);
            padding-left: 1rem;
        }

        .modal-body p {
            color: var(--text-gray);
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .modal-body ul {
            margin-bottom: 1rem;
            padding-left: 1.5rem;
        }

        .modal-body li {
            color: var(--text-gray);
            line-height: 1.8;
            margin-bottom: 0.5rem;
        }

        .modal-body li strong {
            color: var(--primary-black);
        }

        .modal-body em {
            color: var(--primary-gold);
            font-style: italic;
        }

        .modal-footer {
            border-top: 2px solid var(--gray-light);
            padding: 1.5rem;
            justify-content: center;
        }

        .modal-footer .btn-gold {
            min-width: 150px;
            padding: 10px 30px;
        }

        /* Scrollbar personalizada para o modal */
        .modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: var(--gray-light);
            border-radius: 10px;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: var(--primary-gold);
            border-radius: 10px;
        }

        .modal-body::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-gold);
        }

        /* Estilo para a imagem do especialista */
        .expert-image {
            width: 150px;
            height: 150px;
            object-fit: cover;
            border: 3px solid var(--primary-gold);
            padding: 5px;
            background: white;
        }

        /* Estilo para o popup de contato */
        #contactPopupModal .modal-content {
            border: 3px solid var(--primary-gold);
        }

        #contactPopupModal .modal-header {
            background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
            color: var(--primary-white);
            border-bottom: 2px solid var(--primary-gold);
        }

        #contactPopupModal .modal-title {
            color: var(--primary-gold);
            font-weight: 700;
        }

        #contactPopupModal .btn-close {
            filter: brightness(0) invert(1);
        }

        #contactPopupModal .form-label {
            color: var(--primary-black);
            font-weight: 600;
        }

        #contactPopupModal .form-control {
            border: 2px solid #e0e0e0;
            padding: 10px 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        #contactPopupModal .form-control:focus {
            border-color: var(--primary-gold);
            box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
        }

        #contactPopupModal .btn-gold {
            padding: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Toast de notificação */
        .contact-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            min-width: 300px;
            background: white;
            border-left: 4px solid var(--primary-gold);
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            padding: 15px 20px;
            z-index: 10000;
            display: none;
            animation: slideIn 0.3s ease;
        }

        .contact-toast.success {
            border-left-color: #28a745;
        }

        .contact-toast.error {
            border-left-color: #dc3545;
        }

        .contact-toast .toast-content {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .contact-toast i {
            font-size: 24px;
        }

        .contact-toast.success i {
            color: #28a745;
        }

        .contact-toast.error i {
            color: #dc3545;
        }

        .contact-toast .toast-message {
            flex: 1;
            font-size: 14px;
            color: #333;
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .modal-body {
                padding: 1.5rem;
            }
            
            .modal-body h4 {
                font-size: 1.5rem;
            }
            
            .modal-body h5 {
                font-size: 1.2rem;
            }
            
            .expert-image {
                width: 120px;
                height: 120px;
            }
            
            .contact-toast {
                min-width: 250px;
                left: 20px;
                right: 20px;
            }
        }

/* Navbar Personalizada */

.top-bar{
    padding: 10px;
}

.navbar {
    background-color: var(--primary-black) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--primary-gold);
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: var(--primary-white) !important;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-gold) !important;
}

button{
    border: none;
    background: none;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px;
    border-radius: 30px;
    border: 1px solid var(--primary-gold);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--primary-white);
    padding: 5px 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-btn .flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
}

.lang-btn.active {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.lang-btn.active .flag-icon {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.lang-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.lang-btn.active:hover {
    background: var(--primary-gold);
}

/* Responsivo */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
    }
    
    .lang-btn span {
        display: none;
    }
    
    .lang-btn {
        padding: 5px 8px;
    }
}

/* ===== HERO SLIDER ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Background das imagens */
#slide1 .slide-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero/slide-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#slide2 .slide-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero/slide-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#slide3 .slide-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero/slide-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .slide-bg {
    transform: scale(1.1);
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.1) translateX(0);
    }
    50% {
        transform: scale(1.15) translateX(-2%);
    }
    100% {
        transform: scale(1.1) translateX(2%);
    }
}

/* Efeito de transição entre slides - Glass Morphism */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(0px);
    z-index: 5;
    pointer-events: none;
    transition: backdrop-filter 1s ease;
}

.hero-slider.transitioning::after {
    backdrop-filter: blur(10px);
}

/* Efeito de partículas */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
}

.hero-slide.active::after {
    opacity: 0.5;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Conteúdo do slide */
.hero-content {
    position: relative;
    z-index: 20;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--primary-white);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100px;
    height: 3px;
    background: var(--primary-gold);
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.hero-slide.active .hero-title::after {
    transform: translateX(-50%) scaleX(1);
}

.hero-title span {
    color: var(--primary-gold);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    filter: blur(4px);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-slide.active .hero-subtitle {
    opacity: 0.9;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s;
}

.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Navigation - Estilo melhorado */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 30;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    color: var(--primary-gold);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 40;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slider-prev::before,
.slider-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.slider-prev:hover::before,
.slider-next:hover::before {
    width: 100%;
    height: 100%;
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    border-color: var(--primary-white);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

/* Slider Dots - Estilo melhorado */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.dot:hover::before {
    transform: scale(1);
}

.dot.active {
    background: transparent;
    transform: scale(1.3);
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.dot.active::before {
    transform: scale(1);
}

/* Slider Progress Bar - Estilo melhorado */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 30;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold), var(--primary-gold));
    background-size: 200% 100%;
    width: 0%;
    transition: width 5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--primary-gold);
    position: relative;
    animation: gradientMove 2s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: var(--primary-gold);
    filter: blur(5px);
    animation: progressGlow 2s infinite;
}

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

/* Botões Personalizados */
.btn-gold {
    background-color: var(--primary-gold);
    color: var(--primary-black);
    border: 2px solid var(--primary-gold);
    padding: 10px 8px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-gold:hover {
    background-color: transparent;
     color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Cards de Áreas de Atuação */
.area-card {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--gray-light) 100%);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    transition: left 0.3s ease;
}

.area-card:hover::before {
    left: 0;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.area-icon i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.area-card:hover .area-icon {
    background: var(--primary-gold);
}

.area-card:hover .area-icon i {
    color: var(--primary-black);
}

.area-card h3 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 1rem;
}

.area-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-gold);
    gap: 10px;
}

/* Cards da Equipe */
.team-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transition: bottom 0.3s ease;
}

.team-card:hover .team-overlay {
    bottom: 0;
}

.team-overlay h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.team-overlay p {
    color: var(--primary-white);
    margin-bottom: 1rem;
}

.team-social a {
    color: var(--primary-white);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--primary-gold);
}

.team-info {
    background: var(--primary-white);
    padding: 1.5rem;
    border: 1px solid var(--primary-gold);
    border-top: none;
}

.team-info h3 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--primary-gold);
    font-weight: 600;
    margin: 0;
}

/* ===== CARROSSEL DE ADVOGADOS ===== */
#advogadosCarousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#advogadosCarousel .carousel-item {
    height: 500px;
}

#advogadosCarousel .carousel-item img {
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 8s ease;
}

#advogadosCarousel .carousel-item.active img {
    transform: scale(1.05);
    animation: kenBurnsAdv 20s infinite alternate;
}

@keyframes kenBurnsAdv {
    0% {
        transform: scale(1.05) translateX(0);
    }
    50% {
        transform: scale(1.1) translateX(-2%);
    }
    100% {
        transform: scale(1.05) translateX(2%);
    }
}

#advogadosCarousel .carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1rem 1.5rem;
    text-align: left;
}

#advogadosCarousel .carousel-caption h5 {
    color: var(--primary-gold);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

#advogadosCarousel .carousel-caption p {
    color: var(--primary-white);
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#advogadosCarousel .carousel-indicators {
    margin-bottom: 1rem;
}

#advogadosCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

#advogadosCarousel .carousel-indicators button.active {
    background-color: var(--primary-gold);
    transform: scale(1.2);
    border-color: var(--primary-white);
}

#advogadosCarousel .carousel-control-prev,
#advogadosCarousel .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#advogadosCarousel:hover .carousel-control-prev,
#advogadosCarousel:hover .carousel-control-next {
    opacity: 1;
}

#advogadosCarousel .carousel-control-prev-icon,
#advogadosCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
    border: 2px solid var(--primary-gold);
}

/* Responsividade */
@media (max-width: 768px) {
    #advogadosCarousel .carousel-item {
        height: 400px;
    }
    
    #advogadosCarousel .carousel-caption h5 {
        font-size: 1.2rem;
    }
    
    #advogadosCarousel .carousel-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #advogadosCarousel .carousel-item {
        height: 350px;
    }
}

/* Seção de Contato */
.contact-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
    color: var(--primary-white);
    padding: 5rem 0;
}

.contact-info {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--primary-gold);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

.contact-info i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-info h5 {
    color: var(--primary-gold);
    margin-bottom: 0.2rem;
}

.contact-info p {
    color: var(--primary-white);
    margin: 0;
}

.contact-form {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: none;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--primary-gold);
    position: relative;
}

.footer-title {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-about-text {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    color: var(--primary-gold);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.footer-contact .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    color: #aaa;
}

.footer-contact .contact-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    min-width: 25px;
}

.footer-contact .contact-item p {
    margin: 0;
    line-height: 1.6;
}

.footer-newsletter {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.newsletter-title {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-text {
    color: #ccc;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--primary-white);
    padding: 12px 20px;
}

.newsletter-form .form-control:focus {
    background: transparent;
    box-shadow: none;
}

.newsletter-form .btn-gold {
    border-radius: 50px;
    padding: 10px 25px;
}

.footer-certifications {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.certification-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-gold);
}

.certification-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.cert-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cert-logo:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
}

.copyright {
    color: #777;
    margin: 0;
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-gold);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: 50%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--primary-black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Estatísticas */
.stats-section .counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stats-section p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Depoimentos */
.testimonial-card {
    background: var(--primary-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
}

.testimonial-content {
    position: relative;
}

.testimonial-content i.fa-quote-left {
    font-size: 2rem;
    color: var(--primary-gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #666;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h5 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin: 0;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gold);
}

/* Responsividade */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary-black);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        border: 2px solid var(--primary-gold);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-bottom-links {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
    
    .area-card {
        margin-bottom: 1rem;
    }
    
    .team-image img {
        height: 300px;
    }
    
    .footer-newsletter {
        padding: 2rem;
    }
    
    .certification-logos {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .slider-prev,
    .slider-next {
        display: none;
    }
    
    .counter {
        font-size: 2.5rem;
    }
}