/* =========================================================
   SYNETRA — MOBILE V4
   Revisão específica para 320–760 px.
   Deve ser carregado depois de projects-v3.css.
   ========================================================= */

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
  }

  * {
    min-width: 0;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  .section {
    min-height: 0 !important;
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .site-header {
    width: 100%;
  }

  .header-wrap {
    min-height: 58px;
  }

  .brand img {
    width: 126px;
    max-width: 42vw;
    height: auto;
  }

  .menu-toggle {
    flex: 0 0 auto;
  }

  /* =======================================================
     HOME — HERO
     ======================================================= */

  .hero.section {
    padding-top: 88px !important;
    padding-bottom: 38px !important;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
  }

  .hero-copy::before {
    display: none !important;
  }

  .hero-copy h1 {
    max-width: 100%;
    margin-top: 15px;
    font-size: clamp(39px, 11.7vw, 48px) !important;
    line-height: 1.01 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
  }

  .hero-copy .lead {
    margin-top: 23px !important;
    font-size: 14.5px;
    line-height: 1.66;
  }

  .hero-actions-clean {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
    margin-top: 26px !important;
  }

  .hero-actions-clean .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    text-align: center;
  }

  .hero-visual {
    width: 100% !important;
    margin-top: 0 !important;
    transform: none !important;
  }

  .visual-frame {
    width: 100%;
    max-width: none;
    padding: 22px 18px 20px;
    border-radius: 24px;
  }

  .hero-logo {
    width: min(78%, 270px);
  }

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

  .visual-grid-cards article {
    min-height: 0;
    padding: 15px;
  }

  .strip-section {
    padding-top: 20px !important;
    padding-bottom: 28px !important;
  }

  .value-strip {
    padding: 22px !important;
  }

  /* =======================================================
     HOME — PRÉVIA DE PROJETOS
     ======================================================= */

  .projects-preview {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  .project-preview-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100%;
  }

  .project-preview-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-height: 0 !important;
    border-radius: 22px;
    overflow: hidden;
  }

  .project-preview-card .preview-visual {
    width: 100%;
    min-height: 225px !important;
    height: auto;
  }

  .project-preview-copy {
    width: 100%;
    padding: 23px 21px 25px !important;
  }

  .project-preview-copy h3 {
    margin-top: 9px;
    font-size: 25px !important;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

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

  .preview-app-product,
  .preview-management-product {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    padding: 18px !important;
  }

  .preview-management-line {
    left: 75px;
  }

  .projects-preview-action {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 22px !important;
  }

  .projects-preview-action .btn {
    width: 100%;
    text-align: center;
  }

  /* =======================================================
     HOME — RODAPÉ E CONTATO
     ======================================================= */

  .contact-card,
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .contact-card {
    padding: 27px 22px !important;
  }

  .contact-card h2 {
    font-size: clamp(34px, 9.5vw, 44px) !important;
    line-height: 1.04;
  }

  .contact-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .contact-actions .btn {
    width: 100%;
    text-align: center;
  }

  .site-footer {
    padding-top: 38px !important;
    padding-bottom: 82px !important;
  }

  /* =======================================================
     PÁGINA PROJETOS — HERO
     ======================================================= */

  .project-hero {
    padding-top: 88px !important;
    padding-bottom: 28px !important;
  }

  .project-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  .project-hero-copy h1 {
    max-width: 100%;
    margin-top: 15px;
    font-size: clamp(42px, 12vw, 52px) !important;
    line-height: 0.99 !important;
    letter-spacing: -0.05em;
  }

  .project-hero-copy .lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.6;
  }

  .project-hero-actions-single {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 24px;
  }

  .project-hero-actions-single .btn {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .project-proof-row {
    gap: 7px;
    margin-top: 22px;
  }

  .project-proof-row span {
    padding: 7px 9px;
    font-size: 10px;
  }

  .project-hero-stage {
    width: 100%;
    min-height: 500px !important;
    margin: 6px 0 22px;
    transform: none !important;
    overflow: visible;
  }

  .orbit-one {
    inset: 42px 6px !important;
  }

  .orbit-two {
    inset: 112px 58px !important;
  }

  .stage-card {
    width: 154px !important;
    padding: 13px !important;
  }

  .stage-card small {
    font-size: 9px;
  }

  .stage-card strong {
    font-size: 16px;
  }

  .stage-card span {
    font-size: 10px;
  }

  .stage-card-a {
    top: 4px !important;
    left: 0 !important;
  }

  .stage-card-b {
    top: 65px !important;
    right: 0 !important;
  }

  .stage-card-c {
    right: 0 !important;
    bottom: 5px !important;
  }

  .stage-card-d {
    bottom: 72px !important;
    left: 0 !important;
  }

  .stage-core {
    width: 138px !important;
    height: 138px !important;
  }

  .stage-core img {
    width: 96px !important;
  }

  .project-principle {
    padding-top: 10px;
    padding-bottom: 22px;
  }

  .project-principle-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 24px 22px !important;
  }

  .project-principle-card p {
    font-size: 18px;
    line-height: 1.48;
  }

  /* =======================================================
     PÁGINA PROJETOS — FILTROS E CASES
     ======================================================= */

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

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

  .project-cases-section .section-head h2 {
    font-size: clamp(36px, 10vw, 46px) !important;
    line-height: 1.03;
  }

  .project-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 -15px 20px !important;
    padding: 0 15px 8px !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .project-filter {
    flex: 0 0 auto;
  }

  .project-case,
  .project-case-app,
  .project-case-dashboard {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 26px !important;
    width: 100%;
    min-width: 0;
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  .project-case.is-reversed .project-case-visual,
  .project-case-app .project-case-visual,
  .project-case-dashboard .project-case-visual {
    order: 0 !important;
  }

  .project-case.is-reversed .project-case-copy,
  .project-case-app .project-case-copy,
  .project-case-dashboard .project-case-copy {
    order: 1 !important;
  }

  .project-case-visual,
  .project-case-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .project-case-copy {
    padding-top: 0 !important;
  }

  .project-case-copy h3 {
    font-size: clamp(35px, 10vw, 43px) !important;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .project-case-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .project-case-meta {
    gap: 7px;
  }

  .project-case-meta span {
    font-size: 9px;
  }

  .project-deliverables {
    grid-template-columns: 1fr !important;
  }

  /* FILMMAKERSOUND */

  #filmmakersound .project-case-visual {
    margin-top: 0 !important;
  }

  .case-browser {
    width: 100%;
    min-height: 0 !important;
    border-radius: 22px;
  }

  .filmmaker-interface {
    padding: 27px 20px !important;
  }

  .filmmaker-kicker {
    margin-top: 44px;
  }

  .filmmaker-interface h3 {
    font-size: clamp(40px, 11vw, 48px) !important;
    line-height: 0.98;
  }

  .filmmaker-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 36px;
  }

  /* SYNETRA APP */

  .app-product-shell {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 22px;
    overflow: hidden;
  }

  .app-product-sidebar {
    display: none !important;
  }

  .app-product-main {
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
  }

  .app-product-head {
    align-items: flex-start;
    gap: 12px;
  }

  .app-product-head h4 {
    font-size: 24px;
  }

  .app-product-head button {
    flex: 0 0 auto;
    padding: 10px 11px;
    font-size: 9px;
  }

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

  .app-product-kpis article {
    padding: 13px 12px;
  }

  .app-product-kpis strong,
  .app-product-kpis article:last-child strong {
    font-size: 15px !important;
    white-space: normal !important;
  }

  .app-product-workflow {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 11px !important;
    overflow: visible !important;
  }

  .app-product-workflow b {
    display: none !important;
  }

  .app-product-workflow span {
    width: 100%;
    justify-content: flex-start;
    padding: 7px;
    border: 1px solid rgba(29, 167, 255, 0.12);
    border-radius: 9px;
  }

  .app-product-table-card {
    overflow: hidden;
  }

  .app-product-table-row {
    grid-template-columns: 0.72fr 1.45fr 0.82fr !important;
    gap: 8px !important;
    padding: 11px 10px !important;
  }

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

  .app-product-table-row span,
  .app-product-table-row b,
  .app-product-table-row em {
    font-size: 8px !important;
  }

  .app-product-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  /* PAINEL PRIVADO */

  #painel-comercial,
  #painel-comercial .project-case-visual,
  #painel-comercial .management-system,
  #painel-comercial .management-dashboard {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #painel-comercial .management-system {
    display: block !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    border-radius: 22px;
    overflow: hidden;
  }

  #painel-comercial .management-sidebar {
    display: none !important;
  }

  #painel-comercial .management-dashboard {
    display: block !important;
    min-height: 0 !important;
    padding: 16px !important;
    border-radius: 0;
  }

  .management-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between;
    gap: 10px;
  }

  .management-head strong {
    font-size: 21px;
  }

  .management-period {
    flex: 0 0 auto;
    padding: 7px 8px;
    font-size: 8px;
  }

  .management-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 16px !important;
  }

  .management-kpis article {
    padding: 12px 10px;
  }

  .management-kpis strong {
    font-size: 15px;
  }

  .management-main-grid,
  .management-bottom-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .management-system .management-chart {
    width: 100%;
    height: 165px !important;
  }

  .management-goal {
    min-height: 180px;
    padding: 20px;
  }

  .management-ranking,
  .management-segments {
    width: 100%;
  }

  .management-segments {
    grid-template-columns: 94px minmax(0, 1fr) !important;
  }

  /* SY COMO PROJETO */

  .sy-case {
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
  }

  .sy-case-messages {
    min-height: 0;
    padding: 22px 2px;
  }

  .sy-case-messages p {
    max-width: 88%;
  }

  /* CTA FINAL */

  .project-final-cta {
    padding-top: 32px !important;
    padding-bottom: 84px !important;
  }

  .project-final-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding: 27px 22px !important;
    border-radius: 24px;
  }

  .project-final-card h2 {
    font-size: clamp(33px, 9.5vw, 42px) !important;
    line-height: 1.05;
  }

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

  .project-final-actions .btn {
    width: 100%;
    min-height: 50px;
    text-align: center;
  }
}

@media (max-width: 370px) {
  .container {
    padding-right: 13px !important;
    padding-left: 13px !important;
  }

  .hero-copy h1 {
    font-size: 38px !important;
  }

  .project-hero-copy h1 {
    font-size: 40px !important;
  }

  .stage-card {
    width: 146px !important;
  }

  .app-product-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-product-head button {
    width: fit-content;
  }

  .management-head {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .management-period {
    width: fit-content;
  }
}
