/*
* JS Comercial - Estilos Principais (Versão Aprimorada)
* Desenvolvido para distribuidora angolana de carnes, vinhos e bebidas
* Paleta: Azul escuro (#102542), dourado (#D4AF37), branco (#FFFFFF) e cinza escuro (#333333)
*/

/* ===== ESTILOS GERAIS ===== */
:root {
    /* Cores principais */
    --primary: #102542;
    --primary-light: #1a3a5f;
    --primary-dark: #081629;
    --secondary: #D4AF37;
    --secondary-light: #e0c158;
    --secondary-dark: #b39020;
    --dark: #333333;
    --light: #FFFFFF;
    
    /* Tons de cinza */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    --gradient-light: linear-gradient(135deg, var(--light), var(--gray-100));
    
    /* Transições */
    --transition-slow: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-medium: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Arredondamentos */
    --border-radius-xs: 2px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-pill: 50rem;
    
    /* Sombras */
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.15);
    --box-shadow-inner: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    color: var(--primary);
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary) 70%, transparent);
    border-radius: 2px;
    transition: width var(--transition-slow);
}

.section-title:hover:after {
    width: 120px;
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    border-radius: var(--border-radius-md);
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: var(--box-shadow-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
    z-index: -1;
    transform: skewX(-15deg);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(16, 37, 66, 0.25);
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 37, 66, 0.35);
}

.btn-secondary {
    background: var(--gradient-secondary);
    border-color: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-secondary:hover, .btn-secondary:focus {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.btn-outline-primary {
    color: var(--primary);
    border: 2px solid var(--primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(16, 37, 66, 0.25);
}

.btn-outline-secondary {
    color: var(--secondary-dark);
    border: 2px solid var(--secondary);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background: var(--gradient-secondary);
    border-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.25);
}

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

/* ===== HEADER ===== */
.top-bar {
    font-size: 0.85rem;
    padding: 8px 0;
    transition: all var(--transition-medium);
    background: var(--gradient-primary);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-fast);
    position: relative;
}

.top-bar a:hover {
    color: var(--secondary-light);
    text-decoration: none;
    transform: translateY(-1px);
}

.top-bar .contact-info i {
    color: var(--secondary);
    margin-right: 5px;
}

.main-header {
    box-shadow: var(--box-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--light);
    transition: all var(--transition-medium);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.main-header.scrolled {
    padding: 5px 0;
    box-shadow: var(--box-shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    position: relative;
    padding: 0;
}

.navbar-brand img {
    max-height: 60px;
    transition: all var(--transition-medium);
}

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

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-item {
    margin: 0 2px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 1rem 1.2rem;
    color: var(--gray-800);
    transition: all var(--transition-medium);
    position: relative;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0.6rem;
    left: 1.2rem;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width var(--transition-medium), opacity var(--transition-medium);
    opacity: 0;
    border-radius: var(--border-radius-pill);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: calc(100% - 2.4rem);
    opacity: 1;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background-color: rgba(16, 37, 66, 0.03);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all var(--transition-medium);
    background-color: transparent;
    position: relative;
    width: 40px;
    height: 40px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler:hover {
    transform: rotate(5deg);
}

.navbar-toggler .toggler-icon {
    display: block;
    position: absolute;
    height: 2px;
    width: 24px;
    background: var(--primary);
    border-radius: var(--border-radius-pill);
    opacity: 1;
    left: 8px;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.navbar-toggler .toggler-icon:nth-child(1) {
    top: 12px;
}

.navbar-toggler .toggler-icon:nth-child(2),
.navbar-toggler .toggler-icon:nth-child(3) {
    top: 19px;
}

.navbar-toggler .toggler-icon:nth-child(4) {
    top: 26px;
}

.navbar-toggler.collapsed .toggler-icon:nth-child(1) {
    top: 12px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .toggler-icon:nth-child(2),
.navbar-toggler.collapsed .toggler-icon:nth-child(3) {
    top: 19px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .toggler-icon:nth-child(4) {
    top: 26px;
    transform: rotate(0deg);
}

.navbar-toggler:not(.collapsed) .toggler-icon:nth-child(1) {
    top: 19px;
    width: 0;
    left: 50%;
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .toggler-icon:nth-child(2) {
    transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .toggler-icon:nth-child(3) {
    transform: rotate(-45deg);
}

.navbar-toggler:not(.collapsed) .toggler-icon:nth-child(4) {
    top: 19px;
    width: 0;
    left: 50%;
    opacity: 0;
}

.search-box .form-control {
    border-radius: var(--border-radius-pill);
    padding-left: 1rem;
    border: 1px solid var(--gray-300);
    transition: all var(--transition-medium);
    box-shadow: var(--box-shadow-inner);
}

.search-box .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(16, 37, 66, 0.1);
}

.search-box .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-medium);
}

.search-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-md);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--light);
        padding: 1rem;
        border-radius: var(--border-radius-md);
        box-shadow: var(--box-shadow-md);
        max-height: 80vh;
        overflow-y: auto;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .navbar-nav .nav-link::before {
        display: none;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(16, 37, 66, 0.05);
        color: var(--primary);
        border-radius: var(--border-radius-sm);
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* ===== HERO SLIDER ===== */
#hero-slider {
    margin-top: -1px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.carousel-item {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transform: scale(1.08);
    transition: transform 10s cubic-bezier(0.19, 1, 0.22, 1);
    filter: brightness(0.95);
}

.carousel-item.active img {
    transform: scale(1);
    filter: brightness(1);
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 37, 66, 0.6), rgba(0, 0, 0, 0.8));
    opacity: 0.85;
    z-index: 1;
}

.carousel-caption {
    bottom: 25%;
    text-align: left;
    max-width: 650px;
    left: 10%;
    right: auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption h2 {
    font-size: 3.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.carousel-caption h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: translateX(-100%);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
    border-radius: var(--border-radius-xs);
}

.carousel-item.active .carousel-caption h2::after {
    transform: translateX(0);
}

.carousel-caption p {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    max-width: 90%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.carousel-item.active .carousel-caption p {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s, all var(--transition-medium);
}

.carousel-item.active .carousel-caption .btn {
    opacity: 1;
    transform: translateY(0);
}

.carousel-indicators {
    margin-bottom: 3rem;
    z-index: 5;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--light);
    opacity: 0.7;
    transition: all var(--transition-medium);
    margin: 0 6px;
    position: relative;
}

.carousel-indicators [data-bs-target]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    opacity: 0;
    transition: all var(--transition-medium);
}

.carousel-indicators .active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    opacity: 1;
    transform: scale(1.1);
}

.carousel-indicators .active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: all var(--transition-medium);
    z-index: 5;
}

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

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(16, 37, 66, 0.7);
    border-radius: 50%;
    background-size: 45%;
    transition: all var(--transition-medium);
    box-shadow: var(--box-shadow-md);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* Animação de entrada do slider */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* ===== SOBRE NÓS ===== */
#sobre-nos {
    padding: 5rem 0;
}

.about-img img {
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.02);
}

/* ===== PRODUTOS ===== */
.category-filters {
    margin-bottom: 2rem;
}

.category-filters .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    border-width: 2px;
}

.category-filters .btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 10px rgba(16, 37, 66, 0.2);
}

.product-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-medium);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--light);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--box-shadow-xl);
}

.product-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.product-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16, 37, 66, 0.2), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

.product-card:hover .product-img-container::before {
    opacity: 1;
}

.product-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

.product-card:hover .product-img-container::after {
    opacity: 0.8;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img-container img {
    transform: scale(1.12);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-secondary);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--border-radius-pill);
    z-index: 2;
    box-shadow: var(--box-shadow-sm);
    transform: translateY(-5px);
    opacity: 0;
    transition: all var(--transition-medium);
}

.product-card:hover .product-badge {
    transform: translateY(0);
    opacity: 1;
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background-color: var(--light);
    transition: all var(--transition-medium);
    border-top: 1px solid var(--gray-200);
}

.product-card:hover .card-body {
    background-color: var(--gray-100);
}

.produto-item {
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.produto-item.hide {
    opacity: 0;
    transform: translateY(30px);
}

.produto-item.show {
    opacity: 1;
    transform: translateY(0);
}

.product-card .card-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    transition: color var(--transition-medium);
}

.product-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-secondary);
    transition: width var(--transition-medium);
    border-radius: var(--border-radius-xs);
}

.product-card:hover .card-title::after {
    width: 60px;
}

.product-card .card-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.product-card .btn {
    margin-top: auto;
    align-self: flex-start;
    transform: translateY(5px);
    transition: all var(--transition-medium);
}

.product-card:hover .btn {
    transform: translateY(0);
}

/* ===== CATÁLOGOS ===== */
.bg-parallax {
    background: url('../images/bg-parallax.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

/* Adicionar overlay escuro para melhor contraste */
.bg-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.bg-parallax > * {
    position: relative;
    z-index: 2;
}

/* Background para catálogos */
.bg-catalogos {
    background: url('../images/bg-catalogos.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.bg-catalogos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 37, 66, 0.7);
    z-index: 1;
}

.bg-catalogos > * {
    position: relative;
    z-index: 2;
}

/* ===== DIFERENCIAIS ===== */
.diferencial-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-10px);
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(16, 37, 66, 0.1);
    color: var(--primary);
    transition: background-color 0.3s ease;
}

.diferencial-card:hover .icon-container {
    background-color: var(--primary);
    color: var(--light);
}

/* ===== PARCEIROS ===== */
#parceiros {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.parceiros-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 1rem 0;
}

.parceiros-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.parceiros-marquee:hover .parceiros-track {
    animation-play-state: paused;
}

.parceiro-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.parceiro-item img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.parceiro-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.parceiro-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Adiciona gradientes nas bordas para suavizar a transição */
.parceiros-marquee::before,
.parceiros-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.parceiros-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-100) 0%, transparent 100%);
}

.parceiros-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-100) 0%, transparent 100%);
}

/* Responsividade */
@media (max-width: 768px) {
    .parceiro-item {
        padding: 0 1.5rem;
    }
    
    .parceiro-item img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .parceiro-item {
        padding: 0 1rem;
    }
    
    .parceiro-item img {
        max-height: 40px;
    }
}

#parceiros-carousel .carousel-indicators .active {
    background-color: var(--secondary);
}

/* ===== CONTATO ===== */
.contact-form .form-control {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 0.8rem 0.5rem;
    background-color: transparent;
}

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

.contact-list i {
    width: 25px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary);
}

.footer h5 {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer a:hover {
    color: var(--light) !important;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary);
}

/* ===== ELEMENTOS FLUTUANTES ===== */
.floating-elements {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: all var(--transition-medium);
}

.whatsapp-float::before {
    content: 'Fale conosco pelo WhatsApp';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--light);
    color: var(--dark);
    padding: 10px 15px;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    white-space: nowrap;
    z-index: 9999;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-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);
    }
}

.whatsapp-float a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    top: -100%;
    left: 0;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.whatsapp-float a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float a:hover::before {
    top: 0;
}

/* Media queries para responsividade do botão WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .whatsapp-float::before {
        display: none; /* Oculta o texto em dispositivos médios */
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
    
    .back-to-top a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        z-index: 9999;
    }
    
    .whatsapp-float a {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
        animation: whatsapp-pulse 2s infinite;
    }
    
    .back-to-top {
        bottom: 25px;
        left: 25px;
    }
    
    .back-to-top a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        box-shadow: 0 4px 12px rgba(16, 37, 66, 0.3);
    }
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    transform: translateY(20px);
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: auto;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--box-shadow-md);
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.back-to-top a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    top: 0;
    left: -100%;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.back-to-top a:hover {
    transform: translateY(-5px);
    background: var(--gradient-secondary);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
}

.back-to-top a:hover::after {
    left: 0;
}

.back-to-top a i {
    transition: all var(--transition-medium);
}

.back-to-top a:hover i {
    transform: translateY(-3px);
}

/* ===== ANIMAÇÕES ===== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-bounce {
    animation: bounce 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}

/* Animações AOS personalizadas */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

/* Animação de carregamento da página */
body.loaded .fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.loaded .fade-in-left {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.loaded .fade-in-right {
    opacity: 1;
    transform: translateX(0);
}

/* Efeito para seção parallax */
.parallax-content {
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1399.98px) {
    .carousel-caption h2 {
        font-size: 3.4rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .product-img-container {
        height: 200px;
    }
}

@media (max-width: 1199.98px) {
    .carousel-caption h2 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .product-card .card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.8rem 0.5rem;
    }
    
    .carousel-item {
        height: 70vh;
    }
    
    .carousel-caption {
        bottom: 20%;
        max-width: 550px;
    }
    
    .carousel-caption h2 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link::before {
        bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-img-container {
        height: 180px;
    }
    
    .floating-elements {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float::before {
        display: none;
    }
    
    .diferencial-card .icon-container {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        text-align: center;
        left: 10%;
        right: 10%;
        bottom: 15%;
        max-width: 100%;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
        letter-spacing: 0;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-nav .nav-link::before {
        display: none;
    }
    
    .navbar-nav .nav-link.active {
        background-color: rgba(16, 37, 66, 0.05);
        border-radius: var(--border-radius-sm);
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .product-img-container {
        height: 200px;
    }
    
    .footer h5 {
        margin-top: 1.5rem;
    }
    
    .footer h5:after {
        width: 50px;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .carousel-caption .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        letter-spacing: 0.3px;
    }
    
    .top-bar {
        display: none;
    }
    
    .floating-elements {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .whatsapp-float a,
    .back-to-top a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .section-title:after {
        width: 40px;
        height: 3px;
    }
    
    .category-filters .btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
        margin-right: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card {
        margin-bottom: 1.2rem;
    }
    
    .product-card:hover {
        transform: translateY(-5px) scale(1);
    }
    
    .product-img-container {
        height: 180px;
    }
    
    .product-card .card-title {
        font-size: 1.1rem;
    }
    
    .product-card .card-title::after {
        width: 30px;
    }
    
    .product-card:hover .card-title::after {
        width: 50px;
    }
    
    /* Melhorar espaçamento em dispositivos móveis */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2.5rem !important;
    }
    
    .mt-5 {
        margin-top: 2.5rem !important;
    }
    
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .navbar-brand img {
        max-height: 50px;
    }
    
    .scrolled .navbar-brand img {
        max-height: 40px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 399.98px) {
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .carousel-item {
        height: 45vh;
        min-height: 350px;
    }
    
    .product-img-container {
        height: 160px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .navbar-brand img {
        max-height: 45px;
    }
    
    .scrolled .navbar-brand img {
        max-height: 35px;
    }
    
    .floating-elements {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        position: fixed;
        z-index: 9999;
    }
    
    .whatsapp-float a,
    .back-to-top a {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }
    
    .whatsapp-float a {
        animation: whatsapp-pulse 2s infinite;
        background: linear-gradient(135deg, #25D366, #128C7E);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Ajustes específicos para dispositivos muito pequenos */
@media (max-width: 320px) {
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
    }
    
    .whatsapp-float a {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
        box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
    }
}