* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: Arial, sans-serif;
}

body {
  html {

  font-size: 16px;

}
  background: #eef2f7;
}

/* ========================= 
ESTRUTURA PRINCIPAL 
========================= */

.container {
  display: flex;

  min-height: 100vh;
}

/* =========================
   PAINEL ESQUERDO
========================= */

.left-panel {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #0f172a,
      #172554,
      #1e3a8a
    );

  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 50px;

  width: 35%;

  min-height: 100vh;
}

.overlay {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(249,115,22,0.15),
      transparent 35%
    );

  pointer-events: none;
}

.conteudo-left {
  position: relative;

  z-index: 3;

  display: flex;
  flex-direction: column;

  gap: 30px;
}

.left-panel::after {

  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background:
    radial-gradient(
      circle,
      rgba(249,115,22,0.12),
      transparent 70%
    );

  bottom: -200px;
  left: -150px;

  pointer-events: none;

}

/* ========================= 
LOGO / TÍTULO 
========================= */

.logo-area h1 {
  margin: 0;

  font-size: 52px;
  font-weight: 800;

  letter-spacing: -1px;
}

.subtitle {
  margin-top: 10px;

  color: #cbd5e1;

  font-size: 17px;
}

/* ========================= 
FORMULÁRIO
 ========================= */

.form-area {
  display: flex;
  flex-direction: column;

  gap: 18px;
}

input {
  padding: 18px;

  border-radius: 16px;

  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.08);

  color: white;

  font-size: 16px;

  backdrop-filter: blur(8px);
}

input::placeholder {
  color: #cbd5e1;
}

input:focus {
  outline: none;

  border-color: #f97316;

  box-shadow:
    0 0 0 4px rgba(249,115,22,0.15);
}

/* =========================
 BOTÕES 
 ========================= */

button {
  padding: 18px;

  border: none;

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      #f97316,
      #fb923c
    );

  color: white;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.2s;

  box-shadow:
    0 12px 24px rgba(249,115,22,0.25);
}

button:hover {
  transform: translateY(-2px);

  opacity: 0.95;
}

/* ========================= 
DISCLAIMER
 ========================= */

.disclaimer {
  margin-top: 10px;

  color: #cbd5e1;

  font-size: 13px;

  line-height: 1.5;
}

/* =========================
   SKYLINE
========================= */

.skyline {
  position: absolute;

  bottom: 0;
  left: 0;

  width: 100%;
  height: 220px;

  display: flex;
  align-items: flex-end;

  gap: 10px;

  padding: 0 20px;

  z-index: 1;

  opacity: 0.55;
}

/* =========================
   PAINEL DIREITO
========================= */

.right-panel {
  flex: 1;

  padding: 50px;

  overflow-y: auto;
}

/* =========================
   CARDS
========================= */

.cards {
  display: flex;
  flex-direction: column;

  gap: 20px;
}

.card {

  background: white;

  border-radius: 24px;

  padding: 20px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

  border: 1px solid transparent;

  transition:
  transform 0.25s ease,
  box-shadow 0.25s ease;

  position: relative;

}

.card:hover {

  transform:
    translateY(-4px);

  box-shadow:
    0 18px 40px rgba(15,23,42,0.14),
    0 0 0 2px rgba(15,23,42,0.85);

}

.card h3 {
  margin-bottom: 12px;

  color: #64748b;

  font-size: 15px;
}

.card p {
  font-size: 28px;

  font-weight: bold;

  color: #0f172a;
}

.destaque-tax:hover {

  transform:
    translateY(-4px);

  box-shadow:
    0 18px 40px rgba(249,115,22,0.22);

}

/* =========================
   HERO CARD
========================= */

.hero-card:hover {

  box-shadow:
    0 20px 45px rgba(249,115,22,0.35),
    0 0 0 2px rgba(255,255,255,0.25);

}

.hero-card {
  background:
    linear-gradient(
      135deg,
      #f97316,
      #fb923c
    );

  color: white;
}

.hero-card h3,
.hero-card p,
.hero-card div {
  color: white;
}

.hero-value {
  font-size: 42px !important;
}

.hero-extra {
  margin-top: 16px;

  opacity: 0.9;

  font-size: 16px;
}

.hero-tax {
  margin-top: 10px;

  background: rgba(255,255,255,0.15);

  padding: 10px 14px;

  border-radius: 12px;

  width: fit-content;
}

.hero-layout {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 50px;

}

.hero-main {

  flex: 1;

}

.hero-side {

  display: flex;

  flex-direction: column;

  gap: 14px;

  min-width: 260px;

}

.hero-side-box {

  background: rgba(255,255,255,0.12);

  padding: 16px 18px;

  border-radius: 16px;

  backdrop-filter: blur(6px);

}

.hero-side-box small {

  display: block;

  font-size: 12px;

  opacity: 0.8;

  margin-bottom: 6px;

}

.hero-side-box strong {

  font-size: 24px;

  color: white;

}

.destaque-principal {

  margin-top: 18px;

}

/* =========================
   PARCELA
========================= */

.parcela-card span {
  display: block;

  margin-top: 10px;

  color: #64748b;

  font-size: 13px;
}

/* =========================
   SUBSÍDIO
========================= */

.subsidio-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.subsidio-grid small {
  color: #64748b;
}

.subsidio-grid p {
  font-size: 24px;
}

/* =========================
   GRID DUPLO
========================= */

.grid-duplo {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

/* =========================
   TAXAS
========================= */

.taxa-card p {
  font-size: 24px;
}

.destaque-tax {
  border: 2px solid #f97316;
}

/* =========================
   FAIXA
========================= */

.faixa-card p {
  color: #f97316;
}

/* =========================
   ALERTA
========================= */

.alerta {
  background: #fff7ed;

  color: #9a3412;

  border-left: 6px solid #f97316;

  padding: 18px;

  border-radius: 14px;

  margin-bottom: 20px;

  font-size: 14px;

  line-height: 1.5;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {

  .hero-layout {

  display: flex;

  flex-direction: column;

  gap: 20px;

}

.hero-main,
.hero-side {

  width: 100%;

}

.hero-card {

  overflow: hidden;

}

  .hero-grid {

  grid-template-columns: 1fr !important;

}

.hero-content {

  flex-direction: column;

}

.hero-card {

  overflow: hidden;

}

.hero-card * {

  max-width: 100%;

}

.hero-card {

  overflow-x: hidden;

}

  .topbar {

  flex-direction: column;

  align-items: flex-start;

  gap: 14px;

}

.topbar-info {

  width: 100%;

  display: flex;

  justify-content: space-between;

}

.hero-side .hero-tax,
.hero-side .hero-extra {

  width: fit-content;

  max-width: 100%;

}

.hero-card {

  width: 100%;

}

.hero-value {

  font-size: 30px !important;

  line-height: 1.2;

}

.hero-extra,
.hero-tax {

  width: fit-content;

  max-width: 100%;


}

.hero-tax {

  margin-top: 12px;

  padding: 12px;

  border-radius: 14px;

}

  .container {

    flex-direction: column;

  }

  .left-panel {

    width: 100%;

    min-height: auto;

    padding: 30px 20px 120px;

    border-radius: 0 0 30px 30px;

  }

  .right-panel {

    width: 100%;

    padding: 20px;

  }

  .conteudo-left {

    gap: 22px;

  }

  .logo-area h1 {

    font-size: 34px;

  }

  .subtitle {

    font-size: 14px;

  }

  .topbar {

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

  }

  .topbar-user h2 {

    font-size: 22px;

  }

  .grid-duplo {

    grid-template-columns: 1fr;

  }

  .subsidio-grid {

    grid-template-columns: 1fr;

  }

  .hero-value {

    font-size: 30px !important;

    line-height: 1.2;

  }

  .card {

    padding: 20px;

    border-radius: 20px;

  }

  .card p {

    font-size: 22px;

  }

  input,
  button {

    padding: 16px;

    font-size: 16px;

  }

  .skyline {

    height: 120px;

    opacity: 0.22;

  }

  .predio-4 {

    height: 100px;

  }

  .predio-2,
  .predio-6 {

    height: 80px;

  }

}

button:disabled {

  opacity: 0.7;

  cursor: not-allowed;

  transform: none;

 }

 /* =========================
   ANIMAÇÃO DOS CARDS
========================= */

.animate-card {

  opacity: 0;

  animation:
    aparecerCard 0.5s ease forwards;

}

 @keyframes aparecerCard {

  from {

    opacity: 0;

    transform:
      translateY(20px);

  }

  to {

    opacity: 1;

  }

}

/* =========================
   MODAL
========================= */

.modal {

  position: fixed;

  inset: 0;

  background:
    rgba(15,23,42,0.65);

  display: flex;

  align-items: center;
  justify-content: center;

  z-index: 9999;

  backdrop-filter: blur(5px);

  animation:
    fadeModal 0.2s ease;

}

.modal-box {

  width: 90%;
  max-width: 420px;

  background: white;

  border-radius: 24px;

  padding: 30px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

  animation:
    subirModal 0.25s ease;

}

.modal-box h2 {

  margin-bottom: 15px;

  color: #0f172a;

}

.modal-box p {

  color: #475569;

  line-height: 1.6;

  margin-bottom: 25px;

}

.hidden {

  display: none;

}

@keyframes fadeModal {

  from {

    opacity: 0;

  }

  to {

    opacity: 1;

  }

}

@keyframes subirModal {

  from {

    opacity: 0;

    transform:
      translateY(15px);

  }

  to {

    opacity: 1;

    transform:
      translateY(0);

  }

}/* =========================
   TELA INICIAL
========================= */

.tela-inicial,
.tela-identificacao {

  min-height: 100vh;

  display: flex;

  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      145deg,
      #0f172a,
      #172554,
      #1e3a8a
    );

  padding: 30px;

}

.inicio-box,
.identificacao-box {

  width: 100%;
  max-width: 420px;

  background:
    rgba(255,255,255,0.08);

  backdrop-filter: blur(10px);

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius: 28px;

  padding: 40px;

  text-align: center;

  color: white;

}

.inicio-box h1 {

  font-size: 52px;

  margin-bottom: 20px;

}

.inicio-box p {

  color: #cbd5e1;

  margin-bottom: 30px;

}

.identificacao-box h2 {

  margin-bottom: 25px;

}

.identificacao-box input {

  width: 100%;

  margin-bottom: 18px;

}

.hidden {

  display: none !important;

}.logout-btn {

  margin-top: 15px;

  background:
    rgba(255,255,255,0.12);

  border:
    1px solid rgba(255,255,255,0.1);

}/* =========================
   TOPBAR NOVA
========================= */

.topbar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 35px;

  padding-bottom: 20px;

  border-bottom:
    1px solid rgba(15,23,42,0.08);

}

.topbar-user {

  display: flex;

  flex-direction: column;

  gap: 4px;

}

.topbar-user h2 {

  color: #0f172a;

  font-size: 28px;

  font-weight: 700;

}

.topbar-user span {

  color: #64748b;

  font-size: 14px;

}

.topbar-info {

  display: flex;

  align-items: center;

  gap: 18px;

}

.online-status {

  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 14px;

  color: #475569;

}

.online-dot {

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #22c55e;

  box-shadow:
    0 0 10px rgba(34,197,94,0.5);

}

.topbar-time {

  color: #0f172a;

  font-size: 15px;

  font-weight: 600;

}