/* BIGSOFT, LDA. - Identidade Corporativa Moderna & Limpa */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --brand-orange: #FFA500;
  --brand-orange-hover: #e28c00;
  --brand-orange-light: #fffbeb;
  --brand-orange-border: #fde68a;
  --brand-orange-text: #d97706;
  --brand-blue: #1e293b;
  --brand-blue-dark: #0f172a;
  --brand-blue-light: #f1f5f9;
  --brand-navy: #0f172a;
  --brand-slate: #334155;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --font-main: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.news-highlight-column {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: #0f172a;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.25;
}

/* ==========================================================================
   NAVIGATION & HEADER ANIMATIONS (Clean, High-End & Modern)
   ========================================================================== */

/* Main Nav Links */
.main-nav-link {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.865rem;
  color: #475569;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  letter-spacing: -0.01em;
  user-select: none;
}

.main-nav-link:hover {
  color: #0f172a;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transform: translateY(-0.5px);
}

.main-nav-link.active {
  color: #0f172a;
  background-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.08), 0 1px 2px -0.5px rgba(15, 23, 42, 0.04);
}

.main-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background-color: #d97706;
}

.header-account-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #475569;
  font-size: 0.725rem;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.header-account-link:hover,
.header-account-link.active {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.footer-private-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.62;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-private-link:hover,
.footer-private-link.active {
  color: #fb923c;
  opacity: 1;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 5rem;
}

.legal-page-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 2rem;
}

.legal-page-header h1 {
  margin-top: 0.65rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
}

.legal-page-header p {
  max-width: 700px;
  margin-top: 1rem;
  color: #64748b;
  font-size: 1.05rem;
}

.legal-page-header small {
  display: block;
  margin-top: 1.25rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

.legal-page-body {
  padding-top: 0.75rem;
}

.legal-section {
  padding: 1.55rem 0;
  border-bottom: 1px solid #eef2f7;
}

.legal-section h2 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.legal-section p {
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.8;
  margin-top: 0.7rem;
}

.legal-section p:first-of-type {
  margin-top: 0;
}

.legal-section a {
  color: #c2410c;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #fed7aa;
  text-underline-offset: 3px;
}

.legal-page-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  color: #64748b;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.6;
}

.legal-page-note svg {
  flex: 0 0 auto;
  width: 1.1rem;
  margin-top: 0.15rem;
  color: #ea580c;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo-image {
  display: block;
  width: 125px;
  height: auto;
}

.footer-logo-image {
  display: block;
  width: 145px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

/* Mega Menu Dropdown */
.mega-menu-wrap {
  position: relative;
}

.mega-menu-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.mega-menu-trigger::-webkit-details-marker {
  display: none;
}

.mega-menu-trigger i,
.mega-menu-trigger svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu-wrap[open] .mega-menu-trigger i,
.mega-menu-wrap[open] .mega-menu-trigger svg {
  transform: rotate(180deg);
}

.mega-menu-wrap[open] .mega-menu-trigger {
  color: #0f172a;
  background-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.08);
}

.mega-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 0.85rem);
  right: 0;
  width: min(680px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.35rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
  animation: megaMenuDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top right;
}

@keyframes megaMenuDrop {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 36px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-left: 1px solid rgba(226, 232, 240, 0.9);
  transform: rotate(45deg);
}

.mega-menu-label {
  margin-bottom: 0.65rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu-link:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.mega-menu-link > i,
.mega-menu-link > svg {
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 5px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 auto;
  margin-top: 0.05rem;
  transition: all 0.2s ease;
}

.mega-menu-link:hover > i,
.mega-menu-link:hover > svg {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
  transform: scale(1.06);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

.mega-menu-link span {
  display: grid;
  gap: 0.15rem;
}

.mega-menu-link strong {
  font-size: 0.825rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
}

.mega-menu-link small {
  color: #64748b;
  font-size: 0.715rem;
  line-height: 1.35;
}

.mega-menu-highlight {
  padding-left: 1rem;
  border-left: 1px solid #f1f5f9;
}

.mega-menu-note {
  max-width: 10rem;
  color: #64748b;
  font-size: 0.765rem;
  line-height: 1.5;
}

.academy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brand-navy);
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  background: #ffffff;
  transition: all 0.2s ease;
}

.academy-link:hover {
  color: #d97706;
  border-color: #fde68a;
  background: #fffbeb;
  transform: translateY(-1px);
}

/* Header Carousel Banner */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0f172a;
}

.route-hidden {
  display: none !important;
}

.route-backbar {
  width: 100%;
  padding: 0.85rem max(1rem, calc((100vw - 80rem) / 2)) 0;
  background: var(--bg-page);
}

.route-backbar-inner {
  display: flex;
  align-items: center;
}

.route-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem 0.45rem 0.62rem;
  border: 1px solid #dbe3e8;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.route-back-button:hover {
  border-color: var(--brand-orange-border);
  background: var(--brand-orange-light);
  color: var(--brand-orange-text);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.1);
  transform: translateX(-2px);
}

.route-back-button:focus-visible {
  outline: 3px solid rgba(217, 119, 6, 0.28);
  outline-offset: 2px;
}

.route-back-button svg {
  width: 1rem;
  height: 1rem;
}

/* Acesso institucional, consultores e eventos */
.resource-card,
.consultant-card {
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.resource-card:hover,
.consultant-card:hover,
.consultant-profile-card:hover {
  border-color: #fdba74;
  box-shadow: 0 14px 28px -16px rgba(15, 23, 42, 0.35);
  transform: translateY(-2px);
}

.resource-card-cover {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 14rem;
  overflow: hidden;
  margin: -1.5rem -1.5rem 0;
  background: #e8edf0;
}

.resource-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.46));
  pointer-events: none;
}

.resource-card-cover > img {
  display: block;
  width: min(10.5rem, 100%);
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.resource-card:hover .resource-card-cover > img {
  transform: scale(1.04);
}

.resource-card-cover .resource-card-icon {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.resource-access-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  margin-top: 0.8rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  color: #c2410c;
  background: #fff7ed;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.resource-access-badge.is-donation {
  border-color: #fecdd3;
  color: #be123c;
  background: #fff1f2;
}

.resource-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
}

.resource-pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid #dbe3e8;
  border-radius: 0.65rem;
  color: #475569;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.resource-pagination-button:hover:not(:disabled),
.resource-pagination-button.is-active {
  border-color: #f59e0b;
  color: #9a3412;
  background: #fff7ed;
}

.resource-pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.resource-payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #fed7aa;
  border-radius: 0.75rem;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.8rem;
}

.resource-payment-total strong {
  font-size: 1rem;
}

.consultant-profile-card {
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.consultant-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  color: #c2410c;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95), transparent 30%),
    #fff7ed;
  box-shadow: 0 0 0 0.4rem #fff7ed, 0 0 0 0.48rem #fed7aa;
}

.consultant-profile-area {
  min-height: 2.6rem;
  margin-top: 0.45rem;
  color: #c2410c;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.consultant-profile-experience {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
  padding: 0.3rem 0.55rem;
  border-radius: 9999px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
}

.resource-card-icon,
.consultant-card-icon,
.resource-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.resource-note-icon {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
}

.consultant-card-icon {
  flex: 0 0 auto;
  color: #0369a1;
  background: #f0f9ff;
  border-color: #bae6fd;
}

.consultant-cta {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.22), transparent 30%),
    linear-gradient(120deg, #0f172a 0%, #1e293b 100%);
}

.event-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.32), transparent 26%),
    linear-gradient(120deg, #0f172a 0%, #173149 56%, #1e4b63 100%);
}

.event-hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.event-hero-image {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.event-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.25));
}

.event-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-featured-shell {
  display: grid;
  gap: 0.75rem;
}

.event-featured-intro {
  border-color: #fde6bd;
  background: #fffdf8;
}

.event-countdown {
  display: inline-grid;
  gap: 0.45rem;
  margin-top: 1.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 0.8rem;
  background: rgba(2, 8, 23, 0.3);
  backdrop-filter: blur(8px);
}

.event-countdown-label {
  color: #fde68a;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-countdown-units {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-countdown-units strong {
  display: grid;
  min-width: 3.6rem;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  line-height: 1;
}

.event-countdown-units small {
  margin-top: 0.3rem;
  color: #cbd5e1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-countdown.is-ended {
  color: #d1fae5;
  font-size: 0.75rem;
  font-weight: 800;
}

.event-hero::after {
  content: '';
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 0 2rem rgba(251, 191, 36, 0.06), 0 0 0 4rem rgba(251, 191, 36, 0.04);
  pointer-events: none;
}

.event-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #64748b;
  background: #f8fafc;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.event-schedule {
  position: relative;
}

.event-schedule::before {
  content: '';
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: 4.1rem;
  width: 1px;
  background: #e2e8f0;
}

.event-schedule-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.4rem;
  padding: 0.1rem 0 1.25rem;
}

.event-schedule-row:last-child {
  padding-bottom: 0;
}

.event-schedule-row::before {
  content: '';
  position: absolute;
  top: 0.4rem;
  left: 3.8rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #f59e0b;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #fbbf24;
  z-index: 1;
}

.event-schedule-row time {
  color: #c2410c;
  font-size: 0.78rem;
  font-weight: 800;
  padding-top: 0.1rem;
}

.event-schedule-row h3 {
  color: #0f172a;
  font-size: 0.93rem;
  font-weight: 750;
}

.event-schedule-row p {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 0.2rem;
}

.event-schedule-track {
  margin-bottom: 0.25rem;
  color: #d97706;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-ticket-panel {
  border: 1px solid #fed7aa;
  border-radius: 1rem;
  background: linear-gradient(155deg, #fff7ed 0%, #fff 55%);
  box-shadow: 0 10px 25px -18px rgba(194, 65, 12, 0.45);
}

.event-form-input {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-form-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.upcoming-events-count {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #c2410c;
  background: #fff7ed;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.upcoming-event-card {
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.upcoming-event-card:hover {
  border-color: #fdba74;
  box-shadow: 0 16px 30px -18px rgba(15, 23, 42, 0.4);
  transform: translateY(-2px);
}

.upcoming-event-cover {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background: #e8edf0;
}

.upcoming-event-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upcoming-event-date {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: grid;
  justify-items: center;
  min-width: 3.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  color: #fff;
  background: rgba(15, 23, 42, 0.86);
  line-height: 1;
  backdrop-filter: blur(8px);
}

.upcoming-event-date strong {
  font-size: 1.2rem;
}

.upcoming-event-date small {
  margin-top: 0.25rem;
  color: #fbbf24;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-featured-tag {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
}

.upcoming-event-meta {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.72rem;
}

.upcoming-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.upcoming-event-meta svg {
  width: 0.9rem;
  height: 0.9rem;
  color: #d97706;
}

.upcoming-events-empty {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.25rem;
  color: #64748b;
}

.upcoming-events-empty svg {
  color: #d97706;
  flex: 0 0 auto;
}

.upcoming-events-empty strong {
  display: block;
  color: #334155;
  font-size: 0.9rem;
}

.upcoming-events-empty p {
  margin-top: 0.2rem;
  font-size: 0.78rem;
}

.event-ticket-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid #fed7aa;
  color: #64748b;
  font-size: 0.76rem;
}

.event-ticket-total strong {
  color: #c2410c;
  font-size: 0.9rem;
}

.event-ticket-closed {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding: 0.8rem;
  border: 1px dashed #fdba74;
  border-radius: 0.65rem;
  color: #9a3412;
  background: #fff7ed;
  font-size: 0.75rem;
  font-weight: 700;
}

.event-ticket-closed svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.event-speakers-section {
  border-color: #dce4e9;
}

.event-speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.event-speaker-card {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #e5ebee;
  border-radius: 0.75rem;
  background: #fbfcfd;
}

.event-speaker-avatar {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.75rem;
  color: #d97706;
  background: #fff7ed;
}

.event-speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-speaker-avatar svg {
  width: 1.25rem;
  height: 1.25rem;
}

.event-speaker-card h3 {
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 800;
}

.event-speaker-card p {
  margin-top: 0.15rem;
  color: #d97706;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.35;
}

.event-speaker-card span {
  display: block;
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.45;
}

.upcoming-event-card.is-featured {
  border-color: #fdba74;
  box-shadow: 0 14px 30px -20px rgba(194, 65, 12, 0.48);
}

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

  .event-schedule::before {
    left: 3.7rem;
  }

  .event-schedule-row {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }

  .event-schedule-row::before {
    left: 3.4rem;
  }

  .event-speakers-grid {
    grid-template-columns: 1fr;
  }

  .event-countdown-units {
    gap: 0.5rem;
  }

  .event-countdown-units strong {
    min-width: 3rem;
    font-size: 1.1rem;
  }
}

.store-promo-banner {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(110deg, #0f172a 0%, #173149 58%, #23506a 100%);
  color: #fff;
}

.store-promo-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 18%, rgba(245, 158, 11, 0.26), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.68) 54%, rgba(15, 23, 42, 0.12) 100%);
}

.store-promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 80rem);
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.store-promo-kicker {
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.store-promo-content h2 {
  max-width: 36rem;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.12;
}

.store-promo-content p {
  max-width: 30rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.store-promo-content .btn-primary {
  margin-top: 0.45rem;
}

.store-promo-products {
  position: absolute;
  top: 0;
  right: max(1rem, calc((100% - 80rem) / 2));
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 100%;
  width: min(42vw, 32rem);
  transform: rotate(5deg) translateX(4%);
  z-index: 1;
}

.store-promo-products img {
  width: 31%;
  height: 62%;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 0.8rem;
  object-fit: cover;
  box-shadow: 0 1rem 2.5rem rgba(2, 8, 23, 0.28);
}

.store-promo-products img:nth-child(2) {
  height: 78%;
  transform: translateY(-0.6rem);
}

.store-promo-products img:nth-child(3) {
  transform: translateY(0.65rem);
}

@media (min-width: 640px) {
  .store-promo-banner,
  .store-promo-content {
    min-height: 320px;
  }

  .store-promo-content {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 768px) {
  .store-promo-banner,
  .store-promo-content {
    min-height: 380px;
  }

  .store-promo-content {
    padding-inline: 2rem;
  }
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-item {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.impact-carousel-slide {
  color: #f8fafc;
  background: #172b43;
}

.impact-carousel-slide h2,
.muntugest-carousel-slide h2 {
  color: inherit;
}

.impact-carousel-slide p {
  color: #dbe6ef;
}

.impact-carousel-shade {
  background:
    linear-gradient(90deg, rgba(15, 34, 56, 0.98) 0%, rgba(23, 43, 67, 0.92) 48%, rgba(23, 43, 67, 0.55) 100%);
}

.impact-eyebrow {
  color: #d6b477;
}

.impact-eyebrow > span {
  background: currentColor;
}

.muntugest-carousel-slide {
  color: #ffffff;
  background: #a80f1c;
}

.muntugest-carousel-slide p {
  color: #ffe4e6;
}

.muntugest-carousel-slide > img {
  opacity: 0.34;
}

.muntugest-carousel-shade {
  background:
    linear-gradient(90deg, rgba(142, 7, 22, 0.84) 0%, rgba(168, 15, 28, 0.58) 52%, rgba(168, 15, 28, 0.24) 100%);
}

.muntugest-carousel-content {
  position: relative;
}

.muntugest-eyebrow {
  color: #fecdd3;
}

.muntugest-eyebrow > span {
  background: currentColor;
}

.btn-impact-formal,
.btn-muntugest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn-impact-formal {
  border: 1px solid #d6b477;
  background: #d6b477;
  color: #172b43;
}

.btn-impact-formal:hover {
  background: #e4c995;
  color: #0f2238;
  transform: translateY(-1px);
}

.btn-muntugest {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #991b1b;
}

.btn-muntugest:hover {
  background: #fee2e2;
  color: #7f1d1d;
  transform: translateY(-1px);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background-color: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav-prev {
  left: 20px;
}

.carousel-nav-next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.carousel-dot.active {
  width: 26px;
  border-radius: 9999px;
  background-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

/* Ticker Bar */
.ticker-bar {
  background: #ffffff;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  font-size: 0.825rem;
  font-weight: 500;
}

.ticker-bar .text-slate-400 {
  color: #64748b !important;
}

.ticker-bar::before, .ticker-bar::after {
  content: "";
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ticker-bar::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.ticker-bar::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.ticker-inner {
  display: flex;
  width: max-content;
  animation: tickerSlide 40s linear infinite;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}

.ticker-value {
  color: #d97706;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ticker-delta {
  min-width: 2.5rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   BUTTONS (Clean, Modern, Rounded Pill Aesthetic)
   ========================================================================== */

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-secondary:hover {
  background: #1e293b;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-outline {
  background-color: #ffffff;
  color: #334155;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-outline:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   MODERN CORPORATE CARDS & BADGES (Clean & Crisp)
   ========================================================================== */

.corp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.corp-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  transform: translateY(-2px);
}

/* Badges */
.badge-orange {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-blue {
  background-color: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-emerald {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ====================================================
   HERO SECTION — BIGSOFT & INDICADORES EM FOCO
   ==================================================== */
.hero-clean-section {
  background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.08) 0%, rgba(15, 23, 42, 1) 90%), #0f172a;
  position: relative;
  border-color: rgba(249, 115, 22, 0.2);
}

/* Indicadores em foco Card */
.hero-data-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  padding: 1.5rem;
  transition: all 0.25s ease;
  position: relative;
}

.hero-data-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
}

/* Category Switcher Tabs */
.hero-indicator-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.25rem;
  background: #f1f5f9;
  border-radius: 10px;
}

.hero-indicator-tab {
  padding: 0.45rem 0.25rem;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  white-space: nowrap;
}

.hero-indicator-tab:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.5);
}

.hero-indicator-tab.active {
  background: #ffffff;
  color: #ea580c;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Stat Rows List */
.hero-stat-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.hero-stat-row:hover {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hero-stat-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-icon-badge.orange {
  background: #fff7ed;
  color: #ea580c;
}

.hero-stat-icon-badge.sky {
  background: #f0f9ff;
  color: #0284c7;
}

.hero-stat-icon-badge.emerald {
  background: #ecfdf5;
  color: #059669;
}

/* Sparkline in stat row */
.hero-stat-sparkline {
  width: 54px;
  height: 22px;
  display: flex;
  align-items: center;
}

.hero-stat-sparkline svg {
  width: 100%;
  height: 100%;
}

/* Trend delta badge */
.hero-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-stat-badge.trend-up,
.hero-stat-badge.trend-down-good {
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #047857;
}

.hero-stat-badge svg {
  stroke-width: 2.5;
}

.certificate-page {
  min-height: 65vh;
  background: linear-gradient(180deg, #f5f6f7 0%, #ffffff 100%);
}

.certificate-side-card {
  background: linear-gradient(145deg, #142536 0%, #203d53 100%);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(20, 37, 54, 0.16);
}

.certificate-input {
  letter-spacing: 0.08em;
}

.certificate-result {
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.875rem;
}

.certificate-result-valid {
  color: #245c4c;
  background: #eef7f3;
  border: 1px solid #c8e4d8;
}

.certificate-result-invalid {
  color: #8b3f34;
  background: #fbf1ef;
  border: 1px solid #edd0c9;
}

.certificate-result-valid .certificate-label {
  display: block;
  color: #668379;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.1rem;
}

.btn-light {
  background: #fff;
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.home-services {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #142536 0%, #1b2d3e 100%);
  border-top: 1px solid #1d3a50;
  border-bottom: 1px solid #1d3a50;
}

.home-services::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: 16%;
  width: 18rem;
  height: 32rem;
  border: 1px solid rgba(255, 210, 122, 0.18);
  transform: rotate(32deg);
  pointer-events: none;
}

.home-services::after {
  content: "";
  position: absolute;
  left: -7rem;
  bottom: -11rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(255, 255, 255, 0.025), 0 0 0 4rem rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.home-services > .max-w-7xl {
  position: relative;
  z-index: 1;
}

.home-services h2 {
  color: #fff !important;
}

.home-services button {
  color: #ffd27a !important;
}

.home-services button:hover {
  color: #fff !important;
}

.section-kicker {
  color: var(--brand-orange-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.learning-section {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #dce5e9;
}

.learning-section::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  width: 27rem;
  height: 27rem;
  border: 1px solid rgba(20, 37, 54, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(20, 37, 54, 0.025), 0 0 0 4rem rgba(20, 37, 54, 0.018);
  pointer-events: none;
}

.learning-section-heading {
  max-width: 42rem;
}

.academy-card,
.certificate-quick-card {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   COURSES MARQUEE (Cartão Autenticidade)
   ========================================================================== */

.courses-marquee-wrapper {
  position: relative;
  width: 100%;
}

.courses-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.35rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.courses-marquee-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: course-marquee-scroll 26s linear infinite;
  will-change: transform;
}

.courses-marquee-container:hover .courses-marquee-track {
  animation-play-state: paused;
}

@keyframes course-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.course-marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem 0.4rem 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  text-decoration: none;
  color: #334155;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.course-marquee-chip:hover,
.course-marquee-chip:focus-visible {
  background: #ffffff;
  border-color: #f97316;
  color: #c2410c;
  box-shadow: 0 4px 14px -2px rgba(249, 115, 22, 0.18), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  transform: translateY(-1.5px);
  outline: none;
}

.course-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.course-marquee-chip:hover .course-chip-icon,
.course-marquee-chip:focus-visible .course-chip-icon {
  background: #ea580c;
  color: #ffffff;
  transform: scale(1.05);
}

.course-chip-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1e293b;
}

.course-marquee-chip:hover .course-chip-title,
.course-marquee-chip:focus-visible .course-chip-title {
  color: #c2410c;
}

.course-chip-badge {
  font-size: 0.675rem;
  font-weight: 700;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.course-marquee-chip:hover .course-chip-badge,
.course-marquee-chip:focus-visible .course-chip-badge {
  background: #ffedd5;
  border-color: #fed7aa;
}

@media (prefers-reduced-motion: reduce) {
  .courses-marquee-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: thin;
  }
}

.service-mini-card,
.service-card {
  background: #fff;
  border: 1px solid #e4e9ed;
  border-radius: 12px;
}

.service-mini-card {
  position: relative;
  min-height: 160px;
  padding: 1.15rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.service-mini-card:hover {
  border-color: var(--brand-orange-border);
  background: linear-gradient(145deg, #fff 0%, #fffaf0 100%);
  box-shadow: 0 14px 28px rgba(20, 37, 54, 0.1);
  transform: translateY(-3px);
}

.service-mini-card::after {
  content: "";
  position: absolute;
  right: -2.6rem;
  bottom: -3.8rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(255, 165, 0, 0.18);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.35s ease;
  pointer-events: none;
}

.service-mini-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.service-mini-card h3 {
  margin-top: 0.85rem;
  color: var(--brand-navy);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.service-mini-card p {
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.service-mini-card-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  color: #c0c9cf;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.service-mini-card:hover .service-mini-card-arrow {
  color: var(--brand-orange-text);
  opacity: 1;
  transform: translate(0, 0);
}

.service-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--brand-orange-text);
  background: var(--brand-orange-light);
  border: 1px solid rgba(245, 158, 11, 0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-icon-large {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

/* ============================================================
   MODERN COMPACT SERVICE CARDS (SERVIÇOS BIGSOFT)
   ============================================================ */
.service-modern-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04), 0 1px 4px -1px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.service-modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #f59e0b;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modern-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  transform: translateY(-3px);
}

.service-modern-card:hover::before,
.service-modern-card.is-expanded::before {
  opacity: 1;
}

.service-modern-card.is-expanded {
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.1), 0 6px 16px -4px rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #d97706;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.service-modern-card:hover .service-icon-box,
.service-modern-card.is-expanded .service-icon-box {
  background: #f59e0b;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 6px 14px -3px rgba(217, 119, 6, 0.35);
}

.service-category-label {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: right;
}

.service-details-note {
  padding: 0.7rem 0.8rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
}

.service-details-collapse {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}

.service-modern-card.is-expanded .service-details-collapse {
  max-height: 800px;
  opacity: 1;
  margin-top: 1rem;
}

.service-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.service-toggle-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.service-toggle-chevron {
  transition: transform 0.3s ease;
}

.service-modern-card.is-expanded .service-toggle-chevron {
  transform: rotate(180deg);
}

.service-features-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e2e8f0;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.4;
}

.service-feature-item i {
  color: #64748b;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.services-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.services-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.services-cat-tab {
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.services-cat-tab:hover {
  color: #d97706;
  border-color: #fcd34d;
  background: #fffbeb;
}

.services-cat-tab.is-active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #d97706;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.services-page {
  min-height: 65vh;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.service-card {
  min-height: 248px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--brand-orange-border);
  background: linear-gradient(145deg, #fff 0%, #fffaf0 100%);
  box-shadow: 0 15px 32px rgba(20, 37, 54, 0.1);
  transform: translateY(-5px);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-number {
  color: #b8c2c9;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
}

.service-card h2 {
  margin-top: 1.3rem;
  color: var(--brand-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.service-card > p {
  max-width: 34rem;
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--brand-orange-text);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.service-link:hover {
  color: var(--brand-navy);
}

.store-page {
  min-height: 70vh;
  background: linear-gradient(180deg, #f5f6f7 0%, #fff 16rem);
}

.store-heading {
  max-width: 74rem;
  margin-inline: auto;
}

.store-currency {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.store-currency span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand-orange);
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 800;
}

.store-toolbar {
  padding: 0.75rem;
  border: 1px solid #e3e8ec;
  border-radius: 10px;
  background: #fff;
}

.store-product-card {
  position: relative;
  min-height: 100%;
  background: #fff;
  border: 1px solid #e2e8ec;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(20, 37, 54, 0.035);
  scroll-snap-align: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.store-product-card:hover {
  border-color: #cbd6dd;
  box-shadow: 0 10px 24px rgba(20, 37, 54, 0.09);
  transform: translateY(-3px);
}

.store-highlight-card {
  isolation: isolate;
  overflow: hidden;
}

.store-highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 190, 58, 0.3), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0) 48%, rgba(255, 248, 232, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.store-highlight-card > * {
  position: relative;
  z-index: 1;
}

.store-highlight-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(217, 119, 6, 0.25);
  transform: translateY(-4px);
}

.store-highlight-card:hover::before {
  opacity: 1;
}

.store-highlight-card .store-product-image {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.store-highlight-card .store-product-image img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-highlight-card:hover .store-product-image {
  border-color: var(--brand-orange-border);
  box-shadow: 0 8px 18px rgba(20, 37, 54, 0.12);
}

.store-highlight-card:hover .store-product-image img {
  transform: scale(1.08);
}

#storeCarouselViewport .store-highlight-card {
  flex: 0 0 calc((100% - 3rem) / 4);
  padding: 0.75rem !important;
}

#storeCarouselViewport .store-highlight-card .store-product-image {
  height: 7.25rem !important;
  margin-bottom: 0.65rem;
}

#storeCarouselViewport .store-highlight-card h3 {
  font-size: 0.78rem;
}

#storeCarouselViewport .store-highlight-card .store-price {
  font-size: 0.95rem;
}

#storeCarouselViewport .store-highlight-card > div:last-child {
  gap: 0.45rem;
}

#storeCarouselViewport .store-highlight-card > div:last-child .btn-primary {
  padding: 0.4rem 0.55rem;
  font-size: 0.68rem;
}

.survey-carousel-track > .store-product-card {
  flex: 0 0 calc((100% - 2rem) / 3);
}

@media (max-width: 768px) {
  .survey-carousel-track > .store-product-card {
    flex: 0 0 80%;
  }

  #storeCarouselViewport .store-highlight-card {
    flex-basis: 72%;
  }

  .store-promo-content {
    padding: 2rem 1.25rem;
  }

  .store-promo-products {
    right: -2rem;
    width: 54vw;
    opacity: 0.62;
  }

}

.store-product-image {
  background: #eef1f3;
}

.store-product-card:focus-visible {
  outline: 3px solid rgba(217, 119, 6, 0.35);
  outline-offset: 2px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
}

.product-detail-gallery {
  min-width: 0;
}

.product-detail-main-image {
  display: grid;
  min-height: 18rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e8ec;
  border-radius: 0.8rem;
  background: #eef1f3;
}

.product-detail-main-image img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.product-detail-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
}

.product-detail-thumbnail {
  width: 3.8rem;
  height: 3.8rem;
  flex: 0 0 auto;
  padding: 0.15rem;
  border: 1px solid #dbe3e8;
  border-radius: 0.45rem;
  background: #fff;
  cursor: pointer;
}

.product-detail-thumbnail.is-active {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18);
}

.product-detail-thumbnail img {
  width: 100%;
  height: 100%;
  border-radius: 0.25rem;
  object-fit: cover;
}

.product-detail-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.product-detail-description {
  margin-top: 0.8rem;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.65;
}

.product-detail-meta {
  display: grid;
  width: 100%;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 0.8rem;
  border: 1px solid #e5ebef;
  border-radius: 0.65rem;
  background: #f8fafc;
}

.product-detail-meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
}

.product-detail-meta span {
  color: #64748b;
}

.product-detail-meta strong {
  color: var(--brand-navy);
  text-align: right;
}

.product-detail-purchase {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.product-detail-purchase > strong {
  color: var(--brand-navy);
  font-size: 1.15rem;
  white-space: nowrap;
}

.store-rating {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.store-rating span {
  color: var(--brand-orange-text);
}

.store-price {
  color: var(--brand-navy);
  font-size: 1.12rem;
  font-weight: 800;
}

.store-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 3rem 1rem;
  border: 1px dashed #ccd8df;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: center;
}

.repository-section {
  background: radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.08) 0%, rgba(15, 23, 42, 1) 90%), #0f172a;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.repository-section h2,
.repository-section .text-slate-900 {
  color: #f8fafc !important;
}

.repository-section .text-slate-600 {
  color: #c4d0d9 !important;
}

.repository-section .text-slate-400 {
  color: #9fb0bc !important;
}

.repository-section .survey-carousel-header {
  color: #b7c5ce;
}

.repository-section input,
.repository-section select {
  border-color: #526979;
  background: #f8fafc;
}

.repository-section .survey-slide,
.repository-section .survey-empty {
  border-color: #d9e2e8;
}

.repository-section .survey-slide {
  box-shadow: 0 8px 20px rgba(7, 20, 31, 0.18);
}

.survey-carousel {
  margin-top: 1.2rem;
}

.survey-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.survey-carousel-controls {
  display: flex;
  gap: 0.45rem;
}

.survey-nav,
.survey-nav:hover {
  border-color: var(--brand-orange);
  background: var(--brand-orange-light);
  color: var(--brand-orange-text);
}

.survey-carousel-viewport,
.partner-carousel-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.survey-carousel-viewport::-webkit-scrollbar,
.partner-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.survey-carousel-track {
  display: flex;
  gap: 1rem;
  padding: 0.15rem 0.1rem 0.55rem;
}

.survey-slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.15rem;
  border: 1px solid #e2e8ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 37, 54, 0.035);
  scroll-snap-align: start;
}

.survey-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.survey-category {
  color: var(--brand-orange-text);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.survey-year {
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  white-space: nowrap;
}

.survey-slide h3 {
  color: var(--brand-navy);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.survey-slide p {
  margin-top: 0.45rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

.survey-slide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #edf0f2;
}

.survey-details-link,
.survey-download-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.survey-details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand-orange-text);
  font-size: 0.74rem;
  font-weight: 800;
}

.survey-details-link:hover {
  color: var(--brand-navy);
}

.survey-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dbe2e7;
  border-radius: 7px;
  color: var(--brand-navy);
}

.survey-download-link:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-text);
}

.survey-empty {
  border: 1px solid #e2e8ec;
  border-radius: 10px;
  background: #fff;
}

.partners-section {
  background: #fff;
  border-bottom: 1px solid #edf0f2;
}

.partner-carousel {
  width: 100%;
  overflow: hidden;
}

.partner-carousel-viewport {
  width: 100%;
  overflow: hidden;
  scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partner-marquee 36s linear infinite;
  will-change: transform;
}

.partner-track-set {
  display: flex;
  flex: 0 0 auto;
  gap: 0.85rem;
  padding: 0.15rem 0.85rem 0.45rem 0.1rem;
}

.partner-card {
  flex: 0 0 clamp(142px, 15vw, 174px);
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.55rem;
}

.partner-logo-image {
  display: block;
  width: 144px;
  height: 70px;
  object-fit: contain;
  user-select: none;
}

@keyframes partner-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.explain-section {
  background: #fff;
  border-top: 1px solid #e5e9ed;
  border-bottom: 1px solid #e5e9ed;
}

.explain-kicker,
.video-eyebrow {
  color: var(--brand-orange-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.explain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.25rem;
}

.video-feature,
.video-list-item {
  width: 100%;
  padding: 0;
  border: 1px solid #e1e6eb;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.video-feature:hover,
.video-list-item:hover {
  border-color: var(--brand-orange-border);
  box-shadow: 0 12px 26px rgba(20, 37, 54, 0.1);
  transform: translateY(-2px);
}

.video-image-wrap {
  position: relative;
  overflow: hidden;
  background: #e9edf0;
}

.video-feature-image {
  height: 276px;
}

.video-list-image {
  width: 168px;
  height: 104px;
  flex: 0 0 168px;
}

.video-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-feature:hover .video-image,
.video-list-item:hover .video-image {
  transform: scale(1.035);
}

.video-player-wrap {
  position: relative;
  height: 276px;
  overflow: hidden;
  background: #142536;
}

.explain-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player-notice {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 2rem);
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(20, 37, 54, 0.78);
  color: #f8fafc;
  font-size: 0.68rem;
  line-height: 1.3;
  transform: translateX(-50%);
  pointer-events: none;
}

.video-player-notice[hidden] {
  display: none;
}

.video-list-item.is-active {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px var(--brand-orange-light);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-orange);
  box-shadow: 0 4px 13px rgba(20, 37, 54, 0.28);
  transform: translate(-50%, -50%);
}

.video-play-large {
  width: 52px;
  height: 52px;
}

.video-copy {
  padding: 1rem 1.1rem 1.15rem;
}

.video-copy h3 {
  margin-top: 0.2rem;
  color: var(--brand-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.video-copy p,
.video-list-copy p {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.video-copy p {
  margin-top: 0.2rem;
}

.video-copy p span {
  color: var(--brand-orange-text);
  font-weight: 700;
}

.video-list {
  display: grid;
  gap: 0.75rem;
}

.video-list-column {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-width: 0;
}

.video-list-column .video-list {
  height: 20.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

.video-list-column .video-list::-webkit-scrollbar {
  width: 0.35rem;
}

.video-list-column .video-list::-webkit-scrollbar-track {
  background: transparent;
}

.video-list-column .video-list::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: #cbd5e1;
}

.video-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  align-self: start;
  color: var(--brand-orange-text);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.video-more-link:hover {
  color: var(--brand-navy);
}

.video-list-scroll-hint {
  color: #94a3b8;
  font-size: 0.64rem;
  font-weight: 600;
  text-align: right;
}

.video-list-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem;
}

.video-list-copy {
  flex: 1;
  min-width: 0;
}

.video-list-copy h3 {
  color: var(--brand-navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.video-list-copy p {
  margin-top: 0.15rem;
}

.video-arrow {
  color: #94a3b8;
  flex: 0 0 auto;
  margin-right: 0.35rem;
}

/* Unifica os tons utilitários da página e deixa o destaque reservado à ação. */
.bg-orange-600,
.bg-orange-700,
.bg-orange-500,
.bg-orange-100 {
  background-color: var(--brand-orange) !important;
}

.bg-orange-100 {
  background-color: var(--brand-orange-light) !important;
}

.bg-orange-600,
.bg-orange-700,
.bg-orange-500 {
  color: var(--brand-navy) !important;
}

.text-orange-900,
.text-orange-700,
.text-orange-600,
.text-orange-500,
.text-orange-400 {
  color: var(--brand-orange-text) !important;
}

.border-orange-300,
.border-orange-200,
.border-orange-100,
.border-orange-600,
.border-orange-500 {
  border-color: var(--brand-orange-border) !important;
}

.text-sky-400,
.text-sky-700,
.text-sky-800,
.text-sky-600 {
  color: var(--brand-blue) !important;
}

.text-emerald-700,
.text-emerald-600,
.text-amber-600 {
  color: var(--brand-orange-text) !important;
}

.bg-sky-50\/60,
.bg-sky-500\/20 {
  background-color: #f1f4f6 !important;
}

.border-sky-100,
.border-sky-500\/30 {
  border-color: #dce3e9 !important;
}

.bg-emerald-600,
.bg-sky-600 {
  background-color: var(--brand-navy) !important;
}

.ticker-bar .text-orange-400,
.ticker-bar .text-orange-300 {
  color: var(--brand-orange) !important;
}

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

  .learning-section {
    background-size: 18rem auto;
    background-position: right bottom;
  }

  .hero-kpis {
    gap: 0.75rem;
  }

  .hero-kpi-value {
    font-size: 1.2rem;
  }

  .hero-kpi-label {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .carousel-nav-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-nav-prev {
    left: 10px;
  }

  .carousel-nav-next {
    right: 10px;
  }

  .academy-link {
    border: 0;
    padding-inline: 0;
  }

  .brand-logo-image {
    width: 112px;
  }

  .footer-logo-image {
    width: 128px;
  }

  .mega-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    padding: 0.5rem 0 0.25rem 0.5rem;
  }

  .mega-menu::before {
    display: none;
  }

  .mega-menu-highlight {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #e9edf0;
    padding-top: 0.7rem;
  }

  .mobile-explore-wrap {
    border-top: 1px solid #edf0f2;
    padding-top: 0.35rem;
  }

  .mobile-explore-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    color: #334155;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    list-style: none;
  }

  .mobile-explore-trigger::-webkit-details-marker {
    display: none;
  }

  .mobile-explore-wrap[open] .mobile-explore-trigger {
    color: var(--brand-orange-text);
  }

  .mobile-explore-links {
    display: grid;
    gap: 0.1rem;
    padding: 0.2rem 0 0.35rem 0.8rem;
    border-left: 2px solid var(--brand-orange-border);
  }

  .mobile-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-explore-link:hover,
  .mobile-explore-link-accent {
    color: var(--brand-orange-text);
  }

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

  .video-player-wrap {
    height: 220px;
  }

  .video-list-image {
    width: 132px;
    height: 88px;
    flex-basis: 132px;
  }

  .video-list-item {
    gap: 0.65rem;
  }

  .video-list-column .video-list {
    height: 17.5rem;
  }

  .survey-slide {
    flex-basis: 88%;
  }

  .partner-card {
    flex-basis: 108px;
  }

  .partner-logo-image {
    width: 104px;
    height: 58px;
  }

  .repository-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .repository-section .min-w-\[240px\] {
    min-width: 0;
  }

  .repository-section input,
  .repository-section select {
    min-height: 42px;
  }

  .store-page,
  .services-page {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .store-toolbar {
    padding: 0.65rem;
  }

  .store-toolbar .store-filter-btn {
    flex: 1 1 auto;
    min-height: 38px;
  }

  .store-product-card {
    padding: 0.85rem;
  }

  .store-product-card .store-product-image {
    height: 112px;
  }

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

  #toastContainer {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .corp-toast {
    width: 100%;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .brand-logo-image {
    width: 118px;
  }

  .main-nav-link {
    padding-inline: 0.45rem;
    font-size: 0.8rem;
  }

  .header-account-link {
    padding-inline: 0.5rem;
  }

  .header-account-link span {
    display: none;
  }

  .survey-slide {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .store-product-card .store-product-image {
    height: 120px;
  }
}

@media (max-width: 420px) {
  .carousel-item .max-w-7xl {
    padding-inline: 3.25rem;
  }

  .carousel-item h2 {
    font-size: 1.8rem;
  }

  .carousel-item p {
    font-size: 0.8rem;
  }

  .carousel-item .btn-primary {
    width: 100%;
    font-size: 0.78rem;
    padding-inline: 0.7rem;
  }

  .video-list-image {
    width: 98px;
    height: 76px;
    flex-basis: 98px;
  }

  .video-list-copy h3 {
    font-size: 0.8rem;
  }

  .video-list-copy p {
    font-size: 0.68rem;
  }

  .store-product-card > div:last-child {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-mini-card,
  .service-card,
  .store-product-card,
  .store-highlight-card .store-product-image img {
    transition: none;
  }
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-main-image,
  .product-detail-main-image img {
    min-height: 14rem;
    height: 14rem;
  }
}

/* E-commerce administration and checkout */
.store-admin-console {
  display: grid;
  gap: 1rem;
}

.store-admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.store-admin-summary-card {
  display: grid;
  gap: 0.2rem;
  min-height: 4.7rem;
  padding: 0.8rem;
  border: 1px solid #e1e8ec;
  border-radius: 10px;
  background: #f8fafb;
}

.store-admin-summary-card span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}

.store-admin-summary-card strong {
  color: var(--brand-navy);
  font-size: 1.35rem;
  font-weight: 800;
}

.store-admin-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #edf0f2;
}

.store-admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  padding: 0.65rem 0.7rem;
  border: 0;
  border-radius: 7px 7px 0 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.store-admin-tab:hover,
.store-admin-tab.is-active {
  background: var(--brand-orange-light);
  color: var(--brand-orange-text);
}

.store-admin-tab svg,
.store-admin-view-heading > i {
  width: 0.95rem;
  height: 0.95rem;
}

.store-admin-view {
  display: none;
  min-width: 0;
}

.store-admin-view.is-active {
  display: block;
}

.store-admin-overview-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(8rem, 1fr));
  gap: 0.75rem;
}

.store-admin-overview-card,
.store-admin-action-card {
  min-height: 9rem;
  padding: 1rem;
  border: 1px solid #e1e8ec;
  border-radius: 10px;
  background: #f8fafb;
}

.store-admin-overview-card h3 {
  margin-top: 0.35rem;
  font-size: 1rem;
}

.store-admin-overview-card p {
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.store-admin-action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  color: var(--brand-navy);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.store-admin-action-card:hover {
  border-color: var(--brand-orange-border);
  background: var(--brand-orange-light);
  transform: translateY(-2px);
}

.store-admin-action-card svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-orange-text);
}

.store-admin-action-card strong {
  margin-top: auto;
  font-size: 0.78rem;
}

.store-admin-action-card small {
  color: #64748b;
  font-size: 0.65rem;
}

.store-admin-view-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.store-admin-view-heading h3 {
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.store-admin-product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.store-admin-product-actions label {
  position: relative;
  cursor: pointer;
}

.store-admin-product-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.admin-products-import-status {
  min-height: 1.1rem;
  margin: -0.35rem 0 0.25rem;
  color: var(--brand-orange-text);
  font-size: 0.7rem;
  font-weight: 700;
}

.store-admin-view-heading > i {
  color: var(--brand-orange-text);
}

.store-admin-orders-list,
.store-admin-abandoned-list {
  display: grid;
  gap: 0.7rem;
}

.store-admin-order-card,
.store-admin-abandoned-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid #e1e8ec;
  border-radius: 10px;
  background: #fff;
}

.store-admin-order-top,
.store-admin-abandoned-card,
.store-admin-order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.store-admin-order-top > div,
.store-admin-abandoned-card > div:first-child {
  display: grid;
  gap: 0.15rem;
}

.store-admin-order-top strong,
.store-admin-abandoned-card strong {
  color: var(--brand-navy);
  font-size: 0.78rem;
}

.store-admin-order-top span,
.store-admin-abandoned-card span {
  color: #64748b;
  font-size: 0.67rem;
}

.store-admin-order-total {
  color: var(--brand-orange-text) !important;
  white-space: nowrap;
}

.store-admin-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: #64748b;
  font-size: 0.67rem;
}

.store-admin-order-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.store-admin-order-meta svg {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--brand-orange-text);
}

.store-admin-order-items,
.store-admin-abandoned-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.store-admin-order-items span,
.store-admin-abandoned-items span {
  padding: 0.3rem 0.45rem;
  border-radius: 5px;
  background: #f1f5f7;
  color: #475569;
  font-size: 0.65rem;
}

.store-admin-order-actions {
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-top: 0.7rem;
  border-top: 1px solid #edf0f2;
}

.store-admin-order-actions label {
  display: grid;
  gap: 0.25rem;
}

.store-admin-order-actions label > span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 800;
}

.store-admin-order-actions select {
  min-width: 10rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #d8e1e6;
  border-radius: 6px;
  background: #fff;
  color: var(--brand-navy);
  font: inherit;
  font-size: 0.68rem;
}

.store-admin-empty {
  padding: 2rem 1rem;
  border: 1px dashed #d8e1e6;
  border-radius: 9px;
  color: #64748b;
  font-size: 0.75rem;
  text-align: center;
}

.store-admin-empty.is-error {
  color: #a54b39;
}

.admin-checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.3rem;
  color: var(--brand-navy);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-checkbox-field input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand-orange);
}

.cart-cross-sell {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid #ffe0a3;
  border-radius: 8px;
  background: #fffaf0;
}

.cart-cross-sell-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-cross-sell-heading span {
  color: var(--brand-navy);
  font-size: 0.72rem;
  font-weight: 800;
}

.cart-cross-sell-heading small {
  color: var(--brand-orange-text);
  font-size: 0.62rem;
  font-weight: 700;
}

.cart-cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.cart-cross-sell-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.4rem;
  border: 1px solid #f3dfb7;
  border-radius: 6px;
  background: #fff;
  color: var(--brand-navy);
  cursor: pointer;
  text-align: left;
}

.cart-cross-sell-item:hover {
  border-color: var(--brand-orange);
}

.cart-cross-sell-item img {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 4px;
  object-fit: cover;
}

.cart-cross-sell-item span {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.cart-cross-sell-item strong,
.cart-cross-sell-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-cross-sell-item strong {
  font-size: 0.6rem;
}

.cart-cross-sell-item small {
  color: var(--brand-orange-text);
  font-size: 0.58rem;
  font-weight: 800;
}

.cart-cross-sell-item > svg {
  width: 0.85rem;
  height: 0.85rem;
  margin-left: auto;
  color: var(--brand-orange-text);
}

.checkout-view {
  display: grid;
  gap: 1rem;
}

.checkout-view-heading,
.checkout-payment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-view-heading h3 {
  margin-top: 0.25rem;
  font-size: 1.15rem;
}

.cart-modal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
}

.cart-modal-back:hover {
  color: var(--brand-orange-text);
}

.cart-modal-back svg {
  width: 0.85rem;
  height: 0.85rem;
}

.checkout-form {
  display: grid;
  gap: 0.9rem;
}

.checkout-login-required {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0 0.5rem;
  text-align: center;
}

.checkout-login-required h3 {
  font-size: 1.2rem;
}

.checkout-login-required > p {
  max-width: 25rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.checkout-login-required-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--brand-orange-text);
}

.checkout-login-required-icon svg,
.checkout-loading-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.checkout-loading-icon {
  color: var(--brand-orange-text);
  animation: checkoutSpin 0.9s linear infinite;
}

@keyframes checkoutSpin {
  to { transform: rotate(360deg); }
}

.checkout-demo-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #fde68a;
  border-radius: 0.6rem;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.68rem;
}

.client-demo-credentials {
  margin-top: 0.65rem;
  color: #94a3b8;
  font-size: 0.68rem;
}

.client-captcha {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #f8fafc;
}

.client-captcha-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 800;
}

.client-captcha-heading button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.45rem;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
}

.client-captcha-heading button:hover {
  border-color: #f59e0b;
  color: #b45309;
}

.client-captcha-heading svg {
  width: 0.85rem;
  height: 0.85rem;
}

.client-captcha-question {
  min-height: 1.15rem;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
}

.client-captcha > input[name="captchaAnswer"] {
  width: 7rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.45rem;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.78rem;
}

.client-captcha > input[name="captchaAnswer"]:focus {
  outline: 2px solid rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
}

.client-captcha > input[name="website"] {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.checkout-payment-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid #cfe3ed;
  border-radius: 8px;
  background: #f5fbfe;
}

.checkout-payment-heading span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 800;
}

.checkout-payment-heading svg {
  width: 1rem;
  height: 1rem;
  color: #1584a5;
}

.checkout-payment-heading strong {
  color: #1584a5;
  font-size: 0.72rem;
}

.checkout-payment-card p,
.checkout-note {
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.5;
}

.checkout-payment-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-navy);
  font-size: 0.68rem;
  font-weight: 700;
}

.checkout-payment-option input {
  accent-color: #1584a5;
}

.checkout-total-box {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid #e1e8ec;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.72rem;
}

.checkout-total-box span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-total-box strong {
  color: var(--brand-navy);
}

.checkout-total-box .checkout-grand-total {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px solid #edf0f2;
  color: var(--brand-navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-grand-total strong {
  color: var(--brand-orange-text);
}

.checkout-success {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1rem 0 0.5rem;
  text-align: center;
}

.checkout-success h3 {
  font-size: 1.2rem;
}

.checkout-success > p {
  max-width: 25rem;
  color: #64748b;
  font-size: 0.75rem;
}

.checkout-success-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 999px;
  background: #e8f7ee;
  color: #238052;
}

.checkout-success-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.checkout-reference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 22rem);
  gap: 0.55rem 1rem;
  padding: 0.8rem;
  border: 1px solid #ffe0a3;
  border-radius: 8px;
  background: #fffaf0;
  text-align: left;
}

.checkout-reference span {
  color: #64748b;
  font-size: 0.66rem;
}

.checkout-reference strong {
  color: var(--brand-navy);
  font-size: 0.72rem;
  text-align: right;
}

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

  .store-admin-overview-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .muntugest-carousel-content {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .store-admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-admin-order-top,
  .store-admin-abandoned-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-admin-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-admin-order-actions label,
  .store-admin-order-actions select,
  .store-admin-order-actions button {
    width: 100%;
  }

  .cart-cross-sell-grid,
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Private owner dashboard */
.private-page {
  min-height: 70vh;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 165, 0, 0.08), transparent 24rem),
    linear-gradient(180deg, #f5f6f7 0%, #fff 30rem);
}

.private-heading {
  max-width: 48rem;
}

.private-access-message {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid #d8e6df;
  border-radius: 9px;
  background: #f0f9f4;
  color: #24634b;
  font-size: 0.8rem;
  font-weight: 700;
}

.private-access-message.is-denied {
  border-color: #ead6cf;
  background: #fff6f3;
  color: #9a4938;
}

.private-access-message.is-approved {
  border-color: #c8e4d8;
  background: #eef7f3;
  color: #24634b;
}

.private-access-message.is-login,
.private-access-message.is-setup {
  border-color: #d7e1e7;
  background: #f7fafc;
  color: var(--brand-navy);
}

.private-auth-panel {
  max-width: 52rem;
}

.private-login-trigger {
  margin-top: 0.85rem;
}

.private-login-trigger.hidden {
  display: none;
}

.private-modal-open {
  overflow: hidden;
}

.private-login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.private-login-modal.hidden {
  display: none;
}

.private-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
}

.private-login-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-height: min(42rem, calc(100vh - 2rem));
  overflow-y: auto;
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.private-modal-close {
  position: absolute;
  z-index: 2;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #dce4e9;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.private-modal-close:hover {
  border-color: var(--brand-orange-border);
  background: var(--brand-orange-light);
  color: var(--brand-orange-text);
}

.private-modal-close svg {
  width: 1rem;
  height: 1rem;
}

.private-login-card {
  padding: 1.25rem;
  border: 1px solid #dce4e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 37, 54, 0.06);
}

.private-auth-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.private-auth-heading h2 {
  margin-top: 0.15rem;
  color: var(--brand-navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.private-auth-heading > i {
  color: var(--brand-orange-text);
}

.private-auth-note {
  margin-bottom: 0.85rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.5;
}

.private-form-error {
  min-height: 1.2rem;
  margin-top: 0.7rem;
  color: #a54b39;
  font-size: 0.75rem;
  font-weight: 700;
}

.private-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #dce5ea;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-navy);
  font-size: 0.78rem;
}

.private-user-bar > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.private-save-status {
  color: var(--brand-orange-text);
  font-weight: 700;
  text-align: right;
}

.private-user-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.private-logout-button,
.admin-remove-product {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  color: #8b3f34;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
}

.private-logout-button:hover,
.admin-remove-product:hover {
  color: #b42318;
}

.private-logout-button svg,
.admin-remove-product svg {
  width: 0.9rem;
  height: 0.9rem;
}

.private-editor-stack {
  display: grid;
  gap: 1rem;
}

.private-editor-card {
  padding: 1.25rem;
  border: 1px solid #dce4e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 37, 54, 0.045);
}

.private-editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #edf0f2;
}

.private-editor-heading > i {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-orange-text);
}

.admin-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-inline-actions > svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-orange-text);
}

.private-editor-heading h2 {
  margin-top: 0.15rem;
  color: var(--brand-navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.admin-form-grid,
.admin-services-grid,
.admin-products-grid,
.admin-indicators-grid {
  display: grid;
  gap: 0.8rem;
}

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

.admin-carousel-grid {
  display: grid;
  gap: 1rem;
}

.admin-carousel-slide-item {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid #dce5ea;
  border-radius: 12px;
  background: #fbfcfd;
}

.admin-carousel-slide-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e8eef1;
}

.admin-carousel-slide-header > div {
  display: grid;
  gap: 0.2rem;
}

.admin-carousel-slide-header strong {
  color: var(--brand-navy);
  font-size: 0.85rem;
}

.admin-carousel-image-key {
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
}

.admin-carousel-slide-body {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.6fr);
  gap: 1rem;
  align-items: start;
}

.admin-carousel-preview {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid #e1e8ec;
  border-radius: 8px;
  background: #e8edf0;
}

.admin-carousel-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-carousel-fields {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.admin-carousel-fields .admin-form-grid {
  gap: 0.65rem;
}

.admin-form-grid-compact {
  gap: 0.65rem;
}

.admin-field {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-field > span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid #d4dee4;
  border-radius: 7px;
  background: #fbfcfd;
  color: var(--text-main);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-field textarea {
  resize: vertical;
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: var(--brand-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.13);
}

.admin-services-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .admin-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid #dce5ea;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-service-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.admin-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}

.admin-service-header-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-navy);
}

.admin-service-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-service-btn:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  color: var(--brand-navy);
}

.admin-service-btn.admin-service-remove {
  border-color: #fecdd3;
  color: #e11d48;
  background: #fff1f2;
}

.admin-service-btn.admin-service-remove:hover {
  border-color: #fda4af;
  background: #ffe4e6;
  color: #be123c;
}

.admin-icon-picker-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-icon-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-height: 85px;
  overflow-y: auto;
  padding: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.admin-icon-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  font-size: 0.7rem;
  transition: all 0.15s ease;
}

.admin-icon-chip-btn:hover,
.admin-icon-chip-btn.is-active {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #d97706;
  transform: scale(1.08);
}

.admin-service-preview-mini {
  margin-top: 0.4rem;
  padding: 0.75rem;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-product-item {
  display: grid;
  gap: 0.7rem;
}

.admin-product-item-heading,
.admin-indicator-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--brand-navy);
  font-size: 0.72rem;
}

.admin-product-item-heading span,
.admin-indicator-heading span {
  color: #94a3b8;
  font-size: 0.65rem;
  text-align: right;
}

.admin-product-item-heading .admin-remove-product {
  margin-left: auto;
}

.admin-product-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-product-flags label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-product-flags input {
  accent-color: var(--brand-orange);
}

.admin-product-list {
  display: grid;
  gap: 0.55rem;
}

.admin-product-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-width: 0;
  border: 1px solid #e1e8ec;
  border-radius: 9px;
  background: #fbfcfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-product-list-item:hover {
  border-color: #c8d5dc;
  background: #fff;
  box-shadow: 0 5px 14px rgba(20, 37, 54, 0.06);
}

.admin-product-list-open {
  display: grid;
  grid-template-columns: 2rem 3rem minmax(8rem, 1fr) minmax(6rem, auto) minmax(6rem, auto) auto;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.admin-product-list-index {
  color: #a7b4bd;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-product-list-image {
  display: block;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border: 1px solid #e5ebee;
  border-radius: 7px;
  background: #fff;
}

.admin-product-list-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-product-list-copy {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.admin-product-list-copy strong {
  overflow: hidden;
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-list-copy small,
.admin-product-list-price,
.admin-product-list-stock {
  overflow: hidden;
  color: #718196;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-list-price {
  color: var(--brand-navy);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-product-list-stock.is-available {
  color: #16815c;
  font-weight: 700;
}

.admin-product-list-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand-orange-text);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-product-list-edit svg {
  width: 0.9rem;
  height: 0.9rem;
}

.admin-product-list-item > .admin-remove-product {
  align-self: center;
  margin: 0 0.55rem 0 0;
  padding: 0.5rem;
  border-radius: 6px;
}

.admin-product-list-item > .admin-remove-product:hover {
  background: #fff1f0;
}

.admin-product-pagination-meta {
  margin-top: 1rem;
  color: #7b8ca1;
  font-size: 0.7rem;
  text-align: center;
}

.admin-product-pagination {
  margin-top: 0.7rem;
}

.admin-product-pagination .store-pagination-btn {
  min-width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
}

.admin-product-editor-form {
  display: grid;
  gap: 0.9rem;
}

.admin-product-editor-heading,
.admin-product-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-product-editor-heading {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #edf0f2;
}

.admin-product-editor-heading > div {
  display: grid;
  gap: 0.15rem;
}

.admin-product-editor-heading strong {
  color: var(--brand-navy);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
}

.admin-product-editor-close {
  position: static;
  flex: 0 0 auto;
}

.admin-product-editor-actions {
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.admin-indicators-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-indicator-item {
  display: grid;
  gap: 0.7rem;
}

.private-save-button {
  justify-self: start;
}

.private-content-save {
  white-space: nowrap;
}

.private-admin-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.private-admin-sidebar {
  position: sticky;
  top: 6rem;
  padding: 0.85rem;
  border: 1px solid #dce4e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 37, 54, 0.045);
}

.private-admin-sidebar-heading {
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 0.45rem 0.8rem;
  border-bottom: 1px solid #edf0f2;
}

.private-admin-sidebar-heading strong {
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.private-admin-nav {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.65rem;
}

.private-admin-nav-item,
.private-admin-summary-card {
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.private-admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.55rem;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.private-admin-nav-item svg {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
}

.private-admin-nav-item:hover,
.private-admin-nav-item.is-active {
  background: var(--brand-orange-light);
  color: var(--brand-orange-text);
}

.private-admin-nav-item.is-active svg,
.private-admin-nav-item:hover svg {
  color: var(--brand-orange-text);
}

.private-admin-main {
  min-width: 0;
}

.admin-delegates-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.admin-delegate-form,
.admin-delegates-list {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.admin-delegate-form {
  padding: 1rem;
  border: 1px solid #e1e8ec;
  border-radius: 10px;
  background: #fbfcfd;
}

.admin-field-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand-navy);
  font-size: 0.7rem;
  font-weight: 800;
}

.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.admin-permission-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.45rem 0.5rem;
  border: 1px solid #e1e8ec;
  border-radius: 7px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-permission-option input {
  accent-color: var(--brand-orange);
}

.admin-delegate-form-actions,
.admin-delegate-actions,
.admin-delegate-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.admin-delegate-form-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.admin-delegate-item {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid #e1e8ec;
  border-radius: 9px;
  background: #fff;
}

.admin-delegate-heading strong {
  display: block;
  color: var(--brand-navy);
  font-size: 0.78rem;
}

.admin-delegate-heading span {
  display: block;
  margin-top: 0.15rem;
  color: #94a3b8;
  font-size: 0.63rem;
}

.admin-delegate-status,
.admin-delegate-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
}

.admin-delegate-status {
  padding: 0.25rem 0.5rem;
  background: #ecfdf5;
  color: #047857;
}

.admin-delegate-status.is-inactive {
  background: #f1f5f9;
  color: #64748b;
}

.admin-delegate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-delegate-tags span {
  padding: 0.25rem 0.45rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.admin-delegate-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-top: 0.2rem;
  border-top: 1px solid #f1f5f9;
}

.private-admin-section:not(.is-active) {
  display: none;
}

.private-admin-section.is-active {
  display: block;
}

.private-admin-section.private-editor-stack.is-active {
  display: grid;
}

.private-overview-section {
  min-width: 0;
}

.private-admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.private-admin-summary-card {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid #e1e8ec;
  border-radius: 9px;
  background: #fbfcfd;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.private-admin-summary-card:hover {
  border-color: var(--brand-orange-border);
  background: var(--brand-orange-light);
  transform: translateY(-2px);
}

.private-admin-summary-icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 0.2rem;
  border-radius: 7px;
  background: var(--brand-orange-light);
  color: var(--brand-orange-text);
}

.private-admin-summary-icon svg {
  width: 1rem;
  height: 1rem;
}

.private-admin-summary-card strong {
  color: var(--brand-navy);
  font-size: 0.75rem;
}

.private-admin-summary-card small {
  color: #64748b;
  font-size: 0.65rem;
  line-height: 1.35;
}

.private-admin-form {
  display: grid;
  gap: 1rem;
}

.admin-images-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-footer-logos-grid {
  display: grid;
  gap: 1rem;
}

.admin-footer-logo-item {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 0.9rem;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid #e1e8ec;
  border-radius: 9px;
  background: #fbfcfd;
}

.admin-footer-logo-preview {
  aspect-ratio: 16 / 9;
  align-self: start;
  overflow: hidden;
  border-radius: 7px;
  background: #e8edf0;
}

.admin-footer-logo-preview.is-brand {
  background: #172536;
}

.admin-footer-logo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-footer-logo-fields {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
}

.admin-footer-partners {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.25rem;
}

.admin-footer-partners-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 0.15rem;
  border-bottom: 1px solid #edf0f2;
}

.admin-footer-partners-heading h3 {
  margin-top: 0.15rem;
  color: var(--brand-navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.admin-footer-partners-heading > span {
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-footer-carousel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  color: #64748b;
  font-size: 0.72rem;
}

.admin-footer-carousel-link .btn-outline {
  flex: 0 0 auto;
}

.admin-image-item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.8rem;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid #e1e8ec;
  border-radius: 9px;
  background: #fbfcfd;
}

.admin-image-preview {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 7px;
  background: #e8edf0;
}

.admin-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-fields {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
}

.admin-image-heading {
  display: grid;
  gap: 0.1rem;
}

.admin-image-heading strong {
  color: var(--brand-navy);
  font-size: 0.74rem;
}

.admin-image-heading span {
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.63rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-upload-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d4dee4;
  border-radius: 7px;
  background: #fff;
  color: var(--brand-navy);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
}

.admin-upload-field:hover {
  border-color: var(--brand-orange-border);
  color: var(--brand-orange-text);
}

.admin-upload-field span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-upload-field svg {
  width: 0.85rem;
  height: 0.85rem;
}

.admin-upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.admin-image-status {
  color: #94a3b8;
  font-size: 0.62rem;
  line-height: 1.35;
}

.admin-videos-grid {
  display: grid;
  gap: 0.8rem;
}

.admin-videos-toolbar {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  margin: 1rem 0;
  padding: 0.85rem;
  border: 1px solid #e1e8ec;
  border-radius: 9px;
  background: #fbfcfd;
}

.admin-videos-toolbar .admin-youtube-channel-field {
  flex: 1 1 auto;
}

.admin-videos-toolbar .admin-youtube-channel-field small {
  display: block;
  margin-top: 0.25rem;
  color: #94a3b8;
  font-size: 0.62rem;
  line-height: 1.35;
}

.admin-videos-toolbar .btn-primary {
  flex: 0 0 auto;
  white-space: nowrap;
}

.admin-videos-toolbar .btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.admin-video-item {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 0.9rem;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid #e1e8ec;
  border-radius: 9px;
  background: #fbfcfd;
}

.admin-video-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  align-self: start;
  overflow: hidden;
  border-radius: 7px;
  background: #e8edf0;
}

.admin-video-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-video-preview span {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
}

.admin-video-fields {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
}

.admin-video-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-video-heading strong {
  color: var(--brand-navy);
  font-size: 0.74rem;
}

.admin-video-heading span {
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
}

.admin-video-status {
  color: #94a3b8;
  font-size: 0.62rem;
  line-height: 1.35;
}

.admin-video-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-video-featured input {
  accent-color: var(--brand-orange);
}

.admin-events-editor,
.admin-resources-editor {
  display: grid;
  gap: 0.8rem;
}

.admin-event-item,
.admin-resource-item {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.8rem;
  border: 1px solid #e1e8ec;
  border-radius: 0.7rem;
  background: #fbfcfd;
}

.admin-event-preview,
.admin-resource-preview {
  align-self: start;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #e8edf0;
}

.admin-event-preview img,
.admin-resource-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-resource-preview {
  aspect-ratio: 3 / 4;
}

.admin-event-fields,
.admin-resource-fields {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
}

.admin-event-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-event-heading strong,
.admin-resource-fields strong {
  color: var(--brand-navy);
  font-size: 0.78rem;
}

.admin-resource-fields > span {
  color: #64748b;
  font-size: 0.68rem;
}

.admin-event-heading > div {
  display: grid;
  gap: 0.18rem;
}

.admin-event-heading small,
.admin-field > small {
  color: #94a3b8;
  font-size: 0.62rem;
  line-height: 1.35;
}

.admin-event-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-event-data-grid textarea {
  min-height: 8rem;
  font-size: 0.72rem;
  line-height: 1.55;
}

.admin-event-speaker-photos {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px dashed #d4dee4;
  border-radius: 0.55rem;
  background: #f8fafc;
}

.admin-event-subfield-title {
  color: var(--brand-navy);
  font-size: 0.7rem;
  font-weight: 800;
}

.admin-event-speaker-photo-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid #e1e8ec;
  border-radius: 0.45rem;
  background: #fff;
}

.admin-event-speaker-mini-preview {
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #e8edf0;
}

.admin-event-speaker-mini-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-event-speaker-photo-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.admin-event-speaker-photo-fields strong,
.admin-event-speaker-photo-fields input,
.admin-event-speaker-photo-fields small {
  grid-column: 1 / -1;
}

.admin-event-speaker-photo-fields strong {
  overflow: hidden;
  color: var(--brand-navy);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-event-speaker-photo-fields input {
  width: 100%;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid #d4dee4;
  border-radius: 0.4rem;
  background: #fbfcfd;
  color: var(--text-main);
  font: inherit;
  font-size: 0.7rem;
}

.admin-event-speaker-photo-fields .admin-upload-field {
  grid-column: 1 / -1;
}

.admin-event-speaker-empty {
  color: #94a3b8;
  font-size: 0.65rem;
}

.admin-event-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
}

.admin-event-sales-block {
  margin-top: 1rem;
  padding-top: 0.4rem;
  border-top: 1px solid #edf0f2;
}

.admin-event-sales-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.admin-event-sales-summary > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem;
  border: 1px solid #e1e8ec;
  border-radius: 0.55rem;
  background: #fbfcfd;
}

.admin-event-sales-summary span {
  color: #64748b;
  font-size: 0.63rem;
  font-weight: 700;
}

.admin-event-sales-summary strong {
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.admin-event-sales-table {
  display: grid;
  min-width: 46rem;
}

.admin-event-sales-row {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 0.7fr 0.85fr 1.2fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #edf0f2;
  font-size: 0.7rem;
}

.admin-event-sales-row > div {
  min-width: 0;
}

.admin-event-sales-row strong,
.admin-event-sales-row small {
  display: block;
}

.admin-event-sales-row strong {
  overflow: hidden;
  color: var(--brand-navy);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-event-sales-row small {
  margin-top: 0.18rem;
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-event-sales-head {
  border-radius: 0.45rem;
  color: #64748b;
  background: #f8fafc;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-event-sales-total {
  color: #c2410c;
  font-weight: 800;
}

.admin-event-order-status {
  display: inline-flex;
  padding: 0.22rem 0.42rem;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 0.61rem;
  font-weight: 800;
}

.admin-event-order-status.is-confirmed {
  color: #047857;
  background: #d1fae5;
}

.admin-event-order-status.is-cancelled {
  color: #be123c;
  background: #ffe4e6;
}

.admin-event-sales-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-event-sales-actions select {
  min-width: 0;
  padding: 0.38rem;
  border: 1px solid #d4dee4;
  border-radius: 0.4rem;
  color: #475569;
  background: #fff;
  font: inherit;
  font-size: 0.62rem;
}

.admin-resource-item {
  grid-template-columns: 10rem minmax(0, 1fr);
}

@media (max-width: 767px) {
  .private-page {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .private-editor-card {
    padding: 1rem;
  }

  .store-admin-product-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .store-admin-product-actions .btn-outline,
  .store-admin-product-actions .btn-primary {
    flex: 1 1 auto;
  }

  .admin-form-grid,
  .admin-services-grid,
  .admin-products-grid,
  .admin-indicators-grid,
  .admin-video-item {
    grid-template-columns: 1fr;
  }

  .admin-product-list-open {
    grid-template-columns: 1.6rem 2.75rem minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .admin-product-list-price {
    grid-column: 3;
    grid-row: 2;
  }

  .admin-product-list-stock {
    grid-column: 3;
    grid-row: 3;
  }

  .admin-product-list-edit {
    grid-column: 4;
    grid-row: 1 / span 3;
  }

  .admin-product-list-image {
    width: 2.75rem;
    height: 2.75rem;
  }

  .private-user-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .private-save-status {
    text-align: left;
  }

  .private-save-button {
    width: 100%;
  }

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

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

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

  .private-admin-sidebar {
    position: static;
  }

  .private-admin-nav {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .private-admin-nav-item {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .private-admin-summary-grid,
  .admin-images-grid {
    grid-template-columns: 1fr;
  }

  .private-content-save {
    width: 100%;
  }

  .private-user-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
  }

  .private-user-actions .private-content-save {
    order: -1;
  }

  .admin-image-item {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .admin-footer-logo-item {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .admin-footer-carousel-link {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-carousel-slide-body {
    grid-template-columns: 1fr;
  }

  .admin-video-item {
    gap: 0.7rem;
  }

  .admin-event-item,
  .admin-resource-item {
    grid-template-columns: 1fr;
  }

  .admin-event-data-grid,
  .admin-event-sales-summary {
    grid-template-columns: 1fr;
  }

  .admin-event-sales-table {
    min-width: 42rem;
  }

  .admin-videos-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-videos-toolbar .btn-primary {
    width: 100%;
  }
}

/* Toast */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.corp-toast {
  pointer-events: auto;
  background: #0f172a;
  border-left: 4px solid var(--brand-orange);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: toastSlide 0.25s ease forwards;
}

@keyframes toastSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 22px rgba(18, 140, 126, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.55);
}
.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* Marketplace store layout */
.store-page {
  min-height: 70vh;
  padding: 0 1.25rem 4rem;
  background: #f7f8fa;
}

.store-market-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 88rem);
  margin: 0 auto;
  padding: 2rem 0 1.35rem;
}

.store-market-header h1 {
  margin-top: 0.35rem;
  color: var(--brand-navy);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
}

.store-market-header p {
  max-width: 42rem;
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.86rem;
}

.store-market-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-benefits-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 88rem);
  margin: 0 auto 1.5rem;
  border-top: 1px solid #e1e7eb;
  border-bottom: 1px solid #e1e7eb;
  background: #fff;
}

.store-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 1rem 1.25rem;
  border-right: 1px solid #dce4e9;
}

.store-benefit-item:last-child {
  border-right: 0;
}

.store-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: #fff7ed;
  color: #ea580c;
}

.store-benefit-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.store-benefit-item > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.store-benefit-item strong {
  color: var(--brand-navy);
  font-size: 0.82rem;
  line-height: 1.2;
}

.store-benefit-item small,
.store-benefit-item a {
  overflow: hidden;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-benefit-item a {
  color: #c2410c;
  font-weight: 600;
  text-decoration: none;
}

.store-benefit-item a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid #dbe3e8;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--brand-navy);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.store-cart-button:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange-text);
  box-shadow: 0 4px 12px rgba(20, 37, 54, 0.08);
}

.store-market-layout {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  gap: 1.5rem;
  width: min(100%, 88rem);
  margin: 0 auto;
  align-items: start;
}

.store-sidebar {
  min-width: 0;
  padding: 0.4rem 1.25rem 2rem 0;
  border-right: 1px solid #dce4e9;
}

.store-filter-section {
  padding: 0 0 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #dce4e9;
}

.store-filter-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.store-filter-section h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--brand-navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.store-filter-section h2 svg {
  color: var(--brand-orange);
  stroke-width: 2.8;
}

.store-select-wrap {
  display: block;
}

.store-select-wrap select,
.store-sort-select {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #edf1f4;
  border-radius: 0.45rem;
  background: #fbfcfd;
  color: var(--brand-navy);
  font: inherit;
  font-size: 0.78rem;
  outline: none;
}

.store-select-wrap select:focus,
.store-sort-select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.12);
}

.store-stock-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  color: var(--brand-navy);
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
}

.store-stock-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.store-toggle-track {
  display: inline-flex;
  align-items: center;
  width: 2rem;
  height: 1.1rem;
  padding: 0.14rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.2s ease;
}

.store-toggle-track span {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.store-stock-toggle input:checked + .store-toggle-track {
  background: #1677f2;
}

.store-stock-toggle input:checked + .store-toggle-track span {
  transform: translateX(0.9rem);
}

.store-stock-toggle input:focus-visible + .store-toggle-track {
  outline: 3px solid rgba(22, 119, 242, 0.2);
  outline-offset: 2px;
}

.store-category-list {
  display: grid;
}

.store-sidebar-category {
  width: 100%;
  padding: 0.58rem 0;
  border: 0;
  border-bottom: 1px solid #e7edf1;
  background: transparent;
  color: #8aa0bd;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.store-sidebar-category:hover,
.store-sidebar-category.is-active {
  padding-left: 0.1rem;
  color: var(--brand-orange-text);
}

.store-sidebar-category[data-cat="all"] {
  color: var(--brand-navy);
}

.store-sidebar-category[data-cat="all"].is-active {
  color: var(--brand-orange-text);
}

.store-active-filters {
  display: grid;
  gap: 0.55rem;
}

.store-active-filter,
.store-no-active-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.store-active-filter {
  border: 1px solid #8bd6ad;
  background: #eaf8f0;
  color: #13824f;
}

.store-no-active-filters {
  color: #94a3b8;
  font-weight: 600;
}

.store-clear-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.35rem;
  margin-top: 0.9rem;
  border: 1px solid #ef5350;
  border-radius: 0.4rem;
  background: #fff;
  color: #e53935;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.store-clear-filters:hover {
  background: #fff1f1;
}

.store-market-results {
  min-width: 0;
}

.store-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.35rem;
  margin: 0 0 0.9rem;
  color: #7b8ca1;
  font-size: 0.76rem;
}

.store-results-toolbar strong {
  color: var(--brand-navy);
}

.store-results-toolbar .store-sort-select {
  width: auto;
  min-width: 11rem;
  background: #fff;
}

.store-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.store-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2.25rem;
}

.store-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.75rem;
  border: 1px solid #e2eaf0;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--brand-navy);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.store-pagination-btn:hover:not(:disabled):not(.is-active) {
  border-color: var(--brand-orange);
  background: #fffaf0;
  color: var(--brand-orange-text);
}

.store-pagination-btn.is-active {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
  color: #fff;
}

.store-pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.store-pagination-btn.store-pagination-arrow {
  min-width: 2.35rem;
  padding: 0;
}

.store-market-card {
  min-width: 0;
  min-height: 18.5rem;
  padding: 0 !important;
  overflow: hidden;
  border-color: #e6ebef;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(20, 37, 54, 0.025);
}

.store-market-card > div:first-child {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.store-market-image {
  height: 8.75rem;
  flex: 0 0 8.75rem;
  margin: 0 0 0.75rem;
  border: 0;
  border-bottom: 1px solid #edf1f4;
  border-radius: 0;
  background: #fff;
}

.store-market-image img {
  padding: 0.75rem;
}

.store-market-card > div:first-child > .store-market-category,
.store-market-card > div:first-child > .store-market-reference,
.store-market-card > div:first-child > .store-market-name {
  margin-inline: 0.85rem;
}

.store-market-category {
  color: #8ca2bd;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-transform: uppercase;
}

.store-market-reference {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.18rem 0.35rem;
  border-radius: 0.22rem;
  background: #f2f6fa;
  color: #56708e;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  line-height: 1.2;
}

.store-market-name {
  margin-top: 0.5rem;
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
}

.store-market-footer {
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding: 0.7rem 0.85rem 0.75rem;
  border-top-color: #edf1f4;
}

.store-market-footer .store-price {
  color: var(--brand-navy);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.store-market-footer .store-price small {
  color: #8aa0bd;
  font-size: 0.6rem;
  font-weight: 600;
}

.store-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.1rem;
  flex: 1 1 auto;
  padding: 0.38rem 0.6rem;
  border: 1px solid #e2eaf0;
  border-radius: 0.45rem;
  background: #fff;
  color: var(--brand-navy);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.store-add-button:hover {
  border-color: var(--brand-orange);
  background: #fffaf0;
  color: var(--brand-orange-text);
}

.store-add-button svg {
  color: var(--brand-navy);
}

@media (max-width: 1100px) {
  .store-market-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
  }

  .store-market-grid {
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-market-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .store-add-button {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .store-page {
    padding-inline: 1rem;
  }

  .store-market-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1.5rem;
  }

  .store-market-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .store-benefits-bar {
    grid-template-columns: 1fr;
  }

  .store-benefit-item {
    border-right: 0;
    border-bottom: 1px solid #dce4e9;
  }

  .store-benefit-item:last-child {
    border-bottom: 0;
  }

  .store-market-layout {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    padding: 0;
    border-right: 0;
  }

  .store-filter-section {
    padding: 1rem 0;
    margin: 0;
  }

  .store-filter-section:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.9rem 1rem;
    align-items: end;
  }

  .store-filter-section:first-child h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .store-stock-toggle {
    margin-top: 0;
  }

  .store-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .store-active-section {
    padding-bottom: 1.25rem;
  }

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

@media (max-width: 520px) {
  .store-market-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-market-header-actions .store-currency {
    justify-content: flex-start;
  }

  .store-market-grid {
    grid-template-columns: 1fr;
  }

  .store-results-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
  }

  .store-results-toolbar .store-sort-select {
    width: 100%;
  }
}

/* ---- Gestão de conteúdo (Artigos/Notícias/Projectos) ---- */
.admin-content-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.admin-content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}
.admin-content-item > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.admin-content-item > div:first-child strong {
  font-size: 0.9rem;
  color: #0f172a;
  line-height: 1.3;
}
.admin-content-item > div:first-child span {
  font-size: 0.75rem;
  color: #64748b;
}
.admin-content-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.admin-content-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  color: #b45309;
  background: #fef3c7;
}
.admin-content-editor {
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  padding: 1.1rem;
  background: #f8fafc;
}

.admin-content-image-upload {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid #e1e8ec;
  border-radius: 0.65rem;
  background: #fff;
}

.admin-content-image-preview {
  width: min(100%, 22rem);
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #e8edf0;
}

.admin-content-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-content-image-upload textarea[readonly] {
  background: #f8fafc;
  color: #64748b;
  cursor: default;
}

.admin-content-image-upload small {
  color: #94a3b8;
  font-size: 0.64rem;
  line-height: 1.4;
}

.store-admin-empty.is-error {
  color: #e11d48;
  font-weight: 600;
}
.btn-outline.is-danger {
  color: #e11d48;
  border-color: #fecdd3;
}
.btn-outline.is-danger:hover {
  background: #fff1f2;
  border-color: #fda4af;
}
.prose-article p {
  margin: 0.9rem 0;
}
.prose-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.2rem 0 0.5rem;
}
.prose-article ul,
.prose-article ol {
  margin: 0.8rem 0 0.8rem 1.2rem;
  list-style: disc;
}
.prose-article a {
  color: #d97706;
  text-decoration: underline;
}

/* ---- Sub-menu móvel de Softwares ---- */
.mobile-software-sublist {
  border-left: 2px solid #fde68a;
  margin-left: 0.5rem;
}

/* ---- Página Nossos softwares ---- */
.software-page {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.software-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  min-height: 25rem;
  overflow: hidden;
  border-radius: 1.75rem;
  padding: 3.5rem clamp(1.5rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.26), transparent 23rem),
    linear-gradient(118deg, #0f172a 0%, #172b43 65%, #203d53 100%);
  box-shadow: 0 24px 50px -25px rgba(15, 23, 42, 0.55);
}

.software-hero::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: 10%;
  bottom: -15rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.software-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.software-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.software-kicker > span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
}

.software-hero h1 {
  max-width: 34rem;
  margin-top: 1rem;
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.software-hero-copy > p {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.software-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.software-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f8fafc;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.software-text-link:hover {
  color: #fbbf24;
}

.software-hero-art {
  position: relative;
  min-height: 20rem;
}

.software-hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.software-hero-orbit-one {
  width: 18rem;
  height: 11rem;
}

.software-hero-orbit-two {
  width: 12rem;
  height: 18rem;
  transform: translate(-50%, -50%) rotate(42deg);
  border-color: rgba(125, 211, 252, 0.22);
}

.software-hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #f59e0b, #c2410c);
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.28);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.software-floating-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.software-floating-tag svg {
  color: #fbbf24;
}

.software-floating-tag-top {
  top: 1.2rem;
  right: 0.5rem;
}

.software-floating-tag-bottom {
  right: 0;
  bottom: 1.4rem;
}

.software-catalog {
  padding-top: 4.5rem;
}

.software-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.software-section-heading h2,
.software-cta h2 {
  margin-top: 0.35rem;
  color: #0f172a;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.software-section-heading > p {
  max-width: 16rem;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: right;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.software-showcase-card {
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.15rem;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.025);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.software-showcase-card:hover {
  border-color: #fbbf24;
  box-shadow: 0 18px 35px -20px rgba(15, 23, 42, 0.28);
  transform: translateY(-3px);
}

.software-card-topline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.software-card-number {
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
}

.software-card-category {
  color: #b45309;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.software-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: auto;
  color: #d97706;
  border-radius: 0.7rem;
  background: #fffbeb;
}

.software-card-content {
  flex: 1;
  padding-top: 2.3rem;
}

.software-card-content h3 {
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.software-card-subtitle {
  margin-top: 0.55rem;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

.software-card-description {
  margin-top: 0.7rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.65;
}

.software-feature-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.software-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #64748b;
  font-size: 0.7rem;
}

.software-feature-list svg {
  flex: 0 0 auto;
  color: #d97706;
}

.software-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.software-detail-link,
.software-adopt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 800;
}

.software-detail-link {
  color: #334155;
}

.software-detail-link:hover {
  color: #d97706;
}

.software-adopt-link {
  padding: 0.45rem 0.75rem;
  color: #ffffff;
  border-radius: 999px;
  background: #0f172a;
}

.software-adopt-link:hover {
  background: #d97706;
}

.software-empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 12rem;
  color: #64748b;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  font-size: 0.85rem;
}

.software-empty-state svg {
  color: #d97706;
}

.software-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4.5rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  border-radius: 1.25rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.software-cta p {
  margin-top: 0.4rem;
  color: #9a3412;
  font-size: 0.8rem;
}

.software-detail-page {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.software-detail-card {
  padding: clamp(1.35rem, 4vw, 3.5rem);
  border: 1px solid #e2e8f0;
  border-radius: 1.4rem;
  background: #ffffff;
  box-shadow: 0 18px 45px -28px rgba(15, 23, 42, 0.35);
}

.software-detail-heading h1 {
  margin-top: 0.6rem;
  color: #0f172a;
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.software-detail-heading p {
  margin-top: 0.55rem;
  color: #64748b;
  font-size: 0.95rem;
}

.software-detail-image {
  width: 100%;
  height: 16rem;
  margin-top: 1.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  object-fit: cover;
}

.software-detail-description {
  margin-top: 1.7rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.8;
}

.software-detail-card h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
}

.software-detail-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.software-detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem;
  color: #475569;
  border: 1px solid #f1f5f9;
  border-radius: 0.65rem;
  background: #f8fafc;
  font-size: 0.8rem;
}

.software-detail-features svg {
  flex: 0 0 auto;
  color: #d97706;
  margin-top: 0.08rem;
}

.software-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e2e8f0;
}

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

  .software-hero-art {
    position: absolute;
    width: 16rem;
    min-height: 16rem;
    right: -2rem;
    bottom: -2.5rem;
    opacity: 0.75;
    transform: scale(0.85);
  }

  .software-hero-copy {
    max-width: 32rem;
  }

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

@media (max-width: 640px) {
  .software-page {
    padding: 1rem 0.85rem 3rem;
  }

  .software-hero {
    min-height: 30rem;
    padding: 2.25rem 1.35rem;
    border-radius: 1.25rem;
  }

  .software-hero h1 {
    max-width: 19rem;
    font-size: 2.35rem;
  }

  .software-hero-copy > p {
    max-width: 18rem;
    font-size: 0.88rem;
  }

  .software-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .software-catalog {
    padding-top: 3.25rem;
  }

  .software-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .software-section-heading > p {
    max-width: 100%;
    text-align: left;
  }

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

  .software-showcase-card {
    min-height: 0;
  }

  .software-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 3.25rem;
  }

  .software-detail-features {
    grid-template-columns: 1fr;
  }
}

/* ---- Galeria / carrossel de imagens dos projectos ---- */
.project-gallery {
  position: relative;
  background: #0f172a;
}
.project-gallery-track {
  position: absolute;
  inset: 0;
}
.project-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}
.project-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.project-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background-color 0.2s ease;
  cursor: pointer;
}
.project-gallery-nav.is-prev { left: 0.6rem; }
.project-gallery-nav.is-next { right: 0.6rem; }
.project-gallery:hover .project-gallery-nav,
.project-gallery:focus-within .project-gallery-nav {
  opacity: 1;
}
.project-gallery-nav:hover {
  background: rgba(217, 119, 6, 0.9);
}
.project-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.project-gallery-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.project-gallery-dot.is-active {
  background: #f59e0b;
  transform: scale(1.25);
}

/* =====================================================================
   PAINEL DO CLIENTE (LOJA ONLINE)
   Contas em tabela própria (store_clients), separadas da administração.
   ===================================================================== */

.client-forms {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.client-page .private-heading {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.client-page .private-heading p {
  margin-inline: auto;
}

.client-page .client-auth-panel {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.client-page .private-access-message {
  justify-content: center;
  margin-inline: auto;
  text-align: center;
}

.client-page .client-form-tabs {
  display: flex;
  width: max-content;
  margin-inline: auto;
}

.client-page .client-form {
  text-align: left;
}

.client-form-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.client-form-tab {
  border: 0;
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.client-form-tab.active {
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.private-form-error {
  min-height: 1rem;
  color: #b91c1c;
  font-size: 0.78rem;
  margin-top: 0.4rem;
}

.client-orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.client-orders-list-items {
  display: grid;
  gap: 0.65rem;
}

.client-order-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.client-order-list-main {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  min-width: 0;
}

.client-order-list-main .client-order-head {
  margin: 0;
}

.client-order-list-total {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 0.12rem;
  white-space: nowrap;
}

.client-order-list-total span {
  color: #64748b;
  font-size: 0.65rem;
}

.client-order-list-total strong {
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.client-order-list-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #edf0f2;
}

.client-order-pdf-btn {
  min-height: 2.15rem;
  white-space: nowrap;
}

.client-order-details {
  min-width: 0;
}

.client-order-details > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  background: #fff;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  list-style: none;
}

.client-order-details > summary::-webkit-details-marker {
  display: none;
}

.client-order-details > summary svg {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.2s ease;
}

.client-order-details[open] > summary svg {
  transform: rotate(180deg);
}

.client-order-details > summary:hover {
  border-color: var(--brand-orange-border);
  color: var(--brand-orange-text);
  background: var(--brand-orange-light);
}

.client-order-details-body {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.7rem;
  padding: 0.8rem;
  border: 1px solid #edf0f2;
  border-radius: 9px;
  background: #f8fafc;
}

.client-order-details-meta {
  margin: 0;
}

.client-orders-pagination-meta {
  margin-top: 1rem;
  color: #7b8ca1;
  font-size: 0.7rem;
  text-align: center;
}

.client-orders-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.client-orders-pagination .store-pagination-btn {
  min-width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
}

.client-order-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.client-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.client-order-ref {
  display: block;
  font-size: 1.05rem;
  color: var(--brand-navy, #0f172a);
}

.store-order-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.store-order-status.status-pending,
.store-order-status.status-failed { background: #fff7ed; color: #c2410c; }
.store-order-status.status-processing,
.store-order-status.status-paid { background: #eff6ff; color: #1d4ed8; }
.store-order-status.status-shipped,
.store-order-status.status-refunded { background: #fdf4ff; color: #9333ea; }
.store-order-status.status-completed { background: #ecfdf5; color: #047857; }
.store-order-status.status-cancelled { background: #fef2f2; color: #b91c1c; }

.client-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.72rem;
  color: #64748b;
}

.client-order-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.client-order-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
}

.client-order-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
}

.client-order-item + .client-order-item {
  border-top: 1px solid #f1f5f9;
}

.client-order-item-count {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.client-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #475569;
}

.client-order-foot strong {
  font-size: 1rem;
  color: var(--brand-navy, #0f172a);
}

/* Botões em linha no banner da loja */
.store-promo-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* Ações no ecrã de sucesso do checkout */
.checkout-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.25rem;
}

.checkout-success-actions .btn-primary,
.checkout-success-actions .btn-outline {
  justify-content: center;
  width: 100%;
}

/* Gestão da conta do cliente: perfil, atendimento e acompanhamento */
.client-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1rem;
}

.client-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.admin-password-change {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
}

.admin-password-change h2 {
  margin-top: 0.2rem;
  color: #78350f;
  font-size: 1rem;
}

.admin-password-change p {
  margin-top: 0.3rem;
  color: #92400e;
  font-size: 0.7rem;
  line-height: 1.45;
}

.admin-password-form {
  display: grid;
  gap: 0.65rem;
}

.admin-password-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

@media (max-width: 800px) {
  .admin-password-change {
    grid-template-columns: 1fr;
  }
}

.client-card-heading,
.client-section-heading,
.client-card-heading > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.client-card-heading h2,
.client-section-heading h2 {
  margin-top: 0.18rem;
  font-size: 1.05rem;
}

.client-card-heading > svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--brand-orange-text);
}

.client-icon-button {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
}

.client-icon-button:hover {
  border-color: var(--brand-orange-border);
  color: var(--brand-orange-text);
  background: var(--brand-orange-light);
}

.client-icon-button svg {
  width: 0.95rem;
  height: 0.95rem;
}

.client-profile-form,
.client-profile-fields {
  display: grid;
  gap: 0.75rem;
}

.client-password-details {
  border-top: 1px solid #edf0f2;
  padding-top: 0.8rem;
}

.client-password-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #475569;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  list-style: none;
}

.client-password-details summary::-webkit-details-marker {
  display: none;
}

.client-password-details summary svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--brand-orange-text);
}

.client-form-status {
  min-height: 1rem;
  color: #64748b;
  font-size: 0.68rem;
}

.client-form-status.is-success {
  color: #047857;
}

.client-form-status.is-error {
  color: #b91c1c;
}

.client-messages-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 9rem;
  max-height: 15rem;
  padding: 0.25rem;
  overflow-y: auto;
  border: 1px solid #edf0f2;
  border-radius: 10px;
  background: #f8fafb;
}

.client-message {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
}

.client-message.is-client {
  align-self: flex-end;
  background: #fff1cf;
  color: #78350f;
}

.client-message.is-admin {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.client-message > span {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.client-message p {
  font-size: 0.74rem;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.client-message time {
  display: block;
  margin-top: 0.25rem;
  color: #94a3b8;
  font-size: 0.58rem;
}

.client-messages-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 8rem;
  padding: 1rem;
  color: #94a3b8;
  font-size: 0.7rem;
  text-align: center;
}

.client-messages-empty svg {
  width: 1rem;
  height: 1rem;
  color: var(--brand-orange-text);
}

.client-messages-empty.is-error {
  color: #b91c1c;
}

.client-message-form {
  display: grid;
  gap: 0.55rem;
}

.client-message-form textarea,
.client-order-edit-form textarea {
  width: 100%;
  resize: vertical;
  padding: 0.6rem 0.7rem;
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  color: var(--brand-navy);
  font: inherit;
  font-size: 0.72rem;
}

.client-message-form textarea:focus,
.client-order-edit-form textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.client-message-actions,
.client-order-edit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.client-section-heading {
  align-items: center;
}

.client-order-tracking {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.3rem;
  margin: 0;
  padding: 0.2rem 0 0.35rem;
  list-style: none;
}

.client-order-tracking li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  color: #94a3b8;
  text-align: center;
}

.client-order-tracking li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0.65rem;
  left: calc(50% + 0.8rem);
  width: calc(100% - 1.6rem);
  height: 1px;
  background: #e2e8f0;
}

.client-order-tracking li.is-done:not(:last-child)::after {
  background: var(--brand-orange-border);
}

.client-order-tracking li > span {
  z-index: 1;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.client-order-tracking li.is-done {
  color: var(--brand-orange-text);
}

.client-order-tracking li.is-done > span {
  border-color: var(--brand-orange-border);
  background: var(--brand-orange-light);
}

.client-order-tracking li.is-current > span {
  background: var(--brand-orange);
  color: #fff;
}

.client-order-tracking small {
  font-size: 0.58rem;
  line-height: 1.2;
}

.client-order-management {
  border-top: 1px solid #edf0f2;
  padding-top: 0.65rem;
}

.client-order-management summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #475569;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  list-style: none;
}

.client-order-management summary::-webkit-details-marker {
  display: none;
}

.client-order-management summary svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--brand-orange-text);
}

.client-order-edit-form {
  display: grid;
  gap: 0.65rem;
}

.client-order-cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  border: 0;
  background: transparent;
  color: #b91c1c;
  cursor: pointer;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 700;
}

.client-order-cancel svg {
  width: 0.85rem;
  height: 0.85rem;
}

.client-order-cancel:hover {
  color: #7f1d1d;
}

.client-order-cancelled {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.68rem;
  font-weight: 700;
}

.client-order-cancelled svg {
  width: 1rem;
  height: 1rem;
}

.client-admin-chat-block {
  border-top: 1px solid #edf0f2;
  padding-top: 1.1rem;
}

.client-admin-conversation {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  border: 1px solid #e1e8ec;
  border-radius: 10px;
  background: #fff;
}

.client-admin-conversation > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.client-admin-conversation > header > div {
  display: grid;
  gap: 0.1rem;
}

.client-admin-conversation > header strong {
  font-size: 0.78rem;
}

.client-admin-conversation > header > span {
  color: #64748b;
  font-size: 0.65rem;
}

.client-admin-thread {
  display: grid;
  gap: 0.45rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.45rem;
  border-radius: 8px;
  background: #f8fafb;
}

.client-admin-message {
  max-width: 82%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
}

.client-admin-message.is-client {
  background: #fff1cf;
  justify-self: start;
}

.client-admin-message.is-admin {
  background: #eaf1f5;
  justify-self: end;
}

.client-admin-message strong {
  display: block;
  color: #475569;
  font-size: 0.6rem;
}

.client-admin-message p {
  margin-top: 0.12rem;
  font-size: 0.72rem;
  line-height: 1.4;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.client-admin-message time {
  display: block;
  margin-top: 0.2rem;
  color: #94a3b8;
  font-size: 0.56rem;
}

.client-admin-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.55rem;
}

.client-admin-reply-form textarea {
  width: 100%;
  resize: vertical;
  padding: 0.55rem 0.65rem;
  border: 1px solid #dbe3e8;
  border-radius: 7px;
  font: inherit;
  font-size: 0.7rem;
}

@media (max-width: 800px) {
  .client-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .client-order-list-item {
    grid-template-columns: 1fr;
  }

  .client-order-list-total {
    justify-items: start;
  }

  .client-order-list-actions {
    grid-template-columns: 1fr;
  }

  .client-order-pdf-btn,
  .client-order-details,
  .client-order-details > summary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .client-order-tracking small {
    font-size: 0.5rem;
  }

  .client-admin-reply-form {
    grid-template-columns: 1fr;
  }

  .client-admin-reply-form button {
    justify-self: end;
  }
}

/* ============================================================
   NOSSOS SOFTWARES — TELAS DO SISTEMA & GESTÃO PRIVADA
   ============================================================ */

.software-screens-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 999px;
}

.software-card-cover {
  width: 100%;
  height: 9rem;
  margin-bottom: 0.85rem;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.software-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.software-showcase-card:hover .software-card-cover img {
  transform: scale(1.03);
}

.software-screens-showcase {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.software-screens-heading {
  margin-bottom: 1.5rem;
}

.software-screens-heading h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
}

.software-screens-heading p {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.software-screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.software-screen-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.software-screen-card:hover {
  transform: translateY(-3px);
  border-color: #fdba74;
  box-shadow: 0 12px 28px -8px rgba(234, 88, 12, 0.15);
}

.software-screen-browser-frame {
  display: flex;
  flex-direction: column;
  background: #f1f5f9;
}

.software-screen-browser-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.68rem;
}

.software-screen-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.software-screen-url-bar {
  margin-left: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.software-screen-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.software-screen-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.software-screen-card:hover .software-screen-img {
  transform: scale(1.04);
}

.software-screen-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.software-screen-card:hover .software-screen-overlay {
  opacity: 1;
}

.software-screen-zoom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: #ea580c;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.software-screen-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.software-screen-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
}

.software-screen-view-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: #ea580c;
  font-weight: 600;
}

.software-no-screens-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0.85rem;
  color: #64748b;
  font-size: 0.85rem;
}

.software-no-screens-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
}

/* Lightbox Modal para Telas do Software */
.software-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem;
}

.software-lightbox-header {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  z-index: 10;
}

.software-lightbox-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.software-lightbox-counter {
  font-size: 0.8rem;
  color: #fdba74;
  background: rgba(234, 88, 12, 0.25);
  border: 1px solid rgba(234, 88, 12, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.software-lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.software-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.85);
  transform: scale(1.08);
}

.software-lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
  margin: auto;
}

.software-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.65rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.software-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.software-lightbox-nav-btn:hover {
  background: #ea580c;
  transform: translateY(-50%) scale(1.1);
}

.software-lightbox-nav-prev {
  left: 1.5rem;
}

.software-lightbox-nav-next {
  right: 1.5rem;
}

/* ---- Gestão de Telas de Software no Painel Privado ---- */

.admin-software-thumb {
  flex-shrink: 0;
}

.admin-software-screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.admin-software-screen-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
}

.admin-software-screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-software-screen-badge {
  position: absolute;
  bottom: 0.25rem;
  left: 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.75);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

.admin-software-screen-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.admin-software-screen-remove:hover {
  background: #dc2626;
  transform: scale(1.15);
}

.admin-content-status.is-inactive {
  color: #64748b;
  background: #f1f5f9;
}
