/* ============================================================
   NEXA SALES — ajustes para telas estreitas
   Carregado por último: complementa nexa.css a partir de 520px
   e garante que nada estoure até 280px de largura.
   ============================================================ */

/* evita que qualquer palavra longa force scroll horizontal */
@media (max-width:520px){
  .hero__title,.h2,.final__title,.market__quote,.results__quote,
  .goals__quote,.band__row,.mcard__num,.stat__big{
    overflow-wrap:break-word;
  }
}

/* nav horizontal ainda ativo entre 761 e 900px: aperta espaçamentos */
@media (max-width:900px) and (min-width:761px){
  .nav__side{padding-left:40px;gap:32px}
  .nav__side--end{padding-right:34px}
  .nav__side a{font-size:16.5px}
  .nav__logo{font-size:26px;gap:9px}
  .nav__logo-mark{width:24px;height:24px}
}

/* ============================================================
   colunas de grid nunca podem ficar maiores que o container
   (o `1fr` usa min-content como mínimo automático; o input do
   newsletter tem largura intrínseca de ~220px e estourava o card)
   ============================================================ */
@media (max-width:1100px){
  .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .services__grid,.growth__grid,.team__grid,.market__grid,
  .goals__list,.omni__grid,.pmv__grid,.quotes{
    grid-template-columns:minmax(0,1fr);
  }
  .team__grid,.market__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .services__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .news input{width:100%;min-width:0}
}
@media (max-width:760px){
  .footer__grid,.team__grid,.market__grid,.services__grid,
  .stats__card,.goals__list{grid-template-columns:minmax(0,1fr)}
}

/* ============================================================
   ≤520px — celulares
   ============================================================ */
@media (max-width:520px){
  .container{padding:0 16px}
  .nav{padding:0 16px}
  .nav::before{inset:0 16px}
  .nav__logo{font-size:21px}

  .hero__eyebrow{font-size:11.5px;letter-spacing:.24em}
  .hero__title{font-size:clamp(26px,8.6vw,40px)}
  .hero__title-spark{width:20px;height:20px}
  .hero__copy p{font-size:15.5px}
  .hero__years strong{font-size:34px}
  .hero__years span{font-size:15px}
  .hero__note{font-size:12px}
  .hero__figure{width:100%;max-width:360px;height:min(430px,116vw);margin:18px auto -24px}
  .hero__blob{width:108%}
  .hero__actions{flex-direction:column;align-items:center;gap:8px;bottom:32px}
  .hero__actions .btn{width:190px;justify-content:center;height:40px;font-size:13.5px}

  .btn{height:44px;padding:0 16px;font-size:13.5px;gap:10px}
  .btn--lg{height:50px;padding:0 20px;font-size:14.5px;gap:12px}
  .demo{font-size:12.5px;padding:8px 14px;gap:8px}
  .demo svg{width:15px;height:15px}

  .stats__card{border-radius:24px}
  .stat{padding:22px 20px}
  .stat__ico{width:32px;height:32px;margin-bottom:12px}
  .stat__num{font-size:22px}
  .stat__label{font-size:15px}
  .stat__big{font-size:32px}

  .h2{font-size:clamp(26px,8.4vw,34px)}
  .h2--sparked{padding-left:34px}
  .h2__spark{width:22px;height:22px}
  .ideas__text{font-size:15.5px}

  .shot{padding:8px}
  .shot__media{border-radius:14px}
  .shot__burst{width:30px;height:30px;left:10px;top:8px}
  .shot__spark{width:20px;height:20px;right:14px;top:12px}
  .shot__spark--br{width:22px;height:22px;right:12px;bottom:12px}
  .shot__tag{height:48px;left:8px;bottom:8px;gap:4px}
  .shot__tag-bar{font-size:11.5px;padding:0 12px;border-radius:8px}
  .funnel__label{font-size:28px}
  .funnel__val{font-size:24px}
  .funnel__axis{display:none}
  .panelart__cap{font-size:18px}
  .panelart__chip text{font-size:15px}
  .panelart__big{font-size:26px}
  .panelart__legend text{font-size:16px}

  .pmv__card{padding:24px 18px 26px}
  .pmv__ico{width:54px;height:54px;border-radius:16px}
  .pmv__ico svg{width:26px;height:26px}
  .pmv__kicker{margin-top:20px;font-size:13px;letter-spacing:.16em}
  .pmv__text{font-size:16px}

  .team__text{font-size:15.5px}
  .viewall>span{font-size:17px}
  .viewall i{width:130px}
  .member{padding:20px}
  .member__burst{width:38px;height:38px;left:18px;top:18px}
  .member__avatar{width:44px;height:44px;right:18px;top:18px;border-radius:13px}
  .member__avatar svg{width:22px;height:22px}
  .member__name{margin-top:58px;font-size:20px}
  .member__role{font-size:15px}

  .market__intro{font-size:15.5px}
  .mcard{grid-template-columns:1fr;padding:22px 18px 24px}
  .ring{grid-row:auto;width:92px;height:92px}
  .ring__ico{width:28px;height:28px}
  .mcard__num{margin-top:16px;font-size:26px}
  .mcard__text{font-size:15px}
  .market__quote{font-size:17px;margin-top:36px}
  .market__quote::before{width:46px;margin-bottom:18px}
  .market__quote::after{width:46px;margin:18px auto 0}

  .growth__card,.goals__card{padding:26px 14px 30px;border-radius:22px}
  .growth__cap{font-size:12px;letter-spacing:.12em}
  .chart{--plot:180px;padding-left:38px;height:calc(var(--plot) + 40px)}
  .chart__grid,.chart__bars{left:38px}
  .chart__bars{gap:6px}
  .chart__bars i{border-radius:8px 8px 3px 3px}
  .chart__bars b{display:none}
  .chart__bars span{font-size:11px;top:calc(100% + 8px)}
  .chart__grid span::after{font-size:10px;right:calc(100% + 6px)}
  .growth__badge{padding:22px 18px 24px;border-radius:20px}
  .growth__badge-kicker{font-size:12px;letter-spacing:.12em}
  .growth__badge-num{font-size:38px}
  .growth__badge-text{font-size:14.5px}
  .growth__note{font-size:13px}

  .results__kicker{font-size:13px;letter-spacing:.16em}
  .results__quote{font-size:16.5px}

  .band{padding-top:56px}
  .band__row{flex-direction:column;gap:2px;font-size:clamp(30px,11vw,44px)}
  .band__spark{width:20px;height:20px}
  .band__rule{margin-top:26px;gap:12px}

  .services__card{padding:28px 14px 32px;border-radius:22px}
  .services__text{font-size:15.5px;margin-bottom:26px}
  .svc a{padding:10px 14px 10px 6px;gap:12px}
  .svc__num{width:40px;height:40px;font-size:14px}
  .svc__body b{font-size:15.5px}
  .svc__body em{font-size:12.5px}
  .omni{padding:20px 16px;border-radius:22px}
  .omni__title{font-size:21px}
  .omni__grid li{padding:11px 12px;border-radius:13px}
  .omni__grid span{font-size:14px}
  .omni__foot{font-size:13.5px;margin-top:18px;padding-top:16px}
  .services__note{font-size:16px}
  .work{min-height:0;padding:20px;border-radius:22px}
  .work__title{font-size:21px}
  .work__foot{margin-top:18px;font-size:13px}
  .work__circle{width:38px;height:38px}
  .work__circle svg{width:17px;height:17px}

  .goals__intro{font-size:15.5px}
  .goals__list{margin-top:26px;gap:12px}
  .goals__list li{font-size:15px;padding:14px 16px;gap:12px;border-radius:16px}
  .goals__list i{width:32px;height:32px;border-radius:10px}
  .goals__list svg{width:17px;height:17px}
  .goals__quote{font-size:16.5px;margin-top:28px;padding-top:24px}

  .marquee{height:52px;margin-top:52px}
  .marquee__set{gap:24px;padding-right:24px}
  .marquee__set span{font-size:18px}
  .marquee__set svg{width:15px;height:15px}

  .final{padding-top:52px}
  .final__panel{padding:44px 16px 48px;border-radius:22px}
  .final__burst{width:56px;height:56px;left:14px;top:14px}
  .final__mark{font-size:22px;gap:10px}
  .final__mark svg{width:22px;height:22px}
  .final__title{font-size:clamp(23px,7.4vw,32px);margin-top:20px}
  .final__quote{font-size:15.5px;margin-top:20px}
  .final__panel .btn{margin-top:30px}

  .footer{margin-top:48px;padding-bottom:10px}
  .footer__card{margin:0 8px;padding:30px 18px 22px;border-radius:22px}
  .footer__logo{font-size:24px;gap:10px}
  .footer__logo svg{width:22px;height:22px}
  .footer__tag{font-size:15px}
  .footer__col ul{margin-top:18px;gap:13px}
  .footer__col a{font-size:15px}
  .news input{height:46px;padding:0 16px;font-size:14px}
  .news button{width:46px;height:46px}
  .footer__disclaimer{padding:15px 16px;font-size:13px;border-radius:14px}
  .footer__bottom{font-size:13.5px;gap:14px}
  .social{gap:18px}

  .preloader__bar{width:min(220px,58vw)}
  .preloader__mark{font-size:24px}
}

/* ============================================================
   ≤360px — telas muito estreitas (cobre 320 e 280px)
   ============================================================ */
@media (max-width:360px){
  .container{padding:0 12px}
  .nav{padding:0 12px}
  .nav::before{inset:0 12px;border-radius:22px}
  .nav__logo{font-size:19px;height:60px;padding-left:6px}
  .nav__logo-mark{width:18px;height:18px}
  .nav__burger{width:38px;height:38px}
  .nav.is-open .nav__side{padding-left:6px}
  .nav__side a{font-size:16px}

  .hero{border-radius:0 0 30px 30px / 0 0 40px 40px}
  .hero__eyebrow{font-size:10.5px;letter-spacing:.18em}
  .hero__title{font-size:clamp(22px,9.2vw,30px)}
  .hero__title-spark{display:none}
  .hero__copy p{font-size:14.5px}
  .hero__cols{gap:20px;margin-top:24px}
  .hero__rating svg{width:18px;height:18px}
  .hero__years strong{font-size:28px}
  .hero__years span{font-size:14px}
  .hero__figure{width:100%;max-width:300px;height:min(380px,124vw);margin:14px auto -20px}
  .hero__blob{width:104%}
  .hero__actions{bottom:24px}
  .hero__actions .btn{width:172px;height:38px;font-size:12.5px}

  .btn{height:40px;padding:0 14px;font-size:12.5px;gap:8px}
  .btn .ico{width:17px;height:17px}
  .btn--lg{height:46px;padding:0 16px;font-size:13.5px;gap:10px}
  .demo{font-size:11.5px;padding:7px 12px;gap:7px}

  .h2{font-size:clamp(22px,9vw,28px)}
  .h2--sparked{padding-left:28px}
  .h2__spark{width:18px;height:18px}
  .stat{padding:18px 16px}
  .stat__num{font-size:20px}
  .stat__label{font-size:14px}
  .stat__big{font-size:28px}

  .shot{padding:6px}
  .shot__tag{height:40px}
  .shot__tag-bar{font-size:10px;padding:0 9px;border-radius:7px}
  .shot__tag i:nth-of-type(1){width:5px}
  .shot__tag i:nth-of-type(2){width:3px}
  .shot__tag i:nth-of-type(3){width:9px}
  .funnel__label{font-size:34px}
  .funnel__val{font-size:29px}
  .panelart__cap{font-size:22px}
  .panelart__chip text{font-size:18px}
  .panelart__big{font-size:30px}
  .panelart__legend text{font-size:19px}

  .pmv__text,.mcard__text,.goals__list li,.footer__col a,.footer__tag{font-size:14.5px}
  .member__name{margin-top:52px;font-size:18px}
  .mcard__num{font-size:23px}
  .ring{width:84px;height:84px}
  .ring__ico{width:25px;height:25px}

  .chart{--plot:150px;padding-left:30px}
  .chart__grid,.chart__bars{left:30px}
  .chart__bars{gap:4px}
  .chart__bars span{font-size:10px}
  .chart__grid span::after{font-size:9px;right:calc(100% + 4px)}
  .growth__badge-num{font-size:32px}

  .band__row{font-size:clamp(24px,11.5vw,34px)}
  .band__rule svg{width:12px;height:12px}
  .services__card,.growth__card,.goals__card{padding:22px 12px 26px}
  .svc a{padding:9px 12px 9px 5px;gap:10px}
  .svc__num{width:36px;height:36px;font-size:13px}
  .svc__body b{font-size:14.5px}
  .svc__body em{font-size:12px}
  .omni__title{font-size:19px}
  .work__title{font-size:19px}

  .marquee{height:46px}
  .marquee__set span{font-size:16px}
  .marquee__set{gap:18px;padding-right:18px}

  .final__panel{padding:36px 12px 40px}
  .final__mark{font-size:19px}
  .final__title{font-size:clamp(20px,8.4vw,26px)}
  .final__quote{font-size:14.5px}

  .footer__card{margin:0 6px;padding:26px 14px 20px}
  .footer__logo{font-size:21px}
  .footer__disclaimer{padding:13px;font-size:12.5px}
  .footer__bottom{font-size:12.5px}
  .social{gap:16px}
}
