:root {
    --primary-blue: #1A144F;
    --primary-orange: #F7941E;
    --secondary-blue: #2D248A;
    --light-gray: #F8F9FA;
    --dark-gray: #343A40;
    --white: #FFFFFF;
    --black: #212529;
}

/* Fontes e Base */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    padding-top: 80px;
    background-color: var(--light-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Modern Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a144f 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(26, 20, 79, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Logo with hover effect */
.logo-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
    padding: 5px;
}

.logo-img {
    height: 40px;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    z-index: 2;
}

.logo-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-orange) 0%, #f7941e80 50%, transparent 100%);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
    border-radius: 4px;
}

.navbar-brand:hover .logo-hover-effect {
    opacity: 1;
    transform: translateX(0);
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.navbar.scrolled .logo-img {
    height: 36px;
}

/* Navigation Links */
.nav-link {
    position: relative;
    font-weight: 500;
    padding: 10px 18px !important;
    color: var(--white) !important;
    transition: all 0.3s ease;
    margin: 0 4px;
    border-radius: 6px;
    overflow: hidden;
}

.nav-link-content {
    position: relative;
    z-index: 2;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
}

.nav-link:hover:before,
.nav-link.active:before {
    width: calc(100% - 36px);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover .nav-link-content,
.nav-link.active .nav-link-content {
    color: var(--primary-orange);
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(26, 20, 79, 0.95);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--white);
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-orange);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(247, 148, 30, 0.1);
    padding-left: 25px;
}

.dropdown-item:hover:before {
    transform: scaleY(1);
}

/* Contact Button */
.btn-contact {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e67e22 100%);
    border-radius: 6px;
    margin-left: 10px !important;
    box-shadow: 0 4px 15px rgba(247, 148, 30, 0.3);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 30, 0.4);
}

.btn-contact .nav-link-content {
    color: white !important;
}

.btn-contact:hover .nav-link-content {
    color: white !important;
}

/* Modern hero title emprestimo */
.page-hero-section {
    background-color: #f9f9f9;
    padding: 60px 0 40px;
    position: relative;
    text-align: left;
}

.page-hero-section .container {
    position: relative;
    z-index: 2;
}

.page-hero-section .hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a144f;
    margin-bottom: 10px;
}

.page-hero-section .lead {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
}

.page-hero-section .breadcrumb {
    background: none;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.page-hero-section .breadcrumb .breadcrumb-item {
    color: #999;
    font-weight: 500;
}

.page-hero-section .breadcrumb .breadcrumb-item a {
    color: #f7941e;
    text-decoration: none;
}

.page-hero-section .breadcrumb .breadcrumb-item.active {
    color: #1a144f;
    font-weight: 600;
}

/* Hover elegante */
.breadcrumb .breadcrumb-item a:hover {
    color: #c76300;
    text-decoration: underline;
}

/* Página atual */
.breadcrumb .breadcrumb-item.active {
    color: #1a144f;
    font-weight: 600;
}





/* Modern Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}
 
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    transform: scale(1.02);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.1rem;
}

.feature-item i {
    margin-right: 10px;
    color: var(--primary-orange);
    font-size: 1.3rem;
}

.btn-primary {
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(247, 148, 30, 0.4);
}

.pulse-animation:hover {
    animation: pulse 1.5s infinite;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 148, 30, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 148, 30, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 148, 30, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-carousel {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 450px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


/* botao primary*/
.btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #e07e0c;
    border-color: #e07e0c;
}


/* Seção de Produtos */
.btn-outline-primary {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}


.products-section {
    background-color: var(--white);
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--primary-orange);
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.product-card:hover p {
    color: #444;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.bg-orange {
    background-color: var(--primary-orange);
    color: white;
}

.bg-blue {
    background-color: var(--primary-blue);
    color: white;
}

.product-card:hover .badge {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 148, 30, 0.3);
}

.btn-outline-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-outline-primary:hover:before {
    left: 100%;
}

/* Efeito de brilho ao passar o mouse */
.product-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, 0.15), transparent 20%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover:after {
    opacity: 1;
}

/* Seção Bancos Parceiros */
.partners-section {
    background-color: var(--light-gray);
}

.partner-logo {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Seção Sobre */
.about-section {
    background-color: var(--white);
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 20, 79, 0.3) 0%, rgba(247, 148, 30, 0.3) 100%);
    z-index: 1;
}

.feature-icon {
    color: var(--primary-orange);
    font-size: 24px;
}

/* Seção CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Rodapé */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    position: relative;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 3px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent a {
    color: var(--primary-orange);
    text-decoration: underline;
}




/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    .navbar-collapse {
        background: rgba(26, 20, 79, 0.98);
        padding: 20px;
        border-radius: 0 0 12px 12px;
        margin-top: 10px;
        backdrop-filter: blur(10px);
    }
    
    .nav-link {
        margin: 4px 0;
        padding: 12px 16px !important;
    }
    
    .nav-link:before {
        display: none;
    }
    
    .btn-contact {
        margin-left: 0 !important;
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .product-card {
        padding: 25px 20px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
