/* =========================================================
   SYNETRA — LAPIDAÇÃO V3
   Carregar depois de projects-v2.css.
   ========================================================= */

/* HOME — HERO MAIS LIMPA E QUADRO MAIS ALTO */
.hero-actions-clean {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px !important;
}

.hero-actions-clean .btn {
  min-width: 0;
}

@media (min-width: 901px) {
  .hero-grid {
    align-items: start !important;
  }

  .hero-visual {
    align-self: start !important;
    margin-top: 46px !important;
    transform: none !important;
  }

  .hero-copy {
    align-self: start;
  }
}

@media (min-width: 901px) and (max-height: 900px) {
  .hero-visual {
    margin-top: 28px !important;
  }
}

/* HOME — CARDS DE PROJETOS */
.project-preview-copy {
  min-width: 0;
}

.project-preview-copy h3 {
  max-width: 100%;
  font-size: clamp(22px, 1.75vw, 29px);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.preview-product-name {
  color: #f8fafc;
  font-weight: 800;
}

.preview-app-product,
.preview-management-product {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  padding: 24px;
  background:
    radial-gradient(circle at 88% 8%, rgba(109, 76, 255, 0.21), transparent 38%),
    #07101f;
}

.preview-app-product aside,
.preview-management-product aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 13px 9px;
  border: 1px solid rgba(216, 226, 240, 0.11);
  border-radius: 15px 0 0 15px;
  background: rgba(255, 255, 255, 0.025);
}

.preview-app-product aside img {
  width: 48px;
  height: auto;
  margin-bottom: 8px;
}

.preview-app-product aside i,
.preview-management-product aside i {
  width: 25px;
  height: 8px;
  border-radius: 999px;
  background: rgba(168, 179, 199, 0.16);
}

.preview-app-product aside i.is-active,
.preview-management-product aside i.is-active {
  background: linear-gradient(90deg, #22d3ee, #6d4cff);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.24);
}

.preview-app-product-main,
.preview-management-main {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(216, 226, 240, 0.11);
  border-left: 0;
  border-radius: 0 15px 15px 0;
  background: rgba(16, 26, 51, 0.76);
}

.preview-app-product-main header small,
.preview-app-product-main header strong {
  display: block;
}

.preview-app-product-main header small {
  color: #a8b3c7;
  font-size: 8px;
}

.preview-app-product-main header strong {
  margin-top: 4px;
  color: #f8fafc;
  font-size: 16px;
}

.preview-app-product-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.preview-app-product-kpis b {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 9px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
}

.preview-app-product-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.preview-app-product-flow span {
  padding: 6px 4px;
  border-radius: 7px;
  color: #cbd7e7;
  background: rgba(34, 211, 238, 0.065);
  font-size: 7px;
  text-align: center;
}

.preview-app-product-rows {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.preview-app-product-rows i {
  height: 9px;
  border-radius: 5px;
  background: rgba(168, 179, 199, 0.13);
}

.preview-management-product aside {
  justify-content: flex-start;
}

.preview-management-product aside b {
  margin-bottom: 10px;
  color: #f8fafc;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.preview-management-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.preview-management-kpis b {
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.preview-management-chart {
  position: relative;
  display: flex;
  align-items: end;
  gap: 10px;
  height: 132px;
  margin-top: 12px;
  padding: 12px 14px 0;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 33.33%,
    rgba(5, 11, 24, 0.52);
}

.preview-management-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #22d3ee, #1da7ff 56%, #6d4cff);
}

.preview-management-line {
  position: absolute;
  right: 38px;
  bottom: 90px;
  left: 96px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f8fafc, transparent);
  transform: rotate(-8deg);
  opacity: 0.68;
}

/* HOME — CONTATO */
.contact-actions button {
  font: inherit;
}

.contact-actions .btn-primary {
  color: #050b18 !important;
  font-weight: 900;
  text-shadow: none !important;
}

.contact-actions .btn-ghost {
  color: #f8fafc !important;
  font-weight: 800;
}

/* PROJETOS — HERO E RITMO */
.project-hero {
  padding-bottom: 34px !important;
}

.project-hero-actions-single {
  margin-top: 27px;
}

.project-hero-actions-single .btn {
  min-width: 190px;
  color: #f8fafc !important;
  font-weight: 850;
}

.project-cases-section {
  padding-top: 48px !important;
}

.project-cases-section .section-head {
  margin-bottom: 26px !important;
}

.project-filters {
  margin-bottom: 20px !important;
}

.project-case {
  padding-top: 48px;
  padding-bottom: 48px;
}

#filmmakersound {
  align-items: start;
}

#filmmakersound .project-case-visual {
  margin-top: -14px;
}

/* SYNETRA APP */
.project-case-app {
  align-items: start;
}

.app-product-brand-official {
  display: block;
  padding: 0 3px 22px;
}

.app-product-brand-official img {
  display: block;
  width: 125px;
  max-width: 100%;
  height: auto;
}

.app-product-brand-official small {
  margin-top: 8px;
  color: #a8b3c7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.app-product-kpis article {
  overflow: hidden;
}

.app-product-kpis strong {
  max-width: 100%;
  font-size: clamp(13px, 1.05vw, 17px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.app-product-kpis article:last-child strong {
  font-size: clamp(12px, 0.95vw, 15.5px);
}

.app-product-table-row > * {
  min-width: 0;
}

.app-product-table-row span,
.app-product-table-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* PAINEL PRIVADO */
.project-case-dashboard {
  grid-template-columns: minmax(620px, 1.14fr) minmax(390px, 0.86fr);
  gap: 50px;
  align-items: start !important;
}

.project-case-dashboard .project-case-visual,
.project-case-dashboard .project-case-copy {
  align-self: start;
}

.project-case-dashboard .project-case-copy {
  padding-top: 6px;
}

.project-case-dashboard .project-case-copy h3 {
  font-size: clamp(40px, 3.2vw, 56px);
  line-height: 1.02;
}

.management-system {
  min-height: 560px;
  grid-template-columns: 132px minmax(0, 1fr);
}

.management-sidebar {
  padding: 20px 13px;
}

.management-sidebar nav {
  margin-top: 22px;
}

.management-sidebar nav span {
  min-height: 34px;
}

.management-dashboard {
  padding: 20px;
}

.management-system .management-chart {
  height: 158px;
}

/* CTA FINAL */
.project-final-cta {
  padding-top: 34px !important;
  padding-bottom: 58px !important;
}

.project-final-card {
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 50px;
  padding: clamp(32px, 3.5vw, 46px);
}

.project-final-card h2 {
  max-width: 760px;
  font-size: clamp(34px, 3vw, 47px);
  line-height: 1.05;
}

.project-final-actions .btn-primary {
  color: #050b18 !important;
  font-weight: 900;
  text-shadow: none !important;
}

.project-final-actions .btn-ghost {
  color: #f8fafc !important;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .project-case-dashboard {
    grid-template-columns: 1fr;
  }

  .project-case-dashboard .project-case-visual,
  .project-case-dashboard .project-case-copy {
    order: initial;
  }
}

@media (max-width: 760px) {
  .project-final-card {
    grid-template-columns: 1fr;
  }

  .project-final-card h2 {
    font-size: clamp(32px, 10vw, 43px);
  }
}
