/**
 * BSM Theme Overrides v1.0.0
 * ─────────────────────────────────────────────────────────────────
 * PROPÓSITO: Alinhar o tema Medizco com o Design System BSM 2026.
 *
 * ROLLBACK 100% SEGURO: Desative "BSM Theme Overrides" no painel
 * de Plugins do WordPress. Nenhum arquivo de tema é alterado.
 *
 * 3 CORREÇÕES PRINCIPAIS:
 *  1. Cor primária: #1cba9f → #059669 (Emerald-600)
 *  2. Gradiente verde→roxo → gradiente sólido #0F172A/Slate
 *  3. Fonte heading: Exo (gaming) → Inter (clean enterprise)
 * ─────────────────────────────────────────────────────────────────
 */

/* =====================================================
   0. INTER FONT — carrega de Google Fonts
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =====================================================
   1. OVERRIDE DE COR PRIMÁRIA: #1cba9f → Emerald #059669
   Cobre: botões, links, bordas, badges, hover states
   ===================================================== */

/* Botões primários do tema */
.btn-primary,
.btn-default,
button[type="submit"],
input[type="submit"],
.wp-block-button__link,
.elementor-button,
.elementor-button-wrapper a,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #059669 !important;
    border-color: #059669 !important;
}

.btn-primary:hover,
.btn-default:hover,
button[type="submit"]:hover,
.elementor-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: #047857 !important;
    border-color: #047857 !important;
}

/* Links do tema */
a,
a:visited {
    color: #059669;
}
a:hover,
a:focus {
    color: #047857;
}

/* Elementos com a cor teal do Medizco — cobertura ampla */
[style*="color: #1cba9f"],
[style*="color:#1cba9f"] {
    color: #059669 !important;
}
[style*="background-color: #1cba9f"],
[style*="background-color:#1cba9f"],
[style*="background: #1cba9f"] {
    background-color: #059669 !important;
}
[style*="border-color: #1cba9f"],
[style*="border-color:#1cba9f"] {
    border-color: #059669 !important;
}

/* Variável CSS do tema (se usar custom properties) */
:root {
    --primary-color: #059669 !important;
    --color-primary: #059669 !important;
    --theme-color: #059669 !important;
    --accent-color: #059669 !important;
}

/* =====================================================
   2. MATAR GRADIENTE VERDE→ROXO
   Header / hero sections / top bars do Medizco
   ===================================================== */

/* Top bar */
.header-top,
.top-bar,
#top-bar,
.site-header .top-bar,
.medizco-top-bar,
.site-top-bar {
    background: #0F172A !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* Header principal */
.site-header,
#masthead,
.header-main,
.header-wrapper,
.main-header,
.medizco-header {
    background: #FFFFFF !important;
    background-image: none !important;
    border-bottom: 1px solid #E5E7EB !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

/* Hero sections que usam o gradiente */
.hero-section,
.page-header,
.entry-header,
.banner-section,
[class*="hero"],
[class*="banner"] {
    background-image: none !important;
}

/* Gradiente verde→roxo nos blocos Elementor */
.elementor-section.has-bg,
.elementor-section[data-settings*="gradient"] {
    background-image: none !important;
}

/* Qualquer elemento com o gradiente explícito */
* {
    background-image: none;
}
/* (Re-allow our own backgrounds) */
.bsm-container *,
img,
[style*="background-image: url"] {
    background-image: revert;
}

/* =====================================================
   3. FONTE HEADING: Exo → Inter
   ===================================================== */

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.page-title,
.elementor-heading-title,
[class*="heading"],
[class*="title"] {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: -0.02em;
}

/* Corpo — Inter também (já é melhor que o stack do Medizco) */
body,
p,
li,
td,
input,
textarea,
select,
.elementor-widget-text-editor p {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* =====================================================
   4. LIMPEZA DO FOOTER — kills o bootstrap americano
   ===================================================== */

/* Telefone de Indiana — esconder elementos de template */
.footer-emergency,
[class*="emergency"],
.footer-phone-us {
    display: none !important;
}

/* Footer principal — eliminar gradiente e fundo escuro bizarro */
.site-footer,
#colophon,
.footer-main,
.footer-bottom {
    background: #0F172A !important;
    background-image: none !important;
    color: #94A3B8 !important;
}

.site-footer a,
#colophon a {
    color: #94A3B8 !important;
}
.site-footer a:hover,
#colophon a:hover {
    color: #FFFFFF !important;
}

/* =====================================================
   5. NAVBAR — Consistência Slate
   ===================================================== */

/* Menu items */
.main-navigation a,
.primary-menu a,
.nav-menu a,
.elementor-nav-menu a {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 500;
}

.main-navigation a:hover,
.primary-menu a:hover {
    color: #059669 !important;
}

/* Active/current page indicator */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #059669 !important;
    border-bottom-color: #059669 !important;
}

/* =====================================================
   6. BODY — Fundo levemente fora do branco puro
   ===================================================== */
body {
    background-color: #F9FAFB !important;
}

/* Content area — branco puro */
.site-content,
#content,
.entry-content,
.page-content {
    background-color: #FFFFFF;
}

/* =====================================================
   NOTA DE MANUTENÇÃO
   ─────────────────────────────────────────────────────
   Este arquivo foi gerado automaticamente pelo sistema
   BSM Theme Overrides em 2026-03-27.
   Para desabilitar QUALQUER regra, adicione uma classe
   .no-bsm-override ao elemento no Elementor para que
   as regras não se apliquem.
   ===================================================== */
