/* Phoenix Injecao Design System - subset usado por este site.
   Fonte da verdade dos valores: colors_and_type.css do design system. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --orange-50: #FEF4EC;
  --orange-500: #F58A3C;
  --orange-600: #E1721F;
  --orange-700: #B85918;
  --navy-700: #14264A;
  --navy-800: #0F1D39;
  --navy-900: #0A1428;
  --slate-0: #FFFFFF;
  --slate-50: #F4F6F9;
  --slate-100: #E9EDF2;
  --slate-200: #D7DDE6;
  --slate-400: #8C97A8;
  --slate-500: #647186;
  --slate-600: #4A5566;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
  --r-md: 8px;
  --r-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(10, 20, 40, .08), 0 1px 2px rgba(10, 20, 40, .04);
  --shadow-md: 0 4px 12px rgba(10, 20, 40, .08), 0 2px 4px rgba(10, 20, 40, .04);
  --shadow-lg: 0 24px 60px rgba(10, 20, 40, .10), 0 6px 16px rgba(10, 20, 40, .06);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { background: var(--slate-50); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--slate-50);
  color: var(--navy-700);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-700); text-decoration: none; }
a:hover { color: var(--orange-600); text-decoration: underline; }

/* ---------- movimento ---------- */

@keyframes subir {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes flutuar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(-1.1deg); }
}

@keyframes correr {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes brilho {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

.sobe { animation: subir .7s var(--ease) both; }
.sobe--1 { animation-delay: .05s; }
.sobe--2 { animation-delay: .14s; }
.sobe--3 { animation-delay: .23s; }
.sobe--4 { animation-delay: .32s; }

/* ---------- tela de acesso ---------- */

.acesso {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 64px;
  min-height: 100vh;
  padding: 64px clamp(32px, 5vw, 88px);
  overflow: hidden;
}

/* a fenix como arte da pagina: grande, translucida, viva */
.fenix {
  position: absolute;
  left: -14%;
  bottom: -30%;
  width: min(1120px, 82vw);
  aspect-ratio: 900 / 745;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: url('/assets/simbolo-phoenix.png');
  mask-image: url('/assets/simbolo-phoenix.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: linear-gradient(100deg,
    rgba(245, 138, 60, .16) 0%,
    rgba(245, 138, 60, .30) 22%,
    rgba(255, 190, 130, .42) 34%,
    rgba(225, 114, 31, .26) 48%,
    rgba(245, 138, 60, .16) 70%,
    rgba(245, 138, 60, .28) 100%);
  background-size: 200% 100%;
  animation: correr 11s linear infinite, flutuar 16s ease-in-out infinite;
}

.fenix--topo {
  left: auto;
  right: -12%;
  top: -34%;
  bottom: auto;
  width: min(760px, 58vw);
  opacity: .5;
  animation-duration: 14s, 21s;
  animation-direction: reverse, normal;
}

.acesso__esq,
.acesso__dir { position: relative; z-index: 1; }

.acesso__esq { max-width: 620px; }

.marca {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.marca img {
  display: block;
  width: clamp(280px, 27vw, 404px);
  height: auto;
}

/* uma passada de luz no logo, uma vez, ao abrir */
.marca::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 42%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  animation: brilho 1.5s var(--ease) .5s 1 both;
}

.titulo {
  margin: 44px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--navy-700);
  text-wrap: balance;
}

.titulo em {
  position: relative;
  font-style: normal;
  white-space: nowrap;
}

.titulo em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .11em;
  border-radius: 2px;
  background: var(--orange-500);
  opacity: .9;
}

.apoio {
  margin: 26px 0 0;
  max-width: 44ch;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--slate-600);
  text-wrap: pretty;
}

/* cartao de login */
.cartao {
  width: 100%;
  max-width: 452px;
  margin-left: auto;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 18px;
  background: var(--slate-0);
  box-shadow: var(--shadow-lg);
}

.cartao h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.024em;
  color: var(--navy-700);
}

.cartao > p {
  margin: 0 0 30px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate-600);
}

.botao-ms {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--navy-700);
  color: var(--slate-0);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20, 38, 74, .22);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .14s var(--ease);
}

.botao-ms:hover {
  background: var(--navy-800);
  color: var(--slate-0);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(20, 38, 74, .28);
  transform: translateY(-1px);
}

.botao-ms:active { transform: translateY(1px); box-shadow: 0 4px 12px rgba(20, 38, 74, .2); }
.botao-ms:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }

.botao-ms svg { flex: none; }

/* filete de fogo na base: a Phoenix no botao, sem competir com a marca da Microsoft */
.botao-ms::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-700) 0%, var(--orange-600) 38%, var(--orange-500) 68%, #FFBE82 100%);
}

.assinatura {
  position: absolute;
  left: clamp(32px, 5vw, 88px);
  bottom: 34px;
  z-index: 1;
  font-size: 13px;
  color: var(--slate-400);
}

/* ---------- painel interno ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-100);
}

.topo img { display: block; height: 40px; width: auto; }

.topo__dir { display: flex; align-items: center; gap: 18px; }

.quem { display: flex; flex-direction: column; gap: 1px; text-align: right; }
.quem strong { font-size: 14px; font-weight: 600; color: var(--navy-700); }
.quem span { font-size: 12px; color: var(--slate-400); }

.sair {
  padding: 10px 18px;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  background: var(--slate-0);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-700);
  transition: border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.sair:hover {
  border-color: var(--orange-500);
  color: var(--orange-700);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.conteudo {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) clamp(20px, 4vw, 48px) 96px;
}

.conteudo h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--navy-700);
}

.conteudo > .apoio { margin-bottom: 46px; }

.grade {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}

.bloco {
  display: block;
  padding: 26px;
  border: 1px solid var(--slate-100);
  border-radius: var(--r-lg);
  background: var(--slate-0);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}

.bloco:hover {
  border-color: var(--slate-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  text-decoration: none;
}

.bloco h2 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--navy-700);
}

.bloco p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--slate-600); }

.bloco code {
  font-family: var(--mono);
  font-size: .88em;
  color: var(--orange-700);
  background: var(--orange-50);
  padding: .1em .4em;
  border-radius: 4px;
}

.painel-fundo {
  position: fixed;
  right: -16%;
  bottom: -40%;
  width: min(980px, 70vw);
  aspect-ratio: 900 / 745;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: url('/assets/simbolo-phoenix.png');
  mask-image: url('/assets/simbolo-phoenix.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background: linear-gradient(100deg, rgba(245, 138, 60, .10) 0%, rgba(255, 190, 130, .22) 34%, rgba(245, 138, 60, .10) 70%, rgba(245, 138, 60, .18) 100%);
  background-size: 200% 100%;
  animation: correr 13s linear infinite, flutuar 19s ease-in-out infinite;
}

/* ---------- responsivo ---------- */

@media (max-width: 980px) {
  .acesso {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 96px;
    align-content: center;
  }
  .acesso__esq { max-width: none; }
  .cartao { margin-left: 0; max-width: none; }
  .fenix { left: -30%; bottom: -22%; width: 150vw; }
  .fenix--topo { display: none; }
  .titulo { margin-top: 32px; }
  .assinatura { position: static; margin-top: 8px; }
  .topo img { height: 32px; }
  .quem { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fenix, .painel-fundo { animation: none; }
  .sobe { animation: none; opacity: 1; transform: none; }
  .marca::after { display: none; }
  .botao-ms:hover, .bloco:hover { transform: none; }
}
