/* Apple-ish UI — Simplesmente STF */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#5a5a5a;
  --line:rgba(0,0,0,.08);
  --card:#ffffff;
  --shadow: 0 16px 50px rgba(0,0,0,.08);
  --shadow2: 0 10px 26px rgba(0,0,0,.06);
  --radius: 22px;
  --radius2: 16px;
  --accent:#0a84ff; /* iOS blue-ish */
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
.container{ max-width: 1100px; margin: 0 auto; padding: 22px; }

/* ===== Transparent Glass Nav ===== */

.nav{
  position: sticky;
  top: 0;
  z-index: 50;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  padding: 16px 6px;

  background: rgba(255,255,255,.45); /* transparente */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 25px rgba(0,0,0,.04);
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0;             /* remove badge look */
  background:transparent;
  border:none;
  box-shadow:none;
}
.brand-title{ font-weight: 800; letter-spacing: -.02em; }
.brand-sub{ font-size: 12px; color: var(--muted); margin-top:2px; }

.menu{ display:flex; gap: 8px; flex-wrap:wrap; align-items:center; }
.menu a{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #1c1c1c;
}
.menu a:hover{
  border-color: var(--line);
  background: rgba(0,0,0,.03);
}

/* Hero */
.hero{ padding: 24px 6px 8px; }
.h1{
  font-size: 52px;
  line-height: 1.05;
  margin: 0 0 12px 0;
  letter-spacing: -.04em;
}
.sub{
  color: var(--muted);
  line-height: 1.7;
  max-width: 78ch;
  font-size: 16px;
  margin: 0 0 14px 0;
}
.pills{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.02);
  font-size: 12px;
  color: var(--muted);
}

/* Grid + cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card{
  grid-column: span 12;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
}

@media (min-width: 860px){
  .card.col6{ grid-column: span 6; }
  .card.col4{ grid-column: span 4; }
}

.card h2{
  margin: 0 0 10px 0;
  font-size: 18px;
  letter-spacing: -.02em;
}
.card p{
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Key-value blocks */
.kv{ display:grid; gap: 10px; margin-top: 10px; }
.kv div{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.02);
}
.kv span{ color: var(--muted); }
.kv b{ color: var(--text); font-weight: 600; }

/* separators */
.sep{ border:none; border-top: 1px solid var(--line); margin: 12px 0; }
.small{ font-size: 12px; color: var(--muted); }
.tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.02);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  margin: 6px 8px 0 0;
}

/* Source links */
a.source{
  display:inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.02);
  margin-right: 8px;
  color: var(--muted);
}
a.source:hover{
  background: rgba(10,132,255,.08);
  border-color: rgba(10,132,255,.25);
  color: #0a84ff;
}

/* Footer */
.footer{
  margin-top: 26px;
  padding: 18px 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}

/* Active nav item */
.menu a.active{
  background: rgba(10,132,255,.12);
  border: 1px solid rgba(10,132,255,.25);
  color: #0a84ff;
}

/* ===== Apple-style underline navigation ===== */

.menu{
  position: relative;
}

.menu a{
  position: relative;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #1c1c1c;
  transition: color .25s ease;
}

/* underline animation */
.menu a::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #0a84ff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s ease;
}

/* hover effect */
.menu a:hover::after{
  width: 60%;
}

/* active link underline full */
.menu a.active::after{
  width: 70%;
}

/* active text color */
.menu a.active{
  color: #0a84ff;
}
/* Retirement progress (Apple-like) */
.progress-wrap{ margin-top: 12px; }
.progress-head{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:12px; margin-bottom:8px;
}
.progress-title{ font-size:12px; color: var(--muted); }
.progress-metric{ font-size:12px; color: var(--text); font-weight:600; }

.progress{
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.03);
  overflow:hidden;
}
.progress > span{
  display:block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(10,132,255,.35), rgba(10,132,255,1));
  border-radius: 999px;
}
.progress-note{ margin-top:8px; font-size:12px; color: var(--muted); }

/* ===== Contrast Glass Override (white/gray premium) ===== */
:root{
  --bg:#f5f6f8;              /* fundo cinza bem claro */
  --text:#0b0b0f;            /* texto mais forte */
  --muted:#4a4f57;           /* cinza com mais contraste */
  --line:rgba(0,0,0,.10);    /* bordas mais visíveis */
  --card:rgba(255,255,255,.72); /* cards mais brancos */
  --shadow: 0 18px 55px rgba(0,0,0,.10);
  --shadow2: 0 12px 28px rgba(0,0,0,.08);
}

/* fundo geral */
body{
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(10,132,255,.10), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(52,199,89,.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

/* nav com mais contraste e glass real */
.nav{
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

/* cards mais “papel” */
.card{
  background: var(--card);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(14px);
}

/* blocos internos (kv) mais cinza pra contrastar com o branco do card */
.kv div{
  background: rgba(0,0,0,.035);
  border: 1px solid rgba(0,0,0,.10);
}

/* pílulas mais “clean” */
.pill{
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.10);
  color: var(--muted);
  backdrop-filter: blur(10px);
}

/* links de fontes bem Apple */
a.source{
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.12);
  color: var(--muted);
}
a.source:hover{
  background: rgba(10,132,255,.10);
  border-color: rgba(10,132,255,.25);
  color: #0a84ff;
}
