:root{
  --bg1:#ffffff;
  --bg2:#e9fbff;
  --bg3:#d7f7ff;

  --txt:#071018;
  --muted: rgba(7,16,24,.68);

  --card: rgba(255,255,255,.72);
  --line: rgba(7,16,24,.10);

  --brand:#00bcd4;
  --brand2:#2be7ff;

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.10);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--txt);
  background:
    radial-gradient(900px 600px at 10% 10%, var(--bg3), transparent 60%),
    radial-gradient(900px 600px at 90% 15%, #c6f4ff, transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  min-height:100vh;
}

.wrap{
  width:min(1150px, 92%);
  margin-inline:auto;
}

.top{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom:1px solid var(--line);
}
.top__inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding: 14px 0;
}

.back{
  text-decoration:none;
  font-weight: 900;
  color: var(--txt);
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  padding: 10px 12px;
  border-radius: 14px;
}

.title{
  font-weight: 1000;
  letter-spacing:.2px;
  font-size: 16px;
}
.sub{
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  margin-top: 2px;
}

.panel{
  margin: 18px 0 28px;
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.panel__row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
}

h1{
  margin: 0 0 6px;
  font-size: 26px;
}
.muted{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 800;
  max-width: 60ch;
}

.controls{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 900;
  cursor:pointer;
  border: 0;
  color: #062028;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 40px rgba(0,188,212,.22);
}
.btn--ghost{
  background: rgba(255,255,255,.78);
  border:1px solid var(--line);
  box-shadow:none;
  color: var(--txt);
}

.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.item{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(0,188,212,.06);
  box-shadow: 0 16px 50px rgba(0,0,0,.10);
}
.item img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transform: scale(1.01);
  transition: transform .25s ease;
}
.item:hover img{ transform: scale(1.06); }

.hint{
  margin-top: 12px;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

/* Responsivo */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
