/* =========================================================
   SYNETRA — PROJETOS V2
   Refinamento de proporção, contraste e prova de execução.
   Carregado depois de projects.css.
   ========================================================= */

/* ---------------------------------------------------------
   HOME — HERO MAIS ELEGANTE E INTEGRALMENTE VISÍVEL
   --------------------------------------------------------- */

@media (min-width: 901px) {
  .hero.section {
    padding-top: 54px !important;
    padding-bottom: 42px !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr) !important;
    gap: clamp(46px, 5vw, 84px) !important;
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(50px, 4.25vw, 68px) !important;
    line-height: 1.01 !important;
    letter-spacing: -0.045em !important;
  }

  .hero-copy .lead {
    max-width: 760px;
    margin-top: 22px !important;
    font-size: clamp(16px, 1.15vw, 19px);
    line-height: 1.68;
  }

  .hero-actions {
    margin-top: 24px !important;
  }

  .trust-row {
    margin-top: 22px !important;
  }

  .hero-visual {
    align-self: center;
    transform: translateY(-6px);
  }

  .visual-frame {
    min-height: 455px;
  }
}

@media (min-width: 901px) and (max-height: 900px) {
  .hero.section {
    padding-top: 42px !important;
    padding-bottom: 32px !important;
  }

  .hero-copy h1 {
    font-size: clamp(47px, 4vw, 62px) !important;
  }

  .visual-frame {
    min-height: 420px;
  }
}

/* ---------------------------------------------------------
   HOME — CARDS DE PROJETOS SEM TEXTO CORTADO
   --------------------------------------------------------- */

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

.project-preview-card {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.92fr);
}

.project-preview-copy {
  min-width: 0;
  padding: 30px 27px;
}

.project-preview-copy h3 {
  max-width: 100%;
  font-size: clamp(24px, 1.7vw, 31px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  hyphens: none;
}

.project-preview-copy p {
  font-size: 14px;
}

.preview-filmmaker {
  background:
    radial-gradient(circle at 88% 10%, rgba(216, 132, 255, 0.17), transparent 36%),
    radial-gradient(circle at 12% 86%, rgba(255, 46, 46, 0.15), transparent 38%),
    linear-gradient(145deg, #0f0f0f, #141414);
}

.preview-browser-bar span:first-child {
  background: #ff2e2e;
}

.preview-steps i {
  border-color: rgba(255, 46, 46, 0.28);
  color: #f0f0f0;
  background: rgba(255, 46, 46, 0.055);
}

.preview-wave b {
  background: linear-gradient(180deg, #ff2e2e, #d884ff);
}

@media (min-width: 861px) and (max-width: 1320px) {
  .project-preview-card {
    grid-template-columns: 1fr;
  }

  .project-preview-card .preview-visual {
    min-height: 240px;
  }
}

/* ---------------------------------------------------------
   PÁGINA PROJETOS — HERO COMPACTA E BEM ENQUADRADA
   --------------------------------------------------------- */

.project-hero {
  min-height: auto !important;
  padding-top: 92px !important;
  padding-bottom: 54px !important;
}

.project-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(46px, 5vw, 78px);
  align-items: center;
}

.project-hero-copy {
  align-self: center;
  transform: translateY(-12px);
}

.project-hero-copy h1 {
  max-width: 690px;
  margin: 18px 0 24px;
  font-size: clamp(54px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.project-hero-copy .lead {
  max-width: 680px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.62;
}

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

.project-proof-row {
  margin-top: 26px;
}

.project-hero-stage {
  min-height: 500px;
  transform: translateY(-22px);
}

.orbit-one {
  inset: 34px 48px;
}

.orbit-two {
  inset: 94px 112px;
}

.stage-core {
  width: 164px;
  height: 164px;
  border-radius: 36px;
}

.stage-core img {
  width: 116px;
}

.stage-card {
  width: 194px;
  padding: 16px 17px;
}

.stage-card-a { top: 14px; left: 2px; }
.stage-card-b { top: 66px; right: 0; }
.stage-card-c { right: 16px; bottom: 26px; }
.stage-card-d { bottom: 60px; left: 0; }

@media (min-width: 901px) and (max-height: 900px) {
  .project-hero {
    padding-top: 72px !important;
    padding-bottom: 34px !important;
  }

  .project-hero-copy h1 {
    font-size: clamp(50px, 4.6vw, 67px);
  }

  .project-hero-stage {
    min-height: 455px;
    transform: translateY(-30px) scale(0.96);
    transform-origin: center;
  }
}

/* ---------------------------------------------------------
   FILMMAKERSOUND — IDENTIDADE OFICIAL
   --------------------------------------------------------- */

.case-filmmaker {
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 132, 255, 0.2), transparent 34%),
    radial-gradient(circle at 8% 82%, rgba(255, 46, 46, 0.14), transparent 36%),
    #0f0f0f;
}

.case-filmmaker .case-browser-top > span:first-child {
  background: #ff2e2e;
}

.filmmaker-brand {
  color: #fff;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.055em;
}

.filmmaker-brand b {
  color: #ff2e2e;
}

.filmmaker-kicker {
  color: #d884ff;
}

.filmmaker-interface h3 {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
}

.filmmaker-steps div {
  border-color: rgba(255, 46, 46, 0.24);
  background: rgba(255, 255, 255, 0.022);
}

.filmmaker-steps span {
  color: #ff2e2e;
}

.filmmaker-player button {
  background: linear-gradient(135deg, #ff2e2e, #d884ff);
}

.filmmaker-wave i {
  background: linear-gradient(180deg, #ff2e2e, #d884ff);
}

/* ---------------------------------------------------------
   SYNETRA APP — PLATAFORMA COMPLETA E FIEL AO PRODUTO
   --------------------------------------------------------- */

.project-case-app {
  grid-template-columns: minmax(330px, 0.66fr) minmax(690px, 1.34fr);
  gap: 54px;
}

.app-product-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 610px;
  border: 1px solid rgba(216, 226, 240, 0.18);
  border-radius: 28px;
  overflow: hidden;
  background: #f4f7fb;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(34, 211, 238, 0.04) inset;
}

.app-product-sidebar {
  padding: 24px 18px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 30% 0%, rgba(29, 167, 255, 0.15), transparent 34%),
    linear-gradient(180deg, #081527, #050b18);
}

.app-product-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 4px 25px;
  border-bottom: 1px solid rgba(216, 226, 240, 0.1);
}

.app-product-brand > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #22d3ee, #1da7ff, #6d4cff);
  font-size: 18px;
  font-weight: 900;
}

.app-product-brand strong,
.app-product-brand small {
  display: block;
}

.app-product-brand strong {
  font-size: 12px;
  letter-spacing: 0.11em;
}

.app-product-brand small {
  margin-top: 3px;
  color: #a8b3c7;
  font-size: 8px;
  letter-spacing: 0.22em;
}

.app-product-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.app-product-sidebar nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #aebbd0;
  font-size: 11px;
  font-weight: 650;
}

.app-product-sidebar nav span i {
  width: 17px;
  color: #6f8099;
  font-style: normal;
  text-align: center;
}

.app-product-sidebar nav span.is-active {
  border-color: rgba(34, 211, 238, 0.18);
  color: #fff;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.15), rgba(109, 76, 255, 0.13));
  box-shadow: inset 3px 0 0 #22d3ee;
}

.app-product-sidebar nav span.is-active i {
  color: #22d3ee;
}

.app-product-main {
  min-width: 0;
  padding: 28px;
  color: #0f172a;
  background:
    radial-gradient(circle at 92% 0%, rgba(109, 76, 255, 0.075), transparent 30%),
    #f4f7fb;
}

.app-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-product-head p {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 10px;
}

.app-product-head h4 {
  margin: 0;
  color: #0f172a;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.app-product-head button {
  padding: 11px 15px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #22d3ee, #1da7ff 50%, #6d4cff);
  box-shadow: 0 10px 24px rgba(29, 167, 255, 0.2);
  font-size: 10px;
  font-weight: 850;
}

.app-product-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 22px;
}

.app-product-kpis article {
  min-width: 0;
  padding: 15px;
  border: 1px solid #d8e2f0;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.app-product-kpis small,
.app-product-kpis span {
  display: block;
  color: #64748b;
  font-size: 8px;
}

.app-product-kpis strong {
  display: block;
  margin: 9px 0 6px;
  color: #0f172a;
  font-size: clamp(14px, 1.25vw, 20px);
  white-space: nowrap;
}

.app-product-workflow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding: 13px 15px;
  border: 1px solid #d8e2f0;
  border-radius: 14px;
  background: #fff;
}

.app-product-workflow > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.app-product-workflow span i {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid #d8e2f0;
  border-radius: 50%;
  color: #64748b;
  font-size: 7px;
  font-style: normal;
}

.app-product-workflow span.is-done i,
.app-product-workflow span.is-active i {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, #22d3ee, #1da7ff, #6d4cff);
}

.app-product-workflow span.is-active {
  color: #0f172a;
}

.app-product-workflow > b {
  flex: 1;
  min-width: 12px;
  height: 1px;
  background: #d8e2f0;
}

.app-product-table-card {
  margin-top: 17px;
  border: 1px solid #d8e2f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.app-product-table-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
}

.app-product-table-head strong {
  color: #0f172a;
  font-size: 11px;
}

.app-product-table-head span {
  color: #94a3b8;
  font-size: 8px;
}

.app-product-table-row {
  display: grid;
  grid-template-columns: 0.72fr 1.35fr 1.1fr 0.72fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 12px 17px;
  border-top: 1px solid #e8eef6;
  color: #475569;
  font-size: 8px;
}

.app-product-table-row.is-label {
  color: #64748b;
  background: #f8fafc;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-product-table-row b {
  color: #4f46e5;
}

.app-product-table-row em {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.status-analysis {
  color: #6d28d9;
  background: #ede9fe;
}

.status-approved {
  color: #047857;
  background: #d1fae5;
}

.status-sent {
  color: #0369a1;
  background: #e0f2fe;
}

.app-product-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 16px;
}

.app-product-modules article {
  padding: 12px;
  border: 1px solid #d8e2f0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.74);
}

.app-product-modules strong,
.app-product-modules span {
  display: block;
}

.app-product-modules strong {
  color: #0f172a;
  font-size: 9px;
}

.app-product-modules span {
  margin-top: 5px;
  color: #64748b;
  font-size: 7px;
}

/* ---------------------------------------------------------
   DASHBOARD PRIVADO — NAVEGAÇÃO E CARA DE SISTEMA
   --------------------------------------------------------- */

.project-case-dashboard {
  grid-template-columns: minmax(680px, 1.28fr) minmax(350px, 0.72fr);
  gap: 58px;
}

.management-system {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 650px;
  border: 1px solid rgba(216, 226, 240, 0.16);
  border-radius: 28px;
  overflow: hidden;
  background: #07111f;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.management-sidebar {
  display: flex;
  flex-direction: column;
  padding: 22px 15px;
  border-right: 1px solid rgba(216, 226, 240, 0.12);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.13), transparent 32%),
    linear-gradient(180deg, #081527, #050b18);
}

.management-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #22d3ee, #1da7ff, #6d4cff);
}

.management-sidebar-title {
  margin-top: 12px;
}

.management-sidebar-title strong,
.management-sidebar-title span {
  display: block;
}

.management-sidebar-title strong {
  color: #f8fafc;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.management-sidebar-title span {
  margin-top: 3px;
  color: #a8b3c7;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.management-sidebar nav {
  display: grid;
  gap: 7px;
  margin-top: 28px;
}

.management-sidebar nav span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #91a0b6;
  font-size: 9px;
  font-weight: 700;
}

.management-sidebar nav span i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(168, 179, 199, 0.25);
}

.management-sidebar nav span.is-active {
  border-color: rgba(34, 211, 238, 0.18);
  color: white;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(109, 76, 255, 0.11));
  box-shadow: inset 3px 0 0 #22d3ee;
}

.management-sidebar nav span.is-active i {
  background: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
}

.management-sidebar > small {
  margin-top: auto;
  padding: 10px;
  border: 1px solid rgba(109, 76, 255, 0.17);
  border-radius: 10px;
  color: #cfc6ff;
  background: rgba(109, 76, 255, 0.07);
  font-size: 7px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.management-system .management-dashboard {
  min-height: 650px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

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

/* ---------------------------------------------------------
   CTA FINAL — MAIS EDITORIAL, MENOS GRITADO
   --------------------------------------------------------- */

.project-final-card {
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 60px;
  padding: clamp(34px, 4vw, 52px);
}

.project-final-card h2 {
  max-width: 820px;
  margin: 13px 0 16px;
  font-size: clamp(38px, 3.55vw, 56px);
  line-height: 1.04;
}

.project-final-card p:not(.eyebrow) {
  max-width: 820px;
}

.project-final-actions {
  min-width: 0;
}

.project-final-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.project-final-actions .btn-primary,
.project-hero-actions .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #22d3ee, #1da7ff 48%, #6d4cff) !important;
  text-shadow: 0 1px 2px rgba(5, 11, 24, 0.42);
  box-shadow:
    0 14px 30px rgba(29, 167, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.project-final-actions .btn-ghost {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.055);
}

/* ---------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------- */

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

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

  .project-case-app .project-case-copy {
    max-width: 840px;
  }
}

@media (max-width: 1080px) {
  .project-hero-grid {
    grid-template-columns: 1fr;
  }

  .project-hero-copy {
    transform: none;
  }

  .project-hero-stage {
    min-height: 470px;
    transform: translateY(-12px);
  }

  .app-product-shell {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 760px) {
  .project-hero {
    padding-top: 92px !important;
  }

  .project-hero-copy h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .app-product-shell,
  .management-system {
    grid-template-columns: 1fr;
  }

  .app-product-sidebar,
  .management-sidebar {
    display: none;
  }

  .app-product-main {
    padding: 18px;
  }

  .app-product-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-product-workflow {
    overflow-x: auto;
  }

  .app-product-table-row {
    grid-template-columns: 0.7fr 1.5fr 0.8fr;
  }

  .app-product-table-row > :nth-child(3),
  .app-product-table-row > :nth-child(4) {
    display: none;
  }

  .app-product-modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .management-system .management-dashboard {
    min-height: auto;
  }

  .project-final-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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