:root {
  --blue-light: #b7eaff;
  --blue-mid: #5bbcff;
  --blue-dark: #1f5fa8;

  --panel-bg: rgba(255, 255, 255, 0.55);
  --panel-border: rgba(0, 90, 160, 0.35);

  --text-main: #0b2a44;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, #ffffffcc, transparent 55%),
    linear-gradient(180deg, var(--blue-light), var(--blue-mid), var(--blue-dark));
  min-height: 100vh;
  overflow-x: hidden;
}

/* PANELS – OLD STYLE */
.panel-old {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.85),
      rgba(255,255,255,0.55)
    );
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.9),
    inset 0 -2px 6px rgba(0,60,120,0.25),
    0 12px 24px rgba(0,40,90,0.45);
}

/* HEADER */
.top-bar {
  margin: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LAYOUT */
.container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

/* IMAGE PLACEHOLDERS */
.image-placeholder.old {
  background: linear-gradient(135deg, #dff5ff, #8fd0ff);
  border-radius: 14px;
  border: 1px solid rgba(0,80,140,0.4);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.9),
    inset 0 -6px 12px rgba(0,90,160,0.35),
    0 10px 18px rgba(0,60,120,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,40,80,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.large { height: 300px; }
.wide { height: 220px; }
.small {
  height: 120px;
  margin-bottom: 1rem;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card {
  padding: 1.5rem;
}

/* BUTTONS */
.btn-old {
  border: 1px solid rgba(0,90,160,0.6);
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #c2e6ff);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 -3px 6px rgba(0,90,160,0.35),
    0 6px 10px rgba(0,60,120,0.45);
  cursor: pointer;
}

.btn-old.primary {
  background: linear-gradient(180deg, #e9fbff, #7fd3ff);
}

/* FOOTER */
.footer {
  margin: 1rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

/* BACKGROUND BUBBLES */
.background-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at top, #ffffff, #b7eaff);
  opacity: 0.45;
  animation: rise linear infinite;
}

/* VARIAÇÕES */
.b1 { left: 5%;  width: 90px; height: 90px; animation-duration: 36s; }
.b2 { left: 15%; width: 50px; height: 50px; animation-duration: 24s; }
.b3 { left: 30%; width: 70px; height: 70px; animation-duration: 30s; }
.b4 { left: 45%; width: 40px; height: 40px; animation-duration: 22s; }
.b5 { left: 60%; width: 85px; height: 85px; animation-duration: 38s; }
.b6 { left: 70%; width: 55px; height: 55px; animation-duration: 26s; }
.b7 { left: 82%; width: 35px; height: 35px; animation-duration: 20s; }
.b8 { left: 92%; width: 65px; height: 65px; animation-duration: 32s; }

@keyframes rise {
  to {
    transform: translateY(-130vh);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
