﻿/* ===============================
   RESET Bï¿½SICO
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #eef1f4;
  color: #1f2937;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

/* ===============================
   APP
=============================== */
#app {
  min-height: 85vh;
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-toast {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 5000;
  min-width: 220px;
  max-width: min(92vw, 420px);
  padding: 11px 14px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.app-toast--info {
  background: #1f4f8f;
}

.app-toast--success {
  background: #0f766e;
}

.app-toast--error {
  background: #b91c1c;
}

/* ===============================
   HEADER
=============================== */
.site-header {
  background: #1f4f8f;
  color: #fff;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 18px;
}

.header-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

.header-credits-pill {
  display: none;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: #1b4a8e;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.header-credits-pill:hover {
  background: rgba(255,255,255,0.16);
}

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.menu a {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  font-size: 14px;
}

.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 24px;
}

.user-menu-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: #1b4a8e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.user-menu-caret {
  margin-left: 6px;
  font-size: 11px;
}

.user-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  padding: 6px;
  min-width: 140px;
  z-index: 2000;
}

.user-menu-dropdown.hidden {
  display: none;
}

.user-menu-item {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  color: #1f2937;
}

.user-menu-item:hover {
  background: #f0f6ff;
}

.header-login {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: #1b4a8e;
  color: #ffffff; /* <<< ESSENCIAL */
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: background 0.2s ease, border 0.2s ease;
}

.header-login:hover {
  background: rgba(255,255,255,0.15);
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: #1b4a8e;
  padding: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

@media (max-width: 900px) {
  .header-content {
    padding: 12px 14px;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0 2px;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    margin-left: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
  }

  .user-menu {
    margin-left: 0;
    width: 100%;
    position: static;
  }

  .user-menu-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .user-menu-dropdown {
    position: static;
    margin-top: 6px;
    width: 100%;
  }

  .header-top-actions {
    margin-left: auto;
    gap: 8px;
  }

  .header-credits-pill {
    display: inline-flex;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
}


/* ===============================
   HERO
=============================== */
.hero {
  text-align: center;
  padding: 70px 20px 30px;
}

.hero h1 {
  font-size: 35px;
  margin-bottom: 23px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-button {
  background: #fbbf24;
  color: #111827;
  border: none;
  padding: 14px 90px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;

}

.hero-secondary-btn {
  height: 46px;
  padding: 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #1f4f8f;
  font-weight: 700;
  cursor: pointer;
}

.cta-button {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


.hero small {
  display: block;
  margin-top: 30px;
  color: #6b7280;
}

/* ===============================
   SOBRE
=============================== */
.about {
  max-width: 760px;
  margin: 0 auto;
  padding: 15px 20px;
  text-align: center;
  color: #4b5563;
  
}
.about p {
  line-height: 1.6;
}


/* ===============================
   SIMULADOS
=============================== */
.simulados {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.simulados h2 {
  text-align: center;
  margin-bottom: 32px;
}

.simulados-subtitle {
  text-align: center;
  color: #64748b;
  margin: -18px auto 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
}

.simulados-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.simulados-carousel-btn {
  width: 36px;
  height: 36px;
  border: 2px solid #1f4f8f;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f4f8f;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.simulados-carousel-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.simulados-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.simulados-viewport::-webkit-scrollbar {
  display: none;
}

.simulados .simulados-cards-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  padding-right: 16px;
}

.simulados .simulados-cards-track .card {
  min-width: 210px;
  max-width: 210px;
  scroll-snap-align: start;
}

.simulados-scroll-hint {
  display: none;
}

.card {
  background: #fff;
  padding: 20px 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;

  /* comportamento de botï¿½o */
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  border: 2px solid transparent;
}

.status-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.status-chip--live {
  background: #dcfce7;
  color: #166534;
}

.status-chip--soon {
  background: #e5e7eb;
  color: #475569;
}

.card:not(.card-disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  border-color: #1f4f8f;
}

.card h3 {
  margin-bottom: 15px;
}
.card-emoji {
  display: block;
  font-size: 26px;
  margin-bottom: 10px;
}

.card-emoji svg {
  width: 33px;
  height: 33px;
}
.mode-card p {
  margin-top: 8px;
}

/* ===============================
   MODOS
=============================== */
.modes {
  max-width: 1200px;
  margin: 28px auto 30px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mode-card {
  background: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.mode-card-compact h3 {
  margin-bottom: 6px;
}

.mode-card-compact p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}

.mode-card-compact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 14px;
  align-items: center;
}

.mode-card-copy {
  min-width: 0;
  text-align: center;
}

.mode-carousel {
  position: relative;
  min-width: 0;
}

.mode-carousel-viewport {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #dbe2ea;
  background: #edf0f3;
}

.mode-carousel-track {
  display: flex;
  transition: transform 0.25s ease;
}

.mode-carousel-slide {
  min-width: 100%;
}

.mode-carousel-slide img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.mode-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid #8ba3c4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #2f5f9f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.mode-carousel-btn.prev {
  left: 10px;
}

.mode-carousel-btn.next {
  right: 10px;
}

.mode-carousel-btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.mode-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.mode-carousel-dots.is-hidden {
  display: none;
}

.mode-carousel-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
}

.mode-carousel-dot.is-active {
  background: #1f4f8f;
}

/* ===============================
   PACOTES (HOME)
=============================== */
.home-packages {
  max-width: 1200px;
  margin: 8px auto 0;
  padding: 0 20px;
}

.home-packages-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.home-packages-head h2 {
  margin-bottom: 4px;
}

.home-packages-head p {
  color: #6b7280;
  font-size: 15px;
}

.home-packages-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.home-package-pill {
  appearance: none;
  -webkit-appearance: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  font: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-package-pill h3 {
  color: #0f2f5a;
  font-size: 20px;
  margin-bottom: 4px;
}

.home-package-pill p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.home-package-pill strong {
  display: inline-block;
  margin-top: 4px;
  color: #0f2f5a;
  font-size: 24px;
  line-height: 1.1;
}

.home-package-pill--popular {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.home-package-pill:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.home-package-pill--popular:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.16);
}

.home-package-pill--popular small {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 11px;
  font-weight: 700;
}

.home-packages-note {
  margin-top: 10px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

@media (max-width: 900px) {
  .modes {
    grid-template-columns: 1fr;
    margin: 24px auto 24px;
  }

  .simulados-carousel {
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
  }

  .simulados-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .simulados-carousel-btn.prev {
    left: 6px;
  }

  .simulados-carousel-btn.next {
    right: 6px;
  }

  .simulados .simulados-cards-track .card {
    min-width: 76vw;
    max-width: 76vw;
  }

  .simulados-scroll-hint {
    display: block;
    text-align: center;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
  }

  .mode-card-compact {
    grid-template-columns: 1fr;
  }

  .home-packages-inline {
    grid-template-columns: 1fr;
  }

  .home-packages-panel {
    padding: 16px;
  }

  .home-packages-head {
    text-align: center;
  }
}

/* ===============================
   RODAPï¿½
=============================== */
.site-footer {
  background: #eef1f4;
  padding: 40px 20px 20px;
  margin-top: 48px;
  font-size: 14px;
  color: #6b7280;
}

.footer-divider {
  width: 100%;
  margin-bottom: 24px;
  border-top: 1px solid #d1d5db;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-right a {
  margin-left: 16px;
  text-decoration: none;
  color: #6b7280;
  font-size: 13px;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-note {
  max-width: 1200px;
  margin: 16px auto 0;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

/* ===============================
   LOGIN
=============================== */
.box {
  background: #ffffff;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin: 120px auto;
  text-align: center;
}

.box h1 {
  text-align: center;
  margin-bottom: 16px;
}

.box input,
.box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.box button {
  padding: 10px 80px;
  background-color: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
}

.google-login-btn {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 14px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-weight: 600;
}

.google-login-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.google-login-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
  color: #6b7280;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.cta-button {
  background: #fbbf24;
  color: #111827;
  padding: 14px 55px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  width: auto;
}

.auth-alt {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  color: #6b7280;
}

.auth-alt a {
  color: #1f4f8f;
  text-decoration: underline;
}
/* ===============================
   DIVISOR DE SEï¿½ï¿½O
=============================== */
.section-divider {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 24px;
  position: relative;
  border-top: 1px solid #d1d5db;
}
/* ===============================
   BOTï¿½O FLUTUANTE DE CONTATO
=============================== */
.contact-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 74px;
  height: 74px;
  min-width: 74px;
  min-height: 74px;

  border-radius: 50%;
  background: rgba(31, 79, 143, 0.85);
  color: #ffffff;

  border: none;
  padding: 0;
  cursor: pointer;

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

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.08);
  z-index: 1500;
}

.contact-fab.hidden {
  display: none;
}

.contact-icon {
  width: 30px;
  height: 30px;
}

.contact-fab-close {
  position: fixed;
  bottom: 54px;
  right: 45px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  z-index: 1600;
  transform: translate(-46px, -34px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-fab-close.hidden {
  display: none;
}

.contact-fab:hover {
  background: #163b6f;
  transform: scale(1.05);
  transform: translateY(-3px);
}
.contact-box {
  position: relative;
  z-index: 3100;
}

/* ===============================
   MODAL DE CONTATO
=============================== */
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.contact-modal.hidden {
  display: none;
}

/* CAIXA */
.contact-modal .contact-box {
  background: #ffffff;
  width: min(92vw, 430px);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 20px 18px;
  box-shadow: 0 24px 50px rgba(2, 8, 23, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  animation: contactModalIn 0.22s ease-out;
}

.contact-modal .contact-box h3 {
  margin-bottom: 14px;
  color: #0f2f5a;
  font-size: 18px;
}

/* TEXTO */
.contact-modal .contact-box input,
.contact-modal .contact-box textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  margin-bottom: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-modal .contact-box input::placeholder,
.contact-modal .contact-box textarea::placeholder {
  color: #64748b;
}

.contact-modal .contact-box input:focus,
.contact-modal .contact-box textarea:focus {
  outline: none;
  border-color: #1f4f8f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(31, 79, 143, 0.18);
}

.contact-modal .contact-box textarea {
  min-height: 126px;
  resize: vertical;
  margin-bottom: 14px;
}

/* Aï¿½ï¿½ES */
.contact-modal .contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.contact-modal .contact-actions button {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 96px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.contact-modal .contact-actions .secondary {
  background: #e5e7eb;
  color: #111827;
}

.contact-modal .contact-actions .secondary:hover {
  background: #dbe0e8;
}

.contact-modal .contact-actions #contactSend {
  background: #1f4f8f;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(31, 79, 143, 0.25);
}

.contact-modal .contact-actions #contactSend:hover {
  background: #173c6d;
  transform: translateY(-1px);
}

@keyframes contactModalIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.dashboard {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
}

.dashboard h1 {
  margin-bottom: 8px;
}

.dashboard p {
  color: #6b7280;
  margin-bottom: 24px;
}

.user-email {
  margin-right: 16px;
  font-size: 13px;
  opacity: 0.8;
}

.card-active {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card-active:hover {
  transform: translateY(-4px);
}

.card-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.card-disabled:hover {
  transform: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: transparent;
}

/* ===============================
   SIMULADOS (Pï¿½GINA)
=============================== */
.simulados-page {
  max-width: 1200px;
  margin: 48px auto 80px;
  padding: 0 24px;
}

.simulados-header h1 {
  font-size: 28px;
  color: #0f2f5a;
  margin-bottom: 8px;
}

.simulados-header p {
  color: #6b7280;
  margin-bottom: 28px;
}

.simulados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.simulado-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 24px 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  text-align: center;
}

.simulado-card h3 {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 16px;
  color: #1f2937;
}

.simulado-card p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.simulado-icon {
  width: 33px;
  height: 33px;
  margin: 0 auto 6px;
  color: #0f2f5a;
  opacity: 0.9;
}

.simulado-icon svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.simulado-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.simulado-btn {
  padding: 10px 0;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.simulado-btn.primary {
  background: #1b4a8e;
  color: #ffffff;
}

.simulado-btn.ghost {
  background: #fbbf24;
  color: #5b3f00;
}

.simulado-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
/* ===============================
   SIMULADO SIGWX - LAYOUT
=============================== */

.simulado-container {
  max-width: 1150px;   /* pode ajustar */
  margin: 48px auto 0;  /* desce abaixo do tï¿½tulo */
  padding: 0 24px;

  display: grid;
  grid-template-columns: 110px 520px 420px;
  gap: 24px;
}


/* NAV */
.simulado-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.simulado-nav-toggle {
  display: none;
}

.nav-title {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.nav-btn {
  padding: 8px 0;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

/* MAIN */
.simulado-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.simulado-status {
  font-size: 14px;
  color: #6b7280;
}

.simulado-image {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.simulado-image img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

/* QUESTION BOX */
.simulado-question-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.simulado-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.simulado-options .option {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.simulado-options .option:hover {
  border-color: #1f4f8f;
  background: #f0f6ff;
}

/* FOOTER */
.simulado-footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: #1f4f8f;
  color: #fff;
}

.btn-secondary {
  background: #9599a1;
  color: #111827;
}

.btn-danger {
  background: #0f172a;
  color: #ffffff;
}
/* ===============================
   SIGWX - ESTADOS VISUAIS
   (modo treino)
=============================== */

/* ALTERNATIVAS */
.simulado-options .option:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.simulado-options .option.correct {
  background: #dcfce7;           /* verde claro */
  border-color: #22c55e;
  color: #065f46;
}

.simulado-options .option.wrong {
  background: #fee2e2;           /* vermelho claro */
  border-color: #ef4444;
  color: #7f1d1d;
}

/* remove hover apï¿½s responder */
.simulado-options .option:disabled:hover {
  background: inherit;
  border-color: inherit;
}

/* EXPLICAï¿½ï¿½O */
.simulado-options .explanation {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #f9fafb;
  border-left: 4px solid #1f4f8f;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.simulado-feedback {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eaf1ff;
  border: 1px solid #bcd0f5;
  color: #0f2f5a;
  font-size: 13px;
  font-weight: 600;
}

/* ===============================
   SIGWX - NAVEGAï¿½ï¿½O LATERAL
=============================== */

.simulado-nav .nav-btn {
  transition: background 0.15s ease, border-color 0.15s ease;
}

/* questï¿½o atual */
.simulado-nav .nav-btn.current {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #075985;
  font-weight: 600;
}

/* respondida correta */
.simulado-nav .nav-btn.correct {
  background: #dcfce7;
  border-color: #22c55e;
  color: #065f46;
}

/* respondida errada */
.simulado-nav .nav-btn.wrong {
  background: #fee2e2;
  border-color: #ef4444;
  color: #7f1d1d;
}
/* ===============================
   SIGWX - LAYOUT ACADï¿½MICO
=============================== */

/* ENUNCIADO */
.simulado-question-box h2 {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* IMAGEM */
.simulado-image {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.simulado-image img {
  max-height: 320px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

/* ALTERNATIVAS */
.simulado-options .option {
  background: #ffffff;
  border: 1px solid #d1d5db;
  font-size: 14px;
  line-height: 1.4;
  color: #1f2937;
}

.simulado-options .option:hover {
  background: #1f4f8f;
  border-color: #1f4f8f;
  color: #e6efff;
}

body[data-simulado-mode="evaluation"] .simulado-options .option:hover {
  background: #1f4f8f;
  border-color: #1f4f8f;
  color: #e6efff;
}

/* CORREï¿½ï¿½O */
.simulado-options .option.correct {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.simulado-options .option.wrong {
  background: #fef2f2;
  border-color: #ef4444;
  color: #7f1d1d;
}

/* EXPLICAï¿½ï¿½O */
.simulado-options .explanation {
  background: #f9fafb;
  border-left: 3px solid #1f4f8f;
  font-size: 13px;
  color: #374151;
}

/* NAVEGAï¿½ï¿½O */
.simulado-nav .nav-btn {
  font-size: 12px;
  padding: 6px 0;
  border-radius: 4px;
}

.simulado-nav .nav-btn.current {
  background: #e5f0ff;
  border-color: #1f4f8f;
  color: #1f4f8f;
}

.simulado-nav .nav-btn.correct {
  background: #ecfdf5;
  border-color: #10b981;
}

.simulado-nav .nav-btn.wrong {
  background: #fef2f2;
  border-color: #ef4444;
}

/* FOOTER */
.simulado-footer button {
  font-size: 14px;
  font-weight: 500;
}
/* ===============================
   SIGWX - ALINHAMENTO DE CARDS
=============================== */

/* Alinhamento visual entre colunas com conteï¿½dos distintos */

.simulado-container {
  align-items: start;
}

/* NAV */
.simulado-nav {
  margin-top: 0;
}

/* CARD CENTRAL (imagem) */
.simulado-main {
  margin-top: 0;
}

/* CARD DIREITO (questï¿½o) */
.simulado-question-box {
  margin-top: 0;
}
/* ===============================
   botï¿½es do simulador
=============================== */

.sigwx-stats {
  margin: 8px auto;
  padding: 24px;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.sigwx-stats.hidden {
  display: none;
}

.sigwx-stats .stats-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.sigwx-stats .stats-actions-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
/* REMOVE ESPAï¿½O EXTRA ENTRE SIMULADOR E PAINEL */
.simulado-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* AJUSTA FOOTER DO SIMULADOR */
.simulado-global-footer {
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}

/* GARANTE QUE O PAINEL SOBE */
.sigwx-stats {
  margin-top: -37px !important;
}
/* Cor padrï¿½o do nï¿½mero */
.nav-btn {
  color: #374151;        /* cinza escuro */
  font-weight: 600;
}

/* Questï¿½o atual */
.nav-btn.current {
  color: #1f4f8f;        /* azul */
}

/* Questï¿½o correta */
.nav-btn.correct {
  color: #15803d;        /* verde */
}

/* Questï¿½o errada */
.nav-btn.wrong {
  color: #b91c1c;        /* vermelho */
}
.nav-btn.answered {
  background: #e5e7eb;
  border-color: #9ca3af;
  color: #374151;
}
.simulado-question-box {
  min-height: 360px;
}
.simulado-global-footer {
  max-width: 520px;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.simulado-global-footer button {
  background: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
}

.simulado-global-footer button#sigwxFinish {
  background: #0f172a;
}

.simulado-global-footer button.is-edge,
.simulado-global-footer button:disabled {
  background: #cbd5e1;
  color: #475569;
  cursor: not-allowed;
}
.sigwx-progress-wrapper {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.sigwx-progress-bar {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.sigwx-progress-fill {
  height: 100%;
  width: 0%;               /* JS controla */
  background: #1f4f8f;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.sigwx-progress-text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #374151;
}
.simulado-bottom {
  max-width: 1200px;
  margin: 32px auto 0; /* ?? AQUI estï¿½ a distï¿½ncia */
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}
.sigwx-stats {
  max-width: 1000px;
  margin: 40px auto;
  padding: 24px 28px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
  margin-top: 32px;
}

/* Cabeï¿½alho */
.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stats-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.stats-score {
  font-size: 32px;
  font-weight: 700;
  color: #1f4f8f;
}

/* Grid de nï¿½meros */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stats-grid div {
  background: #ededed;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
}

.stats-grid span {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.stats-grid strong {
  font-size: 18px;
  color: #111827;
}

/* Aï¿½ï¿½es */
.stats-actions {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center; /* ?? CENTRALIZA o bloco inteiro */
  gap: 12px;
}

#btnToggleWrong,
#btnRestart,
#btnHome,
#btnEval {
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: 0.1px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#btnToggleWrong {
  background: #0f4c81;
  color: #ffffff;
}

#btnToggleWrong:hover {
  background: #0b3a63;
}

#btnRestart {
  background: #2563eb;
  color: #ffffff;
}

#btnRestart:hover {
  background: #1d4ed8;
}

#btnEval {
  background: #f4b400;
  color: #111827;
}

#btnEval:hover {
  background: #e0a800;
}

#btnHome {
  background: #0f172a;
  color: #ffffff;
}

#btnHome:hover {
  background: #1e293b;
}

#btnToggleWrong:hover,
#btnRestart:hover,
#btnEval:hover,
#btnHome:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}
.simulado-header {
  max-width: 1200px;        /* use o mesmo valor do container */
  margin: 25px auto -29px;   /* centraliza e dï¿½ respiro */
  padding: 0 24px;          /* alinha com os cards */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.simulado-mode-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.simulado-header .simulado-status {
  margin-top: 6px;
}
.simulado-timer {
  background: #1b4a8e;
  color: #ffffff;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.simulado-eval-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.simulado-auto-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #0f2f5a !important;
  background: #eaf1ff !important;
  border: 1px solid #bcd0f5 !important;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 47, 90, 0.12);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.simulado-auto-next input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.simulado-auto-next--side {
  margin-bottom: 10px;
}

.simulado-auto-next--inline {
  margin: 6px 0 12px;
}

.simulado-auto-next--footer {
  align-self: center;
  margin-top: -4px;
}

.simulado-auto-next:hover {
  border-color: #b8c6dd;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.simulado-auto-next input:checked {
  accent-color: #1f4f8f;
}

.simulado-options .option.selected {
  background: #1f4f8f;
  border-color: #1f4f8f;
  color: #ffffff;
}

.evaluation-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3200;
}

.evaluation-modal.hidden {
  display: none;
}

.evaluation-box {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  text-align: center;
}

.evaluation-box h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.evaluation-box p {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.5;
}

.evaluation-box p + p {
  margin-bottom: 16px;
}

.evaluation-box button {
  padding: 10px 28px;
  background: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 79, 143, 0.25);
}

/* ===============================
   CONTATO (Pï¿½GINA)
=============================== */
.contact-page {
  max-width: 900px;
  margin: 48px auto 80px;
  padding: 0 24px;
}

.contact-page-header h1 {
  font-size: 28px;
  color: #0f2f5a;
  margin-bottom: 6px;
}

.contact-page-header p {
  color: #6b7280;
  margin-bottom: 18px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.contact-page-grid .contact-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.contact-page .contact-box input,
.contact-page .contact-box textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 12px;
  background: #ffffff;
}

.contact-page .contact-box textarea {
  height: 140px;
  resize: vertical;
}

.contact-page .contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.contact-page .contact-actions button {
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
}

.contact-page .contact-actions .secondary {
  background: #e5e7eb;
  color: #111827;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-side-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.06);
}

.contact-side-card h3 {
  margin-bottom: 8px;
  color: #0f2f5a;
}

.contact-side-card p {
  color: #6b7280;
  margin-bottom: 12px;
}

.contact-side-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
}

.contact-side-item span {
  color: #6b7280;
}

.contact-side-item strong {
  color: #111827;
}

.contact-side-card.muted {
  background: #f4f7fb;
  border: 1px solid #e5edf7;
}

@media (max-width: 900px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   PERFIL
=============================== */
.profile-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-header h1 {
  font-size: 28px;
  color: #0f2f5a;
  margin-bottom: 6px;
}

.profile-header p {
  color: #6b7280;
  margin-bottom: 18px;
}

.profile-notice-board {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 12px 14px;
}

.profile-notice-board strong {
  display: block;
  color: #9a3412;
  font-size: 13px;
  margin-bottom: 4px;
}

.profile-notice-board p {
  color: #7c2d12;
  font-size: 14px;
  line-height: 1.4;
}


.profile-section h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.profile-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profile-stats div {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.profile-stats div.is-percent {
  background: #eaf1ff;
  border-color: #bcd0f5;
}

.profile-stats span {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.profile-stats strong {
  font-size: 20px;
  color: #111827;
}

.profile-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}

.profile-summary-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.profile-summary-inline div {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.profile-summary-inline div.is-percent {
  background: #eaf1ff;
  border-color: #bcd0f5;
}

.profile-summary-inline span {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.profile-summary-inline strong {
  font-size: 20px;
  color: #111827;
}

.profile-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-form {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
  align-items: start;
}

.profile-form label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.profile-form input,
.profile-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  font-size: 14px;
  color: #111827;
}

.profile-form input:focus,
.profile-form select:focus {
  outline: 2px solid #bfdbfe;
  border-color: #60a5fa;
}

.profile-form button {
  width: 100%;
  height: 40px;
  background: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.profile-danger {
  margin-top: 10px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.profile-danger button {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.profile-danger small {
  color: #9ca3af;
  font-size: 12px;
  white-space: nowrap;
}

/* ===============================
   ADMIN
=============================== */
.admin-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.admin-header h1 {
  font-size: 28px;
  color: #0f2f5a;
  margin-bottom: 6px;
}

.admin-header p {
  color: #6b7280;
  margin-bottom: 18px;
}

.admin-notice {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
}

.admin-metrics {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.admin-metrics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-metrics-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-light-mode-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.admin-light-mode-btn.active {
  border-color: #1f4f8f;
  background: #eaf1ff;
  color: #1f4f8f;
}

.admin-metrics-head h2 {
  margin: 0;
  font-size: 17px;
  color: #0f2f5a;
}

.admin-metrics-range {
  display: inline-flex;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 4px;
}

.admin-metrics-range button {
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.admin-metrics-range button.active {
  background: #1f4f8f;
  color: #ffffff;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.admin-metric-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
  min-height: 78px;
}

.admin-metric-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
}

.admin-metric-card strong {
  display: block;
  margin-top: 6px;
  color: #0f2f5a;
  font-size: 22px;
  line-height: 1.1;
}

.admin-metrics-footnote {
  margin: 10px 2px 2px;
  color: #475569;
  font-size: 12px;
}

.admin-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr max-content max-content;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-global-notice {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  display: grid;
  gap: 8px;
}

.admin-global-notice label {
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}

.admin-global-notice textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  resize: vertical;
  min-height: 84px;
}

.admin-global-notice button {
  justify-self: start;
  height: 36px;
  padding: 0 14px;
  background: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.admin-filters button {
  height: 40px;
  padding: 0 16px;
  min-width: 120px;
  white-space: nowrap;
  background: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.admin-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.admin-credits {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-credits-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.3px;
}

.admin-credits-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-credits-value {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.admin-credits-input {
  width: 90px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 12px;
}

.admin-credits-save {
  padding: 6px 10px;
  background: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.admin-credits-save:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.admin-credits-hint {
  font-size: 11px;
  color: #9ca3af;
}

.admin-user-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.admin-user-delete {
  padding: 6px 10px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.admin-user-delete:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


/* ===============================
   CRÉDITOS
=============================== */
.credits-page {
  max-width: 900px;
  margin: 48px auto 80px;
  padding: 0 24px;
}

.credits-status {
  margin: 12px 0 20px;
  padding: 12px 16px;
  border: 1px solid rgba(31, 78, 150, 0.2);
  background: rgba(31, 78, 150, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #0f2a4d;
}

.credits-check-btn {
  margin-top: 8px;
  width: fit-content;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: #1f4f8f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.credits-check-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.credits-header h1 {
  font-size: 28px;
  color: #0f2f5a;
  margin-bottom: 6px;
}

.credits-header p {
  color: #6b7280;
  margin-bottom: 18px;
}

.credits-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  display: grid;
  gap: 12px;
}

.credits-card span {
  color: #6b7280;
  font-size: 13px;
}

.credits-balance {
  display: block;
  font-size: 28px;
  color: #1f4f8f;
  font-weight: 700;
}

.credits-meta {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
}

.credits-card button {
  width: fit-content;
  padding: 10px 18px;
  background: #1f4f8f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.credits-note {
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
}

.credits-history {
  margin-top: 26px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.credits-history-header h2 {
  color: #0f2f5a;
  font-size: 20px;
  margin-bottom: 6px;
}

.credits-history-header p {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 14px;
}

.credits-history-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
}

.credits-history-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.credits-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.credits-history-table th,
.credits-history-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.credits-history-table th {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.credits-history-table td {
  color: #1f2937;
}

.credits-amount.is-positive {
  color: #166534;
}

.credits-amount.is-negative {
  color: #b91c1c;
}

.credits-amount.is-neutral {
  color: #475569;
}

.credits-history-more {
  margin-top: 14px;
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  background: #1f4f8f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.credits-history-more:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.credits-checkout-box .evaluation-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

/* ===============================
   PACOTES
=============================== */
.packages-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.packages-header h1 {
  font-size: 26px;
  color: #0f2f5a;
  margin-bottom: 6px;
}

.packages-header p {
  color: #6b7280;
  margin-bottom: 18px;
}

.packages-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: #475569;
  font-size: 13px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 6px 12px;
}

.packages-mp-logo {
  width: 24px;
  height: 24px;
  display: inline-block;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 6px;
}

.package-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
}

.package-icon {
  width: 38px;
  height: 38px;
  color: #334155;
  line-height: 0;
  margin-bottom: 4px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.package-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.package-card h3 {
  color: #0f2f5a;
  font-size: 19px;
}

.package-price {
  font-size: 36px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.package-old-price {
  color: #475569;
  font-size: 15px;
  margin-top: 0;
}

.package-list {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.package-list li {
  color: #334155;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-list li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 20px;
}

.package-buy-btn {
  margin-top: 10px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #1f4f8f;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: default;
}

.package-card--popular {
  border: 1px solid #bfdbfe;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22);
  z-index: 2;
}

.package-card--popular:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.28);
}

.package-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 9px;
}

.packages-note {
  margin-top: 16px;
  color: #1e3a8a;
  background: #e0e7ff;
  border: 2px solid #93c5fd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.12);
  text-align: center;
}

.packages-summary {
  margin-top: 26px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}

.packages-summary h2 {
  font-size: 16px;
  color: #0f2f5a;
  margin-bottom: 8px;
}

.packages-summary-table-wrap {
  overflow-x: auto;
}

.packages-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.packages-summary-table th,
.packages-summary-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.packages-summary-table th {
  font-size: 12px;
  color: #64748b;
}

.packages-shared-benefits {
  margin-top: 14px;
  color: #475569;
  font-size: 13px;
  text-align: center;
}

.packages-actions {
  margin-top: 14px;
}

.packages-actions button {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  background: #1f4f8f;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card--popular {
    transform: none;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
  }

  .package-card h3 {
    font-size: 24px;
  }

  .package-price {
    font-size: 36px;
  }

  .package-list li {
    font-size: 16px;
  }

  .package-buy-btn {
    font-size: 18px;
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-metrics-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-metrics-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.profile-field--button label {
  visibility: hidden;
}

@media (max-width: 900px) {
  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-columns {
    grid-template-columns: 1fr;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .profile-page {
    padding: 0 14px;
  }

  .profile-section {
    padding: 14px;
  }

  .profile-danger {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.profile-card strong {
  display: block;
  color: #0f172a;
}

.profile-card span {
  color: #6b7280;
  font-size: 13px;
}

.profile-time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
}

.profile-score-line {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.profile-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-filters button {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  font-size: 12px;
  cursor: pointer;
}

.profile-filters button.active {
  background: #1f4f8f;
  color: #ffffff;
  border-color: #1f4f8f;
}

.profile-evals-more {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.profile-evals-more button {
  padding: 8px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1f4f8f;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.profile-link {
  margin-top: 8px;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: #1f4f8f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.profile-link:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.profile-status {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.profile-status.approved {
  background: #dcfce7;
  color: #166534;
}

.profile-status.reproved {
  background: #fee2e2;
  color: #991b1b;
}

.profile-empty,
.profile-loading {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  color: #6b7280;
}

#profileCreditsSection .credits-status {
  margin: 0 0 14px;
}

#profileCreditsSection .credits-card {
  box-shadow: none;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  gap: 14px;
}

#profileCreditsSection .credits-card button {
  justify-self: stretch;
}

#profileCreditsSection .credits-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#profileCreditsSection .credits-meta span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d8e3f4;
  background: #ffffff;
  color: #4b5563;
  font-size: 12px;
}

#profileCreditsSection .credits-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid #e5ebf4;
  padding-top: 10px;
}

#profileCreditsSection .credits-action-primary {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

#profileCreditsSection .credits-action-secondary {
  width: 100%;
  min-height: 40px;
  margin-top: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: #29589a;
}

#profileCreditsSection .credits-action-secondary--ghost {
  background: #ffffff;
  color: #1f4f8f;
  border: 1px solid #c6d5ed;
}

#profileCreditsSection .credits-check-btn--inline {
  margin-top: 0;
}

#profileCreditsSection .credits-note {
  margin-top: 10px;
}

#profileCreditsSection .credits-history {
  margin-top: 14px;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

#profileCreditsSection .credits-history-table-wrap {
  overflow-x: hidden;
}

#profileCreditsSection .credits-history-table {
  width: 100%;
  table-layout: fixed;
}

#profileCreditsSection .credits-history-table th,
#profileCreditsSection .credits-history-table td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#profileCreditsSection .credits-history-table th:nth-child(1),
#profileCreditsSection .credits-history-table td:nth-child(1) {
  width: 31%;
}

#profileCreditsSection .credits-history-table th:nth-child(2),
#profileCreditsSection .credits-history-table td:nth-child(2) {
  width: 40%;
}

#profileCreditsSection .credits-history-table th:nth-child(3),
#profileCreditsSection .credits-history-table td:nth-child(3) {
  width: 12%;
  text-align: center;
}

#profileCreditsSection .credits-history-table th:nth-child(4),
#profileCreditsSection .credits-history-table td:nth-child(4) {
  width: 17%;
}

#profileCreditsSection .credits-history-more {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   RESULTADO - AVALIAï¿½ï¿½O
=============================== */
.eval-result {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.eval-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.eval-header h1 {
  font-size: 24px;
  color: #0f2f5a;
  margin-bottom: 6px;
}

.eval-header p {
  color: #6b7280;
}



.eval-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.eval-stats div {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  text-align: center;
}
.eval-stats div.is-percent {
  background: #eaf1ff;
  border: 1px solid #bcd0f5;
}

.eval-stats span {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.eval-stats strong {
  font-size: 18px;
  color: #111827;
}

.eval-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eval-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.eval-item.is-wrong {
  border: 1px solid #fca5a5;
  background: #feecec;
}

.eval-item-media {
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.eval-item-media img {
  max-width: 100%;
  max-height: 160px;
}

.eval-item-content h3 {
  margin-bottom: 8px;
}

.eval-question {
  color: #374151;
  margin-bottom: 12px;
}

.eval-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.eval-answers span {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.eval-answers strong {
  color: #111827;
  font-size: 14px;
}

.eval-answer-selected.is-wrong {
  color: #b91c1c;
}

.eval-explanation {
  background: #f9fafb;
  border-left: 3px solid #1b4a8e;
  padding: 10px 12px;
  border-radius: 8px;
  color: #374151;
  margin-bottom: 10px;
}

.eval-report {
  color: #1b4a8e;
  text-decoration: underline;
  font-size: 13px;
}

.eval-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.eval-actions button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #1b4a8e;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.eval-actions button:nth-child(2) {
  background: #0f172a;
}

.eval-actions button:nth-child(3) {
  background: #6b7280;
}

.welcome-bonus-highlight {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-weight: 800;
  text-align: center;
  font-size: 16px;
}

@media (max-width: 900px) {
  .eval-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .eval-item {
    grid-template-columns: 1fr;
  }
}
#sigwxFinish {
  background-color: #1f2937; /* cor diferente */
}

#sigwxFinish:hover {
  background-color: #43546b;
}
/* ===============================
   Pï¿½GINAS LEGAIS (PRIVACIDADE / COOKIES)
   =============================== */

.legal-page {
  max-width: 900px;
  margin: 48px auto 80px auto;
  padding: 0 24px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: #1f2937; /* mesmo tom escuro do site */
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #1f4f8f; /* azul principal */
}

.legal-page p {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 16px;
}

.legal-page ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-page a {
  color: #1f4f8f;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page {
    margin-top: 32px;
  }

  .legal-page h1 {
    font-size: 1.6rem;
  }
}


.eval-score-group {
  display: flex;
  align-items: center;
}

.eval-status-outside {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.eval-status-outside.approved {
  background: #e6f7ee;
  color: #166534;
  border: 1px solid #b7f0d2;
}

.eval-status-outside.reproved {
  background: #fff0f0;
  color: #b91c1c;
  border: 1px solid #f6b5b5;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header-content {
    padding: 10px 12px;
    gap: 8px;
  }

  .menu {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px;
    padding-bottom: 2px;
  }

  .menu a,
  .header-login,
  .user-menu-btn {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 10px;
  }

  .hero {
    padding: 36px 14px 20px;
  }

  .hero h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .hero p {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
    gap: 8px;
  }

  .cta-button,
  .hero-secondary-btn {
    width: 100%;
    max-width: 360px;
  }

  .simulados,
  .about,
  .modes,
  .home-packages,
  .dashboard,
  .simulados-page,
  .profile-page,
  .admin-page,
  .credits-page,
  .contact-page,
  .packages-page,
  .eval-page,
  .legal-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .simulados h2 {
    margin-bottom: 14px;
  }

  .simulados-subtitle {
    margin: 0 auto 14px;
    font-size: 14px;
  }

  .simulados .simulados-cards-track .card {
    min-width: 84vw;
    max-width: 84vw;
  }

  .mode-card {
    padding: 14px;
  }

  .mode-carousel-slide img {
    height: 126px;
  }

  .home-packages-panel {
    padding: 14px;
  }

  .home-package-pill h3 {
    font-size: 18px;
  }

  .home-package-pill strong {
    font-size: 21px;
  }

  .box {
    max-width: 94vw;
    margin: 44px auto;
    padding: 16px;
  }

  .box button {
    width: 100%;
    padding: 10px 12px;
  }

  .contact-page-grid,
  .profile-columns,
  .admin-grid,
  .admin-metrics-grid,
  .packages-grid,
  .admin-filters,
  .admin-credits-row,
  .profile-form,
  .profile-grid,
  .eval-answers {
    grid-template-columns: 1fr;
  }

  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-summary-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credits-history-table th,
  .credits-history-table td {
    font-size: 12px;
    padding: 8px 6px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .site-footer {
    padding: 24px 16px calc(76px + env(safe-area-inset-bottom));
  }

  .footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: center;
  }

  .footer-right a {
    margin: 0;
    font-size: 14px;
  }

  .footer-note {
    text-align: center;
    line-height: 1.45;
    padding-right: 0;
  }

  .contact-fab {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    right: 16px;
    bottom: 18px;
  }

  .contact-fab-close {
    right: 36px;
    bottom: 44px;
  }

  #profileCreditsSection .credits-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #profileCreditsSection .credits-card button,
  #profileCreditsSection .credits-check-btn--inline {
    width: 100%;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
    font-size: 14px;
    padding: 10px 12px;
  }

  #profileCreditsSection .credits-history-table th:nth-child(4),
  #profileCreditsSection .credits-history-table td:nth-child(4) {
    display: none;
  }

  #profileCreditsSection .credits-history-table th:nth-child(1),
  #profileCreditsSection .credits-history-table td:nth-child(1) {
    width: 36%;
  }

  #profileCreditsSection .credits-history-table th:nth-child(2),
  #profileCreditsSection .credits-history-table td:nth-child(2) {
    width: 47%;
  }

  #profileCreditsSection .credits-history-table th:nth-child(3),
  #profileCreditsSection .credits-history-table td:nth-child(3) {
    width: 17%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 25px;
  }

  .logo {
    font-size: 16px;
  }

  .simulados .simulados-cards-track .card {
    min-width: 88vw;
    max-width: 88vw;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .profile-summary-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    padding: 20px 14px calc(74px + env(safe-area-inset-bottom));
  }

  .footer-note {
    padding-right: 0;
    font-size: 11px;
  }

  .mode-carousel-btn,
  .simulados-carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .app-toast {
    right: 10px;
    left: 10px;
    bottom: 12px;
    min-width: 0;
    max-width: none;
  }

  #profileCreditsSection .credits-history-table th,
  #profileCreditsSection .credits-history-table td {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .simulado-header {
    margin: 14px auto 0 !important;
    padding: 0 14px !important;
    align-items: flex-start;
    gap: 8px;
  }

  .simulado-mode-title {
    font-size: 22px;
    line-height: 1.2;
  }

  .simulado-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 14px auto 0 !important;
    padding: 0 14px !important;
  }

  .simulado-nav-toggle {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1f4f8f;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .simulado-nav {
    order: 2;
    display: none;
  }

  .simulado-nav.is-open {
    display: flex;
  }

  .simulado-main {
    order: 3;
  }

  .simulado-question-box {
    order: 4;
    min-height: 0 !important;
    padding: 14px !important;
  }

  .nav-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .nav-btn,
  .simulado-nav .nav-btn {
    padding: 5px 0 !important;
    font-size: 11px !important;
    line-height: 1.1;
  }

  .simulado-image {
    min-height: 240px !important;
    padding: 10px !important;
  }

  .simulado-image img {
    max-height: 220px !important;
  }

  .simulado-options {
    gap: 8px !important;
  }

  .simulado-options .option {
    font-size: 14px !important;
    padding: 11px 10px !important;
  }

  .simulado-bottom {
    margin: 14px auto 30px !important;
    padding: 0 14px !important;
    gap: 10px !important;
  }

  .sigwx-progress-wrapper {
    max-width: none !important;
  }

  .simulado-auto-next--footer {
    align-self: center;
    margin-top: 0 !important;
  }

  .simulado-global-footer {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    gap: 8px !important;
  }

  .simulado-global-footer button {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px !important;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .simulado-mode-title {
    font-size: 18px;
  }

  .nav-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .simulado-image {
    min-height: 200px !important;
  }

  .simulado-image img {
    max-height: 180px !important;
  }

  .simulado-timer {
    font-size: 13px;
    padding: 5px 10px;
  }

  .simulado-global-footer button {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .sigwx-stats {
    margin: 16px auto 24px !important;
    padding: 16px 14px !important;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  }

  .stats-header {
    margin-bottom: 14px;
    align-items: flex-end;
  }

  .stats-header h3 {
    font-size: 20px;
    line-height: 1.2;
  }

  .stats-score {
    font-size: 44px;
    line-height: 1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .stats-grid div {
    padding: 10px 8px;
    border-radius: 10px;
  }

  .stats-grid span {
    font-size: 11px;
  }

  .stats-grid strong {
    font-size: 28px;
    line-height: 1.05;
  }

  .stats-actions {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .stats-actions-right {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  #btnToggleWrong,
  #btnRestart,
  #btnEval,
  #btnHome {
    width: 100%;
    min-height: 42px;
    padding: 10px 8px;
    font-size: 14px;
  }

  #btnHome {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .stats-header h3 {
    font-size: 18px;
  }

  .stats-score {
    font-size: 40px;
  }

  .stats-grid strong {
    font-size: 24px;
  }

  #btnToggleWrong,
  #btnRestart,
  #btnEval,
  #btnHome {
    font-size: 13px;
  }
}
