.cw-v2-page, .cw-v2-page *{box-sizing:border-box}
    .cw-v2-page{background:#fff}
    #cw-page{font-family:"Be Vietnam Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
    #cw-page a{text-decoration:none;color:inherit}
    .cw-btn-primary{transition:transform .2s, box-shadow .2s, filter .2s}
    .cw-btn-primary:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 10px 20px rgba(0,0,0,.28)}
    .cw-btn-ghost{transition:background .2s,color .2s,border-color .2s}
    .cw-btn-ghost:hover{background:var(--accent,#FA1818) !important;color:#fff !important;border-color:var(--accent,#FA1818) !important}
    .cw-btn-white{transition:transform .2s, box-shadow .2s}
    .cw-btn-white:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.3)}
    .cw-sector{cursor:pointer}
    .cw-sector .cw-sector-img{transition:transform .5s}
    .cw-sector:hover .cw-sector-img{transform:scale(1.06)}
    .cw-sector:focus-visible{outline:2px solid var(--accent,#FA1818);outline-offset:6px;border-radius:8px}

    /* Modal de setores */
    .cw-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:28px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease,visibility .35s}
    .cw-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}
    .cw-modal-backdrop{position:absolute;inset:0;background:rgba(10,12,18,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
    .cw-modal-dialog{position:relative;width:min(1180px,100%);max-height:min(92vh,980px);background:#fff;border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden;transform:translateY(18px) scale(.96);opacity:0;transition:transform .4s cubic-bezier(.22,.61,.36,1),opacity .35s ease}
    .cw-modal.is-open .cw-modal-dialog{transform:translateY(0) scale(1);opacity:1}
    .cw-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 28px 16px;border-bottom:1px solid #eee;flex:0 0 auto}
    .cw-modal-kicker{font-weight:500;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent,#FA1818);margin-bottom:4px}
    .cw-modal-title{font-weight:600;font-size:28px;letter-spacing:-0.02em;color:#111;line-height:1.2}
    .cw-modal-close{width:44px;height:44px;border-radius:12px;border:2px solid #e7e7e7;background:#fff;color:#1a202c;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s;flex:0 0 auto}
    .cw-modal-close:hover{background:var(--accent,#FA1818);border-color:var(--accent,#FA1818);color:#fff;transform:rotate(90deg)}
    .cw-modal-body{padding:18px 28px 8px;overflow:auto;flex:1 1 auto;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fafafa 0%,#fff 40%)}
    .cw-modal-illu{width:100%;height:auto;max-height:min(68vh,720px);object-fit:contain;display:block;border-radius:12px}
    .cw-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 28px 24px;border-top:1px solid #eee;flex:0 0 auto;background:#fff}
    .cw-modal-hint{font-weight:400;font-size:15px;line-height:1.45;color:#4a5568;max-width:560px;text-align:left}
    .cw-modal-cta{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 26px;border-radius:14px;background:var(--accent,#FA1818);color:#fff !important;font-weight:600;font-size:16px;box-shadow:0 8px 18px rgba(250,24,24,.28);transition:transform .2s,filter .2s,box-shadow .2s;border:none;cursor:pointer;font-family:inherit}
    .cw-modal-cta:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 12px 24px rgba(250,24,24,.34)}
    .cw-modal--contact .cw-modal-dialog{width:min(560px,100%);max-height:min(92vh,900px)}
    .cw-modal--contact .cw-modal-body{display:block;padding:8px 28px 28px;background:#fff;overflow:auto}
    .cw-modal--contact .cw-modal-head{border-bottom:none;padding-bottom:8px}
    #fale-conosco-distribuicao-097c002ddf3f416f774f{width:100%;min-height:120px}
    body.cw-modal-lock{overflow:hidden}
    .cw-feature{transition:transform .25s}
    .cw-feature:hover{transform:translateX(4px)}

    /* ============ RESPONSIVO (≤1024px → modo fluido) ============ */
    @media (max-width:1024px){
      #cw-page.cw-fluid{width:100% !important;transform:none !important;margin-left:0 !important}


      /* Hero → conteúdo em fluxo, vídeo cobrindo toda a área */
      .cw-hero{
        height:auto !important;
        min-height:100svh;
        width:100% !important;
        display:flex !important;
        flex-direction:column !important;
        justify-content:center !important;
        padding:48px 0 40px !important;
        box-sizing:border-box !important;
        overflow:hidden !important;
      }
      .cw-hero-media{
        position:absolute !important;
        inset:0 !important;
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        z-index:0;
      }
      .cw-hero-overlay{
        position:absolute !important;
        inset:0 !important;
        z-index:1;
        background:linear-gradient(180deg,rgba(2,6,12,.78) 0%,rgba(2,6,12,.62) 45%,rgba(2,6,12,.82) 100%) !important;
      }
      .cw-hero-title{
        position:relative !important;
        left:auto !important;
        top:auto !important;
        z-index:2;
        padding:0 22px !important;
        font-size:30px !important;
      }
      .cw-hero-text{
        position:relative !important;
        left:auto !important;
        top:auto !important;
        z-index:2;
        width:auto !important;
        max-width:none !important;
        padding:14px 22px 0 !important;
        font-size:16px !important;
      }
      .cw-hero-text p{margin-bottom:14px !important}
      .cw-hero-btn{
        position:relative !important;
        left:auto !important;
        top:auto !important;
        z-index:2;
        align-self:flex-start;
        margin:20px 22px 0 !important;
        height:auto !important;
        min-height:52px !important;
        font-size:17px !important;
      }

      /* Tipografia geral */
      #cw-page.cw-fluid h2{font-size:27px !important;line-height:1.3 !important;padding:0 22px}
      #cw-page.cw-fluid section > p{font-size:17px !important;padding:0 22px;max-width:none !important}
      #cw-page.cw-fluid section{padding-left:0 !important;padding-right:0 !important}
      #cw-page.cw-fluid a.cw-btn-primary{font-size:16px !important;height:auto !important;min-height:52px;padding:12px 24px !important;white-space:normal;line-height:1.3;margin-left:22px;margin-right:22px;max-width:calc(100% - 44px)}

      /* Verticais */
      .cw-vert-grid{grid-template-columns:1fr !important;column-gap:0 !important;row-gap:34px !important;padding:0 22px}
      .cw-sector-box{width:100% !important}
      .cw-sector > div:last-child{font-size:22px !important}

      /* Jornada → empilhada, sem conectores */
      .cw-journey-row{flex-direction:column !important;align-items:center !important;gap:36px !important;padding:0 22px}
      .cw-journey-row > svg{display:none !important}
      .cw-journey-row > div{width:100% !important;max-width:380px;margin-top:0 !important}
      .cw-journey-row > div > div:last-child{margin-top:14px !important;font-size:17px !important}

      /* Marcas */
      .cw-brands{flex-wrap:wrap;gap:36px 48px !important;padding:0 22px}
      .cw-modal{padding:14px}
      .cw-modal-dialog{border-radius:16px;max-height:94vh}
      .cw-modal-head{padding:16px 16px 12px}
      .cw-modal-title{font-size:22px}
      .cw-modal-body{padding:10px 14px}
      .cw-modal-illu{max-height:min(58vh,520px);border-radius:8px}
      .cw-modal-foot{padding:14px 16px 18px;flex-direction:column;align-items:stretch}
      .cw-modal-hint{font-size:14px;max-width:none}
      .cw-modal-cta{width:100%}
      .cw-modal--contact .cw-modal-body{padding:4px 16px 20px}

      /* Marcas */
      .cw-brands{flex-wrap:wrap;gap:36px 48px !important;padding:0 22px}

      /* Tecnologia global → imagem em cima, lista embaixo */
      .cw-feat-row{flex-direction:column !important;align-items:stretch !important;width:auto !important;gap:34px !important;padding:0 22px;margin-top:54px !important}
      .cw-team-img{flex:none !important;width:100% !important;height:auto !important;border-radius:0 60px 0 0 !important}
      .cw-feat-col{width:100% !important;padding-bottom:40px !important}

      /* CTA final */
      .cw-cta{width:auto !important;padding:60px 22px 70px !important}
      .cw-cta h2{font-size:30px !important}
      .cw-cta p{font-size:18px !important}
      .cw-cta a{width:100% !important;max-width:376px}
    }

    /* Telefones estreitos */
    @media (min-width:640px) and (max-width:1024px){
      .cw-vert-grid{grid-template-columns:1fr 1fr !important;column-gap:28px !important}
    }
    @media (max-width:480px){
      #cw-page.cw-fluid h2{font-size:23px !important}
      .cw-hero-title{font-size:26px !important}
      .cw-cta h2{font-size:25px !important}
    }


/* Integração com o tema Connectoway */
body.cw-v2 #main-wrapper {
  overflow: visible;
}
body.cw-v2 .cw-v2-page {
  margin: 0;
  padding: 0;
  width: 100%;
}
body.cw-v2 .header-area--default {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

/* Hero: afasta o conteúdo do header (header fica fora do canvas escalado) */
@media (min-width: 1025px) {
  body.cw-v2 .cw-hero .cw-hero-title {
    top: 210px !important;
  }
  body.cw-v2 .cw-hero .cw-hero-text {
    top: 330px !important;
  }
  body.cw-v2 .cw-hero .cw-hero-btn {
    top: 725px !important;
  }
}

@media (max-width: 1024px) {
  body.cw-v2 .cw-hero {
    padding-top: 120px !important;
  }
}

body.cw-v2 .cw-modal[hidden] {
  display: none !important;
}
body.cw-v2 .cw-modal.is-open[hidden] {
  display: flex !important;
}
