:root {
    --primary-color: #3f3f95; /* Azul Nacala profundo */
    --primary-light: #5a5acc; /* Tom mais claro do azul */
    --secondary-color: #fff112; /* Amarelo vibrante */
    --secondary-nice: #2c3e50;
    --accent-color: #e84347; /* Vermelho para destaque/alerta */
    --light-color: #fefefe; /* Branco suave */
    --dark-color: #2c3e50; /* Cinza escuro/Azul ardósia */
    --text-muted-light: #f8f9fa;
    --text-muted-dark: #6c757d;
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.8rem;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: #333;
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Modern Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a7a 100%);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1000;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.top-bar a {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.top-bar i {
    font-size: 1rem;
    color: var(--secondary-color);
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

.top-bar-info span:last-child {
    margin-right: 0;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand img {
    height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    padding: 0.8rem 1.2rem !important;
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: all 0.3s ease;
}

.dropdown-toggle::after {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0.5rem;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border-radius: var(--border-radius-md);
    border: none;
    box-shadow: var(--shadow-lg);
    animation: fadeInDropdown 0.3s ease forwards;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateX(3px);
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn:hover::after {
        width: 300px;
        height: 300px;
    }

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--primary-light);
        border-color: var(--primary-light);
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(26, 74, 122, 0.35);
    }

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color) !important;
}

    .btn-warning:hover {
        background-color: #ffe000;
        border-color: #ffe000;
        transform: translateY(-4px);
        box-shadow: 0 10px 22px rgba(200, 180, 0, 0.35);
    }

.btn-outline-light {
    border-width: 2px;
}

    .btn-outline-light:hover {
        color: var(--dark-color);
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-2px);
    }

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .whatsapp-float:hover {
        transform: scale(1.15) rotate(10deg);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
}

    .back-to-top.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:not(.active) {
        transform: translateY(20px);
    }

    .back-to-top:hover {
        background: var(--primary-light);
        transform: translateY(-3px) scale(1.05);
    }

/* Footer */
.footer-section {
    position: relative;
    background-color: #313183;
    color: white;
    padding-top: 100px;
    margin-top: 100px;
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    color: #313183;
    transform: rotate(180deg);
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
    transform: rotateY(180deg);
}

.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--light-color);
    transform: translateX(5px);
}

.footer-section .social-icons a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.footer-section .social-icons a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-section h5 {
    position: relative;
    padding-bottom: 15px;
}

.footer-section h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section .list-unstyled li {
    margin-bottom: 12px;
}

.footer-section .list-unstyled a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-section .list-unstyled a:hover {
    transform: translateX(5px);
}

.footer-section .list-unstyled a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.footer-section .list-unstyled a:hover i {
    color: var(--secondary-color) !important;
}

.footer-section .list-inline-item a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.footer-section .list-inline-item a:hover i {
    color: var(--secondary-color) !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
        font-size: 0.85rem;
    }
    .top-bar-info span {
        margin-right: 10px;
    }
    .navbar-brand img {
        height: 50px;
    }
    .footer-section {
        padding-top: 80px;
    }
    .footer-wave {
        height: 70px;
        top: -70px;
    }
    .footer-wave svg {
        height: 70px;
    }
} 