:root {
    --primary: #2563eb;
    --dark-blue: #0f172a;
    --dark: #1e293b;
    --light: #f8fafc;
    --text: #334155;
    --green-strong: #15803d; 
    --red-strong: #ff5f5f;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--light); color: var(--text); line-height: 1.6; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; width: 100%; height: 100px;
    background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000; display: flex; align-items: center;
}
.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }

/* LOGO AJUSTÁVEL */
.logo img { height: 85px; width: auto; display: block; }

/* MENU */
.menu ul { list-style: none; display: flex; gap: 30px; align-items: center; }
.menu a { text-decoration: none; color: var(--dark); font-weight: 600; cursor: pointer; }

/* DROPDOWN INICIA FECHADO */
.dropdown { position: relative; }
.dropdown-content {
    display: none !important; 
    position: absolute; top: 100%; left: 0;
    background: #fff; min-width: 220px; box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-radius: 12px; padding: 10px 0; border: 1px solid #f1f5f9;
    margin-top: 15px; z-index: 2000;
}
.dropdown-content.show { display: block !important; }
.dropdown-content a { padding: 14px 24px; font-size: 0.95rem; font-weight: 500; display: block; }
.dropdown-content a:hover { background: #f8fafc; color: var(--primary); }

.btn-login { background: var(--primary); color: #fff !important; padding: 12px 28px; border-radius: 8px; }

/* HERO E CARDS */
.hero { margin-top: 180px; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.result-card { background: #fff; width: 100%; max-width: 800px; padding: 40px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.03); position: relative; }

.razao-social { font-size: 1.85rem; color: var(--dark-blue); margin-bottom: 5px; font-weight: 800; padding-right: 140px; }
.nome-fantasia { color: #475569; font-size: 1.1rem; margin-bottom: 30px; font-weight: 600; }

.badge { position: absolute; top: 40px; right: 40px; padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 800; color: #fff; }
.status-green { background: var(--green-strong); }
.status-red { background: var(--red-strong); }

/* GRID DE INFOS COM ESPAÇAMENTO REDUZIDO */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; border-top: 1px solid #f1f5f9; padding-top: 30px; }
.info-item { display: flex; gap: 15px; }
.info-item i { color: var(--primary); background: #eff6ff; padding: 12px; border-radius: 12px; height: fit-content; }

.info-item strong { 
    display: block; font-size: 0.85rem; text-transform: uppercase; 
    color: #334155; letter-spacing: 0.5px; margin-bottom: 0px; /* Título colado no dado */
    line-height: 1.1; font-weight: 700;
}
.info-item span { color: var(--dark-blue); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }

/* BOTÃO DE LARGURA AJUSTADA */
.card-footer { display: flex; justify-content: center; margin-top: 40px; }
.btn-full { display: inline-block; width: auto; background: var(--primary); color: #fff; text-decoration: none; padding: 15px 40px; border-radius: 15px; font-weight: 700; transition: transform 0.2s; }
.btn-full:hover { transform: translateY(-3px); filter: brightness(1.1); }

.search-box { display: flex; background: #fff; border-radius: 50px; padding: 8px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); width: 100%; max-width: 650px; margin-top: 30px; }
.search-box input { flex: 1; border: none; padding: 15px 30px; font-size: 1.1rem; outline: none; border-radius: 50px; }
.search-box button { background: var(--primary); color: white; border: none; padding: 0 35px; border-radius: 50px; cursor: pointer; font-weight: 700; }