/* Pares de CTA — primário + secundário com o mesmo peso visual */

.m3-hero-cta,
.pc-hero-cta,
.pc-close-cta,
.sb-close-cta,
.hp-hero-cta-c {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1.2rem;
}

.m3-hero-cta .btn-primary,
.pc-hero-cta .btn-primary,
.pc-close-cta .btn-primary,
.sb-close-cta .btn-primary,
.hp-hero-cta-c .btn-primary {
  height: auto !important;
  min-height: 5.6rem !important;
  padding: 1.2rem 2.4rem !important;
  white-space: normal !important;
  text-align: center;
  line-height: 1.25;
  justify-content: center;
}

.m3-hero-cta .m3-hero-secondary,
.pc-hero-cta .m3-hero-secondary,
.pc-close-cta .m3-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.6rem;
  padding: 1.2rem 2.4rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  line-height: 1.25;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

.m3-hero-cta .m3-hero-secondary,
.pc-hero-cta .m3-hero-secondary {
  color: var(--maria-charcoal) !important;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(70, 69, 69, 0.28);
}

.m3-hero-cta .m3-hero-secondary:hover,
.pc-hero-cta .m3-hero-secondary:hover {
  color: var(--maria-coral-deep) !important;
  background: rgba(233, 78, 27, 0.06);
  box-shadow: inset 0 0 0 1.5px var(--maria-coral);
}

.pc-close-cta .m3-hero-secondary {
  color: var(--maria-white-card) !important;
  background: rgba(250, 249, 247, 0.08);
  box-shadow: inset 0 0 0 1.5px rgba(250, 249, 247, 0.72);
}

.pc-close-cta .m3-hero-secondary:hover {
  color: var(--maria-peach-light) !important;
  background: rgba(250, 249, 247, 0.14);
  box-shadow: inset 0 0 0 1.5px var(--maria-coral-soft);
}

/* Polish mobile — site inteiro */

@media (max-width: 991px) {
  .m3-hero,
  .sb-hero,
  .pc-hero,
  .lv-hero,
  .m3-page-hero,
  .m3-blog-empty,
  .m3-cine {
    padding-top: 12rem !important;
  }
}

@media (max-width: 767px) {
  :root {
    --padding-xs: 2.4rem;
    --padding-s: 4rem;
    --padding-m: 5.6rem;
    --padding-l: 7.2rem;
    --padding-xl: 8rem;
    --padding-xxl: 9.6rem;
  }

  html,
  body {
    overflow-x: clip;
  }

  img,
  video,
  iframe,
  svg {
    max-width: 100%;
    height: auto;
  }

  .container,
  .container-small,
  .container-large {
    padding-left: 2.4rem !important;
    padding-right: 2.4rem !important;
  }

  .global-header-w {
    min-height: 6.4rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .maria-logo-wrap.nav-logo img {
    height: 2.6rem;
    width: auto;
  }

  .m3-hero,
  .sb-hero,
  .pc-hero,
  .lv-hero,
  .m3-page-hero,
  .m3-blog-empty,
  .m3-cine,
  .ma-legal {
    padding-top: 10.8rem !important;
    padding-bottom: 6.4rem !important;
    min-height: auto !important;
  }

  .m3-hero-h1,
  .m3-page-hero .h1,
  .m3-blog-empty .h1,
  .sb-hero .h1,
  .pc-hero .h1,
  .lv-hero .h1,
  main > section .h1:first-of-type {
    font-size: clamp(3.4rem, 9.2vw, 4.6rem) !important;
    letter-spacing: -0.03em !important;
    text-wrap: pretty;
    max-width: 100% !important;
  }

  .m3-hero-p,
  .hp-hero-p,
  .m3-page-hero .paragraph-l,
  .m3-blog-empty .paragraph-l,
  .sb-hero .paragraph-l,
  .pc-hero .paragraph-l,
  .lv-hero .paragraph-l {
    font-size: 1.6rem !important;
    line-height: 1.55 !important;
    max-width: none !important;
  }

  .m3-mask-word,
  .sb-mask-word,
  .pc-mask-word {
    font-size: clamp(3.4rem, 11vw, 5.2rem) !important;
  }

  .m3-cine-title {
    font-size: clamp(3.2rem, 11vw, 5.2rem) !important;
  }

  .m3-hero-grid,
  .sb-hero-grid,
  .pc-hero-grid,
  .lv-hero-grid,
  .m3-about-grid,
  .sb-intro-layout,
  .pc-teach-grid,
  .pc-section-intro {
    gap: 3.2rem !important;
  }

  .m3-hero-cta,
  .pc-hero-cta,
  .pc-close-cta,
  .sb-close-cta,
  .hp-hero-cta-c,
  .m3-clients-cta-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
  }

  .m3-hero-cta .btn-primary,
  .pc-hero-cta .btn-primary,
  .pc-close-cta .btn-primary,
  .sb-close-cta .btn-primary,
  .hp-hero-cta-c .btn-primary,
  .m3-hero-cta .m3-hero-secondary,
  .pc-hero-cta .m3-hero-secondary,
  .pc-close-cta .m3-hero-secondary {
    width: 100%;
    max-width: 100%;
  }

  .btn-primary {
    min-height: 4.8rem;
  }

  .mobile-btn-c {
    width: 100%;
    margin-top: 2rem;
  }

  .mobile-btn-c .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .m3-filters {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .m3-filters label,
  .m3-filters select {
    width: 100%;
    min-width: 0 !important;
  }

  .m3-client-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.2rem !important;
  }

  .m3-client-pill {
    min-height: 9.6rem;
    padding: 1.2rem 1rem !important;
  }

  .m3-client-pill-label {
    font-size: 1.3rem !important;
  }

  .m3-client-pill-segment {
    font-size: 1.05rem !important;
  }

  .m3-stack-card,
  .m3-card-quote,
  .m3-linkedin {
    padding: 2.4rem 2rem !important;
  }

  .m3-reels-phone,
  .sb-intro-visual .sb-reels-phone {
    width: min(100%, 30rem) !important;
  }

  .lv-grid,
  .lv-spots-grid {
    max-width: none !important;
    grid-template-columns: 1fr !important;
  }

  .lv-hero-stack {
    width: min(100%, 28rem) !important;
    margin-inline: auto;
  }

  .sb-pillars,
  .sb-midia-stats-grid,
  .pc-stats-grid {
    grid-template-columns: 1fr !important;
  }

  .book-demo-c {
    width: min(100% - 3.2rem, 48rem);
    padding: 3.2rem 2.4rem !important;
    max-height: calc(100dvh - 3.2rem);
    overflow-y: auto;
  }

  .book-demo-title-c {
    margin-bottom: 2.4rem;
  }

  .ct-main-form-field,
  .ct-main-form-field input,
  .ct-main-form-field textarea {
    width: 100%;
  }

  .m3-blog-list {
    padding: 2.4rem 0 0;
    display: grid;
    gap: 1.2rem;
  }

  .m3-blog-list a {
    display: block;
    min-height: 4.4rem;
    padding: 1.2rem 0;
  }

  .m3-ribbon {
    padding: 1.4rem 0 !important;
  }

  .m3-hero-impact {
    padding: 1.6rem !important;
  }
}
