/*
Theme Name: Hello Elementor Child — Investir e Ganhar
Description: Tema filho do Hello Elementor com identidade visual dark da área de membros
Template: hello-elementor
Version: 1.0.0
Author: Investir e Ganhar
Text Domain: hello-elementor-child
*/

/* =============================================
   VARIAVEIS — identidade visual
   Estilos globais (html/body) ficam apenas em aula.css e membros.css
   ============================================= */
:root {
    /* Cores principais */
    --ig-bg:           #0a0e17;   /* fundo escuro principal */
    --ig-bg-card:      #111827;   /* cards, modais */
    --ig-bg-surface:   #1a2235;   /* superfícies elevadas */
    --ig-border:       #1e2d45;   /* bordas sutis */

    /* Azul de ação */
    --ig-blue:         #1a6fff;
    --ig-blue-hover:   #3d87ff;
    --ig-blue-dark:    #0f4ac8;

    /* Texto */
    --ig-text:         #f0f4ff;   /* texto principal */
    --ig-text-muted:   #8899bb;   /* texto secundário */
    --ig-text-dim:     #4a5a7a;   /* texto desabilitado */

    /* Status */
    --ig-green:        #00c853;
    --ig-red:          #ff3d57;
    --ig-yellow:       #ffc107;

    /* Tipografia */
    --ig-font:         'Inter', 'Segoe UI', system-ui, sans-serif;
    --ig-font-size:    16px;
    --ig-line-height:  1.6;

    /* Espaçamentos */
    --ig-radius:       12px;
    --ig-radius-sm:    8px;
    --ig-radius-lg:    20px;

    /* Sombras */
    --ig-shadow:       0 4px 24px rgba(0, 0, 0, 0.5);
    --ig-shadow-blue:  0 4px 20px rgba(26, 111, 255, 0.35);

    /* Transições */
    --ig-transition:   0.2s ease;
}

/* Estilos base removidos daqui — ficam em aula.css e membros.css
   para nao afetar paginas padrao do WordPress (login, register, etc) */

/* =============================================
   BOTÕES
   ============================================= */
.ig-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--ig-radius-sm);
    font-family: var(--ig-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ig-transition);
    border: none;
    outline: none;
}

.ig-btn-primary {
    background: var(--ig-blue);
    color: #fff;
    box-shadow: var(--ig-shadow-blue);
}
.ig-btn-primary:hover {
    background: var(--ig-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(26, 111, 255, 0.5);
    color: #fff;
}

.ig-btn-ghost {
    background: transparent;
    color: var(--ig-text-muted);
    border: 1px solid var(--ig-border);
}
.ig-btn-ghost:hover {
    border-color: var(--ig-blue);
    color: var(--ig-blue);
}

/* =============================================
   CARDS
   ============================================= */
.ig-card {
    background: var(--ig-bg-card);
    border: 1px solid var(--ig-border);
    border-radius: var(--ig-radius);
    padding: 24px;
    box-shadow: var(--ig-shadow);
    transition: border-color var(--ig-transition), transform var(--ig-transition);
}
.ig-card:hover {
    border-color: var(--ig-blue);
    transform: translateY(-2px);
}

/* =============================================
   BADGE / TAG
   ============================================= */
.ig-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ig-badge-blue   { background: rgba(26,111,255,0.15); color: var(--ig-blue); }
.ig-badge-green  { background: rgba(0,200,83,0.15);   color: var(--ig-green); }
.ig-badge-yellow { background: rgba(255,193,7,0.15);  color: var(--ig-yellow); }

/* =============================================
   BARRA DE PROGRESSO
   ============================================= */
.ig-progress {
    width: 100%;
    height: 4px;
    background: var(--ig-border);
    border-radius: 2px;
    overflow: hidden;
}
.ig-progress-bar {
    height: 100%;
    background: var(--ig-blue);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* =============================================
   FORMULÁRIOS
   ============================================= */
.ig-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--ig-bg-surface);
    border: 1px solid var(--ig-border);
    border-radius: var(--ig-radius-sm);
    color: var(--ig-text);
    font-family: var(--ig-font);
    font-size: 1rem;
    transition: border-color var(--ig-transition);
    box-sizing: border-box;
}
.ig-input:focus {
    outline: none;
    border-color: var(--ig-blue);
    box-shadow: 0 0 0 3px rgba(26,111,255,0.15);
}
.ig-input::placeholder { color: var(--ig-text-dim); }

/* =============================================
   OVERRIDES — Elementor no dark theme
   ============================================= */
.elementor-section,
.e-con,
.e-con-inner {
    background-color: transparent;
}

/* Remove backgrounds brancos padrão do Elementor */
.elementor-widget-container {
    color: var(--ig-text);
}

/* Heading widgets */
.elementor-heading-title {
    color: var(--ig-text) !important;
}

/* =============================================
   UTILITÁRIOS
   ============================================= */
.ig-text-muted  { color: var(--ig-text-muted) !important; }
.ig-text-blue   { color: var(--ig-blue) !important; }
.ig-text-green  { color: var(--ig-green) !important; }
.ig-bg-surface  { background: var(--ig-bg-surface) !important; }
.ig-hidden      { display: none !important; }
.ig-center      { text-align: center; }
