/**
 * Estilos Customizados para Elementor Pro
 * Instituto Bioma Theme
 */

/* Variáveis de Cores do Tema para Elementor */
.elementor-kit-default {
    --e-global-color-primary: #5CB85C;
    --e-global-color-secondary: #3D5F5C;
    --e-global-color-text: #2C3E50;
    --e-global-color-accent: #1565C0;
}

/* Botões Elementor com estilo do tema */
.elementor-button {
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
}

.elementor-button-primary {
    background-color: var(--primary-green, #5CB85C) !important;
}

.elementor-button-primary:hover {
    background-color: var(--light-green, #4CAF50) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(92, 184, 92, 0.3) !important;
}

.elementor-button-secondary {
    background-color: transparent !important;
    border: 2px solid var(--primary-green, #5CB85C) !important;
    color: var(--primary-green, #5CB85C) !important;
}

.elementor-button-secondary:hover {
    background-color: var(--primary-green, #5CB85C) !important;
    color: white !important;
}

/* Títulos Elementor */
.elementor-heading-title {
    color: var(--text-dark, #2C3E50);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Cards e Containers */
.elementor-widget-container {
    transition: all 0.3s ease;
}

.elementor-element.elementor-widget-image-box:hover .elementor-widget-container,
.elementor-element.elementor-widget-icon-box:hover .elementor-widget-container {
    transform: translateY(-5px);
}

/* Icon Box */
.elementor-icon-box-icon {
    color: var(--primary-green, #5CB85C);
}

.elementor-icon-box-title {
    color: var(--dark-green, #3D5F5C);
    font-weight: 700;
}

/* Formulários */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    transition: border-color 0.3s ease !important;
}

.elementor-field-group input:focus,
.elementor-field-group textarea:focus,
.elementor-field-group select:focus {
    border-color: var(--primary-green, #5CB85C) !important;
    outline: none !important;
}

.elementor-button.elementor-size-md {
    padding: 1rem 2rem !important;
}

/* Seções com Background Verde */
.elementor-section.bg-green {
    background-color: var(--primary-green, #5CB85C) !important;
}

.elementor-section.bg-dark {
    background-color: var(--dark-bg, #456360) !important;
}

.elementor-section.bg-light {
    background-color: var(--light-gray, #F5F5F5) !important;
}

/* Tabs e Accordions */
.elementor-tab-title {
    color: var(--text-dark, #2C3E50);
    font-weight: 600;
}

.elementor-tab-title.elementor-active {
    color: var(--primary-green, #5CB85C);
    border-color: var(--primary-green, #5CB85C) !important;
}

.elementor-accordion-title {
    color: var(--text-dark, #2C3E50);
    font-weight: 600;
}

.elementor-accordion-title.elementor-active {
    color: var(--primary-green, #5CB85C);
}

/* Progress Bar */
.elementor-progress-bar {
    background-color: var(--primary-green, #5CB85C) !important;
}

/* Counter */
.elementor-counter-number-wrapper {
    color: var(--primary-green, #5CB85C);
}

/* Testimonials */
.elementor-testimonial-wrapper {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Image Gallery */
.elementor-gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

/* Posts Grid */
.elementor-post__title a {
    color: var(--text-dark, #2C3E50);
    transition: color 0.3s ease;
}

.elementor-post__title a:hover {
    color: var(--primary-green, #5CB85C);
}

.elementor-post__card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.elementor-post__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Breadcrumbs */
.elementor-breadcrumbs a {
    color: var(--primary-green, #5CB85C);
}

/* Social Icons */
.elementor-social-icon {
    background-color: var(--primary-green, #5CB85C) !important;
    transition: all 0.3s ease !important;
}

.elementor-social-icon:hover {
    background-color: var(--dark-green, #3D5F5C) !important;
    transform: translateY(-3px) !important;
}

/* Divider */
.elementor-divider-separator {
    border-color: var(--primary-green, #5CB85C) !important;
}

/* Spacer responsivo */
@media (max-width: 768px) {
    .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 10px;
    }
}

/* Container Elementor */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* Animações suaves */
.elementor-invisible {
    opacity: 0;
}

.elementor-animation-grow:hover {
    transform: scale(1.05);
}

/* Widget de Preço */
.elementor-price-table__price {
    color: var(--primary-green, #5CB85C);
}

.elementor-price-table__ribbon {
    background-color: var(--accent-blue, #1565C0);
}

/* Call to Action */
.elementor-cta {
    border-radius: 16px;
    overflow: hidden;
}

.elementor-cta__button {
    background-color: var(--primary-green, #5CB85C) !important;
    border-radius: 8px !important;
}

/* Popup */
.elementor-popup-modal .dialog-widget-content {
    border-radius: 16px;
}

/* Menu Elementor */
.elementor-nav-menu a {
    color: var(--text-dark, #2C3E50);
    transition: color 0.3s ease;
}

.elementor-nav-menu a:hover {
    color: var(--primary-green, #5CB85C);
}

/* Search Form */
.elementor-search-form__input {
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
}

.elementor-search-form__input:focus {
    border-color: var(--primary-green, #5CB85C) !important;
}

.elementor-search-form__submit {
    background-color: var(--primary-green, #5CB85C) !important;
    border-radius: 8px !important;
}

/* Slides */
.elementor-slides .elementor-slide-heading {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.elementor-slides .elementor-slide-button {
    background-color: var(--primary-green, #5CB85C) !important;
    border-radius: 8px !important;
}

/* Video Widget */
.elementor-video-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

/* Compatibilidade com tema */
.elementor-widget-wrap {
    align-items: stretch;
}

/* Ajustes de espaçamento */
.elementor-section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .elementor-section {
        padding: 3rem 0;
    }
}

/* Cores personalizadas do Instituto Bioma para Elementor */
.has-ibioma-green-color {
    color: #5CB85C !important;
}

.has-ibioma-green-background-color {
    background-color: #5CB85C !important;
}

.has-ibioma-dark-green-color {
    color: #3D5F5C !important;
}

.has-ibioma-dark-green-background-color {
    background-color: #3D5F5C !important;
}

.has-ibioma-blue-color {
    color: #1565C0 !important;
}

.has-ibioma-blue-background-color {
    background-color: #1565C0 !important;
}
