
:root{
  --primary:#1f6fb2; /* azul */
  --secondary:#2bb24c; /* verde */
  --bg:#0f172a;        /* slate-900 */
  --card:#111827;      /* gray-900 */
  --text:#e5e7eb;      /* gray-200 */
  --muted:#94a3b8;     /* slate-400 */
  --accent: #22d3ee;   /* cyan-400 */
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(34,211,238,.15), transparent 60%),
              radial-gradient(1000px 500px at 110% 20%, rgba(43,178,76,.15), transparent 60%),
              var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.5;
}

.header{
  max-width:1100px;
  margin:32px auto 12px;
  padding:0 20px;
  display:flex;
  align-items:center;
  gap:16px;
}
.header img{
  height:56px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}
.header h1{
  margin:0;
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight:700;
  color:var(--text);
  letter-spacing:.2px;
}

.container{
  max-width:1100px;
  margin:0 auto 56px;
  padding:0 20px 40px;
}

.hero{
  background: linear-gradient(180deg, rgba(17,24,39,.65), rgba(17,24,39,.4));
  border:1px solid rgba(148,163,184,.15);
  border-radius:20px;
  padding:28px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.hero p{
  margin:0;
  font-size: clamp(16px, 2.4vw, 18px);
  color:var(--muted);
}

.section{
  margin-top:26px;
}
.section h2{
  margin:0 0 12px;
  font-size: clamp(18px,2.6vw,20px);
  color:#fff;
  font-weight:700;
  letter-spacing:.2px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
@media (max-width:720px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  position:relative;
  border:1px solid rgba(148,163,184,.16);
  background: linear-gradient(180deg, rgba(17,24,39,.85), rgba(17,24,39,.78));
  border-radius:16px;
  padding:18px;
  display:flex;
  align-items:center;
  gap:14px;
  box-shadow: 0 10px 18px rgba(0,0,0,.2);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.35);
  box-shadow: 0 14px 26px rgba(0,0,0,.28);
}
.card .icon{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color:white;
  font-weight:800;
  font-size:20px;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.card .content{ flex:1; }
.card .content .title{
  font-size:16px;
  color:#fff;
  font-weight:700;
  margin:0 0 2px;
}
.card .content .desc{
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.card a.btn{
  appearance:none;
  border:none;
  text-decoration:none;
  padding:10px 14px;
  border-radius:10px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color:white; font-weight:700; font-size:13px;
  transition: transform .12s ease, filter .12s ease;
  box-shadow: 0 8px 18px rgba(31,111,178,.35);
}
.card a.btn:hover{ transform: translateY(-1px); filter:brightness(1.05); }
.card a.btn:active{ transform: translateY(0); }

.subtle{
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
}
.footer{
  max-width:1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.footer a{ color: var(--accent); text-decoration:none; }

/* --- Estilos do Novo Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #121212;
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid #333;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-content h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.modal-links {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.modal-links li { margin: 12px 0; }

.modal-links a {
  display: block;
  padding: 14px;
  background: #1e1e1e;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.modal-links a:hover {
  background: #252525;
  border-color: #444;
  transform: translateY(-2px);
}

.btn-close {
  background: transparent;
  color: #777;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

.btn-close:hover { color: #fff; }