@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

/********** Variáveis CSS **********/
:root {
    --primary: #3E9B67;
    --secondary: #27379f3;
    --light: #F8F8F8;
    --dark: #252525;
    --accent: #E67E22;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #777777;
    --gray-light: #d6d6d6;
    --border-radius: 4px;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/********** Reset e Configurações Base **********/
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    font-family: "Syne", sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Syne", sans-serif;
    margin-top: 0;
    line-height: 1.2;
}

h1, .h1, h2, .h2, .fw-bold {
    font-weight: 600 !important;
}

h3, .h3, h4, .h4, .fw-medium {
    font-weight: 500 !important;
}

h5, .h5, h6, .h6, .fw-normal {
    font-weight: 400 !important;
}

p {
    margin-bottom: 1rem;
     color: #fff;
}

.text-black {
    color: #000;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/********** Utilidades **********/
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-white { color: var(--white) !important; }
.text-dark { color: var(--dark) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--light) !important; }


.rounded { border-radius: var(--border-radius) !important; }
.rounded-circle { border-radius: 50% !important; }

.shadow { box-shadow: var(--box-shadow) !important; }
.shadow-hover:hover { box-shadow: var(--box-shadow-hover) !important; }

.transition { transition: var(--transition) !important; }

.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

.container-xxl {
    max-width: 1320px;
}

/********** Botões **********/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(39, 55, 159, 0.25);
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    color: var(--white);
    background-color: #1c2875;
    border-color: #1c2875;
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--white);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    color: var(--white);
    background-color: #2a7536;
    border-color: #2a7536;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    background-color: transparent;
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-light {
    color: var(--white);
    background-color: transparent;
    border-color: var(--white);
}

.btn-outline-light:hover {
    color: var(--dark);
    background-color: var(--white);
    border-color: var(--white);
}

.btn-lg {
   
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-border {
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--white) !important;
    border-radius: 50% !important;
}

/********** Navegação **********/
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar .logo {
    height: 60px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.navbar.sticky .logo {
    height: 50px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    position: relative;
}

.navbar .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover:after,
.navbar .navbar-nav .nav-link.active:after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
}

.navbar .dropdown-item {
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar .dropdown-item:hover {
    background-color: var(--light);
}

/********** Hero Section **********/
.home-page-hero {
    position: relative;
    overflow: hidden;
}

.header-carousel .owl-item {
    height: 100vh;
    min-height: 500px;
}

.header-carousel .owl-carousel-item {
    height: 100%;
    position: relative;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.header-carousel .display-1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    line-height: 1.1;
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: 0.5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: 0.5s;
    opacity: 0.3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/********** Seção Sobre **********/
.about-img {
    position: relative;
    height: 100%;
}

.about-img img:first-child {
    width: 70%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-img img:last-child {
    position: absolute;
    width: 50%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    bottom: -10%;
    right: 0;
}

.box-count {
    border: 5px solid var(--primary) !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 120px;
    height: 120px;
}

.box-count h2 {
    color: var(--primary);
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.box-text h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/********** Seção de Serviços **********/
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-card .card-image {
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card .service-text {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card .service-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card .service-text p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.btn-service {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    color: var(--white);
    background-color: var(--secondary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-service:hover {
    background-color: var(--primary);
    color: var(--white);
}

/****** Carrosel *******/



/********** Professional Skills Section **********/
.professional-skills {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--primary);
    color: var(--white);
    margin: 30px 0;
}

.professional-skills .image-container {
    flex: 1;
    min-width: 300px;
}

.professional-skills .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.professional-skills .text-content {
    flex: 1;
    padding: 2.5rem;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.professional-skills .sub-title {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.professional-skills h2 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.professional-skills ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.professional-skills li {
            margin-bottom: 1.5rem;
            display: flex;
            align-items: flex-start;
            transition: transform 0.3s ease;
            padding: 10px;
            border-radius: 8px;
             flex-direction: column;
        }

.professional-skills .dot {
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 8px;
    flex-shrink: 0;
}

.professional-skills h3 {
    display: flex;
    align-items: flex-start;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.professional-skills p {
    color: var(--gray-light);
    margin: 0.5rem 0 0 0;
}


/********** Galeria **********/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 200px;
}

.gallery a:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery a:hover img {
    transform: scale(1.05);
}

/********** Footer **********/
.footer {
    background-color: var(--primary);
    color: var(--white);
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--white);
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a {
    color: var(--light);
    display: inline;
}

.footer .copyright a:hover {
    color: var(--white);
}



/********** Section Title **********/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/********** Spinner **********/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/********** Back to Top & WhatsApp Buttons **********/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#botao-whatsapp {
    position: fixed;
    z-index: 99;
    right: 30px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/********** Cookie Consent **********/
.cookieConsentContainer {
    z-index: 999;
    width: 350px;
    min-height: 20px;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(35, 35, 35, 0.95);
    overflow: hidden;
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookieConsentContainer .cookieTitle a {
    font-family: "Open Sans", arial, sans-serif;
    color: var(--white);
    font-size: 1.125rem;
    line-height: 1.25;
    display: block;
    font-weight: 600;
}

.cookieConsentContainer .cookieDesc p {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", arial, sans-serif;
    color: var(--white);
    font-size: 0.8125rem;
    line-height: 1.25;
    display: block;
    margin-top: 10px;
}

.cookieConsentContainer .cookieDesc a {
    font-family: "Open Sans", arial, sans-serif;
    color: var(--primary);
    text-decoration: underline;
}

.cookieConsentContainer .cookieButton a {
    display: inline-block;
    font-family: "Open Sans", arial, sans-serif;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 14px;
    background: var(--primary);
    box-sizing: border-box;
    padding: 10px 20px;
    text-align: center;
    transition: background 0.3s;
    border-radius: 5px;
}

.cookieConsentContainer .cookieButton a:hover {
    cursor: pointer;
    background: #2e7a52;
}

/********** Media Queries - Responsividade **********/
@media (max-width: 1200px) {
    .header-carousel .display-1 {
        font-size: 3.5rem;
    }
    
    .display-5 {
        font-size: 2.25rem;
    }
     .professional-skills h2 {
        font-size: 2rem;
    }
    
    .professional-skills .text-content {
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
    
    .text_border {
        color: #ffffff;
    }
    
    .navbar-toggler {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
        background: var(--white);
    }

    .navbar-collapse {
        background: var(--secondary);
        padding: 10px 20px;
    }

    .navbar-collapse .nav-link {
        color: var(--black) !important;
    }
    
    

    .navbar-collapse .nav-link.active {
        color: var(--primary) !important;
    }

    .header-carousel .display-1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .about-img,
    .professional-skills {
        flex-direction: column;
    }
    
    .about-img img:first-child {
        display: none;
    }
    
    .about-img::before {
        display: none;
    }

    .about-img img:last-child,
    .about-img img {
        position: relative !important;
        height: auto !important;
        width: 100% !important;
        max-height: 380px;
        margin: 15px 0 !important;
            bottom: -120px;

    }

    .service-card {
        min-width: 100% !important;
        width: 100% !important;
        margin: 15px 0;
    }

      .professional-skills {
        margin: 20px 0;
    }
    
    .professional-skills .row {
        flex-direction: column;
    }
    
    .professional-skills .image-container,
    .professional-skills .text-content {
        min-width: 100%;
        flex: none;
    }
    
    .professional-skills .image-container {
        margin-bottom: 1.5rem;
    }
    
    .professional-skills .image-container img {
        max-height: 400px;
        object-position: center;
    }
    
    .professional-skills h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .header-carousel .owl-carousel-item {
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 1rem !important;
    }
    
    .cookieConsentContainer {
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        border-radius: 0;
    }
    
}

@media (max-width: 768px) {
    .header-carousel .display-1 {
        font-size: 2rem;
        margin-top: 80px !important;
    }
    
  .text_border {
        color: #ffffff !important;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .header-carousel .owl-item {
        height: 80vh;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery a {
        height: 180px;
    }
    
    .professional-skills .text-content h2 {
        font-size: 1.75rem !important;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    .footer .col-lg-3, 
    .footer .col-md-6, 
    .footer .col-md-12 {
    text-align: left !important;
    }
    .professional-skills {
                margin: 20px 0;
            }
            
            .professional-skills h2 {
                font-size: 1.6rem;
                margin-bottom: 1.5rem;
            }
            
            .professional-skills li {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .professional-skills .dot {
                margin-bottom: 10px;
                margin-top: 5px;
            }
            
            .professional-skills h3 {
                font-size: 1.1rem;
                order: 1; /* Garante que o h3 venha primeiro */
                width: 100%;
            }
            
            .professional-skills p {
                order: 2; /* Garante que o p venha depois */
                width: 100%;
                margin-top: 0.5rem;
            }
            
    .footer .btn.btn-link {
    text-align: left;
                padding-left: 0;
                justify-content: flex-start;
            }
            
            .footer .d-flex.pt-2 {
                justify-content: flex-start !important;
            }
            
            .footer .text-center.text-md-start,
            .footer .text-center.text-md-end {
                text-align: center !important;
            }
        }

        /* Adicionando um visual mais atrativo para o exemplo */
       
        
        .text-primary {
            color: #FFFFFF !important;
        }
        
        .btn-outline-body {
            border-color: rgba(255, 255, 255, 0.3);
            color: rgba(255, 255, 255, 0.7);
        }
        
        .btn-outline-body:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
        }
        
}

@media (max-width: 576px) {
    .header-carousel .display-1 {
        font-size: 1.75rem;
    }
    
  
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .box-count {
        width: 100px;
        height: 100px;
    }
    
    .box-count h2 {
        font-size: 2.5rem;
    }
    
   .professional-skills .text-content {
                padding: 1.2rem;
            }
            
            .professional-skills h2 {
                font-size: 1.4rem;
            }
            
            .professional-skills h3 {
                font-size: 1rem;
            }
            
            .professional-skills .dot {
                width: 10px;
                height: 10px;
            }
    .footer .row > div {
        margin-bottom: 2rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }
    
    .text_border {
        color: #ffffff !important;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
    
   
}

/********** Animações e Efeitos **********/
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Portfolio Carousel Styles */
.portfolio-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    margin: 0 auto;
}

.portfolio-carousel .owl-stage {
    display: flex;
    align-items: stretch;
    padding: 10px 0;
}

.portfolio-carousel .owl-item {
    display: flex;
    height: auto;
}

.portfolio-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 15px 5px;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.portfolio-img-container {
    position: relative;
    overflow: hidden;
    height: 280px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img-container img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 110, 253, 0.85), rgba(13, 110, 253, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-zoom {
    color: #fff;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.portfolio-item:hover .portfolio-zoom {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-zoom:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.portfolio-caption {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.portfolio-caption h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    
    letter-spacing: 0.5px;
}

.portfolio-caption p {
    color: #7f8c8d;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* Navigation arrows - Estilo melhorado */
.portfolio-carousel-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 120px);
    left: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
}

.portfolio-carousel-wrapper .owl-nav button {
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    background: #fff !important;
    color: #0d6efd !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    z-index: 1000;
}

.portfolio-carousel-wrapper .owl-nav button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d6efd;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.portfolio-carousel-wrapper .owl-nav button:hover::before {
    transform: scale(1);
}

.portfolio-carousel-wrapper .owl-nav button:hover {
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    transform: translateY(-3px);
}

.portfolio-carousel-wrapper .owl-nav button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.portfolio-carousel-wrapper .owl-nav button i {
    font-size: 24px;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.portfolio-carousel-wrapper .owl-nav button:hover i {
    transform: scale(1.15);
}

.portfolio-carousel-wrapper .owl-nav button.owl-prev {
    margin-left: 0;
}

.portfolio-carousel-wrapper .owl-nav button.owl-next {
    margin-right: 0;
}

/* Efeito de foco para acessibilidade */
.portfolio-carousel-wrapper .owl-nav button:focus {
    outline: 3px solid rgba(13, 110, 253, 0.5) !important;
    outline-offset: 2px;
}

/* Dots navigation */
.portfolio-carousel-wrapper .owl-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-carousel-wrapper .owl-dots button.owl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dee2e6 !important;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.portfolio-carousel-wrapper .owl-dots button.owl-dot:hover {
    background: #adb5bd !important;
}

.portfolio-carousel-wrapper .owl-dots button.owl-dot.active {
    background: #0d6efd !important;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

/* Remover estilos padrão do Owl Carousel que podem estar interferindo */
.portfolio-carousel .owl-nav {
    display: block !important;
}

.portfolio-carousel .owl-nav button {
    position: static !important;
    margin: 0 !important;
}

/* Corrigir sobreposição de z-index */
.portfolio-carousel-wrapper {
    position: relative;
    z-index: 1;
}

.portfolio-carousel {
    position: relative;
    z-index: 2;
}

.portfolio-carousel-wrapper .owl-nav {
    z-index: 100;
}

/* Estilo para quando o carregamento do carrossel estiver completo */
.portfolio-carousel.loaded .owl-stage {
    display: flex;
}



@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .portfolio-carousel-wrapper {
        padding: 0 50px;
    }
    
    .portfolio-carousel-wrapper .owl-nav {
        width: calc(100% + 100px);
        left: -50px;
    }
    
    .portfolio-img-container {
        height: 250px;
    }
}

@media (max-width: 992px) {
    .portfolio-carousel-wrapper {
        padding: 0 45px;
    }
    
    .portfolio-carousel-wrapper .owl-nav {
        width: calc(100% + 90px);
        left: -45px;
    }
    
    .portfolio-carousel-wrapper .owl-nav button {
        width: 50px;
        height: 50px;
    }
    
    .portfolio-carousel-wrapper .owl-nav button i {
        font-size: 20px;
    }
    
    .portfolio-img-container {
        height: 220px;
    }
    
    .portfolio-caption {
        padding: 20px;
    }
    
    .portfolio-caption h4 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .portfolio-carousel-wrapper {
        padding: 0 40px;
    }
    
    .portfolio-carousel-wrapper .owl-nav {
        width: calc(100% + 80px);
        left: -40px;
    }
    
    .portfolio-carousel-wrapper .owl-nav button {
        width: 45px;
        height: 45px;
    }
    
    .portfolio-carousel-wrapper .owl-nav button i {
        font-size: 18px;
    }
    
    .portfolio-img-container {
        height: 200px;
    }
    
    .portfolio-caption {
        padding: 18px;
    }
    
    .portfolio-caption h4 {
        font-size: 17px;
    }
    
    .portfolio-caption p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .portfolio-carousel-wrapper {
        padding: 0 35px;
    }
    
    .portfolio-carousel-wrapper .owl-nav {
        width: calc(100% + 70px);
        left: -35px;
    }
    
    .portfolio-carousel-wrapper .owl-nav button {
        width: 40px;
        height: 40px;
    }
    
    .portfolio-carousel-wrapper .owl-nav button i {
        font-size: 16px;
    }
    
    .portfolio-img-container {
        height: 180px;
    }
    
    .portfolio-caption {
        padding: 15px;
    }
    
    .portfolio-caption h4 {
        font-size: 16px;
    }
    
    .portfolio-caption p {
        font-size: 13px;
    }
    
    .portfolio-carousel-wrapper .owl-dots {
        margin-top: 20px;
    }
    
    .portfolio-carousel-wrapper .owl-dots button.owl-dot {
        width: 12px;
        height: 12px;
        margin: 0 4px;
    }
}

/* Animações extras para melhor UX */
.portfolio-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Garantir que as imagens carreguem corretamente */
.portfolio-img-container img {
    transition: opacity 0.3s ease, transform 0.6s ease;
}

.portfolio-img-container img[data-src] {
    opacity: 0;
}

.portfolio-img-container img.loaded {
    opacity: 1;
}

/* Melhorar acessibilidade para usuários com preferência por redução de movimento */
@media (prefers-reduced-motion: reduce) {
    .portfolio-item,
    .portfolio-img-container img,
    .portfolio-overlay,
    .portfolio-zoom,
    .portfolio-carousel-wrapper .owl-nav button,
    .portfolio-carousel-wrapper .owl-dots button.owl-dot {
        transition: none;
    }
    
    .portfolio-item:hover {
        transform: none;
    }
    
    .portfolio-carousel-wrapper::before {
        animation: none;
    }
}