/* Otimizações de SEO e Performance */
    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }
	    .card-custom {
        background-color: #2d2d2d;
        border-color: #404040;
    }
/* Lazy loading para imagens */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Breadcrumb styling */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--cor-cinza-principal);
}

.breadcrumb-item a {
    color: var(--cor-verde-principal);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--cor-cinza-principal);
}

/* Skip to content para acessibilidade */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--cor-verde-principal);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-to-content:focus {
    top: 6px;
}

/* Melhorias de contraste para acessibilidade */
.text-muted {
    color: #6c757d !important;
}

/* Focus states melhorados */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--cor-verde-principal);
    outline-offset: 2px;
}

/* Otimização para impressão */
@media print {
    .navbar,
    .footer,
    .whatsapp-float,
    .cookie-notice,
    .contact-form-float {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Otimizações para dispositivos de baixa largura de banda */
@media (prefers-reduced-data: reduce) {
    img {
        display: none;
    }
    
    .hero-section {
        background: var(--cor-verde-principal) !important;
    }
}

/* Otimizações para modo escuro */
@media (prefers-color-scheme: dark) {
    :root {
        --cor-fundo-site: #1a1a1a;
        --cor-texto-principal: #ffffff;
    }
    
    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .card-custom {
        background-color: #2d2d2d;
        border-color: #404040;
    }
}

/* Preload de fontes críticas */
.font-preload {
    font-display: swap;
}

/* Otimização de animações para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Melhorias de performance para scroll */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Otimização de imagens responsivas */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container para lazy loading */
.lazy-container {
    position: relative;
    overflow: hidden;
}

.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

