/* projetos.css — tema escuro com prata neutro, 80% dark */
:root{
  --bg-80: #070707;         /* predominante: muito escuro */
  --panel: #0b0b0b;         /* card mais escuro */
  --silver: #c0c0c0;        /* prata neutro */
  --muted: #9aa3ad;         /* texto secundário */
  --glass: rgba(255,255,255,0.02);
  --focus: rgba(192,192,192,0.12);
  --shadow: 0 10px 30px rgba(0,0,0,0.6);
  --accent-border: rgba(192,192,192,0.06);
  --radius: 14px;
  --max-width: 1100px;
  --gap: 20px;
}

/* base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background: linear-gradient(180deg, var(--bg-80) 0%, #020202 100%);
  color: var(--silver);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:100vh;
  padding:28px 20px;
}

/* máscara escura full-screen com gradiente */
.bg-mask{
  position:fixed;
  inset:0;
  background: radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.01), transparent 10%),
              linear-gradient(180deg, rgba(0,0,0,0.3), rgba(2,2,6,0.65));
  pointer-events:none;
  z-index:0;
}

.subtitle-1 {
  color:  #00f7ff;
}

/* top arrow */
.arrow-top{
  position:fixed;
  top:22px;
  left:22px;
  z-index:30;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:10px;
  text-decoration:none;
  color:var(--silver);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid var(--accent-border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.arrow-top:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7), 0 0 22px rgba(192,192,192,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

/* layout central */
.stage{
  z-index:5;
  width:100%;
  max-width:var(--max-width);
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  gap:28px;
  padding:20px;
}

/* cards grid */
.cards{
  width:100%;
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: var(--gap);
  align-items:start;
}

/* responsividade: quando estreito, um por vez */
@media (max-width:900px){
  .cards{ grid-template-columns: 1fr; }
}

/* card base */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border:1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  position:relative;
  overflow:hidden;
  min-height:120px;
}

/* hover da visibilidade: mais brilho/contraste */
.card:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.75), 0 0 40px rgba(192,192,192,0.03);
  border-color: rgba(192,192,192,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.004));
}

/* destaque principal */
.card-main{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 28px;
  min-height:220px;
}

/* side cards */
.card-side{
  padding:20px;
  min-height:120px;
}

/* typography */
.title{
  font-size:1.6rem;
  margin:0 0 8px;
  color: var(--silver);
  letter-spacing:0.6px;
}
.subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size:1.05rem;
}

/* small titles */
.small-title{
  margin:0 0 8px;
  color:var(--silver);
  font-size:1rem;
}

/* muted paragraph */
.muted{
  color:var(--muted);
  font-size:0.97rem;
  line-height:1.6;
}

/* CTA row */
.cta-row{
  margin-top:14px;
  display:flex;
  gap:12px;
  justify-content:center;
  width:100%;
}

/* button primary (saiba mais) */
.btn-saber{
  --btn-bg: linear-gradient(180deg, rgba(192,192,192,0.06), rgba(192,192,192,0.02));
  background: var(--btn-bg);
  color: var(--silver);
  border: 1px solid rgba(192,192,192,0.14);
  padding:12px 20px;
  border-radius: 999px;
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

/* hover botão: mais visível */
.btn-saber:hover{
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 50px rgba(0,0,0,0.75), 0 0 26px rgba(192,192,192,0.07);
  background: linear-gradient(180deg, rgba(192,192,192,0.12), rgba(192,192,192,0.04));
  border-color: rgba(192,192,192,0.26);
}

/* footer */
.site-footer{
  width:100%;
  max-width:var(--max-width);
  margin-top:158px;
  text-align:center;
  z-index:5;
  color:var(--muted);
  padding:8px 12px;
}

/* small screens tweaks */
@media (max-width:480px){
  body{ padding:18px 12px; }
  .card-main{ padding:28px 18px; min-height:200px;}
  .title{ font-size:1.35rem; }
  .subtitle{ font-size:0.98rem; }
  .cards{ grid-template-columns: 1fr; gap:16px; }
  .arrow-top{ width:40px; height:40px; left:14px; top:14px; }
}
