/* ============================================
   BANHOSOFT - CSS GLOBAL COMPLETO
   Aplicado em TODAS as páginas
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #00d4ff;
    --accent: #ff6b35;
    --success: #10b981;
    --error: #ef4444;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --text-medium: #334155;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border: #cbd5e1;
    
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    --transition: 300ms ease;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================
   NAVBAR - MOVIDO PARA menu.css
   ============================================ */

/* Menu styles are now in menu.css */

/* ============================================
   FORMULÁRIOS - CONTRASTE GARANTIDO
   ============================================ */

.form-control {
    display: block;
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.form-control:focus {
    color: var(--text-primary);
    background-color: #ffffff;
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ============================================
   BOTÕES - CONTRASTE GARANTIDO
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    color: #ffffff;
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.btn-success {
    color: #ffffff;
    background: var(--gradient-success);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.btn-outline {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ============================================
   CARDS - CONTRASTE GARANTIDO
   ============================================ */

.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.card-modern {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card-modern:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   BOTÕES MODERN - CONTRASTE GARANTIDO
   ============================================ */

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-modern-primary {
    color: #ffffff;
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.btn-modern-outline {
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
}

.btn-modern-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ============================================
   FORMULÁRIOS MODERN - CONTRASTE GARANTIDO
   ============================================ */

.form-modern .form-group {
    margin-bottom: 1.25rem;
}

.form-modern label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-modern input[type="text"],
.form-modern input[type="email"],
.form-modern input[type="password"],
.form-modern textarea {
    display: block;
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.form-modern input:focus,
.form-modern textarea:focus {
    color: var(--text-primary);
    background-color: #ffffff;
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-modern input::placeholder,
.form-modern textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* ============================================
   ALERTAS - CONTRASTE GARANTIDO
   ============================================ */

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    margin-bottom: 1rem;
}

.alert-success {
    color: #065f46;
    background: #d1fae5;
    border-color: #10b981;
}

.alert-danger {
    color: #991b1b;
    background: #fee2e2;
    border-color: #ef4444;
}

.alert-info {
    color: #1e40af;
    background: #dbeafe;
    border-color: #3b82f6;
}

/* ============================================
   TEXTOS GERAIS - CONTRASTE GARANTIDO
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    body {
        padding-top: 65px;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}