/* ===== VARIÁVEIS CSS ===== */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2d74da;
    --accent-color: #f56500;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-dark: #334155;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-hero: linear-gradient(135deg, rgba(26, 54, 93, 0.95), rgba(45, 116, 218, 0.9));
}

.primary-color {
    color: var(--primary-color) !important;
}

/* ===== RESET E BASE ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafbfc;
    padding-top: 100px; /* Espaço para navbar fixa */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

/* ===== NAVBAR PROFISSIONAL ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    min-height: 80px;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    padding: 0;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 54, 93, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 54, 93, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.nav-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
    background-color: rgba(45, 116, 218, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
    left: 10%;
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    margin-right: 0.75rem;
    width: 20px;
    color: var(--secondary-color);
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color);
}

/* ===== RESPONSIVIDADE NAVBAR ===== */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        box-shadow: var(--shadow);
    }
    
    .nav-link {
        padding: 1rem !important;
        margin: 0.2rem 0;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--light-color);
        margin: 0.5rem 0;
        border-radius: 8px;
    }
    
    .dropdown-item {
        padding: 0.75rem 1.5rem;
    }
}

/* ===== HERO SECTION MODERNA ===== */
.hero-section {
    background: var(--gradient-hero),
        url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 54, 93, 0.9) 0%, rgba(45, 116, 218, 0.8) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* ===== BOTÕES MODERNOS ===== */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* ===== CARDS PROFISSIONAIS ===== */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.card .display-4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .display-4 {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* ===== SEÇÕES ===== */
section {
    padding: 0rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ===== FOOTER MODERNO ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p {
    color: #94a3b8;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer .bi {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* ===== WHATSAPP FLOAT MELHORADO ===== */
.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

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

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 0;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .card-body {
        padding: 2rem;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

/* ===== UTILITÁRIOS ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light-custom {
    background-color: #f8fafc !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

.shadow-lg-custom {
    box-shadow: var(--shadow-lg) !important;
}

 .banner-carousel-section {
       
        position: relative;
    }
    
    .banner-image {
        height: 600px;
        object-fit: cover;
    }
    
    .single-banner {
        position: relative;
        overflow: hidden;
    }
    
    .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
        display: flex;
        align-items: center;
    }
    
    .banner-content {
        color: white;
        text-align: left;
    }
    
    .banner-title {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    
    .banner-description {
        font-size: 1.2rem;
        margin-bottom: 0;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .carousel-caption {
        background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
        border-radius: 10px;
        padding: 20px;
        bottom: 30px;
        left: 10%;
        right: 10%;
    }
    
    .carousel-caption h3 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: #fff;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 0;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0 5px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(0,0,0,0.5);
        border-radius: 50%;
        padding: 20px;
    }
    
    /* Efeitos de hover para links */
    .single-banner a:hover .banner-image,
    .carousel-item a:hover .banner-image {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }
    
    .single-banner a,
    .carousel-item a {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    /* Responsividade */
    @media (max-width: 768px) {
        .banner-carousel-section {
            margin-top: 100px;
        }
        
        .banner-image {
            height: 250px;
        }
        
        .banner-title {
            font-size: 1.8rem;
        }
        
        .banner-description {
            font-size: 1rem;
        }
        
        .carousel-caption h3 {
            font-size: 1.5rem;
        }
        
        .carousel-caption p {
            font-size: 0.9rem;
        }
        
        .carousel-caption {
            bottom: 20px;
            left: 5%;
            right: 5%;
            padding: 15px;
        }
    }
    
    @media (max-width: 576px) {
        .banner-image {
            height: 200px;
        }
        
        .banner-title {
            font-size: 1.5rem;
        }
        
        .banner-description {
            font-size: 0.9rem;
        }
        
        .carousel-caption {
            display: none !important;
        }
    }