/* ==========================================================================
   ABPp — Novo layout (v2) — Associados: associe-se, encontre um psicopedagogo, associados
   Prefixos: as- (associe-se), en- (encontre), ad- (associados), ax- (compartilhado)
   Formulários e modal reaproveitam v2-inscricao.css (.field, .modal, .done...).
   ========================================================================== */

.ax-section { padding: clamp(56px, 7vw, 104px) 0; position: relative; }
.ax-section.tint { background: var(--paper-2); }
.ax-section.tint.round { border-radius: var(--radius-xl); margin-inline: clamp(0px, 1.5vw, 24px); }
[id] { scroll-margin-top: calc(var(--sticky-top, 0px) + 24px); }
.ax-note { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); }
.ax-note .icon { color: var(--accent); margin-top: 2px; }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; background: color-mix(in oklab, var(--accent-2) 26%, var(--paper)); color: var(--ink-2); }

/* ==========================================================================
   ASSOCIE-SE
   ========================================================================== */
.as-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.as-hero h1 { font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5rem); }
.as-hero .lead { max-width: 50ch; }
.as-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.as-hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.as-hero-visual .motif-hero { right: 50%; top: 50%; transform: translate(50%, -50%); width: 520px; height: 520px; }

/* carteirinha digital (prévia) */
.as-card {
    position: relative; width: min(400px, 100%); aspect-ratio: 1.6; border-radius: 26px; padding: 24px; color: #fff; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: space-between;
    background: radial-gradient(120% 90% at 100% 0%, color-mix(in oklab, var(--accent) 65%, transparent), transparent 55%), linear-gradient(150deg, var(--brand), var(--brand-deep));
    box-shadow: 0 40px 80px -30px color-mix(in oklab, var(--brand-deep) 85%, transparent);
    transform: rotate(-5deg); transition: transform .8s var(--ease);
}
.as-hero-visual:hover .as-card { transform: rotate(-2deg) translateY(-6px); }
.as-card::before { content: ''; position: absolute; z-index: -1; width: 300px; aspect-ratio: 1; right: -110px; bottom: -150px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 13px, rgba(255,255,255,.1) 13px 14.5px); }
.as-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ribbon); }
.as-card-top { display: flex; justify-content: space-between; align-items: center; }
.as-card-top img { height: 36px; filter: brightness(0) invert(1); }
.as-card-top span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.as-card-who { display: flex; gap: 14px; align-items: center; }
.as-card-avatar { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--brand); flex: none; }
.as-card-avatar .icon { width: 26px; height: 26px; }
.as-card-who small { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.as-card-who strong { display: block; font-size: 1.15rem; font-weight: 600; }
.as-card-who span { font-size: .8rem; opacity: .75; }
.as-float {
    position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--card);
    box-shadow: var(--shadow-l), 0 0 0 1px var(--line); font-size: .86rem; font-weight: 500; animation: floaty 6s ease-in-out infinite;
}
.as-float .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.as-float.f1 { left: -6px; top: 30px; }
.as-float.f2 { right: -10px; bottom: 40px; animation-delay: -2.5s; }
.as-float.f3 { left: 8%; bottom: -6px; animation-delay: -4s; }

.as-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.as-stats div { padding: 22px 24px; border-left: 1px solid var(--line); }
.as-stats div:first-child { border-left: 0; }
.as-stats b { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--brand); font-variant-numeric: tabular-nums; }
.as-stats span { font-size: .84rem; color: var(--ink-3); }

/* benefícios */
.as-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.as-benefit { position: relative; padding: 26px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.as-benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-l), 0 0 0 1px var(--line); }
.as-benefit .b-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; transition: background .4s, color .4s, transform .5s var(--ease-bounce); }
.as-benefit .b-ico .icon { width: 24px; height: 24px; }
.as-benefit:hover .b-ico { background: var(--accent); color: var(--on-accent); transform: rotate(-8deg) scale(1.06); }
.as-benefit h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; }
.as-benefit p { font-size: .9rem; color: var(--ink-3); }
.as-benefit .tag { position: absolute; right: 18px; top: 18px; }

/* categorias e valores */
.as-billing { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.as-billing button { padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-3); transition: all .3s var(--ease); }
.as-billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.as-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.as-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.as-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.as-plan.featured { background: linear-gradient(165deg, var(--brand), var(--brand-deep)); color: #fff; box-shadow: var(--shadow-l); transform: translateY(-10px); }
.as-plan.featured:hover { transform: translateY(-14px); }
.as-plan .flag { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--accent-2); color: var(--ink); letter-spacing: .02em; }
[data-unidade="sp"] .as-plan .flag, [data-unidade="pb"] .as-plan .flag { background: var(--accent); color: #fff; }
.as-plan h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.as-plan .who { font-size: .88rem; color: var(--ink-3); min-height: 4.2em; }
.as-plan.featured .who { color: rgba(255,255,255,.75); }
.as-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.as-price b { font-size: 2.3rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.as-price small { font-size: .82rem; color: var(--ink-3); }
.as-plan.featured .as-price small { color: rgba(255,255,255,.7); }
.as-price-alt { font-size: .8rem; color: var(--ink-3); min-height: 1.3em; }
.as-plan.featured .as-price-alt { color: rgba(255,255,255,.7); }
.as-plan ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .86rem; flex: 1; }
.as-plan.featured ul { border-color: rgba(255,255,255,.18); }
.as-plan li { display: flex; gap: 8px; align-items: flex-start; }
.as-plan li .icon { color: var(--accent); margin-top: 2px; flex: none; }
.as-plan.featured li .icon { color: var(--accent-2); }
[data-unidade="sp"] .as-plan.featured li .icon, [data-unidade="pb"] .as-plan.featured li .icon { color: #fff; }
.as-plan .btn { width: 100%; justify-content: space-between; }
.as-plan.featured .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.as-titular { display: flex; gap: 20px; align-items: center; margin-top: 22px; padding: 22px 24px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.as-titular .seal { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(from 0deg, var(--accent-2), var(--accent), var(--brand), var(--accent-2)); color: #fff; }
.as-titular .seal span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); }
.as-titular h3 { font-size: 1.1rem; font-weight: 600; }
.as-titular p { font-size: .9rem; color: var(--ink-2); }

/* como funciona */
.as-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: st; position: relative; }
.as-steps::before { content: ''; position: absolute; left: 4%; right: 4%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in oklab, var(--accent) 50%, transparent) 0 8px, transparent 8px 14px); }
.as-step { position: relative; display: grid; gap: 10px; justify-items: start; }
.as-step .num { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; background: var(--card); color: var(--brand); box-shadow: 0 0 0 2px var(--accent), 0 0 0 8px var(--paper-2); transition: background .4s, color .4s, transform .5s var(--ease-bounce); }
.ax-section:not(.tint) .as-step .num { box-shadow: 0 0 0 2px var(--accent), 0 0 0 8px var(--paper); }
.as-step:hover .num { background: var(--accent); color: var(--on-accent); transform: scale(1.08); }
.as-step h3 { font-size: 1.02rem; font-weight: 600; margin-top: 6px; }
.as-step p { font-size: .86rem; color: var(--ink-3); }

/* documentos */
.as-docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.as-doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.as-doc-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); animation: rise .45s var(--ease) both; }
.as-doc-list li:nth-child(2) { animation-delay: .05s; } .as-doc-list li:nth-child(3) { animation-delay: .1s; } .as-doc-list li:nth-child(4) { animation-delay: .15s; }
.as-doc-list .d-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.as-doc-list .req { margin-left: auto; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.as-doc-list .req.on { color: color-mix(in oklab, var(--accent) 75%, var(--ink)); }
.as-obs { display: grid; gap: 10px; }
.as-obs .ax-note { background: var(--card); box-shadow: 0 0 0 1px var(--line); }

/* depoimentos */
/* depoimentos em carrossel */
.as-quotes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 6px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.as-quotes::-webkit-scrollbar { display: none; }
.as-quotes:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.as-quote { margin: 0; scroll-snap-align: start; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: 30px 30px 26px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.as-quote:hover { box-shadow: var(--shadow), 0 0 0 1px var(--line); transform: translateY(-3px); }
.as-quote::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ribbon); opacity: .9; }
.as-q-mark { position: absolute; right: 24px; top: 14px; font-family: var(--font-serif); font-size: 5rem; line-height: .8; color: color-mix(in oklab, var(--accent) 22%, transparent); pointer-events: none; }
.as-quote blockquote { position: relative; margin: 0; padding-right: 42px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .4vw, 1.4rem); line-height: 1.4; color: var(--ink); }
.as-quote figcaption { display: flex; gap: 14px; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); min-height: 92px; }
.as-q-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--brand), color-mix(in oklab, var(--accent) 70%, var(--brand))); box-shadow: 0 0 0 3px var(--card), 0 0 0 5px color-mix(in oklab, var(--accent) 35%, transparent); }
.as-q-avatar img { width: 100%; height: 100%; object-fit: cover; }
.as-quote figcaption strong { display: block; font-weight: 600; font-size: .98rem; }
.as-quote figcaption span span { display: block; font-size: .84rem; color: var(--ink-3); }
.as-q-nav { display: flex; gap: 8px; }
.as-q-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: all .3s; }
.as-q-arrow:hover:not(:disabled) { background: var(--ink); color: #fff; box-shadow: none; }
.as-q-arrow:disabled { opacity: .35; cursor: default; }
.as-q-dots { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
.as-q-dots button { width: 10px; height: 10px; border-radius: 999px; background: var(--paper-3); transition: all .35s var(--ease); }
.as-q-dots button[aria-current="true"] { width: 32px; background: var(--accent); }
@media (max-width: 980px) { .as-quotes { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .as-quotes { grid-auto-columns: 86%; } .as-quote { padding: 24px 22px 22px; } .as-q-nav { display: none; } }


/* FAQ */
.as-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.as-faq .topics { margin-top: 0; max-width: none; }

/* formulário em etapas */
.as-form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.as-form-aside h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); margin: 14px 0 16px; }
.as-form-aside h2 .serif { color: var(--brand); }
.as-form-aside .lead { margin-bottom: 22px; }
.as-form {
    border-radius: var(--radius-xl); background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden;
}
.as-form-head { padding: 22px 28px 0; border-bottom: 1px solid var(--line); }
.as-form-head .stepper { margin-top: 0; }
.as-form-body { padding: 26px 28px 28px; display: grid; gap: 16px; }
.as-form-body > * { animation: rise .45s var(--ease) both; }
.as-form-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 28px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.as-form-foot .btn.accent { margin-left: auto; }
.as-form-foot .btn.accent:disabled { cursor: not-allowed; --b-bg: var(--paper-3); --b-fg: var(--ink-3); transform: none; box-shadow: none; }
.as-form-foot .btn.accent:disabled .btn-dot { background: var(--card); color: var(--ink-3); transform: none; }
.as-form-foot .btn.accent:disabled:has(.spin) { --b-bg: var(--accent); --b-fg: var(--on-accent); cursor: progress; }
.as-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.as-cat { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer; transition: all .3s var(--ease); }
.as-cat input { position: absolute; opacity: 0; pointer-events: none; }
.as-cat strong { font-weight: 600; }
.as-cat span { font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.as-cat b { font-size: .92rem; font-weight: 600; color: var(--brand); margin-top: 4px; }
.as-cat:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.as-cat:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent), 0 10px 24px -16px color-mix(in oklab, var(--accent) 80%, transparent); background: color-mix(in oklab, var(--accent) 6%, var(--card)); }
.as-cat:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.as-cat::after { content: ''; position: absolute; right: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--card); transition: all .3s; }
.as-cat:has(input:checked)::after { box-shadow: inset 0 0 0 5px var(--accent); }
.as-drop { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; border: 1.5px dashed var(--line-strong); background: var(--paper); cursor: pointer; transition: all .3s var(--ease); }
.as-drop:hover, .as-drop.drag { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 6%, var(--card)); }
.as-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.as-drop .d-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.as-drop strong { display: block; font-weight: 500; font-size: .94rem; }
.as-drop small { color: var(--ink-3); font-size: .78rem; }
.as-drop.ok { border-style: solid; border-color: color-mix(in oklab, var(--accent) 55%, transparent); }
.as-drop.ok .d-ico { background: var(--accent); color: var(--on-accent); }
.as-drop .req { margin-left: auto; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.as-drop.err { border-color: #d33; }
.as-review { display: grid; gap: 0; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.as-review div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.as-review div:first-child { border-top: 0; }
.as-review dt { color: var(--ink-3); }
.as-review dd { margin: 0; font-weight: 500; text-align: right; }

/* CTA final */
.as-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-xl); background: var(--brand); color: #fff; }
.as-cta::before { content: ''; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -160px; top: -200px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255,255,255,.1) 22px 24px); }
.as-cta h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 500; max-width: 22ch; }
.as-cta h2 .serif { color: var(--accent-2); }
[data-unidade="sp"] .as-cta h2 .serif, [data-unidade="pb"] .as-cta h2 .serif { color: #ffb3b8; }
.as-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   ENCONTRE UM PSICOPEDAGOGO
   ========================================================================== */
.en-hero { padding-bottom: clamp(36px, 5vw, 56px); }
.en-hero h1 { font-size: clamp(2.4rem, 1.3rem + 4vw, 4.6rem); max-width: 16ch; }
.en-search {
    display: flex; align-items: center; gap: 6px; padding: 7px; margin-top: 28px; max-width: 820px;
    background: var(--card); border-radius: 999px; box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.en-search label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding-left: 16px; }
.en-search label .icon { color: var(--ink-3); }
.en-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 0; font-size: 1rem; }
.en-search select { border: 0; outline: 0; background: transparent; padding: 13px 10px; color: var(--ink-2); border-left: 1px solid var(--line); max-width: 13em; }
.en-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .82rem; color: var(--ink-3); align-items: center; }
.en-quick button { padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); transition: background .2s; }
.en-quick button:hover { background: var(--accent-soft); color: var(--ink); }

/* fundo da gaveta de filtros: só existe no celular; no desktop não pode ocupar uma célula da grade */
.en-scrim { display: none; }
.en-layout { display: grid; grid-template-columns: 290px 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; padding-bottom: clamp(64px, 8vw, 110px); }
.en-filters { position: sticky; top: calc(var(--sticky-top, 0px) + 20px); transition: top .45s var(--ease); display: grid; gap: 22px; padding: 22px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.en-filters-head { display: flex; justify-content: space-between; align-items: center; }
.en-filters-head h2 { font-size: 1.1rem; font-weight: 600; }
.en-clear { font-size: .82rem; font-weight: 500; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.en-group { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.en-group legend, .en-group > span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); padding: 0; margin-bottom: 2px; }
.en-group select { width: 100%; padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper); outline: 0; }
.en-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.en-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.en-opt input { position: absolute; opacity: 0; pointer-events: none; }
.en-opt span { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; font-size: .84rem; background: var(--paper-2); color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.en-opt input:checked + span { background: var(--ink); color: #fff; }
.en-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.en-switch { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-size: .92rem; font-weight: 500; }
.en-switch input { position: absolute; opacity: 0; pointer-events: none; }
.en-switch .sw { position: relative; width: 44px; height: 26px; border-radius: 999px; flex: none; background: var(--paper-3); transition: background .3s; }
.en-switch .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); transition: transform .35s var(--ease-bounce); }
.en-switch input:checked + .sw { background: var(--accent); }
.en-switch input:checked + .sw::after { transform: translateX(18px); }
.en-switch input:focus-visible + .sw { outline: 3px solid var(--accent); outline-offset: 2px; }
.en-switch small { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-3); }

.en-results-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.en-count { font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
.en-count b { font-weight: 600; color: var(--brand); }
.en-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.en-tools select { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--card); font-size: .86rem; }
.en-active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; min-height: 0; }
.en-active button { display: inline-flex; gap: 6px; align-items: center; padding: 6px 8px 6px 12px; border-radius: 999px; font-size: .8rem; background: var(--accent-soft); color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.en-active button .icon { width: 14px; height: 14px; }
.en-active button:hover { background: color-mix(in oklab, var(--accent) 22%, var(--paper)); }
.en-mobile-filter { display: none; }

.en-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.en-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; animation: rise .5s var(--ease) both; }
.en-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l), 0 0 0 1px var(--line); }
.en-who { display: flex; gap: 14px; align-items: center; }
.en-avatar { position: relative; width: 58px; height: 58px; border-radius: 20px; flex: none; display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; color: #fff; background: linear-gradient(150deg, color-mix(in oklab, var(--brand) calc(100% - var(--h, 0) * 1%), var(--accent)), var(--brand-deep)); }
.en-avatar.lg { width: 84px; height: 84px; border-radius: 26px; font-size: 1.6rem; }
.en-avatar .tit { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: var(--ink); box-shadow: 0 0 0 3px var(--card); }
[data-unidade="sp"] .en-avatar .tit, [data-unidade="pb"] .en-avatar .tit { background: var(--accent); color: #fff; }
.en-avatar .tit .icon { width: 13px; height: 13px; }
.en-who h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.en-who small { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
.en-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--ink-2); }
.en-meta span { display: inline-flex; gap: 6px; align-items: center; }
.en-meta .icon { color: var(--accent); width: 15px; height: 15px; }
.en-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.en-tags .chip { font-size: .72rem; }
.en-actions { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; margin-top: auto; padding-top: 4px; }
.en-actions a, .en-actions button { height: 44px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-size: .86rem; font-weight: 500; transition: all .3s var(--ease); }
.en-actions .ic { width: 44px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.en-actions .ic:hover { background: var(--ink); color: #fff; box-shadow: none; }
.en-actions .ic.wa:hover { background: #1fa855; }
.en-actions .profile { background: var(--ink); color: #fff; padding: 0 16px; }
.en-actions .profile:hover { background: var(--accent); color: var(--on-accent); }
.en-more { display: flex; justify-content: center; margin-top: 28px; }
.en-empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px 24px; border-radius: var(--radius-l); background: var(--paper-2); }
.en-empty .rings { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: repeating-radial-gradient(circle, transparent 0 12px, color-mix(in oklab, var(--accent) 22%, transparent) 12px 14px); }
.en-empty .rings .icon { width: 34px; height: 34px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-s); }
.en-empty h3 { font-size: 1.3rem; font-weight: 600; }
.en-empty p { color: var(--ink-2); max-width: 46ch; }

/* modal de perfil (estrutura .modal do v2-inscricao.css) */
.modal.en-profile .modal-box { width: min(760px, 100%); }
.en-p-head { position: relative; padding: 28px; display: flex; gap: 18px; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: radial-gradient(120% 120% at 100% 0%, color-mix(in oklab, var(--accent) 55%, transparent), transparent 60%), linear-gradient(150deg, var(--brand), var(--brand-deep)); }
.en-p-head::before { content: ''; position: absolute; z-index: -1; width: 320px; aspect-ratio: 1; right: -100px; bottom: -180px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 14px, rgba(255,255,255,.1) 14px 15.5px); }
.en-p-head .en-avatar { background: #fff; color: var(--brand); }
.en-p-head .en-avatar .tit { box-shadow: 0 0 0 3px var(--brand); }
.en-p-head h2 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.en-p-head p { font-size: .88rem; opacity: .8; }
.en-p-head .chip.dark { margin-top: 8px; }
.en-p-body { padding: 26px 28px 28px; overflow-y: auto; display: grid; gap: 22px; min-height: 0; flex: 1; }
.en-p-body h3 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 10px; }
.en-p-body p { color: var(--ink-2); }
.en-p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.en-p-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.en-p-disclaimer { font-size: .78rem; color: var(--ink-3); }

/* ==========================================================================
   ASSOCIADOS (ativos / titulares)
   ========================================================================== */
.ad-hero .container { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.ad-hero h1 { font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5rem); }
.ad-kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.ad-kpi { min-width: 150px; padding: 18px 20px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.ad-kpi b { display: block; font-size: 2.2rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.ad-kpi span { font-size: .82rem; color: var(--ink-3); }
.ad-tools { position: sticky; top: var(--sticky-top, 0px); z-index: 20; transition: top .45s var(--ease); display: grid; gap: 12px; padding: 14px 0; background: color-mix(in oklab, var(--paper) 90%, transparent); backdrop-filter: blur(12px); }
.ad-tools-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ad-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper-2); }
.ad-tabs button { display: inline-flex; gap: 8px; align-items: center; padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--ink-3); transition: all .3s var(--ease); }
.ad-tabs button em { font-style: normal; font-size: .74rem; padding: 2px 8px; border-radius: 999px; background: var(--paper-3); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ad-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-s); }
.ad-tabs button[aria-selected="true"] em { background: var(--accent); color: var(--on-accent); }
.ad-search { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 420px; padding: 0 16px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line-strong); }
.ad-search:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.ad-search .icon { color: var(--ink-3); }
.ad-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 0; }
.ad-az { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ad-az::-webkit-scrollbar { display: none; }
.ad-az a, .ad-az span { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: .82rem; font-weight: 600; }
.ad-az a { color: var(--ink-2); transition: all .2s; }
.ad-az a:hover, .ad-az a.on { background: var(--ink); color: #fff; }
.ad-az span { color: var(--line-strong); }
.ad-list { padding: 10px 0 clamp(64px, 8vw, 110px); }
.ad-letter { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.ad-letter:first-child { border-top: 0; }
.ad-letter > h2 { font-size: 2.6rem; font-weight: 300; letter-spacing: -.06em; color: var(--brand); line-height: 1; position: sticky; top: calc(var(--sticky-top, 0px) + 150px); align-self: start; }
.ad-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.ad-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.ad-row:hover { box-shadow: 0 0 0 1.5px color-mix(in oklab, var(--accent) 50%, transparent), var(--shadow-s); transform: translateY(-2px); }
.ad-row .ini { width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center; font-size: .82rem; font-weight: 600; background: var(--accent-soft); color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.ad-row.titular .ini { background: var(--brand); color: #fff; }
.ad-row strong { display: block; font-weight: 500; font-size: .94rem; line-height: 1.25; }
.ad-row small { display: block; font-size: .78rem; color: var(--ink-3); }
.ad-row .num { margin-left: auto; text-align: right; font-size: .72rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ad-row .num b { display: block; font-size: .86rem; color: var(--ink-2); font-weight: 600; }
.ad-badge { display: inline-flex; gap: 4px; align-items: center; margin-top: 3px; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 600; background: color-mix(in oklab, var(--accent-2) 30%, var(--paper)); color: var(--ink); }
[data-unidade="sp"] .ad-badge, [data-unidade="pb"] .ad-badge { background: var(--accent-soft); }
.ad-badge .icon { width: 12px; height: 12px; }
.ad-tit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ad-tit { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 22px; border-radius: var(--radius-l); background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.ad-tit::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 8px, color-mix(in oklab, var(--accent) 16%, transparent) 8px 9.5px); }
.ad-tit:hover { transform: translateY(-4px); box-shadow: var(--shadow-l), 0 0 0 1px var(--line); }
.ad-tit h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.ad-tit p { font-size: .82rem; color: var(--ink-3); }
.ad-tit .contact { display: flex; gap: 8px; }
.ad-tit .contact a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: all .3s; }
.ad-tit .contact a:hover { background: var(--ink); color: #fff; box-shadow: none; }
.ad-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
    .as-plans { grid-template-columns: repeat(2, 1fr); }
    .as-plan.featured { transform: none; }
    .as-steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
    .as-steps::before { display: none; }
    .as-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .as-hero-grid, .as-docs, .as-faq, .as-form-wrap, .ad-hero .container { grid-template-columns: 1fr; }
    .as-hero-visual { min-height: 340px; }
    .as-stats { grid-template-columns: repeat(2, 1fr); }
    .as-stats div:nth-child(3) { border-left: 0; }
    .as-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .en-layout { grid-template-columns: 1fr; }
    .en-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 95; max-height: 86dvh; overflow-y: auto; border-radius: 28px 28px 0 0; box-shadow: var(--shadow-l); transform: translateY(105%); transition: transform .5s var(--ease); padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
    .en-filters.open { transform: none; }
    .en-mobile-filter { display: inline-flex; }
    .en-scrim { display: block; position: fixed; inset: 0; z-index: 94; background: color-mix(in oklab, var(--ink) 45%, transparent); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
    .en-scrim.on { opacity: 1; visibility: visible; }
    .ad-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .as-plans, .as-benefits { grid-template-columns: 1fr; }
    .as-steps { grid-template-columns: 1fr 1fr; }
    .as-cats { grid-template-columns: 1fr; }
    .as-float.f3 { display: none; }
    .as-float { font-size: .78rem; }
    .as-form-head { padding: 18px 18px 0; }
    .as-form-body { padding: 20px 18px 22px; }
    .as-form-foot { padding: 14px 18px 18px; }
    .as-form-head .stepper li { font-size: 0; gap: 0; justify-content: center; }
    .as-form-head .stepper li.on { font-size: .8rem; gap: 8px; }
    .en-search { flex-wrap: wrap; border-radius: 24px; }
    .en-search label { flex-basis: 100%; padding-right: 12px; }
    .en-search select { flex: 1; border-left: 0; border-top: 1px solid var(--line); max-width: none; }
    .en-search .btn { width: 100%; justify-content: space-between; }
    .en-grid { grid-template-columns: 1fr; }
    .en-p-grid { grid-template-columns: 1fr; }
    .en-p-head { padding: 22px 18px; flex-direction: column; align-items: flex-start; }
    .en-p-body { padding: 20px 18px 24px; }
    .ad-letter { grid-template-columns: 1fr; gap: 10px; }
    .ad-letter > h2 { position: static; font-size: 2rem; }
    .ad-rows { grid-template-columns: 1fr; }
    .ad-search { max-width: none; flex-basis: 100%; }
    .ad-kpi { min-width: 0; flex: 1; }
}

/* abas de categoria dos documentos: no celular rolam na horizontal em vez de alargar a coluna */
.as-docs > * { min-width: 0; }
#as-doc-tabs { overflow-x: auto; scrollbar-width: none; }
#as-doc-tabs::-webkit-scrollbar { display: none; }
#as-doc-tabs button { flex: 1 0 auto; white-space: nowrap; }

/* o cabeçalho do perfil tem texto branco: o X (fundo branco) precisa de cor própria */
.en-p-head .mw-x { color: var(--ink); }

/* ---------- onde está buscando ---------- */
.en-scope { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 14px 14px 16px; margin-bottom: 16px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.en-scope.fora { background: color-mix(in oklab, var(--accent-2) 16%, var(--card)); box-shadow: 0 0 0 1.5px color-mix(in oklab, var(--accent-2) 55%, transparent); }
.en-scope-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.en-scope-txt { flex: 1; min-width: 160px; }
.en-scope-txt small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.en-scope-txt strong { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.en-scope-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.en-scope-acts .btn { min-height: 44px; padding-inline: 16px; gap: .5em; }
@media (max-width: 560px) { .en-scope-acts, .en-scope-acts .btn { width: 100%; justify-content: center; } }

/* ---------- modal: mapa do Brasil ---------- */
.modal.en-brasil .modal-box { width: min(980px, 100%); overflow-y: auto; }
.en-br { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 3vw, 36px); }
.en-br-side { display: flex; flex-direction: column; gap: 12px; }
.en-br-side h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; margin: 4px 0 2px; padding-right: 40px; }
.en-br-side h2 .serif { color: var(--brand); }
.en-br-side > p { color: var(--ink-2); font-size: .95rem; }
.en-br-all { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; text-align: left; background: var(--paper-2); transition: all .3s var(--ease); }
.en-br-all span { flex: 1; }
.en-br-all strong { display: block; font-weight: 600; }
.en-br-all small { color: var(--ink-3); font-size: .8rem; }
.en-br-all:hover { background: var(--accent-soft); }
.en-br-all[aria-pressed="true"] { background: var(--brand); color: #fff; }
.en-br-all[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
.en-br-all.home { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--accent-2) 70%, transparent); }
.en-br-list { display: grid; gap: 12px; margin-top: 6px; }
.en-br-list small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.en-br-list > div > div { display: flex; flex-wrap: wrap; gap: 6px; }
.en-br-list .chip { cursor: pointer; border: 0; transition: all .25s; }
.en-br-list .chip b { font-weight: 600; color: var(--accent); margin-left: 2px; }
.en-br-list .chip:hover { background: var(--accent-soft); }
.en-br-list .chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.en-br-list .chip[aria-pressed="true"] b { color: #fff; }
.en-br-map { display: flex; flex-direction: column; align-items: center; max-width: 470px; width: 100%; margin-inline: auto; }
.en-br-svg { width: 100%; }
.en-br-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: .78rem; color: var(--ink-3); }
.en-br-legend span { display: inline-flex; gap: 6px; align-items: center; }
.en-br-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--paper-3); }
.en-br-legend i.has { width: 28px; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 30%, var(--card)), var(--accent)); }
.en-br-legend i.sel { background: var(--brand); }
.en-br-legend i.here { border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px color-mix(in oklab, var(--accent-2) 45%, transparent); }
[data-unidade="pb"] .en-br-legend i.here, [data-unidade="sp"] .en-br-legend i.here { background: var(--ink); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px color-mix(in oklab, var(--ink) 30%, transparent); }
@media (max-width: 760px) { .en-br { grid-template-columns: 1fr; } .en-br-map { order: -1; max-width: 360px; } }

/* chamada para o cadastro (integrado no site ou no sistema) */
.as-cta-box { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-xl); background: var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.as-cta-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.as-cta-steps li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.as-cta-steps b { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .8rem; background: var(--accent-soft); color: color-mix(in oklab, var(--accent) 70%, var(--ink)); }
.as-cta-note { text-align: center; color: var(--ink-3); font-size: .82rem; }
