/* ==========================================================
   ID.jurídico — LexBr  |  Landing page
   Desktop: réplica do PDF (coordenadas em 1/5013 da largura)
   Mobile (<= 760px): layout empilhado
   ========================================================== */
@font-face{font-family:"Raleway";src:url("fonts/raleway.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

html{scroll-behavior:smooth}
body{margin:0;background:#fff}
.idj{--u:calc(100cqw / 5013);--k:var(--u);container-type:inline-size;width:100%;overflow:hidden;
  font-family:"Raleway",system-ui,sans-serif;color:#111e27;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.idj *{box-sizing:border-box}
.idj a{color:inherit;text-decoration:none}
.idj img{display:block;max-width:100%;height:auto}

/* ---------- seções e textos posicionados ---------- */
.idj .sec{position:relative;height:calc(var(--h) * var(--u));background:var(--bg,none) center top / 100% 100% no-repeat;overflow:hidden}
.idj .t{position:absolute;left:calc(var(--x) * var(--k));top:calc(var(--y) * var(--k));margin:0;padding:0;
  font-size:calc(var(--s) * var(--k));line-height:calc(var(--l) * var(--k));white-space:nowrap;font-weight:400;letter-spacing:0}
.idj .t[style*="--w"]{width:calc(var(--w) * var(--k))}
.idj .ctr{text-align:center}
.idj ul.lst{list-style:none}
.idj .bul{position:absolute;left:-1.19em;font-size:.7em;top:0}
.idj u,.idj .ul{text-decoration:underline;text-decoration-thickness:.07em;text-underline-offset:.13em}
.idj .yline{text-decoration:underline #fac826;text-decoration-thickness:calc(14 * var(--k));text-underline-offset:calc(13 * var(--k))}
.idj strong{font-weight:700}

.w3{font-weight:300!important}.w4{font-weight:400!important}.w5{font-weight:500!important}.w6{font-weight:600!important}.w7{font-weight:700!important}.w8{font-weight:800!important}
.c-w{color:#fff}.c-d{color:#111e27}.c-k{color:#000}.c-b{color:#1351b4}.c-b2{color:#325abd}.c-y{color:#fac826}.c-g{color:#049a3b}.c-r{color:#f00}


/* fundos das seções (caminho relativo a este CSS) */
.idj .s-hero{--bg:url("img/bg-hero.webp")}
.idj .s-missao{--bg:url("img/bg-missao.webp")}
.idj .s-oque{--bg:url("img/bg-oque.webp")}
.idj .s-sistema{--bg:url("img/bg-sistema.webp")}
.idj .s-fluxo{--bg:url("img/bg-fluxo.webp")}
.idj .s-certidao{--bg:url("img/bg-certidao.webp")}
.idj .s-pacote{--bg:url("img/bg-pacote.webp")}
.idj .s-registro{--bg:url("img/bg-registro.webp")}
.idj .s-integradores{--bg:url("img/bg-integradores.webp")}
.idj .s-lexbr{--bg:url("img/bg-lexbr.webp")}
.idj .s-rodape{--bg:url("img/bg-rodape.webp")}

/* desktop: wrappers de mobile não interferem */
.idj .m-only{display:none}
.idj .m-cols,.idj .m-cols2,.idj .m-cols2>div,.idj .m-foot,.idj .tiles,.idj .tile{display:contents}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* topo */
.idj .topbar{position:absolute;left:0;top:0;width:100%;height:calc(82 * var(--u));background:#d9d9d9}
.idj .lang{display:flex;align-items:center;gap:calc(16 * var(--k));height:calc(var(--l) * var(--k))}
.idj .lang img:first-child{width:calc(83 * var(--k));height:auto}
.idj .lang img:last-child{width:calc(83 * var(--k));height:auto;margin-left:calc(-9 * var(--k))}
.idj .nav{display:flex;gap:calc(148 * var(--k));color:#1351b4}
.idj .lnk a:hover,.idj .nav a:hover{text-decoration:underline}
.idj .tile:hover .t{color:#fac826}

/* whatsapp */
.idj .wa{position:absolute;left:calc(4830 * var(--u));top:calc(388 * var(--u));width:calc(127 * var(--u))}
.idj .wa img{width:100%}

/* ==================== MOBILE ==================== */
@media (max-width:760px){
  .idj{--k:calc(100cqw / 1500)}
  .idj .sec{height:auto;background:none;padding:44px 20px}
  .idj .t{position:static;left:auto;top:auto;white-space:normal;font-size:calc(min(var(--s), 140) * var(--k));line-height:1.35}
  .idj h1.t,.idj h2.t{line-height:1.12;margin-bottom:14px}
  .idj h3.t{line-height:1.25;margin-top:18px}
  .idj .t br{display:none}
  .idj .t br.k{display:inline}
  .idj .t + .t{margin-top:12px}
  .idj .t[style*="--w"]{width:auto}
  .idj .m-only{display:block}
  .idj .m-cols,.idj .m-cols2,.idj .m-foot,.idj .tiles{display:block}
  .idj .m-cols2>div{display:block;margin-top:8px}
  .idj img.m-only{margin:24px auto 0}

  /* topo */
  .idj .s-topo{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:0 16px;
    background:linear-gradient(#d9d9d9 0 34px,#fff 34px)}
  .idj .s-topo .t{font-size:12px;line-height:34px;margin:0}
  .idj .topbar{display:none}
  .idj .lang{gap:6px}.idj .lang img:first-child,.idj .lang img:last-child{width:20px;margin:0}
  .idj .s-topo .nav{width:100%;justify-content:center;gap:28px;font-size:14px;line-height:46px}

  /* hero */
  .idj .s-hero{background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.9) 70%),url("img/m-hero.webp") 70% 0 / cover no-repeat #000;padding-top:36px;padding-bottom:56px}
  .idj img.m-logo{width:82%;margin:0 0 28px}
  .idj .s-hero h1.t{font-size:38px}

  .idj .s-missao,.idj .s-certidao,.idj .s-registro{background:#fafafa}
  .idj .m-cols h3.t{margin-top:22px}
  .idj img.m-photo{width:100%;margin:28px 0}
  .idj .s-missao h2.t{margin-top:22px}

  .idj .s-oque{background:#548be4}
  .idj .s-sistema{background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.8)),url("img/m-sistema.webp") center / cover no-repeat #000}
  .idj .s-sistema h2.t:nth-of-type(2){margin-top:40px}

  .idj .s-fluxo{background:#112a49;text-align:center;padding:36px 0}
  .idj .s-fluxo .t{padding:0 20px}
  .idj .pill{display:inline-block;background:#fff;border-radius:999px;padding:4px 22px!important;font-size:24px}
  .idj img.m-fluxo{width:100%;margin:20px 0}

  .idj img.m-cards{width:78%}
  .idj .s-certidao h3.t{font-size:18px}
  .idj .s-certidao h3.t{position:relative;padding-left:1em}.idj .bul{left:0;top:.45em}
  .idj .yline{text-decoration-thickness:3px;text-underline-offset:4px}

  .idj img.m-selos{width:90%}

  .idj img.m-ouro{width:90px;margin:12px 0 0}
  .idj .pill2{text-align:center;margin-top:36px!important;font-size:28px}
  .idj .tiles{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:16px -20px 10px}
  .idj .tile{display:block;position:relative;overflow:hidden}
  .idj .tile img{margin:0!important;width:100%;aspect-ratio:3/4;object-fit:cover}
  .idj .tile .t{position:absolute;left:10px;right:10px;bottom:12px;font-size:clamp(12px,4vw,17px);line-height:1.15;margin:0!important;overflow-wrap:anywhere;text-shadow:0 1px 6px rgba(0,0,0,.6)}

  .idj .s-integradores{background:#494c55;display:flex;align-items:center;gap:18px;padding:16px 20px}
  .idj .s-integradores .t{font-size:16px}
  .idj img.m-sertix{width:110px;margin:0}

  .idj .s-lexbr{text-align:center}
  .idj img.m-lexbr{width:80%;margin:0 auto 18px}

  .idj .s-rodape{background:linear-gradient(#fff 0 44px,#111e27 44px);text-align:center;padding:0 20px 36px}
  .idj .s-rodape .c-r{font-size:13px;line-height:44px}
  .idj .m-foot{display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:26px}
  .idj .m-foot .t{margin:0!important}
  .idj img.m-parc{width:150px;margin:0}.idj img.m-selo{width:80px;margin:0}
  .idj .wa{position:fixed;left:auto;top:auto;right:16px;bottom:16px;width:54px;z-index:50;filter:drop-shadow(0 2px 6px rgba(0,0,0,.35));background:#111e27;border-radius:50%;padding:6px}
}
