/* Retropixel Messenger™ — identidade visual do portal
   Inspirada no Windows Live Messenger 2009 / Windows Aero. */

:root {
  --ink: #263746;
  --muted: #71808a;
  --blue: #2c80b8;
  --blue-dark: #17628f;
  --green: #55b94c;
  --green-dark: #268b3c;
  --line: #c6d7df;
  --link: #176caa;
  --glass: rgba(255, 255, 255, .72);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #dcecf3;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.95) 0, rgba(224,243,250,.9) 35%, transparent 72%),
    linear-gradient(135deg, #d8eaf2 0%, #edf5f7 48%, #d4e4eb 100%);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 15px;
}

.site-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 1080px);
  min-height: min(720px, calc(100vh - 48px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #8ca9b9;
  border-radius: 9px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.9) inset,
    0 2px 4px rgba(42,76,94,.22),
    0 18px 48px rgba(35,76,99,.18);
}

.site-shell::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #a8d7ed, #fff 35%, #c5edff 70%, #8fc9e5);
  pointer-events: none;
}

/* Cabeçalho: céu azul e brilho suave, como a tela de entrada do WLM. */
.hero {
  position: relative;
  min-height: 275px;
  padding: 36px 28px 30px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #c5dce6;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.45) 30%, transparent 68%),
    linear-gradient(180deg, #83c8e8 0%, #c6e9f7 34%, #f4fbfd 82%, #fff 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: .42;
  background:
    radial-gradient(ellipse at 14% 35%, rgba(255,255,255,.72), transparent 26%),
    radial-gradient(ellipse at 86% 18%, rgba(255,255,255,.62), transparent 30%),
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 49%, transparent 64%);
}

.hero::after {
  right: -8%;
  bottom: -90px;
  left: -8%;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.48);
  filter: blur(18px);
}

.main-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto 13px;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(34,85,111,.22));
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 7px 0 8px;
  color: #29475b;
  font-size: clamp(25px, 3.2vw, 35px);
  font-weight: 300;
  letter-spacing: -.7px;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.tagline {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  color: #3e5665;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.55;
}

/* Seletor de versões */
.version-area {
  position: relative;
  flex: 1;
  padding: 34px 20px 48px;
  text-align: center;
  background:
    linear-gradient(180deg, #fff 0%, #fff 76%, #f8fbfc 100%);
}

.choose-label {
  margin: 0 0 25px;
  color: #526b7a;
  font-size: 15px;
  letter-spacing: .2px;
}

.version-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 34px;
}

.version-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 190px;
  min-height: 82px;
  padding: 12px 18px;
  overflow: hidden;
  color: #234354;
  text-decoration: none;
  font-size: 27px;
  font-weight: 300;
  border: 1px solid #8bb6c8;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(237,249,253,.94) 46%, rgba(203,232,243,.96) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 -1px 0 rgba(83,139,164,.12) inset,
    0 2px 4px rgba(40,83,104,.18);
  text-shadow: 0 1px 0 #fff;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.version-button::before {
  position: absolute;
  top: 1px;
  right: 1px;
  left: 1px;
  height: 48%;
  content: "";
  border-radius: 8px 8px 45% 45%;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,0));
  pointer-events: none;
}

.version-button img,
.version-button span {
  position: relative;
  z-index: 1;
}

.version-button img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(30,70,90,.16));
}

.version-button:hover,
.version-button:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,.98) inset,
    0 0 0 2px rgba(115,190,218,.25),
    0 7px 15px rgba(36,102,135,.22);
  outline: none;
}

.version-button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(40,83,104,.2) inset;
}

.version-classic {
  border-color: #8ab5c6;
  background: linear-gradient(180deg, #fff 0%, #eaf7fb 47%, #c5e5ef 100%);
}

.version-new {
  border-color: #70b77b;
  background: linear-gradient(180deg, #fff 0%, #effbef 45%, #c5eac8 100%);
}

.version-new:hover,
.version-new:focus-visible {
  box-shadow:
    0 1px 0 rgba(255,255,255,.98) inset,
    0 0 0 2px rgba(100,190,111,.24),
    0 7px 15px rgba(47,132,62,.2);
}

/* Rodapé discreto, como os links da janela de login. */
.site-footer {
  padding: 17px 18px 21px;
  text-align: center;
  border-top: 1px solid #edf2f4;
  background: linear-gradient(180deg, #fff, #f8fbfc);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.site-footer nav span { color: #b0bdc4; }

a { color: var(--link); }

.site-footer nav a {
  color: #477b99;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
}

.site-footer nav a:hover,
.content-panel a:hover {
  color: #155b8b;
  text-decoration: underline;
}

.copyright {
  margin: 12px 0 0;
  color: #9aa8af;
  font-size: 11px;
}

/* Páginas internas */
.inner-shell {
  max-width: 1000px;
  min-height: min(760px, calc(100vh - 48px));
}

.page-header {
  position: relative;
  padding: 20px 24px 25px;
  text-align: center;
  border-bottom: 1px solid #c5dce6;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.9), transparent 65%),
    linear-gradient(180deg, #83c8e8 0%, #d5eff9 65%, #f8fcfd 100%);
}

.small-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #315a70;
  font-size: 14px;
  text-decoration: none;
}

.small-brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.page-header h1 {
  margin: 12px 0 5px;
  color: #29475b;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -.4px;
}

.page-header p {
  margin: 0;
  color: #526e7e;
}

.content-panel {
  width: min(100% - 40px, 790px);
  margin: 28px auto;
  padding: 26px 32px;
  border: 1px solid #d2e1e7;
  border-radius: 7px;
  background: linear-gradient(180deg, #fff, #fbfdfe);
  box-shadow: 0 2px 8px rgba(44,84,103,.07);
  line-height: 1.7;
}

.content-panel h2 {
  margin: 22px 0 7px;
  color: #34779a;
  font-size: 19px;
  font-weight: 500;
}

.content-panel h2:first-child { margin-top: 0; }
.content-panel p { margin: 8px 0 14px; }
.content-panel li { margin: 5px 0; }

.notice {
  padding: 12px 14px;
  border: 1px solid #ead9a9;
  border-left: 4px solid #d4a13a;
  border-radius: 4px;
  background: #fffaf0;
  color: #66552f;
  font-size: 14px;
}

.back-link { margin-top: 28px !important; }

.simple-footer {
  margin-top: auto;
  padding: 17px;
  color: #91a1aa;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid #edf2f4;
  background: #fbfdfe;
}

@media (max-width: 600px) {
  body { padding: 8px; }
  .site-shell { min-height: calc(100vh - 16px); }
  .hero { min-height: 245px; padding: 28px 16px 24px; }
  .main-logo { width: 70px; height: 70px; }
  .desktop-break { display: none; }
  .version-area { padding: 28px 14px 38px; }
  .version-buttons { gap: 14px; }
  .version-button { width: min(42vw, 175px); min-width: 130px; min-height: 72px; }
  .site-footer nav { gap: 6px; }
  .site-footer nav a { font-size: 13px; }
  .content-panel { width: calc(100% - 24px); padding: 20px 18px; margin: 18px auto; }
  .page-header { padding: 17px 12px 21px; }
  .page-header h1 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
