/* MAXSOFT Site V9.56 · contraste, leitura e carrossel mobile de planos */
:root{--site-v956-ink:#102a43;--site-v956-muted:#5e7285;--site-v956-line:#dce6ef;--site-v956-blue:#176fa8;--site-v956-footer:#071d31;--site-v956-footer-2:#0b2943}

/* CTA final: contraste forte em qualquer camada antiga */
.max-home-cta{background:linear-gradient(135deg,#0b2a45 0%,#123f63 100%)!important;color:#fff!important;border-top:1px solid rgba(255,255,255,.06)}
.max-home-cta .max-home-cta-inner>div:first-child>span{color:#8fd0ff!important;font-size:.72rem!important;letter-spacing:.13em!important}
.max-home-cta h2{color:#fff!important;text-shadow:none!important;font-size:clamp(1.8rem,3vw,2.45rem)!important;line-height:1.13!important}
.max-home-cta p{color:#c6d8e6!important;font-size:.88rem!important;line-height:1.65!important}
.max-home-cta .max-home-primary{min-height:48px!important;border-radius:12px!important;background:#fff!important;color:#102f49!important;font-size:.78rem!important;font-weight:900!important}
.max-home-cta .max-home-primary *{color:#102f49!important}
.max-home-cta-login{color:#dceaf4!important;font-size:.78rem!important}

/* Rodapé com mais contraste e tipografia legível */
.max-home-footer-v955{background:linear-gradient(180deg,var(--site-v956-footer) 0%,#061827 100%)!important;color:#c7d7e3!important}
.max-home-footer-trust-v955{background:var(--site-v956-footer-2)!important}
.max-home-footer-trust-inner-v955 b{font-size:.83rem!important;color:#fff!important}
.max-home-footer-trust-inner-v955 small{font-size:.72rem!important;color:#a9bfd0!important}
.max-home-footer-trust-inner-v955 .ui-icon{background:#123d61!important;color:#8bd0ff!important}
.max-home-footer-grid-v955{gap:54px!important;padding-top:58px!important;padding-bottom:50px!important}
.max-home-footer-brand-v955>p{font-size:.82rem!important;line-height:1.75!important;color:#afc3d2!important}
.max-home-footer-actions-v955 a{min-height:42px!important;padding:0 16px!important;font-size:.75rem!important;border-radius:10px!important}
.max-home-footer-column-v955>strong{font-size:.75rem!important;color:#fff!important;margin-bottom:18px!important}
.max-home-footer-column-v955 nav{gap:13px!important}
.max-home-footer-column-v955 nav>a{font-size:.77rem!important;color:#b2c6d5!important;line-height:1.5!important}
.max-home-footer-column-v955 nav>a b{font-size:.78rem!important;color:#eff7fc!important}
.max-home-footer-column-v955 nav>a small{font-size:.67rem!important;color:#8ea8bb!important}
.max-home-footer-status-v955{font-size:.68rem!important;color:#a7e5c7!important}
.max-home-footer-bottom-v955{font-size:.68rem!important;color:#8ea8bb!important}
.max-home-footer-bottom-v955>a{font-size:.69rem!important;color:#b8cede!important}

/* Wrapper do carrossel. No desktop continua grid normal. */
.max-catalog-carousel-v956{position:relative;min-width:0}
.max-plan-carousel-nav-v956{display:none}

@media(max-width:760px){
  html{scroll-behavior:smooth}
  .sales-site{overflow-x:hidden!important;background:#f6f8fb!important}
  .max-home-container{width:calc(100% - 30px)!important;max-width:none!important}

  /* Cabeçalho mobile */
  .max-home-header{position:sticky!important;top:0!important;z-index:90!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px)!important;border-bottom:1px solid #e4ebf1!important}
  .max-home-header-inner{height:64px!important;gap:10px!important}
  .max-home-brand img{width:132px!important}
  .max-home-login{min-width:42px!important;min-height:42px!important;border-radius:11px!important}

  /* Hero mais simples e legível */
  .max-home-hero{padding:38px 0 48px!important}
  .max-home-hero-grid{gap:30px!important}
  .max-home-hero-copy{text-align:left!important}
  .max-home-eyebrow{font-size:.66rem!important}
  .max-home-hero-copy h1{font-size:clamp(2rem,10.2vw,2.7rem)!important;line-height:1.03!important;letter-spacing:-.055em!important}
  .max-home-hero-copy>p{margin-inline:0!important;font-size:.94rem!important;line-height:1.62!important;color:#5a6f81!important}
  .max-home-hero-actions{grid-template-columns:1fr!important;gap:9px!important}
  .max-home-primary,.max-home-secondary{min-height:48px!important;border-radius:12px!important;font-size:.79rem!important}
  .max-home-trust{display:flex!important;width:100%!important;overflow-x:auto!important;gap:8px!important;justify-content:flex-start!important;padding:2px 0 8px!important;scrollbar-width:none}
  .max-home-trust::-webkit-scrollbar{display:none}
  .max-home-trust>span{flex:0 0 auto!important;white-space:nowrap!important}

  /* Seções e cartões gerais */
  .max-home-products,.max-home-features,.max-home-pricing,.max-home-faq-v947{padding-top:52px!important;padding-bottom:54px!important}
  .max-home-section-head{text-align:left!important}
  .max-home-section-head h2{font-size:1.8rem!important;line-height:1.12!important}
  .max-home-section-head p{font-size:.84rem!important;line-height:1.62!important}
  .max-home-product-grid,.max-home-feature-grid{gap:13px!important}
  .max-home-product,.max-home-feature-grid>article{border-radius:18px!important;box-shadow:0 8px 24px rgba(16,42,67,.06)!important}

  /* Catálogo */
  .max-catalog-v954{padding:54px 0 62px!important;background:linear-gradient(180deg,#f6f9fc 0%,#eef4f8 100%)!important}
  .max-catalog-head-v954{margin-bottom:24px!important}
  .max-catalog-head-v954 h2{font-size:1.85rem!important}
  .max-catalog-head-v954 p{font-size:.84rem!important;line-height:1.6!important}
  .max-catalog-systems-v954{gap:22px!important}
  .max-catalog-system-v954{padding:14px 0 17px!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 10px 32px rgba(15,23,42,.065)!important}
  .max-catalog-system-v954::before{height:4px!important}
  .max-catalog-system-head-v954{margin:0 14px 14px!important;padding:5px 0 14px!important;grid-template-columns:46px minmax(0,1fr)!important;gap:11px!important}
  .max-catalog-system-icon-v954{width:46px!important;height:46px!important;border-radius:13px!important}
  .max-catalog-system-copy-v954 small{font-size:.62rem!important}
  .max-catalog-system-copy-v954 h3{font-size:1.42rem!important;margin:3px 0 5px!important}
  .max-catalog-system-copy-v954 p{font-size:.78rem!important;line-height:1.58!important;color:#607385!important}
  .max-catalog-system-head-v954 aside{grid-column:1/-1!important;margin-left:0!important;padding:10px 12px!important;border-radius:12px!important}
  .max-catalog-system-head-v954 aside span{font-size:.59rem!important}
  .max-catalog-system-head-v954 aside b{font-size:.77rem!important}
  .max-catalog-system-head-v954 aside em{font-size:.65rem!important}

  /* Carrossel real: um card por vez, swipe e snap */
  .max-catalog-carousel-v956{padding-bottom:2px!important}
  .max-catalog-carousel-v956 .max-catalog-plan-grid-v954{
    display:flex!important;
    grid-template-columns:none!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:2px 14px 12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:14px!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }
  .max-catalog-carousel-v956 .max-catalog-plan-grid-v954::-webkit-scrollbar{display:none!important}
  .max-catalog-carousel-v956 .max-catalog-card-v954{
    flex:0 0 calc(100% - 31px)!important;
    width:calc(100% - 31px)!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    scroll-snap-align:start!important;
    scroll-snap-stop:always!important;
    border-radius:18px!important;
    box-shadow:0 8px 24px rgba(15,23,42,.08)!important;
    transform:none!important;
  }
  .max-catalog-card-v954:hover{transform:none!important}
  .max-catalog-card-v954 .max-market-card-media-v947{border-radius:16px 16px 0 0!important;overflow:hidden!important}
  .max-catalog-card-v954 header{padding-top:2px!important}
  .max-catalog-card-v954>p{font-size:.78rem!important;line-height:1.55!important}
  .max-catalog-card-v954 ul li{font-size:.75rem!important;line-height:1.45!important}
  .max-home-plan-price b{font-size:2rem!important}
  .max-home-plan-checkout label{font-size:.72rem!important}
  .max-home-plan-checkout select,.max-home-plan-checkout button{min-height:45px!important;font-size:.78rem!important}

  .max-plan-carousel-nav-v956{display:grid!important;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;padding:3px 14px 0!important}
  .max-plan-carousel-arrow-v956{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--system-accent)!important;border-radius:12px;background:#fff!important;color:var(--system-accent)!important;box-shadow:0 4px 14px rgba(15,23,42,.06)!important}
  .max-plan-carousel-arrow-v956:disabled{opacity:.38!important;cursor:default!important}
  .max-plan-carousel-arrow-v956 .ui-icon{width:17px!important;height:17px!important}
  .max-plan-carousel-dots-v956{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0}
  .max-plan-carousel-dots-v956 button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#cbd7e1;transition:.2s ease}
  .max-plan-carousel-dots-v956 button.active{width:23px;background:var(--system-accent)}

  /* FAQ */
  .max-home-faq-grid-v947{gap:9px!important}
  .max-home-faq-grid-v947 details{border-radius:14px!important}
  .max-home-faq-grid-v947 summary{font-size:.82rem!important;line-height:1.4!important}
  .max-home-faq-grid-v947 p{font-size:.76rem!important;line-height:1.6!important}

  /* CTA */
  .max-home-cta{padding:44px 0!important}
  .max-home-cta-inner{gap:24px!important}
  .max-home-cta h2{font-size:1.72rem!important;line-height:1.12!important;margin:8px 0 10px!important}
  .max-home-cta p{font-size:.82rem!important}
  .max-home-cta-inner>div:last-child{max-width:none!important;width:100%!important}
  .max-home-cta .max-home-primary{width:100%!important}

  /* Rodapé mobile: uma coluna, leitura confortável */
  .max-home-footer-trust-inner-v955>span,.max-home-footer-trust-inner-v955>span:first-child,.max-home-footer-trust-inner-v955>span:last-child{padding:16px 0!important;grid-template-columns:40px minmax(0,1fr)!important;column-gap:11px!important}
  .max-home-footer-trust-inner-v955 .ui-icon{width:36px!important;height:36px!important}
  .max-home-footer-trust-inner-v955 b{font-size:.82rem!important}
  .max-home-footer-trust-inner-v955 small{font-size:.72rem!important}
  .max-home-footer-grid-v955{grid-template-columns:1fr!important;gap:26px!important;padding-top:36px!important;padding-bottom:34px!important}
  .max-home-footer-brand-v955,.max-home-footer-legal-v955{grid-column:auto!important}
  .max-home-footer-logo-v955 img{width:156px!important}
  .max-home-footer-brand-v955>p{font-size:.79rem!important;line-height:1.7!important;margin:16px 0 18px!important}
  .max-home-footer-actions-v955{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .max-home-footer-actions-v955 a{min-height:44px!important;font-size:.75rem!important}
  .max-home-footer-column-v955{padding:0!important}
  .max-home-footer-column-v955>strong{font-size:.72rem!important;margin-bottom:13px!important}
  .max-home-footer-column-v955 nav{gap:0!important;border-top:1px solid rgba(184,211,232,.10)!important}
  .max-home-footer-column-v955 nav>a{padding:11px 0!important;border-bottom:1px solid rgba(184,211,232,.08)!important;font-size:.77rem!important}
  .max-home-footer-column-v955 nav>a b{font-size:.8rem!important}
  .max-home-footer-column-v955 nav>a small{font-size:.67rem!important}
  .max-home-footer-status-v955{margin-top:15px!important;font-size:.68rem!important}
  .max-home-footer-bottom-v955{grid-template-columns:1fr!important;gap:9px!important;padding-top:18px!important;padding-bottom:30px!important;font-size:.68rem!important}
  .max-home-footer-bottom-v955>span:nth-child(2){display:block!important;font-size:.64rem!important}
  .max-home-footer-bottom-v955>a{justify-self:start!important;font-size:.7rem!important}
}

@media(max-width:390px){
  .max-home-container{width:calc(100% - 24px)!important}
  .max-home-brand img{width:124px!important}
  .max-home-hero-copy h1{font-size:2.02rem!important}
  .max-catalog-carousel-v956 .max-catalog-card-v954{flex-basis:calc(100% - 24px)!important;width:calc(100% - 24px)!important}
  .max-catalog-carousel-v956 .max-catalog-plan-grid-v954{padding-inline:12px!important;scroll-padding-inline:12px!important}
  .max-plan-carousel-nav-v956{padding-inline:12px!important}
  .max-home-footer-actions-v955{grid-template-columns:1fr!important}
}
