:root {
    --primary: #2563eb; 
    --primary-hover: #1d4ed8;
    --dark: #0f172a;
    --light-bg: #f8fafc;
}

body { font-family: 'Inter', sans-serif; background-color: var(--light-bg); color: #334155; }
h1, h2, h3, h4, h5, .brand-logo { font-family: 'Poppins', sans-serif; }

.navbar-custom { background-color: #0f172a; border-bottom: 3px solid var(--primary); }
.brand-logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: white; display: flex; align-items: center;}
.brand-logo i { color: var(--primary); margin-right: 8px; font-size: 1.8rem; }

.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: white; padding: 50px 0; text-align: center; }
.hero h1 { font-weight: 800; font-size: 2.5rem; margin-bottom: 1rem; }
.hero h1 span { color: #38bdf8; }

.tool-card { background: white; border-radius: 16px; padding: 25px 20px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); text-align: center; transition: all 0.3s; border: 1px solid #e2e8f0; height: 100%; cursor: pointer; }
.tool-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2); }
.icon-circle { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 15px auto; color: white; }

.tool-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px;}
.tool-card p { font-size: 0.8rem; line-height: 1.4; color: #64748b;}

/* Paleta de Cores */
.bg-1 { background: linear-gradient(135deg, #10b981, #059669); }
.bg-2 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-3 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.bg-4 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.bg-5 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.bg-6 { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.bg-7 { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.bg-8 { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.bg-9 { background: linear-gradient(135deg, #84cc16, #65a30d); }
.bg-10 { background: linear-gradient(135deg, #d946ef, #c026d3); }
.bg-11 { background: linear-gradient(135deg, #64748b, #475569); }
.bg-12 { background: linear-gradient(135deg, #eab308, #ca8a04); }

.adsense-box { background: #f1f5f9; border: 1px dashed #cbd5e1; border-radius: 12px; text-align: center; padding: 10px; margin: 30px auto; width: 100%; min-height: 90px; max-width: 800px; overflow: hidden; }

/* Textos SEO */
.seo-section { background: white; padding: 60px 0; border-top: 1px solid #e2e8f0; }
.seo-content h2 { font-weight: 800; color: var(--dark); font-size: 1.8rem; margin-top: 30px; margin-bottom: 15px; }
.seo-content p { font-size: 1.05rem; line-height: 1.7; color: #475569; margin-bottom: 20px; }

/* Modais e Resultados */
.modal-content { border-radius: 16px; border: none; }
.modal-header { border-bottom: 1px solid #e2e8f0; padding: 15px 20px; background: #f8fafc; border-radius: 16px 16px 0 0; }
.form-control, .form-select { border-radius: 8px; padding: 8px 12px; border: 1px solid #cbd5e1; font-size: 0.9rem; }
.btn-primary { background-color: var(--primary); border-color: var(--primary); font-weight: 600; padding: 10px; border-radius: 8px; }

.result-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px; border-radius: 12px; margin-top: 20px; display: none; text-align: left; }
.result-box h5 { color: var(--dark); margin-bottom: 15px; font-weight: 800; text-align: center; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; font-size: 1.1rem;}
.result-line { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #cbd5e1; font-size: 0.85rem; }
.result-line.total { border-bottom: none; font-weight: 800; font-size: 1rem; color: var(--primary); margin-top: 10px; border-top: 2px solid #cbd5e1; padding-top: 10px;}

/* Footer */
footer { background: var(--dark); color: #94a3b8; padding: 40px 0; font-size: 0.9rem; }
footer a { color: #cbd5e1; text-decoration: none; margin: 0 10px; transition: 0.3s; }
footer a:hover { color: white; }