/* ===================================
   CSS UNIFICADO E OTIMIZADO
   Sistema Completo - Todas as Páginas
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #043a40;
    --secondary-color: #043a40dd;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --border-color: #e5e7eb;
    --text-color: #374151;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-brand img {
    height: 45px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: var(--transition);
    position: relative;
    padding: 0.8rem 1rem !important;
    margin: 0 0.2rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.current::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* User Menu */
.user-menu .dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.user-menu .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.user-menu .dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ===================================
   HERO SECTIONS
   =================================== */

.hero-section,
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-section::before,
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="120" fill="url(%23a)"/><circle cx="800" cy="300" r="100" fill="url(%23a)"/><circle cx="300" cy="700" r="150" fill="url(%23a)"/><circle cx="700" cy="800" r="80" fill="url(%23a)"/></svg>');
    background-size: cover;
}

.page-hero::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content,
.page-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.breadcrumb-custom {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-custom a:hover {
    color: white;
}

.breadcrumb-custom span {
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   BOTÕES GLOBAIS
   =================================== */

.btn {
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.25rem 0.8rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

.btn-hero {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    margin: 0.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-hero:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
}

.btn-theme {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-theme:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-danger:hover {
    transform: translateY(-2px);
}

/* Wrapper dos botões */
.btn-wrapper {
    display: flex;
    flex-wrap: wrap;       /* permite quebrar linha */
    justify-content: center;
    gap: 1rem;             /* espaço entre os botões */
    margin-top: 1.5rem;
}

/* Botões ocupam largura total no mobile */
@media (max-width: 576px) {
    .btn-hero {
        width: 100%;
        text-align: center;
    }
}


/* ===================================
   SEÇÕES COMUNS
   =================================== */

.home-section {
    padding: 5rem 0;
    position: relative;
}

.section-heading,
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2,
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.heading-line,
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 15px auto 1.5rem;
    border-radius: 2px;
}

.section-heading p,
.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   CARDS PRINCIPAIS
   =================================== */

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    background: white;
}

.card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

/* Service Cards */
.service-card,
.service-full-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.service-card {
    padding: 2rem;
}

.service-full-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.service-full-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.service-media {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-full-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h4,
.service-card h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-content p,
.service-card p {
    color: var(--text-color);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-service-primary,
.btn-service-outline {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.btn-service-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-service-primary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-service-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-service-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   PRODUTOS - CARDS MELHORADOS
   =================================== */

.product-card,
.product-preview-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    will-change: transform, box-shadow;
    contain: layout style paint;
}

.product-card:hover,
.product-preview-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.product-preview-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Cards de Promoção */
.product-card.promo-card {
    border: 2px solid #ff6b6b;
    background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.product-card.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a6f 100%);
    z-index: 1;
}

/* Área da Imagem do Produto */
.product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    height: 240px;
    text-decoration: none;
}

.product-preview-card .product-image-link {
    height: 220px;
}

.product-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    will-change: transform;
}

.product-card:hover .product-image,
.product-image-link:hover .product-image {
    transform: scale(1.1);
}

/* Badge do Produto */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--danger-color) 0%, #ff3742 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

.product-badge.destaque {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ff9800 100%);
    box-shadow: 0 4px 12px rgba(255, 167, 38, 0.4);
}

/* Conteúdo do Card */
.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-category i {
    font-size: 0.9rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: var(--dark-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8rem;
}

.product-description {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    flex-grow: 1;
}

/* Rodapé do Card */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    gap: 12px;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.price-original {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-promotional {
    color: var(--danger-color);
}

/* Ações do Produto */
.product-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.product-actions .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.product-actions .btn:hover::before {
    left: 100%;
}

.product-actions .btn:hover {
    transform: scale(1.1);
}

.btn-view {
    background: linear-gradient(135deg, var(--info-color) 0%, #2563eb 100%);
    color: white;
}

.btn-favorite {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.btn-favorite.not-favorite {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.btn-cart {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
}

/* Timer da Promoção */
.promo-timer-small {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.promo-timer-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.small-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.time-left {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Grid de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ===================================
   PROMOÇÕES
   =================================== */

.promo-banner {
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    margin-top: -40px;
}

.promo-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.promo-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.promo-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.promo-discount {
    background: var(--danger-color);
    display: inline-block;
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.discount-value {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.discount-label {
    font-size: 1rem;
    opacity: 0.9;
}

.promo-timer {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.timer-label {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.countdown {
    display: flex;
    gap: 15px;
}

.countdown-item {
    text-align: center;
    min-width: 60px;
}

.countdown-item span {
    display: block;
}

.countdown-item .days,
.countdown-item .hours,
.countdown-item .minutes,
.countdown-item .seconds {
    font-size: 1.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px;
}

.countdown-item .label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

.promo-badge {
    display: inline-block;
    background: var(--danger-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.promo-badge-small {
    text-align: right;
}

/* ===================================
   PORTFOLIO E OUTROS CARDS
   =================================== */

.portfolio-card,
.box-team,
.team-member-card,
.value-card,
.contact-widget,
.tech-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.portfolio-card:hover,
.box-team:hover,
.team-member-card:hover,
.value-card:hover,
.contact-widget:hover,
.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.box-team,
.contact-widget,
.value-card,
.tech-item {
    text-align: center;
    padding: 2rem;
}

.box-team:hover,
.contact-widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.box-team img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
}

.tech-item i,
.value-icon i,
.contact-widget i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===================================
   CONTATO
   =================================== */

.contactForm,
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper {
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-info-sidebar {
    position: sticky;
    top: 2rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* ===================================
   ESTATÍSTICAS
   =================================== */

.stats-section {
    padding: 60px 0;
    background-color: #f8f9fc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    padding: 2rem 1rem;
    text-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    margin-bottom: 1.5rem;
}

.stat-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* ===================================
   FORMULÁRIOS
   =================================== */

.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
    outline: none;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-valid {
    border-color: var(--success-color);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-floating {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-floating .form-control {
    height: 58px;
    padding: 1rem 1.2rem;
}

/* ===================================
   MODAIS
   =================================== */

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 2rem 1rem;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.btn-auth {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: white;
}

/* ===================================
   ALERTAS
   =================================== */

.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

/* ===================================
   ESTADOS VAZIOS
   =================================== */

.empty-state {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 2px dashed #dee2e6;
    position: relative;
    overflow: hidden;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-subtitle {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===================================
   CAROUSEL
   =================================== */

.carousel-item {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.carousel-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color)88 0%, var(--secondary-color)88 100%);
}

.carousel-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.carousel-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.carousel-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    color: white;
}

/* Service Carousel Específico */
.service.carousel {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.service .carousel-inner {
    padding: 3rem 3rem 5rem 3rem;
}

.service .carousel-control-prev,
.service .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    opacity: 0.8;
}

.service .carousel-control-prev {
    left: 20px;
}

.service .carousel-control-next {
    right: 20px;
}

.service .carousel-control-prev:hover,
.service .carousel-control-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.service .carousel-indicators {
    bottom: -80px;
    margin-bottom: 0;
}

.service .carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #cbd5e0;
    border: none;
    margin: 0 8px;
    transition: var(--transition);
    opacity: 0.6;
    cursor: pointer;
}

.service .carousel-indicators .active {
    background: var(--primary-color);
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* ===================================
   FILTROS E NAVEGAÇÃO
   =================================== */

.portfolio-filters {
    background: var(--light-color);
    padding: 2rem 0;
}

.filter-btn {
    background: white;
    color: var(--text-color);
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.filter-btn i {
    margin-right: 5px;
}

/* Category Filters */
.category-filters {
    margin-bottom: 40px;
    padding: 20px 0;
}

.category-filters .filter-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    border-radius: 50px;
    background-color: #f8f9fc;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-filters .filter-btn:hover {
    background-color: #eaecf4;
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.category-filters .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.category-filters .filter-btn.active:hover {
    background-color: #3a5bc7;
}

/* ===================================
   SOCIAL LINKS
   =================================== */

.social-network {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-network li a,
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
}

.social-network li a:hover,
.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

.footer-links {
    margin: 2rem 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 1rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
}

/* ===================================
   ANIMAÇÕES
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

.service-content {
    animation: slideInLeft 0.6s ease;
}

.service .screenshot {
    animation: slideInRight 0.6s ease;
}

/* ===================================
   UTILITÁRIOS
   =================================== */

.link-neutro {
    color: inherit !important;
    text-decoration: none !important;
}

.mar-top30 {
    margin-top: 30px;
}

.bg-gray {
    background: #f8f9fa;
}

.bg-white {
    background: white;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;              /* 🔹 Aqui muda de none para flex */
    align-items: center;        /* Centraliza verticalmente */
    justify-content: center;    /* Centraliza horizontalmente */
    text-decoration: none;
    z-index: 1000;
    transition: var(--transition);
    font-size: 20px;            /* Pode aumentar o tamanho do ícone */
}


.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.back-to-top:focus {
    outline: none;
}

/* Estados de Loading para Cards */
.product-card.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.product-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Tooltips para ações */
.product-actions .btn[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 100;
    margin-bottom: 4px;
}

/* Acessibilidade */
.product-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.product-actions .btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .page-hero {
        padding: 40px 0 30px;
    }

    .promo-banner {
        margin-top: 0;
        padding: 2rem;
    }

    .promo-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero Sections */
    .hero-title,
    .carousel-content h2 {
        font-size: 2.5rem;
    }

    .hero-subtitle,
    .carousel-content p {
        font-size: 1.1rem;
    }

    .page-hero {
        padding: 100px 0 60px;
    }

    /* Section Headings */
    .section-heading h2,
    .section-title h2 {
        font-size: 2rem;
    }

    /* Content */
    .content {
        padding-left: 0;
        margin-top: 2rem;
    }

    /* Forms */
    .contactForm,
    .contact-form-wrapper {
        padding: 2rem;
    }

    /* Portfolio */
    .og-grid {
        grid-template-columns: 1fr;
    }

    /* Modals */
    .modal-body {
        padding: 1.5rem;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    /* Service Actions */
    .service-actions {
        flex-direction: column;
    }

    .btn-service-primary,
    .btn-service-outline {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    /* Contact Cards */
    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-sidebar {
        position: static;
        margin-top: 2rem;
    }

    /* Service Carousel */
    .service .carousel-inner {
        padding: 2rem 1.5rem 4rem 1.5rem;
    }

    .service .carousel-control-prev,
    .service .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .service .carousel-control-prev {
        left: 10px;
    }

    .service .carousel-control-next {
        right: 10px;
    }

    .service .carousel-indicators {
        bottom: -70px;
    }

    .service .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }

    /* Products */
    .product-card {
        margin-bottom: 2rem;
    }

    .product-image-link {
        height: 200px;
    }

    .product-content {
        padding: 16px;
        gap: 10px;
    }

    .product-footer {
        padding: 0 16px 16px;
    }

    .product-title {
        font-size: 1.1rem;
        min-height: 2.4rem;
    }

    .product-actions .btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .empty-state {
        padding: 3rem 1.5rem;
    }

    .empty-icon {
        font-size: 3rem;
    }

    .empty-title {
        font-size: 1.3rem;
    }

    .empty-subtitle {
        font-size: 1rem;
    }

    /* Countdown */
    .countdown-item {
        min-width: 50px;
    }

    .countdown-item .days,
    .countdown-item .hours,
    .countdown-item .minutes,
    .countdown-item .seconds {
        font-size: 1.3rem;
        padding: 8px;
    }

    .promo-badge-small {
        text-align: left;
        margin-top: 1rem;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    /* Category Filters */
    .category-filters {
        overflow-x: auto;
        white-space: nowrap;
        padding: 15px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .category-filters .filter-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    /* Statistics */
    .stat-number {
        font-size: 2rem;
    }

    /* Process Steps */
    .process-step {
        padding: 1rem 0.5rem;
    }

    .step-icon {
        margin: 2rem 0 1rem;
    }

    .step-icon i {
        font-size: 2rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Products Mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-image-link {
        height: 180px;
    }

    .product-content {
        padding: 14px;
    }

    .product-footer {
        padding: 0 14px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-actions {
        align-self: stretch;
        justify-content: space-between;
    }

    .product-actions .btn {
        flex: 1;
        border-radius: 8px;
        max-width: none;
        width: auto;
        height: 44px;
    }

    .promo-timer-small {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ===================================
   MELHORIAS ESPECÍFICAS
   =================================== */

/* Grid Original para Portfolio */
.og-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.og-grid li {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: white;
}

.og-grid li:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.og-grid li a {
    display: block;
    position: relative;
    overflow: hidden;
}

.og-grid li img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.og-grid li:hover img {
    transform: scale(1.1);
}

/* Portfolio Overlay */
.portfolio-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    color: white;
}

.portfolio-content h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.portfolio-client {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.portfolio-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-info {
    padding: 1rem;
}

.portfolio-info h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Habilidades */
.skill-item {
    margin-bottom: 2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--dark-color);
}

.skill-percentage {
    font-weight: 700;
    color: var(--primary-color);
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step-icon {
    margin: 3rem 0 1.5rem;
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.process-step h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Team Member Cards */
.team-member-card {
    overflow: hidden;
    text-align: center;
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member-card:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-info {
    padding: 1.5rem;
}

.member-info h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Inputs e Componentes Específicos */
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    z-index: 5;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 12px 0;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.remember-me label {
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    margin-top: 0.25rem;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: var(--transition);
    border-radius: 2px;
}

.strength-weak .strength-fill {
    width: 33%;
    background: var(--danger-color);
}

.strength-medium .strength-fill {
    width: 66%;
    background: var(--warning-color);
}

.strength-strong .strength-fill {
    width: 100%;
    background: var(--success-color);
}

/* Service Progress */
.service-progress {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 1rem;
}

.service-progress .current-service {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.service-progress .separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Screenshot Container */
.service .screenshot {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.service .screenshot:hover {
    transform: scale(1.02);
}

.service .screenshot img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.service .screenshot:hover img {
    transform: scale(1.05);
}

/* About Images */
.about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.content {
    padding-left: 2rem;
}

.content h3 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Video Containers */
.video-mobile,
.video-container {
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.video-container {
    position: relative;
}

/* Service Video e Placeholder */
.service-video {
    width: 100%;
    height: 100%;
}

.service-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-color) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

/* Quick Contact Buttons */
.quick-contact-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
}

/* Alert Modal Específico */
.alert-item {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.alert-content {
    padding: 1.5rem;
}

.alert-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.alert-description {
    color: var(--text-color);
    font-size: 0.95rem;
}

.alert-media {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#alertasModal .modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

#alertasModal .modal-header {
    border-bottom: none;
}

#alertasModal .modal-footer {
    border-top: none;
    flex-wrap: nowrap;
}

.alert-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.alert-counter {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

/* Newsletter */
.newsletter-form .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
}

/* Produtos Específicos */
.produto-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.produto-image {
    transition: transform 0.3s ease;
    width: 100%;
}

.produto-image-container:hover .produto-image {
    transform: scale(1.05);
}

.produto-category {
    display: inline-block;
    background: #f8f9fa;
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.produto-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.produto-price-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.produto-promotion-badge {
    margin-bottom: 5px;
}

.produto-price-original {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.2rem;
    display: block;
}

.produto-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.produto-promotion-timer {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.produto-secure-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Estados Específicos - Carrinho e Favoritos */
.empty-cart,
.empty-favorites {
    padding: 3rem 0;
    text-align: center;
}

.empty-cart i,
.empty-favorites i {
    color: var(--secondary-color);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.cart-section .table th {
    font-weight: 600;
    border-top: none;
}

.cart-section .table td {
    vertical-align: middle;
}

/* Responsividade adicional para alertas modal */
@media (max-width: 768px) {
    .alert-content {
        padding: 1rem;
    }

    .alert-media {
        margin-top: 1rem;
    }

    #alertasModal .modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .alert-controls {
        order: 2;
        margin: 10px 0;
    }
}

/* Performance Optimization Final */
.portfolio-card,
.service-card,
.product-card {
    contain: layout style paint;
}

/* Ajustes finais de layout */
.portfolio-card {
    height: 300px;
}

/* Evitar quebra de texto indesejada */
.btn,
.filter-btn {
    white-space: nowrap;
}

/* Melhoria na transição de hover dos links */
a {
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}

/* Correções de z-index */
.navbar {
    z-index: 1030;
}

.modal {
    z-index: 1040;
}

.back-to-top {
    z-index: 1020;
}

/* Garantir que badges fiquem no topo */
.product-badge {
    z-index: 3;
}

/* Melhorar contraste em elementos escuros */
.hero-section,
.page-hero,
.footer {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Última verificação de consistência */
.product-actions .btn:hover,
.btn-service-primary:hover,
.btn-service-outline:hover,
.btn-theme:hover,
.btn-hero:hover {
    text-decoration: none;
}

/* End of CSS */


/* ===================================
   FILTROS DE CATEGORIA MELHORADOS
   =================================== */

/* Container dos filtros */
.category-filters {
    margin-bottom: 40px;
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-filters .text-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

/* Botões de filtro base */
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin: 5px;
    border-radius: 50px;
    background: white;
    color: var(--text-color, #6c757d);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Altura mínima para touch */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Ícones centralizados */
.filter-btn i {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; /* Remove margin padrão */
    line-height: 1;
}

/* Estados do botão */
.filter-btn:hover {
    background: var(--primary-color, #043a40);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(4, 58, 64, 0.25);
    border-color: var(--primary-color, #043a40);
    text-decoration: none;
}

.filter-btn.active {
    background: var(--primary-color, #043a40);
    color: white;
    border-color: var(--primary-color, #043a40);
    font-weight: 700;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(4, 58, 64, 0.3);
}

.filter-btn.active:hover {
    background: var(--secondary-color, #043a40dd);
    border-color: var(--secondary-color, #043a40dd);
    transform: translateY(-2px) scale(1.02);
}

/* Efeito de shimmer nos botões ativos */
.filter-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

/* Contador de produtos */
.filter-btn .count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 6px;
    min-width: 24px;
    text-align: center;
    line-height: 1.2;
}

.filter-btn:not(.active) .count {
    background: rgba(4, 58, 64, 0.1);
    color: var(--primary-color, #043a40);
}

/* Botão "Todos os Produtos" especial */
.filter-btn.all-products {
    background: linear-gradient(135deg, var(--primary-color, #043a40) 0%, var(--secondary-color, #043a40dd) 100%);
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(4, 58, 64, 0.3);
}

.filter-btn.all-products:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(4, 58, 64, 0.4);
}

.filter-btn.all-products.active {
    background: linear-gradient(135deg, var(--secondary-color, #043a40dd) 0%, var(--primary-color, #043a40) 100%);
    transform: translateY(-1px) scale(1.03);
}

/* Loading state */
.filter-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.filter-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Desktop grande (1400px+) */
@media (min-width: 1400px) {
    .category-filters .text-center {
        gap: 15px;
    }

    .filter-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .filter-btn i {
        font-size: 1.1rem;
    }
}

/* Desktop médio (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .filter-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Tablet (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .category-filters {
        padding: 15px 0;
    }

    .category-filters .text-center {
        gap: 8px;
        padding: 0 10px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        margin: 3px;
    }

    .filter-btn i {
        font-size: 0.9rem;
    }

    .filter-btn .count {
        font-size: 0.75rem;
        padding: 1px 6px;
        margin-left: 4px;
    }
}

/* Mobile landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .category-filters {
        padding: 12px 0;
        margin-bottom: 30px;
    }

    .category-filters .text-center {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px;
        padding: 0 8px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        margin: 2px;
        border-radius: 25px;
    }

    .filter-btn i {
        font-size: 0.85rem;
    }

    .filter-btn .count {
        font-size: 0.7rem;
        padding: 1px 5px;
        margin-left: 3px;
        min-width: 18px;
    }
}

/* Mobile portrait (até 575px) */
@media (max-width: 575px) {
    .category-filters {
        padding: 10px 0;
        margin-bottom: 25px;
        border-radius: 0;
        background: white;
        box-shadow: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .category-filters .text-center {
        display: block;
        padding: 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        gap: 0;
    }

    .category-filters .text-center::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .filter-btn {
        display: inline-flex;
        padding: 8px 12px;
        font-size: 0.75rem;
        margin: 0 4px 0 0;
        border-radius: 20px;
        min-width: auto;
        flex-shrink: 0;
    }

    .filter-btn:last-child {
        margin-right: 16px; /* Espaço no final para scroll */
    }

    .filter-btn i {
        font-size: 0.8rem;
    }

    .filter-btn .count {
        font-size: 0.65rem;
        padding: 1px 4px;
        margin-left: 2px;
        min-width: 16px;
    }

    /* Indicador de scroll em mobile */
    .category-filters::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(to left, rgba(248, 249, 252, 1), transparent);
        pointer-events: none;
        z-index: 1;
    }
}

/* Hover effects apenas em dispositivos não-touch */
@media (hover: hover) {
    .filter-btn:hover {
        transform: translateY(-2px) scale(1.02);
    }

    .filter-btn.active:hover {
        transform: translateY(-2px) scale(1.02);
    }
}

/* ===================================
   ANIMAÇÕES
   =================================== */

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animação de entrada dos botões */
.filter-btn {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.filter-btn:nth-child(1) { animation-delay: 0.1s; }
.filter-btn:nth-child(2) { animation-delay: 0.2s; }
.filter-btn:nth-child(3) { animation-delay: 0.3s; }
.filter-btn:nth-child(4) { animation-delay: 0.4s; }
.filter-btn:nth-child(5) { animation-delay: 0.5s; }
.filter-btn:nth-child(n+6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   ACESSIBILIDADE
   =================================== */

.filter-btn:focus {
    outline: 2px solid var(--primary-color, #043a40);
    outline-offset: 2px;
}

.filter-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Modo de alto contraste */
@media (prefers-contrast: high) {
    .filter-btn {
        border-width: 3px;
    }

    .filter-btn:hover,
    .filter-btn.active {
        border-width: 3px;
    }
}

/* Modo escuro (se suportado) */
@media (prefers-color-scheme: dark) {
    .category-filters {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    }

    .filter-btn {
        background: #374151;
        color: #e5e7eb;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--primary-color, #043a40);
        color: white;
    }
}

/* ===================================
   UTILITÁRIOS
   =================================== */

/* Classe para esconder texto em telas pequenas */
@media (max-width: 575px) {
    .filter-btn .btn-text-mobile-hide {
        display: none;
    }

    .filter-btn.icon-only {
        min-width: 44px;
        padding: 8px;
    }

    .filter-btn.icon-only i {
        margin: 0;
    }
}

/* Smooth scroll para mobile */
.category-filters .text-center {
    scroll-behavior: smooth;
}

/* Indicador visual de scroll ativo */
.category-filters.scrolling::after {
    opacity: 1;
}

/* Performance optimization */
.filter-btn {
    will-change: transform;
    contain: layout style;
}