/*
Theme Name: Caminho Rico
Theme URI: https://caminhorico.com.br
Author: Marcello + ChatGPT
Description: Tema leve para portal de finanças/bancos/investimentos focado em performance e Adsense.
Version: 1.0.0
License: GPLv2 or later
Text Domain: caminhorico
Tags: one-column, custom-menu, featured-images, translation-ready
*/
:root{
  --bg:#0b1220;
  --surface:#101a2f;
  --text:#e8eefc;
  --muted:#a9b7d6;
  --accent:#5eead4;
  --accent2:#60a5fa;
  --border:rgba(255,255,255,.08);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1100px 600px at 15% 0%, rgba(96,165,250,.22), transparent 60%),
              radial-gradient(900px 540px at 85% 10%, rgba(94,234,212,.16), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:var(--accent2); text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1120px, calc(100% - 32px)); margin:0 auto}
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px}
.brand{display:flex; align-items:center; gap:10px}
.brand img{width:34px; height:34px}
.brand .title{font-weight:900; letter-spacing:.3px; color:var(--text)}
.nav a{margin-left:14px; color:var(--text); opacity:.9}
.nav a:hover{opacity:1}
.card{
  background: linear-gradient(180deg, rgba(16,26,47,.9), rgba(16,26,47,.72));
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}
.hero{padding:42px 0 22px}
.hero-grid{display:grid; gap:18px; grid-template-columns: 1.2fr .8fr; align-items:center}
@media (max-width: 880px){.hero-grid{grid-template-columns:1fr}}
.h1{font-size: clamp(28px, 4vw, 44px); line-height:1.08; margin:0 0 10px}
.lead{color:var(--muted); margin:0 0 14px; font-size:16px}
.pills{display:flex; flex-wrap:wrap; gap:10px}
.pill{border:1px solid var(--border); border-radius:999px; padding:7px 10px; color:var(--muted); font-size:13px}
.section{padding:18px 0 42px}
.section h2{margin:0 0 12px; font-size:22px}
.grid{display:grid; gap:14px; grid-template-columns:repeat(3,1fr)}
@media (max-width: 940px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 620px){.grid{grid-template-columns:1fr}}
.tool-card h3{margin:0 0 6px; font-size:18px}
.tool-card p{margin:0; color:var(--muted)}
.tool-card .meta{margin-top:12px; font-size:12px; color:var(--muted); display:flex; gap:10px; flex-wrap:wrap}
.badge{display:inline-flex; align-items:center; gap:6px; border:1px solid var(--border); padding:4px 8px; border-radius:999px}
.footer{border-top:1px solid var(--border); padding:28px 0; color:var(--muted); font-size:13px}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width: 620px){.form-row{grid-template-columns:1fr}}
label{display:block; font-size:13px; color:var(--muted); margin-bottom:6px}
input, select{
  width:100%;
  padding: 11px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
button{
  padding: 11px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: linear-gradient(90deg, rgba(96,165,250,.25), rgba(94,234,212,.18));
  color:var(--text);
  cursor:pointer;
  font-weight:800;
}
button:hover{filter:brightness(1.08)}
.result{
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
}
small.help{color:var(--muted)}
.ad-slot{
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px;
  text-align:center;
  color: var(--muted);
  font-size: 12px;
}
