/* ==========================================================================
   ZTL Biotecnologia — estilos do site reconstruído
   Estrutura: tokens → base → layout (mesh convertido) → componentes → páginas
   ========================================================================== */
:root {
  --c-primary: #4fb0b1;      /* turquesa ZTL */
  --c-primary-dk: #3b8f90;
  --c-ink: #1d1d1f;
  --c-text: #3a3a3a;
  --c-muted: #6b7280;
  --c-bg: #ffffff;
  --c-soft: #fafafa;
  --c-line: #e6e6e6;
  --radius: 15px;
  --radius-btn: 20px;        /* botões do Wix; campos de formulário usam o mesmo */
  --shadow: 0 8px 30px rgba(0, 0, 0, .08);
  --font: 'Inter', 'Nunito Sans', sans-serif;
  --maxw: 1425px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family:sans-serif; color: var(--c-text); background: var(--c-bg); line-height: 1.5; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; }
.tx ul, .tx ol { padding-left: 1.3em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; padding: 8px 12px; }
[hidden] { display: none !important; }

/* ---------------- layout convertido do mesh do Wix ---------------- */
/* flow-root: a margem da 1a linha fica dentro do fundo da seção (sem isso vazava e abria faixa branca entre seções) */
.sec { position: relative; width: 100%; isolation: isolate; display: flow-root; }
.wrap { position: relative; margin: 0 auto; width: 100%; }
.bgl { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.bgl img, .bgl video { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bgl .ov { position: absolute; inset: 0; }
.r { --mt: 0px; display: flex; align-items: flex-start; width: 100%; margin-top: var(--mt, 0); }
/* --it/--mt zerados na própria regra: sem isso o valor do grupo (.cg) era herdado e cada filho descia de novo */
.i { --it: 0px; flex: none; min-width: 0; margin-top: var(--it, 0); position: relative; }
.pb { height: var(--pb, 0); }
.cg { display: block; }
.L { position: relative; }
.L > .li { position: absolute; }
.L > .li.k-text .tx { width: 100%; }
.strip { position: relative; display: flex; align-items: flex-start; width: 100%; isolation: isolate; }
.col { position: relative; isolation: isolate; }
.colin, .boxin { position: relative; height: 100%; }
.box { position: relative; isolation: isolate; height: 100%; }
.tx { overflow-wrap: break-word; }
.tx a { color: inherit; }
.tx p.sp { line-height: 1; }
.im { display: block; width: 100%; height: 100%; }
.im img { width: 100%; height: auto; }
.L .im img, .L .li.k-img img { height: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 6px 12px; white-space: nowrap; text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s, background-color .2s; background: var(--c-primary); color: #fff; border: 0; border-radius: 999px; font: 500 15px sans-serif; text-align: center; }
.btn:hover { filter: brightness(.92); }
.btn:active { transform: translateY(1px); }
.btn .bi svg { width: 14px; height: 14px; fill: currentColor; }
.btn-outline { background: transparent !important; color: var(--c-ink) !important; border: 1px solid var(--c-ink) !important; }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-full { width: 100%; }
.svgw { display: block; width: 100%; }
.line { border: 0; width: 100%; margin: 0; }
.vid { position: relative; width: 100%; background: #000; }
.vid iframe, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map iframe { width: 100%; height: 100%; border: 0; }
.social { display: flex; gap: 10px; align-items: center; }
.social img { width: 39px; height: 39px; object-fit: contain; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.snap { font-size: 15px; }
.snap img { height: auto; }

/* ---------------- header ---------------- */
.site-header { position: relative; z-index: 50; background: #fff; }
.site-header.sticky { position: sticky; top: 0; }
.site-header .r { align-items: center; }
.search { display: flex; align-items: center; gap: 8px; height: 100%; min-height: 40px; border: 1px solid #d0d0d0; border-radius: 999px; padding: 0 14px; background: #fff; }
.search svg { width: 18px; height: 18px; fill: #555; flex: none; }
.search input { border: 0; outline: 0; width: 100%; font: inherit; font-size: 15px; background: transparent; }
.search.big { max-width: 640px; margin: 20px 0 30px; height: 50px; }
.login { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--c-ink); font-size: 15px; }
.login svg { width: 26px; height: 26px; fill: currentColor; }
.cart-btn { position: relative; display: inline-flex; background: none; border: 0; cursor: pointer; padding: 0; color: var(--c-ink); }
.cart-btn svg { width: 26px; height: 26px; fill: currentColor; }
.cart-count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--c-primary); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 4px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu > ul { display: flex; justify-content: center; flex-wrap: wrap; }
.menu > ul > li { position: relative; }
.menu a { display: flex; align-items: center; gap: 6px; padding: 12px 10px; text-decoration: none; color: var(--mc, #222); white-space: nowrap; transition: color .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--c-primary); }
.menu .car { width: 9px; height: 9px; fill: currentColor; }
.menu .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: var(--shadow); border-radius: 10px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 60; }
.menu .sub a { padding: 10px 18px; white-space: normal; }
.menu li.has-sub:hover > .sub, .menu li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.mbar, .drawer { display: none; }

/* ---------------- forms ---------------- */
.zform { display: grid; gap: 14px; width: 100%; }
.zform .fld { display: grid; gap: 6px; }
.zform label { font-size: 14px; color: var(--c-ink); }
.zform input, .zform textarea, .zform select { width: 100%; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid #c9c9c9; border-radius: var(--radius-btn); background: #fff; color: var(--c-ink); }
.zform textarea { min-height: 110px; resize: vertical; }
.zform input:focus, .zform textarea:focus, .zform select:focus { outline: 2px solid var(--c-primary); outline-offset: 1px; border-color: transparent; }
.zform .chk label { display: flex; gap: 8px; align-items: flex-start; }
.zform .chk input { width: auto; margin-top: 4px; }
.zform .fbtn { width: auto; justify-self: start; min-height: 44px; padding: 10px 28px; border-radius: var(--radius-btn) !important; }
.zform.news { grid-template-columns: 1fr auto; align-items: end; }
.zform.news .fmsg { grid-column: 1 / -1; }
.fmsg { font-size: 14px; color: var(--c-primary-dk); }
.fmsg.err { color: #c0392b; }
.ftitle { font-size: 22px; color: var(--c-ink); }

/* ---------------- cards: posts / produtos / eventos ---------------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.pcard { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pc-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pc-body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--c-muted); }
.pcard h3 { font-size: 21px; line-height: 1.3; color: var(--c-ink); }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { color: var(--c-primary); }
.pcard p { font-size: 15px; color: var(--c-text); }
.prgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.prod { display: grid; gap: 8px; align-content: start; }
.pr-img { position: relative; display: block; background: var(--c-soft); overflow: hidden; }
.pr-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.prod:hover .pr-img img { transform: scale(1.04); }
.prod h3 { font-size: 16px; font-weight: 500; color: var(--c-ink); }
.prod h3 a { text-decoration: none; }
.price { color: var(--c-ink); }
.price s { color: var(--c-muted); margin-right: 6px; }
.price.big { font-size: 24px; margin: 6px 0 18px; }
.ribbon { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--c-primary); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; }
.pp-info .ribbon, .plan .ribbon { position: static; display: inline-block; margin-bottom: 10px; }
.slider { position: relative; }
.sl-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 23%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sl-track::-webkit-scrollbar { display: none; }
.sl-track > * { scroll-snap-align: start; }
.sl-prev, .sl-next { position: absolute; top: 35%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 26px; cursor: pointer; }
.sl-prev { left: -14px; } .sl-next { right: -14px; }
.elist { display: grid; gap: 28px; }
.ecard { display: grid; grid-template-columns: 340px 1fr; gap: 28px; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ec-img img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ec-body { padding: 24px 24px 24px 0; display: grid; gap: 10px; align-content: start; }
.ec-body .btn { width: auto; justify-self: start; padding: 10px 26px; }
.ec-date { color: var(--c-primary-dk); font-weight: 600; font-size: 14px; }
.ecard h3 { font-size: 22px; color: var(--c-ink); }
.ecard h3 a { text-decoration: none; }
.ec-loc { color: var(--c-muted); font-size: 14px; }

/* ---------------- blog / post ---------------- */
.post-wrap { max-width: 980px; margin: 0 auto; padding: 30px var(--gutter) 80px; }
.post-wrap.wide { max-width: 1180px; }
.blognav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; padding: 14px 0 18px; border-bottom: 1px solid var(--c-line); margin-bottom: 36px; font-size: 15px; }
.blognav a { text-decoration: none; color: var(--c-text); }
.blognav a:hover { color: var(--c-primary); }
.bsearch { margin-left: auto; }
.bsearch input { border: 0; border-bottom: 1px solid #bbb; padding: 4px; font: inherit; }
.bl-title { font-size: 34px; color: var(--c-ink); margin-bottom: 28px; }
.post { border: 1px solid var(--c-line); padding: clamp(24px, 6vw, 70px); border-radius: var(--radius); background: #fff; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--c-muted); margin-bottom: 20px; }
.post-meta .author { color: var(--c-ink); font-weight: 600; }
.post h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; color: var(--c-ink); margin-bottom: 28px; }
.post-content { font-size: 18px; line-height: 1.75; color: #2b2b2b; }
.post-content > * + * { margin-top: 1.1em; }
.post-content h2 { font-size: 28px; line-height: 1.3; margin-top: 1.6em; color: var(--c-ink); }
.post-content h3 { font-size: 23px; margin-top: 1.4em; color: var(--c-ink); }
.post-content img { width: 100%; height: auto; margin: 1em auto; border-radius: var(--radius); }
.post-content figure { margin: 1.4em 0; }
.post-content figcaption { font-size: 14px; color: var(--c-muted); text-align: center; }
.post-content blockquote { border-left: 3px solid var(--c-primary); margin: 1.4em 0; padding: 4px 0 4px 20px; font-style: italic; }
.post-content a { color: var(--c-primary-dk); }
.post-content iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content, .pp-desc, .ev-about, .snap { overflow-wrap: anywhere; }
.post-content *, .pp-desc *, .ev-about *, .snap * { max-width: 100%; }
.post-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.post-content td, .post-content th { border: 1px solid var(--c-line); padding: 6px 10px; }
.post-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.post-cats a, .post-cats .tag { font-size: 14px; border: 1px solid var(--c-line); border-radius: 999px; padding: 4px 14px; text-decoration: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; font-size: 14px; }
.share a, .share button { color: var(--c-ink); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.paywall { margin-top: 30px; padding: 24px; background: var(--c-soft); border-radius: var(--radius); display: grid; gap: 14px; justify-items: start; }
.paywall .btn { width: auto; }
.related { margin-top: 60px; }
.rel-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.related h2, .comments h2 { font-size: 24px; color: var(--c-ink); margin-bottom: 20px; }
.comments { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--c-line); }
.comments-hook { color: var(--c-muted); font-size: 15px; }

/* ---------------- produto / loja ---------------- */
.pp-wrap, .store, .grp { max-width: 1180px; margin: 0 auto; padding: 30px var(--gutter) 80px; }
.crumbs { font-size: 14px; color: var(--c-muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.pp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.pp-gal { position: sticky; top: 20px; }
.pp-main img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--c-soft); }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pp-thumbs button { border: 1px solid transparent; padding: 0; background: none; cursor: pointer; width: 76px; }
.pp-thumbs button.on { border-color: var(--c-ink); }
.pp-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pp-info h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--c-ink); }
.sku { font-size: 13px; color: var(--c-muted); margin-top: 8px; }
.qty { margin-bottom: 16px; }
.qty label { display: grid; gap: 6px; font-size: 14px; }
.qty input, .opts select { width: 110px; padding: 9px 10px; border: 1px solid #c9c9c9; border-radius: var(--radius-btn); font: inherit; }
.opts { margin-bottom: 14px; }
.pp-info .btn { min-height: 46px; margin-bottom: 12px; border-radius: var(--radius-btn); }
.pp-desc { margin-top: 18px; font-size: 16px; line-height: 1.7; }
.pp-desc > * + * { margin-top: .9em; }
.pp-desc pre, .post-content pre { white-space: normal; font: inherit; margin: 0; }
.info { border-top: 1px solid var(--c-line); padding: 14px 0; }
.info summary { cursor: pointer; font-weight: 600; }
.store-grid { display: grid; grid-template-columns: 230px 1fr; gap: 40px; }
.store-side h3 { font-size: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); margin-bottom: 12px; }
.store-side ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.store-side a { text-decoration: none; }
.store-side a.on, .store-side a:hover { color: var(--c-primary); font-weight: 600; }
.store-main h1 { font-size: 32px; color: var(--c-ink); margin-bottom: 14px; }
.store-banner { width: 100%; max-height: 300px; object-fit: cover; margin-bottom: 20px; }
.store-bar { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 24px; }
.store-bar select { border: 0; font: inherit; background: none; }

/* ---------------- eventos ---------------- */
.ev-wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 80px; }
.ev-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 50px 0; }
.ev-head img { width: 100%; border-radius: var(--radius); }
.ev-hinfo { display: grid; gap: 16px; justify-items: start; }
.ev-hinfo h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; color: var(--c-ink); }
.ev-hinfo .btn { width: auto; padding: 12px 30px; }
.ev-sd { color: var(--c-muted); }
.ev-closed { font-weight: 600; color: var(--c-ink); }
.ev-body { max-width: 760px; display: grid; gap: 14px; }
.ev-body h2 { font-size: 24px; color: var(--c-ink); margin-top: 20px; }
.ev-about > * + * { margin-top: .9em; }

/* ---------------- planos / grupos / simples ---------------- */
.simple { max-width: 1180px; margin: 0 auto; padding: 50px var(--gutter) 90px; }
.simple h1 { font-size: 34px; color: var(--c-ink); margin-bottom: 20px; }
.plans-head { text-align: center; margin-bottom: 40px; }
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.plan { width: 320px; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px 28px; text-align: center; display: grid; gap: 10px; align-content: start; background: #fff; }
.plan.hl { border-color: var(--c-primary); box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; color: var(--c-ink); }
.plan-price { font-size: 46px; font-weight: 600; color: var(--c-ink); }
.plan .plan-price small { font-size: 20px; vertical-align: top; }
.plan ul { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--c-line); text-align: left; display: grid; gap: 8px; font-size: 15px; }
.plan li::before { content: '✓ '; color: var(--c-primary); font-weight: 700; }
.grp-cover { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); }
.grp-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; }
.grp-head .btn { width: auto; padding: 10px 28px; }
.grp-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--c-line); padding-bottom: 12px; overflow-x: auto; }
.grp-body { padding: 40px 0; text-align: center; }
.sres { display: grid; gap: 18px; }
.sres a.hit { display: grid; grid-template-columns: 110px 1fr; gap: 18px; text-decoration: none; padding: 14px; border: 1px solid var(--c-line); border-radius: var(--radius); }
.sres a.hit img { width: 110px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.sres .t { font-size: 12px; text-transform: uppercase; color: var(--c-primary-dk); letter-spacing: .06em; }
.sres h3 { font-size: 19px; color: var(--c-ink); }
.cart-page .ci { grid-template-columns: 90px 1fr auto; }

/* ---------------- biblioteca / submissão ---------------- */
.lib { max-width: 1180px; margin: 0 auto; padding: 40px var(--gutter) 90px; display: grid; gap: 56px; }
.lib-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lib-hero h1 { font-size: clamp(30px, 4vw, 44px); color: var(--c-ink); margin-bottom: 14px; }
.lib-hero p { font-size: 20px; line-height: 1.5; }
.lib-hero img { width: 100%; border-radius: var(--radius); }
.lib-feat { background: var(--c-soft); border-radius: var(--radius); padding: 34px; display: grid; gap: 12px; justify-items: start; }
.lib-feat span { color: var(--c-primary-dk); font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.lib-feat h2 { font-size: 26px; color: var(--c-ink); }
.lib-feat .btn, .sub-art .btn { width: auto; padding: 12px 30px; }
.lib-list h2 { font-size: 30px; color: var(--c-ink); margin-bottom: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button { border: 1px solid var(--c-line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.sub-art { max-width: 860px; display: grid; gap: 22px; justify-items: start; }
.sa-logos { display: flex; gap: 28px; align-items: center; }
.sa-logos img { height: 90px; width: auto; }
.sa-text { font-size: 18px; line-height: 1.7; display: grid; gap: 14px; }
.sub-art h2 { font-size: 22px; color: var(--c-ink); line-height: 1.4; }

/* ---------------- carrinho (drawer) ---------------- */
.cart { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .35); display: flex; justify-content: flex-end; }
.cart-in { width: min(420px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; }
.cart-h { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--c-line); }
.cart-h h2 { font-size: 20px; }
.cart-h button { font-size: 30px; line-height: 1; background: none; border: 0; cursor: pointer; }
.cart-items { flex: 1; overflow: auto; padding: 10px 24px; }
.ci { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.ci img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ci button { background: none; border: 0; cursor: pointer; color: var(--c-muted); }
.ci input { width: 56px; padding: 4px; }
.cart-f { padding: 20px 24px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; }
.cart-f .btn { min-height: 46px; border-radius: var(--radius-btn); }
.empty-cart { color: var(--c-muted); padding: 30px 0; text-align: center; }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .85); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lb img { max-height: 92vh; width: auto; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--c-ink); color: #fff; padding: 12px 20px; border-radius: 8px; z-index: 400; font-size: 14px; }

/* ---------------- responsivo ---------------- */
@media (max-width: 1100px) {
  .menu a { padding: 12px 7px; }
}
@media (max-width: 900px) {
  .dbar { display: none; }
  .site-header { position: sticky; top: 0; box-shadow: 0 1px 0 var(--c-line); }
  .mbar { display: flex; align-items: center; justify-content: space-between; padding: 8px var(--gutter); background: #fff; }
  .mlogo img { height: 52px; width: auto; }
  .mact { display: flex; align-items: center; gap: 18px; }
  .burger { width: 34px; height: 34px; background: none; border: 0; display: grid; align-content: center; gap: 6px; cursor: pointer; padding: 4px; }
  .burger span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .drawer { display: block; background: #fff; border-top: 1px solid var(--c-line); max-height: calc(100vh - 68px); overflow: auto; }
  .drawer-in { padding: 16px var(--gutter) 30px; display: grid; gap: 16px; }
  .drawer .menu > ul { display: block; }
  .drawer .menu a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--c-line); white-space: normal; }
  .drawer .menu .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .drawer-act { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .drawer-act .btn { width: auto; padding: 10px 22px; }

  .wrap { padding: 0 var(--gutter); }
  .r { flex-direction: column; align-items: stretch; margin-top: min(var(--mt, 0px), 28px); }
  .r:first-child { margin-top: max(min(var(--mt, 0px), 36px), 20px); }
  .i { width: 100% !important; margin-left: 0 !important; margin-top: 0; }
  .r > .i + .i { margin-top: 16px; }
  .i.k-img, .i.k-btn, .i.k-svg, .i.k-social { max-width: min(var(--w), 100%); align-self: center; }
  .i.k-btn .btn { min-height: 44px; }
  .pb { height: min(var(--pb, 0px), 32px); }
  .L:not(.card) { height: auto !important; display: grid; gap: 14px; }
  .L:not(.card) > .li { position: relative; left: auto !important; top: auto !important; width: 100% !important; height: auto !important; }
  .L.card { aspect-ratio: var(--ar); height: auto !important; max-width: min(var(--w), 100%); align-self: center; }
  .strip { flex-direction: column; min-height: 0 !important; }
  .col { width: 100% !important; min-height: 0 !important; margin-left: 0 !important; margin-top: 0 !important; }
  .strip { gap: 1px; }
  .col.empty { min-height: 260px !important; }
  .col.spacer { display: none; }
  .colin, .boxin { padding: 0 0 20px; }
  .box { min-height: 0 !important; padding: 20px; }
  /* o tamanho vem inline do desktop do Wix (que usa h1 até em parágrafo de 20px): reduz por faixa, nunca aumenta */
  .tx [style*="font-size:20"], .tx [style*="font-size:21"], .tx [style*="font-size:22"] { font-size: 17px !important; line-height: 1.4 !important; }
  .tx [style*="font-size:23"], .tx [style*="font-size:24"] { font-size: 18px !important; line-height: 1.4 !important; }
  .tx [style*="font-size:25"], .tx [style*="font-size:26"], .tx [style*="font-size:27"], .tx [style*="font-size:28"], .tx [style*="font-size:29"] { font-size: 20px !important; line-height: 1.3 !important; }
  .tx [style*="font-size:3"] { font-size: 24px !important; line-height: 1.25 !important; }
  .tx [style*="font-size:4"] { font-size: 28px !important; line-height: 1.2 !important; }
  .tx [style*="font-size:5"], .tx [style*="font-size:6"], .tx [style*="font-size:7"], .tx [style*="font-size:8"], .tx [style*="font-size:9"] { font-size: 30px !important; line-height: 1.15 !important; }
  .tx [style*="text-align:right"] { text-align: left !important; }
  /* rodapé centralizado e logos lado a lado, como no celular do Wix */
  .site-footer .tx p { text-align: center !important; }
  .site-footer .r:has(> .i.k-img + .i.k-img) { flex-direction: row; justify-content: center; align-items: center; gap: 14px; }
  .site-footer .r:has(> .i.k-img + .i.k-img) > .i { width: 30% !important; margin-top: 0 !important; }
  .site-footer .zform label { text-align: center; }
  .site-footer .zform.news .fbtn { width: 100%; justify-self: stretch; }
  /* coluna só com foto decorativa vira tira de 40px no celular; o Wix esconde */
  .col:has(> .colin > .r:only-child > .i.k-unknown:only-child) { display: none; }
  .map { height: 300px !important; }
  .zform.news { grid-template-columns: 1fr; }
  .pp, .ev-head, .store-grid, .lib-hero { grid-template-columns: 1fr; gap: 28px; }
  .pp-gal { position: static; }
  .ecard { grid-template-columns: 1fr; }
  .ec-body { padding: 0 20px 24px; }
  .sl-track { grid-auto-columns: 70%; }
  .sl-prev, .sl-next { display: none; }
  .store-side ul { display: flex; flex-wrap: wrap; gap: 8px 14px; }
  .bsearch { margin-left: 0; width: 100%; }
  .pgrid { grid-template-columns: 1fr; }
  .prgrid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Blog (layout do /blog, igual ao Wix) ===== */
.blogpage { background: #fafafa; padding-bottom: 60px; }
.blogpage .bl-in { width: min(1085px, calc(100% - 32px)); margin: 0 auto; }
.bl-hero { position: relative; background: var(--c-primary); color: #fff; overflow: hidden; padding: 46px 0 72px; }
.bl-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .08; }
.bl-hero .bl-in { position: relative; width: min(1150px, calc(100% - 32px)); }
.bl-hero h1 { font: 600 46px/1.15 'Inter', sans-serif; color: #fff; margin: 0 0 12px; }
.bl-hero p { font: 400 20px/1.4 'Inter', sans-serif; margin: 0; }
.bl-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 50px; fill: #fafafa; }
.bl-feat { padding: 30px 0 10px; }
.bl-feat .bl-in { position: relative; min-height: 460px; }
.bf-img { width: 60%; height: 410px; border-radius: var(--radius); overflow: hidden; }
.bf-img img { width: 100%; height: 100%; object-fit: cover; }
.bf-card { position: absolute; left: 35%; right: calc(-1 * max(0px, min(98px, (100vw - 1085px) / 2 - 16px))); top: 108px; background: #fff; border-radius: var(--radius); box-shadow: 0 6px 30px rgba(0,0,0,.07); padding: 44px 56px 72px; }
.bf-card h2 { font: 500 35px/1.2 'Inter', sans-serif; color: var(--c-ink); margin: 0 0 14px; }
.bf-card p { font: 400 17px/1.25 'Inter', sans-serif; color: var(--c-ink); margin: 0 0 26px; }
.bf-card .btn { width: auto; min-height: 42px; padding: 0 40px; font: 400 14px 'Inter', sans-serif; }
.bl-list { padding-top: 60px; }
.bl-cats { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 36px; background: #fff; padding: 22px 0 18px; font: 600 15px 'Inter', sans-serif; }
.bl-cats a { color: var(--c-primary); text-decoration: none; }
.bl-cats a[aria-current="page"] { color: var(--c-ink); }
.bl-cats a:hover { color: var(--c-primary-dk); }
.bl-cats .bl-search { margin-left: auto; display: inline-flex; }
.bl-search svg { width: 17px; height: 17px; fill: var(--c-primary); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #fff; padding-bottom: 10px; }
.bcard { background: #fff; border: 1px solid #ececec; display: flex; flex-direction: column; min-width: 0; }
.bc-img img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.bc-body { padding: 26px 24px 20px; display: flex; flex-direction: column; flex: 1; font-family: 'Inter', sans-serif; }
.bc-author { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.bc-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.bc-author div { display: grid; font-size: 12px; line-height: 1.4; color: var(--c-muted); }
.bc-more { margin-left: auto; color: var(--c-ink); font-size: 18px; }
.bcard h3 { font: 600 21px/1.35 'Inter', sans-serif; color: var(--c-ink); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bcard h3 a { color: inherit; text-decoration: none; }
.bcard h3 a:hover { color: var(--c-primary); }
.bcard p { font-size: 15px; line-height: 1.55; color: var(--c-muted); margin: 0 0 30px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-foot { margin-top: auto; border-top: 1px solid #e3e3e3; padding-top: 16px; display: flex; align-items: center; gap: 22px; font-size: 13px; color: var(--c-muted); }
.bc-foot span { display: inline-flex; align-items: center; gap: 6px; }
.bc-foot svg { width: 17px; height: 17px; fill: currentColor; }
.bc-foot .bc-like { margin-left: auto; color: var(--c-ink); }
.bc-like svg { fill: #e04b4b; }
@media (max-width: 900px) {
  .bl-hero { padding: 34px 0 56px; }
  .bl-hero h1 { font-size: 32px; }
  .bl-hero p { font-size: 17px; }
  .bl-feat .bl-in { min-height: 0; }
  .bf-img { width: 100%; height: 240px; }
  .bf-card { position: relative; top: auto; left: auto; right: auto; width: auto; margin: -40px 12px 0; padding: 28px 24px 32px; }
  .bf-card h2 { font-size: 26px; }
  .bf-card p { font-size: 16px; line-height: 1.4; }
  .bl-list { padding-top: 36px; }
  .bl-cats { flex-wrap: nowrap; overflow-x: auto; gap: 24px; padding: 16px 12px; white-space: nowrap; scrollbar-width: none; }
  .bgrid { grid-template-columns: 1fr; gap: 16px; background: transparent; }
}
@media (min-width: 901px) and (max-width: 1100px) { .bgrid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Home (layout da home, igual ao Wix) ===== */
.hdiv { line-height: 0; }
.hdiv svg { display: block; width: 100%; height: 40px; }
.hgrid { background: transparent; gap: 12px; padding: 0; }
.hgrid .bcard { border-radius: var(--radius); overflow: hidden; }
.hgrid .bc-body { padding: 22px 22px 18px; }
.hgrid .bc-author { margin-bottom: 14px; }
.hgrid h3 { font-weight: 400; font-size: 19px; line-height: 1.55; margin-bottom: 12px; -webkit-line-clamp: 3; }
.hgrid p { font-size: 14px; color: var(--c-ink); margin-bottom: 26px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 18px; font: 400 14px 'Inter', sans-serif; }
.pager button { border: 0; background: none; cursor: pointer; min-width: 30px; height: 30px; color: var(--c-ink); font: inherit; font-size: 15px; border-radius: 6px; }
.pager button:hover:not(:disabled) { color: var(--c-primary); }
.pager button:disabled { color: #b9b9b9; cursor: default; }
.pager button[aria-current="page"] { color: var(--c-primary); font-weight: 600; }
.pager-n { display: inline-flex; gap: 4px; }
/* fotos e cartões arredondados nos blocos Socell, Jornal Socell e Academy */
#comp-mpzt9ez2 .li:first-child .col.empty, #comp-mq1hfkyx .li:first-child .col.empty, #comp-mq1hvq1c .li:first-child .col.empty { border-radius: var(--radius); overflow: hidden; }
#comp-mpzt9ez2 .li:nth-child(2) .col:not(.spacer), #comp-mq1hfkyx .li:nth-child(2) .col:not(.spacer) { border-top-left-radius: var(--radius); }
#comp-mq1hvq1c .li:nth-child(2) .col:not(.spacer) { border-top-right-radius: var(--radius); }
/* formulário de contato */
.hform { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 16px; }
.hform > * { grid-column: 1 / -1; }
.hform > .fld:nth-of-type(1), .hform > .fld:nth-of-type(2) { grid-column: auto; }
.hform .ftitle { font-size: 25px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; max-width: 520px; }
.hform label { font-size: 13px; }
.hform input, .hform textarea { border: 1px solid var(--c-primary); border-radius: var(--radius-btn); padding: 8px 14px; font-size: 14px; background: #fffefb; }
.hform textarea { min-height: 92px; }
.hform .fld { position: relative; }
.hform .tel-bandeira { position: absolute; left: 14px; bottom: 12px; line-height: 0; }
.hform .tel-bandeira svg { width: 20px; height: 14px; border-radius: 2px; }
.hform input[type="tel"] { padding-left: 44px; }
.hform .fbtn { width: 100%; justify-self: stretch; min-height: 40px; font-weight: 600; margin-top: 8px; }
@media (max-width: 900px) {
  .hform { grid-template-columns: 1fr; }
  .hform > .fld:nth-of-type(1), .hform > .fld:nth-of-type(2) { grid-column: 1 / -1; }
  .hdiv svg { height: 24px; }
}

/* ===== Jornal Socell /home/ (layout igual ao Wix) ===== */
.jornalpage #comp-lm9hx1de .k-img:not(:first-child) img, .jornalpage #comp-ls3udqpn .k-img img { border-radius: var(--radius); }
.jornalpage #comp-lm9hx1de .r:nth-child(3) .k-img img { border-radius: var(--radius); }
/* a exportação empilhou a foto da direita duas vezes (fundo da coluna + cópia por cima) */
.jornalpage #comp-lm9hx1de .k-unknown { display: none; }
#comp-mq1p7980 .li:first-child .col.empty { border-radius: var(--radius); overflow: hidden; }
#comp-mq1p7980 .li:nth-child(2) .col:not(.spacer) { border-top-right-radius: var(--radius); }
/* carrossel de artigos: 3 por vez */
.jslider { padding: 0 44px; }  /* sem max-width: o carrossel vai até as margens do cabeçalho */
.jslider .sl-track { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
.jslider .prod .price, .jslider .prod .btn { display: none; }
.jslider .pr-img { border-radius: var(--radius); overflow: hidden; display: block; }
.jslider .pr-img img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.jslider .prod h3 { font-size: 13px; font-weight: 400; line-height: 1.35; }
.jslider .sl-prev, .jslider .sl-next { background: none; box-shadow: none; width: 32px; font-size: 34px; color: var(--c-ink); top: 28%; }
.jslider .sl-prev { left: 0; } .jslider .sl-next { right: 0; }
.sl-dots { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.sl-dots button { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: #9a9a9a; cursor: pointer; }
.sl-dots button[aria-current="true"] { width: 7px; height: 7px; background: var(--c-ink); }
/* eventos em lista */
.elist2 { display: grid; padding: 0 22px; }
.erow { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid #e3e3e3; font-family: 'Inter', sans-serif; }
.erow:last-of-type { border-bottom: 1px solid #e3e3e3; }
.er-img img { width: 56px; height: 56px; object-fit: cover; display: block; }
.er-body { min-width: 0; display: grid; }
.er-date { color: var(--c-primary); font-weight: 600; font-size: 13px; }
.er-line { margin: 0; font-size: 16px; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.er-line a { color: inherit; text-decoration: none; }
.er-line a:hover { color: var(--c-primary); }
.er-loc { font-weight: 600; font-size: 13px; }
.er-btn { width: auto; min-height: 30px; padding: 4px 18px; font: 400 13px 'Inter', sans-serif; }
.er-more { display: flex; justify-content: center; padding-top: 34px; }
.er-more .btn { width: auto; min-width: 140px; min-height: 36px; background: #fff; color: var(--c-ink); border: 1px solid var(--c-ink); font: 400 13px 'Inter', sans-serif; }
#comp-lmc31k7a .tx a { text-decoration: none; }
@media (max-width: 900px) {
  .jslider { padding: 0; }
  .jslider .sl-track { grid-auto-columns: 72%; }
  .elist2 { padding: 0; }
  .erow { grid-template-columns: 48px 1fr; }
  .er-btn { grid-column: 2; justify-self: start; }
  .er-line { white-space: normal; }
}

/* ===== PRP (layout igual ao Wix) ===== */
.prppage #comp-mqefcxle > .bgl img { opacity: .3; }
.prppage .btn .bi { display: none; }

/* ===== Eventos e Cursos (layout igual ao Wix) ===== */
.ev-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 34px; z-index: 2; }
.eventospage #comp-lm9hx1cl .wrap > .r:first-child { margin-top: 40px; }
.eventospage .elist2 { padding: 0; }
.eventospage .erow { grid-template-columns: 76px 1fr auto; padding: 26px 0; }
.eventospage .er-img img { width: 76px; height: 76px; }
.eventospage .er-line { font-size: 23px; }
.eventospage .er-loc { font-size: 15px; }
.eventospage .er-btn { min-height: 38px; padding: 6px 20px; font-size: 14px; }
.cursospage .k-layer .li .col.empty:not(.spacer), .cursospage .k-layer .li .col:not(.empty):not(.spacer) { border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) {
  .eventospage .erow { grid-template-columns: 56px 1fr; }
  .eventospage .er-img img { width: 56px; height: 56px; }
  .eventospage .er-line { font-size: 17px; }
}

/* ===== Biblioteca (raio das imagens igual às outras páginas) ===== */
.lib .pr-img { display: block; border-radius: var(--radius); overflow: hidden; }
.lib-hero img { border-radius: var(--radius); }

/* ===== Raio único: toda imagem e todo cartão do conteúdo usam var(--radius) ===== */
main .k-img img, main .k-unknown img { border-radius: var(--radius); }
main .box[style*="border-radius"] { border-radius: var(--radius) !important; }
main .k-layer .col.empty:not(.spacer), main .k-layer .col[style*="background-color"]:not(.spacer) { border-radius: var(--radius); overflow: hidden; }
main .k-layer .li:nth-child(2) .col[style*="background-color"]:not(.spacer) { overflow: visible; }
.bcard, .prod .pr-img, .pc-img, .er-img img, .ec-img img { border-radius: var(--radius); overflow: hidden; }
.prod .pr-img, .pc-img { display: block; }
.bcard .bc-img img { border-radius: 0; }
main .k-layer.L.card { border-radius: var(--radius); overflow: hidden; }
main .k-layer.L.card .k-img img { border-radius: 0; }
/* colunas com foto de fundo que não ocupam a faixa toda (ex.: time do /sobre/) */
main .strip > .col:has(> .bgl):not([style*="width:100%"]) { border-radius: var(--radius); overflow: hidden; }
.pp-main img, .pp-thumbs img { border-radius: var(--radius); }

/* ===== Seletor de idioma (PT/EN/ES) ===== */
.langs { display: flex; align-items: center; gap: 12px; font: 500 12px 'Inter', sans-serif; white-space: nowrap; }
.langs a { display: inline-flex; align-items: center; gap: 5px; color: var(--c-muted); text-decoration: none; }
.langs a:hover { color: var(--c-primary); }
.langs a[aria-current] { color: var(--c-ink); font-weight: 600; }
.langs svg { width: 17px; height: 12px; border-radius: 2px; flex: none; }
.drawer .langs { padding: 14px 0 6px; gap: 20px; font-size: 14px; }

/* textos traduzidos ficam mais longos: hifeniza pelo <html lang> em vez de quebrar a palavra no meio */
.tx, .bcard h3, .er-line { hyphens: auto; -webkit-hyphens: auto; }
.login span, .k-btn .btn span { white-space: nowrap; }

/* ===== Minha conta (/conta/) ===== */
.contapage { background: #fafafa; padding: 40px 0 70px; }
.conta { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.conta h1 { font: 600 34px 'Inter', sans-serif; color: var(--c-ink); margin: 0 0 22px; }
.conta-app { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,.05); }
.conta-app .zform { max-width: 460px; }
.conta-app .btn { width: auto; min-height: 42px; padding: 8px 26px; }
.conta-abas { display: flex; gap: 6px; margin-bottom: 20px; border-bottom: 1px solid var(--c-line); }
.conta-abas button { border: 0; background: none; padding: 10px 16px; font: 600 15px 'Inter', sans-serif; color: var(--c-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.conta-abas button[aria-selected="true"] { color: var(--c-primary-dk); border-bottom-color: var(--c-primary); }
.conta-dica { font-size: 13px; color: var(--c-muted); margin: -6px 0 4px; }
.conta-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.conta-check input { width: auto; margin-top: 3px; }
.conta-link { font-size: 14px; }
.conta-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.conta-ola { font-size: 18px; margin: 0; }
.conta-selo { padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 0 0 18px; }
.conta-selo.ok { background: #eaf6ef; color: #2f855a; }
.conta-selo.aviso { background: #fff6e5; color: #8a5a12; }
.conta-linkbtn { border: 0; background: none; color: var(--c-primary-dk); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.conta-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.conta-cartao { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; }
.conta-cartao h2 { font: 600 18px 'Inter', sans-serif; margin: 0 0 14px; }
.conta-cartao h3 { font: 600 15px 'Inter', sans-serif; margin: 22px 0 8px; }
.conta-sessoes { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.conta-sessoes li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.conta-sessoes small { color: var(--c-muted); }
@media (max-width: 900px) { .conta-app { padding: 20px 16px; } .conta h1 { font-size: 26px; } }
/* /prp/ no celular: a faixa do topo cresce e a foto do casal vai para baixo do texto (cover ampliava a foto e o texto caía sobre os rostos) */
@media (max-width: 900px) {
  .prppage > .sec:first-child { min-height: 540px; background: #22559c !important; }
  .prppage > .sec:first-child .bgl img { position: absolute; inset: auto; right: -15%; bottom: 0; width: 150%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%); }
}
/* conteúdo de cada seção alinhado às bordas do cabeçalho (logo / "Área de Alunos"): escala e deslocamento por seção,
   gravados no .wrap por _build/margens.py a partir da medição de _build/margens_medir.py; só no desktop */
@media (min-width: 901px) {
  .wrap[data-aj] { overflow-x: clip; }  /* faixa de 100% esticada passaria da tela */
  .wrap[data-aj] > * { width: calc(100% * var(--ajk)); margin-left: var(--ajm); }
}
/* páginas montadas fora do mesh (post, produto, loja, eventos, biblioteca, planos, blog): mesma régua do cabeçalho,
   que no container de 1425px vai de 9,965% (logo) a 91,238% ("Área de Alunos") */
@media (min-width: 901px) {
  .post-wrap, .pp-wrap, .store, .grp, .ev-wrap, .simple, .lib, .blogpage .bl-in {
    max-width: none; width: calc(min(100%, 1425px) * .81273); padding-left: 0; padding-right: 0; margin-right: 0;
    margin-left: calc((100% - min(100%, 1425px)) / 2 + min(100%, 1425px) * .09965);
  }
  .bf-card { right: 0; }  /* o cartão do destaque passava da coluna; agora a coluna já vai até a margem */
}
.conta-app .btn { border-radius: var(--radius-btn); }  /* mesmo raio dos campos */
/* topo: idiomas, login, carrinho e "Área de Alunos" centrados na altura da busca (o Wix deixava cada um com um --it diferente) */
@media (min-width: 901px) {
  .site-header .dbar > .r:first-child > .i:not(.k-img) { margin-top: 0 !important; align-self: center; }
  .site-header .dbar > .r:first-child > .k-box > .box { min-height: 0 !important; }
  .site-header .dbar .k-login, .site-header .dbar .k-cart { display: flex; align-items: center; }
}
/* entre 901 e 1400px o botão do topo encolhe e o texto passava da borda */
@media (min-width: 901px) and (max-width: 1400px) {
  .site-header .dbar .k-btn .btn { letter-spacing: 0 !important; padding: 6px 8px; font-size: 11px !important; }
  .site-header .dbar .k-btn .btn .bi { display: none; }
}
/* abaixo de ~1400px os rótulos PT/EN/ES invadiam o login e "Iniciar sesión" invadia o carrinho:
   ficam só as bandeiras (idioma atual destacado) e, em espanhol, o ícone do login; o texto continua para leitor de tela */
@media (min-width: 901px) and (max-width: 1400px) {
  .site-header .dbar .langs { gap: 9px; }
  .site-header .dbar .langs a:not([aria-current]) { opacity: .55; }
  .site-header .dbar .langs a span, html[lang^="es"] .site-header .dbar .login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* régua do celular: foto, cartão e texto na mesma margem da página (16px, a do logo e do menu).
   Foto/cartão do mesh com 250px ou mais no desktop ocupam a coluna inteira (antes ficavam com a largura do Wix e
   centralizados: 23, 35 ou 66px de margem); logos e ícones menores continuam no tamanho próprio.
   max((w - 249px) * 1000, w): passa de 100% quando w >= 250px, senão fica w. */
@media (max-width: 900px) {
  .i.k-img, .L.card { max-width: min(max(var(--w), (var(--w) - 249px) * 1000), 100%); }
  .post { padding: 0; border: 0; background: none; border-radius: 0; }  /* moldura somava 24px à margem dos artigos */
  .plan { width: 100%; }
}
