/* ==================================================
   CALCBRASIL — PADRÃO AZUL PREMIUM (igual imagem)
   ================================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

:root{
  --bg0:#06121c;
  --bg1:#071a28;
  --bg2:#0b2f46;

  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);

  --border: rgba(255,255,255,.12);

  --txt: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);

  --accent:#38bdf8;
  --danger:#ef4444;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r: 20px;
}

body{
  background:
    radial-gradient(900px 520px at 45% 18%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(700px 500px at 85% 55%, rgba(34,197,94,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg2));
  background-attachment: fixed;
  color:var(--txt);
  min-height:100vh;
}

/* ===== HEADER ===== */
/* ===== HEADER PADRÃO (igual salário) ===== */

header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(2,10,16,.65);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar{
  padding:14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
}

.brand .logo{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: rgba(56,189,248,.18);
  border:1px solid rgba(56,189,248,.30);
}

nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:700;
  padding:10px 14px;
  border-radius:12px;
  transition:.2s;
}

nav a:hover{
  background: rgba(255,255,255,.08);
  color:var(--txt);
}



/* ===== HERO ===== */
.hero{
  padding:46px 20px 20px;
  text-align:center;
}
.hero h1{
  font-size:38px;
  margin-bottom:8px;
}
.hero p{
  color:var(--muted);
}

/* ===== WRAP ===== */
.wrap{
  max-width:1100px;
  margin:22px auto 60px;
  padding:0 18px;
}

/* ===== CARD ===== */
.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--r);
  padding:26px;
  box-shadow:var(--shadow);
}

/* ===== GRID ===== */
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 18px;
}
@media (max-width:860px){
  .grid{ grid-template-columns:1fr; }
  .topo{ padding:16px 18px; }
  .hero h1{ font-size:32px; }
}

/* ===== CAMPOS ===== */
.field label{
  display:block;
  font-size:13px;
  margin-bottom:6px;
  color:var(--muted);
  font-weight:700;
}
.field input,
.field select{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  color:#fff;
  font-weight:700;
  outline:none;
}
.field input:focus,
.field select:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(56,189,248,.18);
}
.field small{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
}

/* ===== BOTÕES ===== */
.actions{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}
button{
  border:none;
  border-radius:14px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
}
.btn-primary{
  background:var(--accent);
  color:#052033;
  box-shadow:0 16px 40px rgba(56,189,248,.22);
}
.btn-primary:hover{
  transform:translateY(-2px);
}
.btn-ghost{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.btn-ghost:hover{
  background:rgba(255,255,255,.12);
}

/* ===== DETAILS ===== */
details{
  margin-top:16px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
}
summary{
  cursor:pointer;
  padding:14px;
  background:rgba(255,255,255,.06);
  font-weight:800;
}
.details-body{
  padding:16px;
  color:var(--muted);
}

/* ===== RESULTADO ===== */
.result{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
@media (max-width:860px){
  .result{ grid-template-columns:1fr; }
}
.kpi{
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:16px;
}
.kpi h3{
  font-size:14px;
  color:var(--muted);
  margin-bottom:8px;
}
.kpi .val{
  font-size:26px;
  font-weight:900;
}
.kpi .muted{
  color:var(--muted);
  margin-top:6px;
  font-size:13px;
}

/* ===== TABELA ===== */
.table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
  font-size:14px;
}
.table th,
.table td{
  padding:10px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.table th{
  color:var(--muted);
}
.right{ text-align:right; }

/* ===== AD SLOT ===== */
.ad-slot{
  margin-top:18px;
  border-radius:18px;
  padding:18px;
  background:rgba(255,255,255,.05);
  border:1px dashed rgba(255,255,255,.18);
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.ad-slot .tag{
  font-weight:900;
  color:var(--accent);
}
.ad-slot .hint{
  color:var(--muted);
  font-size:13px;
}

/* ===== RODAPÉ (IGUAL INDEX) ===== */
footer{
  margin-top:40px;
  padding:18px;
  text-align:center;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(2,10,16,.60);
}



/* ===== FIX DEFINITIVO: tira recuo à esquerda do bloco do título ===== */

/* o recuo está no container do texto (não no h1) */
.hero,
.hero > div,
.hero > div:first-child,
.hero .text,
.card .hd,
.card .bd{
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
}

/* mantém o padding original do hero (sem empurrar só o lado esquerdo) */
.hero{
  padding: 18px !important; /* ajuste se você usa outro valor */
}

/* garante que títulos e parágrafos não herdem nada */
.hero h1, .hero p,
.card .hd h2{
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
}

/* remove qualquer enfeite que esteja “ocupando espaço” antes do texto */
.hero::before,
.hero > div::before,
.hero h1::before,
.card .hd::before,
.card .hd h2::before{
  content: none !important;
  display: none !important;
}
/* ===== ANÚNCIOS LATERAIS FIXOS ===== */
/* ===== ANÚNCIOS LATERAIS FIXOS ===== */
.ad-side{
  position: fixed;
  top: 120px;
  width: 160px;
  min-height: 600px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  z-index: 10;
}

.ad-left{ left: 20px; }
.ad-right{ right: 20px; }

/* EMPURRA SOMENTE O CONTEÚDO */
@media (min-width: 1400px){
  .page, .wrap, main {
    
  }
}

/* some no mobile */
@media (max-width: 1399px){
  .ad-side{
    display: none;
  }
}
