/* Bio Aflora Brasil - Estilos Customizados */

:root {
    /* Tema Claro - Paleta Natural */
    --primary-emerald: #10b981;
    --secondary-sage: #6b7280;
    --accent-gold: #f59e0b;
    --surface-cream: #fefdf8;
    --surface-white: #ffffff;
    --surface-light: #f9fafb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-light: #e5e7eb;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    --gradient-secondary: linear-gradient(135deg, #fefdf8 0%, #f9fafb 100%);
    --overlay-light: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] {
    /* Tema Escuro - Paleta Sofisticada */
    --primary-emerald: #34d399;
    --secondary-sage: #9ca3af;
    --accent-gold: #fbbf24;
    --surface-cream: #111827;
    --surface-white: #1f2937;
    --surface-light: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-light: #4b5563;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    --overlay-light: rgba(17, 24, 39, 0.95);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--surface-cream);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 12px 16px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-light);
}

/* Header e Navegação */
.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 16px !important;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Hero Section - Visual Profissional */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.95) 0%, 
        rgba(5, 150, 105, 0.9) 50%, 
        rgba(4, 120, 87, 0.95) 100%),
        url('../images/hero-background.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-bottom: 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(4, 120, 87, 0.2) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, 
        var(--surface-cream) 0%, 
        transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideInLeft 1s ease-out 0.3s both;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
    animation: slideInLeft 1s ease-out 0.7s both;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.9s both;
}

.hero-visual {
    position: relative;
    z-index: 3;
    animation: slideInRight 1s ease-out 0.5s both;
}

.hero-image-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    border: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-emerald);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: floatSlow 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    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 slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Showcase - Visual Profissional */
.product-showcase {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-showcase:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.product-showcase:hover::before {
    transform: scaleX(1);
}

.product-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(5, 150, 105, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.product-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-emerald);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.product-showcase:hover .product-image::before {
    opacity: 0.3;
    transform: scale(1);
}

.product-showcase h4 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    transition: color 0.3s ease;
}

.product-showcase:hover h4 {
    color: var(--primary-emerald);
}

.product-showcase p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-features .badge {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.product-features .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Product Section Title */
.products-section {
    padding: 80px 0;
    background: linear-gradient(135deg,
        var(--surface-cream) 0%,
        var(--surface-light) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

.section-title h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    display: block;
    margin: 20px auto;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Melhorado */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -30px;
}

.carousel-control-next {
    right: -30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-emerald);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--primary-emerald);
    transform: scale(1.2);
}

/* Fallback caso não tenha imagem */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(5, 150, 105, 0.1) 25%,
        rgba(4, 120, 87, 0.1) 50%,
        rgba(16, 185, 129, 0.1) 75%,
        rgba(5, 150, 105, 0.1) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1,
.hero-content .display-4,
.hero-title {
    color: white !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.hero-content p,
.hero-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.mate-icon {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.sustainability-icon {
    font-size: 6rem;
    color: var(--primary-emerald);
    filter: drop-shadow(0 4px 8px var(--shadow-light));
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    background: var(--surface-white);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-light);
    border-color: var(--primary-emerald);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    background: var(--gradient-primary) !important;
    border-bottom: none !important;
}

.card-body {
    background: var(--surface-white);
    border-radius: 0 0 15px 15px;
}

/* Cards específicos da página inicial (sem header) */
.card.h-100 {
    border-radius: 15px;
    overflow: hidden;
}

.card.h-100 .card-body {
    border-radius: 15px;
    padding: 30px 20px;
}

/* Ícones */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px auto;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--shadow-light);
}

/* Fix para cards da página inicial */
.card .icon-circle {
    background: var(--gradient-primary);
    margin-bottom: 0;
}

.icon-large {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-emerald);
    filter: drop-shadow(0 2px 4px var(--shadow-light));
}

/* Produtos */
.product-item {
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
}

.product-item:hover {
    background: var(--surface-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-light);
}

/* Estatísticas */
.stat-card {
    padding: 40px 20px;
    border-radius: 15px;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--surface-white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-light);
}

/* Formulários */
.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-light);
    padding: 12px 16px;
    background: var(--surface-white);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile form improvements */
@media (max-width: 768px) {
    .form-control {
        padding: 14px 16px;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        min-height: 70vh;
        padding: 40px 0 60px 0;
    }
    
    .hero-content {
        padding: 35px 25px;
    }
    
    .display-4 {
        font-size: 2.2rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
    
    .mate-icon {
        font-size: 5rem;
    }
    
    .sustainability-icon {
        font-size: 4.5rem;
    }
    
    .product-showcase {
        padding: 25px 18px;
    }
    
    .product-image {
        font-size: 3.5rem;
    }
    
    .search-input {
        width: 180px;
    }
    
    .newsletter-section {
        padding: 35px 25px;
    }
}

/* Large Mobile Devices */
@media (min-width: 576px) and (max-width: 768px) {
    .hero-content {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .mate-icon {
        font-size: 3.5rem;
    }
    
    .sustainability-icon {
        font-size: 4rem;
    }
    
    .product-showcase {
        padding: 28px 20px;
    }
    
    .search-input {
        width: 100%;
        max-width: 300px;
    }
}

/* Extra Small Devices */
@media (max-width: 575px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-content {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .display-4 {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .newsletter-section {
        padding: 20px 12px;
        margin: 15px 5px;
    }
    
    .whatsapp-float .whatsapp-icon {
        width: 52px;
        height: 52px;
    }
}

.form-control:focus {
    border-color: var(--primary-emerald);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.15);
    background: var(--surface-white);
    color: var(--text-primary);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

/* Botões */
.btn {
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-success {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: var(--gradient-primary);
}

.btn-light {
    background: var(--surface-white);
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-light:hover {
    background: var(--primary-emerald);
    color: white;
    border-color: var(--primary-emerald);
    transform: translateY(-2px);
}

/* Seções de destaque */
.sustainability-section {
    background: var(--gradient-secondary);
    padding: 50px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.sustainability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 1;
}

.sustainability-section > * {
    position: relative;
    z-index: 2;
}

.bg-light {
    background: var(--surface-light) !important;
}

/* Footer */
footer {
    background: var(--gradient-secondary) !important;
    border-top: 1px solid var(--border-light);
    color: var(--text-primary) !important;
}

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

footer p {
    color: var(--text-secondary) !important;
}

/* Tema escuro - footer com fundo mais escuro */
[data-theme="dark"] footer {
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
        padding: 20px 0 40px 0;
    }
    
    .hero-content {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .mate-icon {
        font-size: 3rem;
        margin-top: 15px;
    }
    
    .sustainability-icon {
        font-size: 3.5rem;
        margin-top: 15px;
    }
    
    .display-4 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    .lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Animações suaves */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Alerts customizados */
.alert {
    border-radius: 12px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-emerald);
    border-color: var(--primary-emerald);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-color: #dc2626;
}

/* Links do navbar ativos */
.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-float .whatsapp-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-white);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--shadow-light);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--surface-white);
}

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

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsividade do WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 15px;
        z-index: 1001;
    }
    
    .whatsapp-float .whatsapp-icon {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Newsletter Styles */
.newsletter-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #0ea5e9;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.05) 0%, rgba(2, 132, 199, 0.05) 100%);
    z-index: 1;
}

.newsletter-section > * {
    position: relative;
    z-index: 2;
}

.newsletter-section h4 {
    color: #0f172a !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: #475569 !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.newsletter-section small {
    color: #64748b !important;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    border-radius: 25px 0 0 25px !important;
    border: 2px solid #0ea5e9 !important;
    padding: 15px 20px;
    font-size: 16px;
    background: white !important;
    color: #1e293b !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.newsletter-input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25) !important;
    background: white !important;
    color: #1e293b !important;
}

.newsletter-input::placeholder {
    color: #64748b !important;
    opacity: 0.8;
}

.newsletter-btn {
    border-radius: 0 25px 25px 0 !important;
    padding: 15px 25px;
    font-weight: 600;
    min-width: 130px;
    background: #059669 !important;
    border-color: #059669 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #047857 !important;
    border-color: #047857 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

/* Theme escuro - Newsletter */
[data-theme="dark"] .newsletter-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #475569;
}

[data-theme="dark"] .newsletter-section h4 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .newsletter-section p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .newsletter-section small {
    color: #94a3b8 !important;
}

[data-theme="dark"] .newsletter-input {
    background: #334155 !important;
    color: #f1f5f9 !important;
    border-color: #64748b !important;
}

[data-theme="dark"] .newsletter-input:focus {
    background: #334155 !important;
    color: #f1f5f9 !important;
    border-color: #0ea5e9 !important;
}

[data-theme="dark"] .newsletter-input::placeholder {
    color: #94a3b8 !important;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-emerald);
    text-decoration: underline;
}

/* Product Gallery Styles */
.product-showcase {
    background: var(--surface-white);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.product-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-light);
    border-color: var(--primary-emerald);
}

.product-image {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px var(--shadow-light));
}

.product-showcase h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.product-showcase p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-features .badge {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Carousel Customization */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

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

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-emerald);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Breadcrumbs */
.breadcrumb-section {
    background: var(--surface-light);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.2em;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-emerald);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Page Loader - DISABLED FOR DEBUGGING */
.page-loader {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--surface-cream);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.mate-spinner {
    animation: pulse 2s infinite;
}

.mate-cup {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    animation: bounce 1.5s infinite;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-emerald);
    margin-top: 10px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 25px 15px;
        margin: 20px 10px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        max-width: 100%;
    }
    
    .newsletter-input {
        border-radius: 25px !important;
        margin-bottom: 12px;
        font-size: 16px;
        padding: 14px 20px;
    }
    
    .newsletter-btn {
        border-radius: 25px !important;
        padding: 14px 25px;
        width: 100%;
    }
    
    .product-showcase {
        padding: 25px 15px;
    }
    
    .product-image {
        font-size: 3rem;
    }
    
    /* Melhor carrossel mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        opacity: 0.9;
    }
    
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
    
    .carousel-indicators {
        margin-bottom: -25px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* FAQ Accordion Customization */
.faq-section .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 15px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: var(--surface-white);
    color: var(--text-primary);
    border: none;
    font-weight: 500;
    padding: 20px 25px;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

.faq-section .accordion-body {
    background: var(--surface-light);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Interactive Map */
.interactive-map {
    height: 400px;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #e5f4f1 0%, #d1f2eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed rgba(16, 185, 129, 0.3);
}

.map-placeholder::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 100 100" width="100" height="100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2310b981" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
}

.map-placeholder-content {
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.map-placeholder-content .icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top .scroll-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.scroll-to-top:hover .scroll-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-light);
}

.scroll-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-white);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--shadow-light);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.scroll-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--surface-white);
}

.scroll-to-top:hover .scroll-tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* Search Form */
.search-form {
    margin-left: 15px;
}

.search-container {
    position: relative;
    display: flex;
}

.search-input {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 25px 0 0 25px;
    padding: 8px 15px;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    color: white;
}

.search-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    color: white;
    border-radius: 0 25px 25px 0;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Blog Styles */
.featured-article {
    background: var(--surface-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.article-image {
    position: relative;
    height: 250px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.article-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-gold);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.placeholder-image {
    font-size: 4rem;
    opacity: 0.7;
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-title {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title:hover {
    color: var(--primary-emerald);
}

.article-excerpt {
    color: var(--text-secondary);
    margin: 15px 0 20px 0;
    line-height: 1.6;
}

/* Blog Cards */
.blog-card {
    background: var(--surface-white);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-light);
}

.blog-card .card-image {
    position: relative;
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.card-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.blog-card .card-body {
    padding: 20px;
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card h5 {
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h5 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h5 a:hover {
    color: var(--primary-emerald);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-emerald);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--text-primary);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: var(--surface-white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
}

.widget-title {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-emerald);
}

.category-list span {
    background: var(--surface-light);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-thumb {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.post-info h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.3;
}

.post-info h6 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info h6 a:hover {
    color: var(--primary-emerald);
}

.post-info small {
    color: var(--text-muted);
    font-size: 12px;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-emerald);
    border: 1px solid var(--border-light);
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-emerald);
    color: white;
}

.pagination .page-link:hover {
    background: var(--surface-light);
    border-color: var(--primary-emerald);
    color: var(--primary-emerald);
}

/* Mobile Responsiveness for New Features */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 80px;
        right: 15px;
    }
    
    .scroll-tooltip {
        display: none;
    }
    
    /* Melhor navegação mobile */
    .navbar-toggler {
        border: none;
        padding: 8px 12px;
    }
    
    .navbar-nav {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        margin: 2px 0;
        text-align: center;
        border-radius: 12px;
    }
    
    .search-form {
        margin: 15px 0 10px 0;
        width: 100%;
    }
    
    .search-container {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .search-btn {
        padding: 12px 16px;
    }
    
    .featured-article {
        margin-bottom: 30px;
    }
    
    .article-image,
    .blog-card .card-image {
        height: 200px;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .interactive-map {
        height: 300px;
    }
    
    /* Melhor espaçamento em seções */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* Cards mais compactos */
    .card {
        margin-bottom: 20px;
    }
    
    .card-body {
        padding: 20px 16px;
    }
}

/* ===== NOVOS ESTILOS PARA PÁGINA INICIAL REESTRUTURADA ===== */

/* ===== MELHORIAS VISUAIS MODERNAS ===== */

/* Admin Dashboard Enhancements */
.admin-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.admin-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.admin-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.admin-breadcrumb .breadcrumb-item.active {
    color: white;
}

/* Enhanced Stat Cards */
.stat-card-modern {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-card-modern .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.stat-card-modern .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card-modern .stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-card-modern .stat-trend {
    margin-top: 12px;
    font-size: 0.85rem;
}

.stat-trend.positive {
    color: #10b981;
}

.stat-trend.negative {
    color: #ef4444;
}

/* Modern Action Cards */
.action-card {
    background: white;
    border-radius: 18px;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.action-card .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 25px;
    border-radius: 18px 18px 0 0;
}

.action-card .card-header h5 {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.action-card .card-body {
    padding: 25px;
}

/* Enhanced Buttons */
.btn-modern {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.btn-modern.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-modern.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-modern.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-modern.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-modern.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-modern.btn-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-modern.btn-outline-primary {
    background: transparent;
    border: 2px solid #10b981;
    color: #10b981;
}

.btn-modern.btn-outline-primary:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
}

/* Newsletter Real-time Dashboard */
.realtime-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.realtime-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.connection-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.connection-status.connected {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.connection-status.disconnected {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.connection-status.connecting {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* API Tokens Interface */
.token-card {
    background: white;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.token-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.token-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid #e2e8f0;
}

.token-body {
    padding: 25px;
}

.token-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.token-status.active {
    background: #dcfce7;
    color: #166534;
}

.token-status.revoked {
    background: #fef2f2;
    color: #991b1b;
}

/* Toast Notifications */
.toast-modern {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.toast-modern .toast-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0 0;
}

.toast-modern .toast-body {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 12px 12px;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Floating Animation */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Data Tables Enhanced */
.table-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: none;
}

.table-modern thead {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.table-modern thead th {
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    color: var(--text-primary);
}

.table-modern tbody tr {
    border: none;
    transition: background-color 0.2s ease;
}

.table-modern tbody tr:hover {
    background: #f8fafc;
}

.table-modern tbody td {
    border: none;
    padding: 20px 25px;
    vertical-align: middle;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .admin-header {
        padding: 20px;
        border-radius: 15px;
    }
    
    .admin-header h1 {
        font-size: 1.8rem;
    }
    
    .stat-card-modern {
        padding: 20px;
        text-align: center;
    }
    
    .stat-card-modern .stat-icon {
        margin: 0 auto 15px;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .action-card .card-body .d-grid {
        gap: 15px;
    }
}

/* Dark Mode Enhancements */
[data-theme="dark"] .stat-card-modern,
[data-theme="dark"] .action-card,
[data-theme="dark"] .token-card,
[data-theme="dark"] .table-modern {
    background: var(--surface-white);
    color: var(--text-primary);
}

[data-theme="dark"] .action-card .card-header,
[data-theme="dark"] .token-header,
[data-theme="dark"] .table-modern thead {
    background: var(--surface-light);
}

[data-theme="dark"] .connection-status.connected {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.3);
}

/* Print Styles */
@media print {
    .admin-header,
    .btn-modern,
    .connection-status {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .stat-card-modern,
    .action-card,
    .token-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Animações para elementos flutuantes */
@keyframes animate-float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -10px) rotate(1deg); }
    66% { transform: translate(-5px, 5px) rotate(-1deg); }
}

@keyframes animate-float-medium {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-8px, -12px) rotate(2deg); }
}

@keyframes animate-float-fast {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -8px) rotate(-1deg); }
    75% { transform: translate(-3px, 3px) rotate(1deg); }
}

.animate-float-slow {
    animation: animate-float-slow 8s ease-in-out infinite;
}

.animate-float-medium {
    animation: animate-float-medium 6s ease-in-out infinite;
}

.animate-float-fast {
    animation: animate-float-fast 4s ease-in-out infinite;
}

/* Hero Section Reestruturada */
.hero-subtitle-small {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-highlights {
    margin: 2rem 0;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.highlight-item span {
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Hero Visual Melhorado */
.hero-main-icon {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    margin-bottom: 2rem;
}

.hero-stats-circle {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-circle {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out calc(var(--delay) + 1s) both;
    transition: all 0.3s ease;
}

.stat-circle:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Seção de Produtos */
.products-section {
    position: relative;
    z-index: 10;
    margin-top: -8rem;
    padding-top: 10rem !important;
}

/* Cards de Produtos */
.product-card {
    background: var(--surface-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow-light);
    border-color: var(--primary-emerald);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.product-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Sustentabilidade Visual */
.sustainability-visual {
    position: relative;
}

.sustainability-icon {
    font-size: 6rem;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    margin-bottom: 1rem;
}

.stat-mini {
    background: var(--surface-white);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.stat-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.stat-mini-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-emerald);
    margin-bottom: 0.3rem;
}

.stat-mini-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Newsletter Form */
.newsletter-form .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 10px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    color: white;
}

/* Responsividade para novos elementos */
@media (max-width: 768px) {
    .hero-stats-circle {
        gap: 1rem;
    }
    
    .stat-circle {
        width: 90px;
        height: 90px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-main-icon {
        font-size: 5rem;
    }
    
    .highlight-item {
        padding: 0.8rem 0.5rem;
    }
    
    .highlight-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-highlights .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .sustainability-icon {
        font-size: 4rem;
    }
    
    .product-icon {
        font-size: 2.5rem;
    }
}

/* ===== EFEITOS CORPORATIVOS ELEGANTES ===== */

/* Efeito Parallax com Múltiplas Camadas */
@keyframes parallax-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-25px) translateX(15px) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-40px) translateX(-8px) scale(0.9);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-18px) translateX(22px) scale(1.05);
        opacity: 1;
    }
}

@keyframes gentle-wave {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0.6;
    }
    33% { 
        background-position: 100% 30%;
        opacity: 0.8;
    }
    66% { 
        background-position: 0% 70%;
        opacity: 0.7;
    }
}

@keyframes subtle-sparkle {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.7;
        transform: scale(1.2) rotate(2deg);
    }
    50% { 
        opacity: 0.9;
        transform: scale(0.8) rotate(-1deg);
    }
    75% { 
        opacity: 0.6;
        transform: scale(1.1) rotate(1deg);
    }
}

/* Aplicar efeitos ao hero-section */
.hero-section {
    position: relative;
}

/* Camada 1: Partículas visíveis em parallax */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.25) 3px, transparent 3px),
        radial-gradient(circle at 85% 75%, rgba(255,255,255,0.20) 2.5px, transparent 2.5px),
        radial-gradient(circle at 45% 15%, rgba(255,255,255,0.18) 2px, transparent 2px),
        radial-gradient(circle at 75% 45%, rgba(255,255,255,0.22) 3.5px, transparent 3.5px),
        radial-gradient(circle at 25% 85%, rgba(255,255,255,0.15) 2.8px, transparent 2.8px),
        radial-gradient(circle at 60% 40%, rgba(255,255,255,0.12) 1.5px, transparent 1.5px),
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.16) 2.2px, transparent 2.2px);
    background-size: 120px 120px, 160px 160px, 80px 80px, 140px 140px, 100px 100px, 90px 90px, 110px 110px;
    animation: parallax-float 15s ease-in-out infinite;
    z-index: 1;
}

/* Camada 2: Ondas visíveis */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 15%,
        rgba(255,255,255,0.12) 25%,
        rgba(255,255,255,0.18) 35%,
        rgba(255,255,255,0.15) 45%,
        transparent 55%,
        rgba(255,255,255,0.10) 65%,
        rgba(255,255,255,0.08) 75%,
        transparent 85%
    );
    background-size: 250% 250%;
    animation: gentle-wave 12s ease-in-out infinite;
    z-index: 2;
}

/* Camada 3: Degradê inferior para transparência */
.hero-section .gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        to top,
        var(--surface-cream) 0%,
        rgba(254, 253, 248, 0.98) 15%,
        rgba(254, 253, 248, 0.92) 30%,
        rgba(254, 253, 248, 0.8) 45%,
        rgba(254, 253, 248, 0.6) 60%,
        rgba(254, 253, 248, 0.35) 75%,
        rgba(254, 253, 248, 0.15) 85%,
        rgba(254, 253, 248, 0.05) 95%,
        transparent 100%
    );
    z-index: 5;
    pointer-events: none;
}

[data-theme="dark"] .hero-section .gradient-bottom {
    background: linear-gradient(
        to top,
        #111827 0%,
        rgba(17, 24, 39, 0.98) 15%,
        rgba(17, 24, 39, 0.92) 30%,
        rgba(17, 24, 39, 0.8) 45%,
        rgba(17, 24, 39, 0.6) 60%,
        rgba(17, 24, 39, 0.35) 75%,
        rgba(17, 24, 39, 0.15) 85%,
        rgba(17, 24, 39, 0.05) 95%,
        transparent 100%
    );
}

/* Correções para elementos text-dark no tema dark */
[data-theme="dark"] .bg-warning.text-dark,
[data-theme="dark"] .badge.bg-warning.text-dark {
    background: var(--accent-gold) !important;
    color: #1f2937 !important; /* Cor escura legível no fundo amarelo */
}

[data-theme="dark"] .card-header.bg-warning.text-dark {
    background: var(--accent-gold) !important;
    color: #1f2937 !important; /* Cor escura legível no fundo amarelo */
}

/* Garantir que text-muted seja legível no tema dark */
[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important; /* #9ca3af - definido nas variáveis do tema dark */
}

/* Correções para outros elementos problemáticos no tema dark */
[data-theme="dark"] .dropdown-item-text {
    color: var(--text-secondary) !important;
}

/* Garantir que cards e formulários tenham cores adequadas no tema dark */
[data-theme="dark"] .card {
    background-color: var(--surface-white) !important;
    border-color: var(--border-light) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-control {
    background-color: var(--surface-light) !important;
    border-color: var(--border-light) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-control:focus {
    background-color: var(--surface-light) !important;
    border-color: var(--primary-emerald) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 211, 153, 0.25) !important;
}

/* Correções para elementos de tabela no tema dark */
[data-theme="dark"] .table {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table th,
[data-theme="dark"] .table td {
    border-color: var(--border-light) !important;
}

/* Correções específicas para títulos e textos na página de contato */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-primary) !important; /* #f9fafb - branco suave */
}

[data-theme="dark"] p {
    color: var(--text-secondary) !important; /* #d1d5db - cinza claro */
}

/* Especificamente para textos dentro de colunas centralizadas */
[data-theme="dark"] .text-center h5,
[data-theme="dark"] .text-center p {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .text-center h1 {
    color: var(--text-primary) !important;
}

/* Correções para labels, checkboxes e comboboxes no tema dark - Especificidade aumentada */
[data-theme="dark"] .form-check-label,
[data-theme="dark"] .form-label,
[data-theme="dark"] label,
[data-theme="dark"] .col-md-6 .form-label,
[data-theme="dark"] .mb-3 .form-label,
[data-theme="dark"] .form-check .form-check-label {
    color: var(--text-primary) !important; /* #f9fafb - branco suave */
}

[data-theme="dark"] .form-check-label small,
[data-theme="dark"] .form-text,
[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important; /* #9ca3af - cinza médio legível */
}

/* Específico para checkboxes e radio buttons */
[data-theme="dark"] .form-check-input {
    background-color: var(--surface-light) !important;
    border-color: var(--border-light) !important;
}

[data-theme="dark"] .form-check-input:checked {
    background-color: var(--primary-emerald) !important;
    border-color: var(--primary-emerald) !important;
}

[data-theme="dark"] .form-check-input:focus {
    border-color: var(--primary-emerald) !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 211, 153, 0.25) !important;
}

/* Specific para selects/comboboxes */
[data-theme="dark"] .form-select {
    background-color: var(--surface-light) !important;
    border-color: var(--border-light) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-select:focus {
    background-color: var(--surface-light) !important;
    border-color: var(--primary-emerald) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 211, 153, 0.25) !important;
}

/* Correções para textos dentro de formulários */
[data-theme="dark"] .form-group label,
[data-theme="dark"] .input-group-text {
    color: var(--text-primary) !important;
    background-color: var(--surface-light) !important;
    border-color: var(--border-light) !important;
}

/* Correções específicas para elementos problemáticos identificados */
[data-theme="dark"] label[for="nome"],
[data-theme="dark"] label[for="customer_name"],
[data-theme="dark"] label[for="privacidade"],
[data-theme="dark"] #contatoForm .form-label,
[data-theme="dark"] #contatoForm .form-check-label {
    color: var(--text-primary) !important; /* #f9fafb - força branco suave */
}

/* Força cor para form-text específicos */
[data-theme="dark"] .form-text,
[data-theme="dark"] .form-check-label {
    color: var(--text-primary) !important;
}

/* Correções para conteúdo da seção "Desafio Global" na página sobre_nos */
[data-theme="dark"] .alert {
    background-color: var(--surface-light) !important;
    border-color: var(--border-light) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .alert-warning {
    background-color: var(--surface-light) !important;
    border-color: var(--accent-gold) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .alert-success {
    background-color: var(--surface-light) !important;
    border-color: var(--primary-emerald) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .alert-heading,
[data-theme="dark"] .alert h5 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .alert p,
[data-theme="dark"] .alert strong {
    color: var(--text-primary) !important;
}

/* Específico para listas dentro de cards */
[data-theme="dark"] .card-body ul,
[data-theme="dark"] .card-body li,
[data-theme="dark"] .card-body li strong {
    color: var(--text-primary) !important;
}

/* Correções para texto em cards */
[data-theme="dark"] .card-body p,
[data-theme="dark"] .card-body .lead {
    color: var(--text-secondary) !important;
}

/* Correções para títulos text-success no tema dark */
[data-theme="dark"] .text-success {
    color: var(--primary-emerald) !important;
}

/* Camada 4: Elementos de brilho sutil */
.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section .container::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    right: -10%;
    bottom: -20%;
    background: 
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 30% 40% at 80% 70%, rgba(255,255,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 20% at 50% 10%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 35% 45% at 70% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
    animation: subtle-sparkle 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Efeito hover sutil no hero-content */
.hero-content {
    transition: all 0.3s ease;
}

.hero-content:hover {
    transform: translateY(-2px);
}

/* Melhorar elementos flutuantes existentes */
.floating-element {
    animation-duration: 12s;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.floating-element:nth-child(1) { animation-delay: 0s; }
.floating-element:nth-child(2) { animation-delay: 3s; }
.floating-element:nth-child(3) { animation-delay: 6s; }
.floating-element:nth-child(4) { animation-delay: 9s; }

/* Responsividade para efeitos */
@media (max-width: 768px) {
    .hero-section::before {
        background-size: 100px 100px, 120px 120px, 80px 80px, 110px 110px, 90px 90px;
        animation-duration: 25s;
    }
    
    .hero-section::after {
        background-size: 200% 200%;
        animation-duration: 18s;
    }
    
    .hero-section .gradient-bottom {
        height: 120px;
    }
    
    .products-section {
        margin-top: -4rem;
        padding-top: 6rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .hero-section::after,
    .hero-section .container::before,
    .floating-element {
        animation: none;
    }
}