:root {
    --brand-primary: #7657ff;
    --brand-secondary: #20bdeb;
    --brand-accent: #b84dff;
    --radius: 18px;
    --card-media-inset: 10px;
    --card-media-radius: 16px;
    --card-content-gap: 18px;
    --container: 1200px;
    --shadow: 0 18px 60px rgba(13, 15, 24, .12);
    color-scheme: light;
}

/* Avaliações e prova social */
.home-testimonials-section { position: relative; padding: 92px 0; overflow: hidden; background-color: var(--testimonials-bg,var(--surface-2)); background-image: var(--testimonials-bg-image,none); background-repeat: no-repeat; background-position: var(--testimonials-bg-position,center); background-size: var(--testimonials-bg-size,cover); }
.home-testimonials-section::before { position: absolute; z-index: 0; inset: 0; background: var(--testimonials-overlay,#000); content: ""; opacity: var(--testimonials-overlay-opacity,0); pointer-events: none; }
.home-testimonials-content { position: relative; z-index: 1; }
.home-testimonials-heading { display: grid; margin-bottom: 46px; align-items: end; }
.home-testimonials-heading.heading-layout-split { grid-template-columns: minmax(0,.9fr) minmax(320px,.75fr); gap: clamp(38px,7vw,110px); }
.home-testimonials-heading.heading-layout-stacked { width: min(100%,850px); margin-inline: auto; text-align: center; }
.home-testimonials-heading .eyebrow { margin: 0 0 18px; border-color: var(--testimonials-card-border,var(--border)); color: var(--testimonials-eyebrow,var(--text)); }
.home-testimonials-heading.heading-layout-stacked .eyebrow { margin-inline: auto; }
.home-testimonials-heading .eyebrow::before { background: currentColor; }
.home-testimonials-heading h2 { max-width: 670px; margin: 0; color: var(--testimonials-title,var(--text)); font-size: clamp(2rem,3vw,2.8125rem); line-height: 1.06; letter-spacing: -.045em; }
.home-testimonials-heading.heading-layout-stacked h2 { margin-inline: auto; }
.home-testimonials-heading-copy > p { margin: 0 0 19px; color: var(--testimonials-text,var(--muted)); font-size: .96rem; line-height: 1.7; }
.home-testimonials-rating-summary { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; color: var(--testimonials-text,var(--muted)); }
.home-testimonials-rating-summary strong { color: var(--testimonials-title,var(--text)); font-size: 1.65rem; line-height: 1; }
.home-testimonials-rating-summary span { color: var(--testimonials-stars,#d59b20); font-size: 1rem; letter-spacing: .08em; }
.home-testimonials-rating-summary small { font-size: .78rem; font-weight: 700; }
.heading-layout-stacked .home-testimonials-heading-copy { max-width: 710px; margin: 18px auto 0; }
.heading-layout-stacked .home-testimonials-rating-summary { justify-content: center; }
.home-testimonials-carousel { position: relative; padding-inline: 25px; }
.home-testimonials-track { display: grid; grid-auto-columns: calc((100% - 40px)/3); grid-auto-flow: column; gap: 20px; padding-block: 9px 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.home-testimonials-track::-webkit-scrollbar { display: none; }
.home-testimonial-card { display: flex; min-height: 265px; padding: clamp(22px,2vw,28px); flex-direction: column; border: 1px solid var(--testimonials-card-border,var(--border)); border-radius: 18px; color: var(--testimonials-card-text,var(--muted)); background: var(--testimonials-card-bg,var(--surface)); box-shadow: 0 5px 18px rgba(15,23,42,.035),0 1px 3px rgba(15,23,42,.025); scroll-snap-align: start; transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.home-testimonial-card:hover { border-color: color-mix(in srgb,var(--testimonials-card-name,var(--text)) 30%,var(--testimonials-card-border,var(--border))); box-shadow: 0 11px 28px rgba(15,23,42,.065),0 2px 6px rgba(15,23,42,.035); transform: translateY(-5px); }
.home-testimonial-card header { display: flex; gap: 14px; align-items: center; }
.home-testimonial-avatar { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; overflow: hidden; border: 1px solid var(--testimonials-card-border,var(--border)); border-radius: 50%; color: var(--testimonials-avatar-text,var(--text)); background: var(--testimonials-avatar-bg,var(--surface-2)); font-size: .9rem; font-weight: 800; letter-spacing: .04em; }
.home-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-testimonial-card h3 { margin: 0 0 4px; color: var(--testimonials-card-name,var(--text)); font-size: .95rem; line-height: 1.3; }
.home-testimonial-stars { display: flex; gap: 2px; }
.home-testimonial-stars i { color: var(--testimonials-card-border,var(--border)); font-size: .86rem; font-style: normal; }
.home-testimonial-stars i.is-filled { color: var(--testimonials-stars,#d59b20); }
.home-testimonial-card blockquote { margin: 21px 0 20px; color: var(--testimonials-card-text,var(--muted)); font-size: .94rem; font-style: normal; line-height: 1.72; }
.home-testimonial-card footer { display: flex; margin-top: auto; gap: 8px; align-items: center; color: var(--testimonials-verified,var(--muted)); font-size: .72rem; font-weight: 750; letter-spacing: .015em; }
.home-testimonial-card footer svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

html[data-theme="dark"] .home-testimonial-card { box-shadow: 0 8px 24px rgba(0,0,0,.14); }
html[data-theme="dark"] .home-testimonial-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.home-testimonials-control { position: absolute; z-index: 3; top: 50%; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--testimonials-card-border,var(--border)); border-radius: 50%; color: var(--testimonials-card-name,var(--text)); background: var(--testimonials-card-bg,var(--surface)); box-shadow: 0 10px 28px rgba(0,0,0,.13); transform: translateY(-50%); cursor: pointer; }
.home-testimonials-control.is-prev { left: 0; }.home-testimonials-control.is-next { right: 0; }
.home-testimonials-control svg,.home-testimonials-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-testimonials-control:disabled { opacity: .35; cursor: default; }
.home-testimonials-below-cards { display: flex; margin-top: 24px; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }
.home-testimonials-below-cards .home-testimonials-rating-summary { justify-content: center; }
.home-testimonials-footer { display: flex; margin-top: 0; justify-content: center; }
.home-testimonials-button { display: inline-flex; min-height: 50px; padding: 11px 25px; gap: 10px; align-items: center; justify-content: center; border: 1px solid var(--testimonials-button-bg,var(--text)); border-radius: 10px; color: var(--testimonials-button-text,var(--bg)); background: var(--testimonials-button-bg,var(--text)); font-size: .8rem; font-weight: 800; transition: .2s ease; }
.home-testimonials-button:hover { border-color: var(--testimonials-button-hover-text,var(--text)); color: var(--testimonials-button-hover-text,var(--text)); background: var(--testimonials-button-hover-bg,var(--surface)); }
.testimonial-builder-avatar { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 50%; color: var(--text); background: var(--surface-2); font-size: .73rem; font-weight: 800; }
.testimonial-builder-avatar img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width:900px) {
    .home-testimonials-heading.heading-layout-split { grid-template-columns: 1fr; gap: 18px; }
    .home-testimonials-track { grid-auto-columns: calc((100% - 20px)/2); }
}
@media (max-width:650px) {
    .home-testimonials-section { padding: 66px 0; }
    .home-testimonials-heading { margin-bottom: 32px; }
    .home-testimonials-heading h2 { font-size: clamp(1.85rem,9vw,2.4rem); }
    .home-testimonials-carousel { padding-inline: 11px; }
    .home-testimonials-track { grid-auto-columns: 100%; }
    .home-testimonial-card { min-height: 250px; padding: 22px 20px; }
    .home-testimonials-control { width: 38px; height: 38px; }
    .home-testimonials-control.is-prev { left: -5px; }.home-testimonials-control.is-next { right: -5px; }
}

/* Bloco de profissionais da página inicial */
.home-team-section { padding: 92px 0; overflow: hidden; background: var(--home-team-bg,var(--surface-2)); }
.home-team-heading { max-width: 820px; margin: 0 auto 46px; }
.home-team-heading .eyebrow { margin-inline: auto; border-color: var(--home-team-card-border,var(--border)); color: var(--home-team-eyebrow,var(--text)); }
.home-team-heading .eyebrow::before { background: currentColor; }
.home-team-heading h2 { max-width: 780px; margin-inline: auto; color: var(--home-team-title,var(--text)); font-size: clamp(2rem,3vw,2.8125rem); line-height: 1.05; letter-spacing: -.04em; }
.home-team-heading p { max-width: 700px; margin-inline: auto; color: var(--home-team-text,var(--muted)); font-size: .96rem; line-height: 1.7; }
.home-team-carousel { position: relative; padding-inline: 28px; }
.home-team-track { display: grid; grid-auto-columns: calc((100% - 40px) / 3); grid-auto-flow: column; gap: 20px; overflow-x: auto; padding: 4px 0 28px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-team-track::-webkit-scrollbar { display: none; }
.home-team-card { position: relative; display: flex; min-width: 0; min-height: 300px; padding: 28px 25px 22px; flex-direction: column; align-items: flex-start; overflow: hidden; border: 1px solid var(--home-team-card-border,var(--border)); border-radius: 18px; color: var(--home-team-name,var(--text)); background: var(--home-team-card-bg,var(--surface)); box-shadow: 0 14px 38px rgba(0,0,0,.07); scroll-snap-align: start; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.home-team-card::before,.home-team-card::after { position: absolute; z-index: 0; top: 0; right: 0; border-radius: 0 0 0 100%; content: ""; pointer-events: none; }
.home-team-card::before { width: 116px; height: 116px; border: 1px solid var(--home-team-accent,color-mix(in srgb,var(--text) 10%,transparent)); border-top: 0; border-right: 0; opacity: .75; }
.home-team-card::after { width: 96px; height: 96px; background: var(--home-team-accent,color-mix(in srgb,var(--text) 8%,var(--surface))); opacity: .65; transition: transform .25s ease,opacity .25s ease; }
.home-team-card > * { position: relative; z-index: 1; }
.home-team-card:hover { transform: translateY(-6px); border-color: var(--home-team-accent,var(--home-team-card-border)); box-shadow: 0 23px 54px rgba(0,0,0,.13); }
.home-team-card:hover::after { opacity: 1; transform: scale(1.08); }
.home-team-profile { display: grid; width: 88px; height: 88px; margin-bottom: 37px; place-items: center; overflow: hidden; border: 1px solid var(--home-team-avatar-border,var(--border)); border-radius: 50%; color: var(--home-team-avatar-text,var(--text)); background: var(--home-team-avatar-bg,var(--surface-2)); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.home-team-profile::after { position: absolute; inset: 7px; border: 1px solid color-mix(in srgb,var(--home-team-avatar-border,var(--border)) 55%,transparent); border-radius: inherit; content: ""; pointer-events: none; }
.home-team-profile img { width: 100%; height: 100%; object-fit: cover; }
.home-team-profile span { font-family: Poppins,Inter,sans-serif; font-size: 1.7rem; font-weight: 500; letter-spacing: -.04em; }
.home-team-divider { display: block; width: 34px; height: 2px; margin-bottom: 15px; background: var(--home-team-accent,var(--text)); }
.home-team-card h3 { max-width: 100%; margin: 0 0 8px; color: var(--home-team-name,var(--text)); font-size: 1.08rem; line-height: 1.24; letter-spacing: -.025em; }
.home-team-card p { margin: 0; color: var(--home-team-oab,var(--muted)); font-size: .78rem; line-height: 1.45; }
.home-team-card-link { display: grid; width: 43px; height: 43px; margin-top: 18px; place-items: center; border: 1px solid var(--home-team-accent,var(--border)); border-radius: 50%; color: var(--home-team-name,var(--text)); background: transparent; transition: color .2s ease,background .2s ease,transform .2s ease; }
.home-team-card-link svg,.home-team-control svg,.home-team-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-team-card-link:hover { color: var(--home-team-card-bg,var(--surface)); background: var(--home-team-name,var(--text)); transform: translateX(3px); }
.home-team-control { position: absolute; z-index: 4; top: 50%; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--home-team-card-border,var(--border)); border-radius: 50%; color: var(--home-team-name,var(--text)); background: var(--home-team-card-bg,var(--surface)); box-shadow: 0 9px 25px rgba(0,0,0,.12); transform: translateY(-50%); cursor: pointer; transition: .2s ease; }
.home-team-control:hover { border-color: var(--home-team-accent,var(--text)); background: var(--home-team-accent,var(--surface-2)); }
.home-team-control:disabled { opacity: .35; cursor: default; }
.home-team-control.is-prev { left: 0; }
.home-team-control.is-next { right: 0; }
.home-team-footer { display: flex; margin-top: 22px; justify-content: center; }
.home-team-button { display: inline-flex; min-height: 50px; padding: 11px 24px; gap: 10px; align-items: center; justify-content: center; border: 1px solid var(--home-team-button-bg,var(--text)); border-radius: 10px; color: var(--home-team-button-text,var(--bg)); background: var(--home-team-button-bg,var(--text)); font-size: .8rem; font-weight: 800; transition: .2s ease; }
.home-team-button:hover { border-color: var(--home-team-button-hover-text,var(--text)); color: var(--home-team-button-hover-text,var(--text)); background: var(--home-team-button-hover-bg,var(--surface)); }
.home-team-button:hover svg { transform: translateX(3px); }
.home-team-button svg { transition: transform .2s ease; }
.admin-team-badges { display: flex; margin-top: 8px; gap: 7px; flex-wrap: wrap; }
.member-photo-preview img { max-height: 210px; object-fit: contain; }
.member-avatar-choice { grid-template-columns: 1fr; }

@media (max-width: 900px) {
    .home-team-track { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 680px) {
    .home-team-section { padding: 65px 0; }
    .home-team-heading { margin-bottom: 34px; }
    .home-team-heading h2 { font-size: clamp(1.85rem,9vw,2.45rem); }
    .home-team-carousel { padding-inline: 12px; }
    .home-team-track { grid-auto-columns: 100%; }
    .home-team-card { min-height: 285px; padding: 24px 22px 21px; }
    .home-team-control { width: 38px; height: 38px; }
    .home-team-control.is-prev { left: -5px; }
    .home-team-control.is-next { right: -5px; }
}

html[data-theme="dark"],
[data-theme="dark"] {
    --bg: #07080b;
    --surface: #0f1117;
    --surface-2: #151821;
    --text: #f7f8fb;
    --muted: #a1a7b4;
    --border: #262a34;
    --header: rgba(7, 8, 11, .86);
    --input: #11141b;
    color-scheme: dark;
}

html[data-theme="light"],
[data-theme="light"] {
    --bg: #f5f6fa;
    --surface: #ffffff;
    --surface-2: #eef0f6;
    --text: #171922;
    --muted: #626979;
    --border: #dfe3eb;
    --header: rgba(255, 255, 255, .88);
    --input: #ffffff;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="auto"],
    [data-theme="auto"] {
        --bg: #07080b;
        --surface: #0f1117;
        --surface-2: #151821;
        --text: #f7f8fb;
        --muted: #a1a7b4;
        --border: #262a34;
        --header: rgba(7, 8, 11, .86);
        --input: #11141b;
        color-scheme: dark;
    }
}

@media (prefers-color-scheme: light) {
    html[data-theme="auto"],
    [data-theme="auto"] {
        --bg: #f5f6fa;
        --surface: #fff;
        --surface-2: #eef0f6;
        --text: #171922;
        --muted: #626979;
        --border: #dfe3eb;
        --header: rgba(255, 255, 255, .88);
        --input: #fff;
        color-scheme: light;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.65;
    transition: background .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 .75rem; font-family: Poppins, Inter, sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
p { margin: 0 0 1rem; color: var(--muted); }
small { color: var(--muted); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 850px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; color: var(--brand-secondary); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-accent), var(--brand-secondary)); }
.public-site main .eyebrow { width: fit-content; min-height: 31px; padding: .3125rem .625rem; border: 1px solid var(--border); border-radius: 999px; }
.lead { max-width: 680px; font-size: 1.13rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary), var(--brand-secondary)); box-shadow: 0 12px 32px color-mix(in srgb, var(--brand-primary) 28%, transparent); }
.button.ghost { border-color: var(--border); background: var(--surface); }
.button.danger { border-color: #dc3549; color: #fff; background: #dc3549; box-shadow: 0 10px 24px rgba(220,53,73,.2); }
.button.danger:hover { border-color: #bd2437; background: #bd2437; }
.button.small { min-height: 40px; padding: 0 15px; font-size: .85rem; }
.brand { display: inline-flex; gap: 11px; align-items: center; }
.brand span:last-child { display: grid; line-height: 1.15; }
.brand small { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: white; background: linear-gradient(135deg, var(--brand-accent), var(--brand-secondary)); font-family: Poppins; font-weight: 800; }
.brand-logo { display: block; width: auto; max-width: 130px; height: 42px; object-fit: contain; object-position: left center; }
.brand-logo-set { display: grid; flex: 0 0 auto; place-items: center start; }
.brand-logo-set .brand-logo { grid-area: 1 / 1; }
.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand-logo-light,[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark,[data-theme="dark"] .brand-logo-dark { display: block; }
.site-header .brand-logo,.portal-header .brand-logo { width: auto; max-width: 240px; height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
.site-header .brand-logo-set,.portal-header .brand-logo-set { max-width: 240px; max-height: 56px; }
.site-header .brand .brand-logo-set + span,.portal-header .brand .brand-logo-set + span { display: none; }
.site-header, .portal-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--border); background: var(--header); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 76px; gap: 24px; align-items: center; }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--muted); font-size: .88rem; font-weight: 600; }
.site-nav a:hover, .site-nav a.active { color: var(--text); }
.site-nav-client-area { display: none; }
.header-tools { display: flex; gap: 9px; align-items: center; }
.header-tools select, .icon-button { height: 40px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: var(--surface); }
.header-tools select { padding: 0 9px; }
.icon-button { display: grid; width: 40px; padding: 0; place-items: center; cursor: pointer; }
.client-area-button { white-space: nowrap; }
.theme-switch { width: 60px; height: 36px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: var(--surface); cursor: pointer; box-shadow: inset 0 1px 2px rgba(0,0,0,.08); }
.theme-switch-track { position: relative; display: grid; height: 100%; grid-template-columns: 1fr 1fr; align-items: center; font-size: .72rem; }
.theme-switch-track i { position: absolute; left: 1px; width: 27px; height: 27px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-accent), var(--brand-secondary)); box-shadow: 0 3px 10px rgba(0,0,0,.2); transition: transform .25s ease; }
html[data-theme="dark"] .theme-switch-track i { transform: translateX(25px); }
.theme-switch-track span { position: relative; z-index: 1; line-height: 1; }
.theme-switch-track span:first-child { color: #fff; }
html[data-theme="dark"] .theme-switch-track span:first-child { color: var(--muted); }
html[data-theme="dark"] .theme-switch-track span:last-child { color: #fff; }

/* Chave de tema do painel: usa o mesmo padrão visual do cabeçalho público. */
.admin-theme-switch { flex: 0 0 auto; }
.dashboard-topbar .admin-theme-switch { display: inline-block; }
.mobile-menu-button { display: none; margin-left: auto; border: 0; color: var(--text); background: transparent; font-size: 1.4rem; }
.home-hero { position: relative; display: grid; min-height: var(--hero-min-height, 650px); overflow: hidden; color: var(--text); background: var(--bg); isolation: isolate; }
.home-hero-media, .home-hero-overlay { position: absolute; z-index: -2; inset: 0; }
.hero-dedicated-background { background-image: var(--hero-background-image,none); background-position: var(--hero-background-position,center); background-repeat: var(--hero-background-repeat,no-repeat); background-size: var(--hero-background-size,cover); }
.home-hero-overlay { z-index: -1; background: var(--hero-overlay-color, #000); opacity: var(--hero-overlay-opacity, .58); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; object-fit: cover; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.home-hero-inner { display: flex; min-height: inherit; align-items: center; }
.home-hero-content { width: min(620px, 100%); padding-block: 48px calc(var(--hero-desktop-overlap-height,89px) + 48px); }
.home-hero-content h1 { max-width: 760px; color: var(--hero-primary-color,var(--text)); font-size: clamp(1.9rem, 2.7vw, 2.9rem); line-height: 1.08; }
.home-hero-content .lead { color: var(--hero-text-color,rgba(255,255,255,.86)); }
.home-hero-content .eyebrow { display: inline-flex; width: fit-content; min-height: 31px; padding: 5px 10px; gap: 7px; align-items: center; border: 1px solid var(--hero-eyebrow-border,var(--border)); border-radius: 999px; color: var(--hero-primary-color,var(--text)); }
.home-hero-content .eyebrow::before { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--hero-primary-color,var(--text)); }
.home-hero:not(.has-hero-media):not(.has-custom-colors) { --hero-primary-color: var(--text) !important; --hero-text-color: var(--muted) !important; --hero-button-color: var(--text) !important; --hero-button-text-color: var(--bg) !important; --hero-button-hover-color: var(--surface-2) !important; --hero-button-hover-text-color: var(--text) !important; --hero-eyebrow-border: var(--border) !important; --hero-bullet-bg: var(--surface) !important; --hero-bullet-border: var(--border) !important; --hero-bullet-text: var(--muted) !important; --hero-bullet-icon: var(--text) !important; }
.home-hero:not(.has-hero-media) .home-hero-overlay { display: none; }
.hero-layout-background-left.has-hero-media:not(.has-custom-colors),
.hero-layout-background-center.has-hero-media:not(.has-custom-colors),
.hero-layout-background-right.has-hero-media:not(.has-custom-colors) { --hero-primary-color: #fff !important; --hero-text-color: #e5e7eb !important; --hero-button-color: #fff !important; --hero-button-hover-color: #e5e7eb !important; --hero-eyebrow-border: rgba(255,255,255,.42) !important; --hero-bullet-bg: rgba(0,0,0,.42) !important; --hero-bullet-border: rgba(255,255,255,.34) !important; --hero-bullet-text: #f3f4f6 !important; --hero-bullet-icon: #fff !important; }
html[data-theme="light"] .home-hero.has-hero-media:not(.has-custom-colors) { --hero-overlay-color:#fff !important; --hero-primary-color:#171922 !important; --hero-text-color:#343844 !important; --hero-button-color:#171922 !important; --hero-button-text-color:#fff !important; --hero-button-hover-color:#343844 !important; --hero-button-hover-text-color:#fff !important; --hero-eyebrow-border:rgba(23,25,34,.42) !important; --hero-bullet-bg:rgba(255,255,255,.72) !important; --hero-bullet-border:rgba(23,25,34,.28) !important; --hero-bullet-text:#343844 !important; --hero-bullet-icon:#171922 !important; }
.hero-layout-text-only .home-hero-content { width: min(820px,100%); margin-inline: auto; text-align: center; }
.hero-layout-text-only .home-hero-content .lead { margin-inline: auto; }
.hero-layout-text-only .hero-actions, .hero-layout-text-only .hero-info-list { justify-content: center; }
.hero-layout-background-center .home-hero-content { margin-inline: auto; text-align: center; }
.hero-layout-background-center .home-hero-content .lead { margin-inline: auto; }
.hero-layout-background-center .hero-actions, .hero-layout-background-center .hero-info-list { justify-content: center; }
.hero-layout-background-right .home-hero-content { margin-left: auto; text-align: right; }
.hero-layout-background-right .home-hero-content .lead { margin-left: auto; }
.hero-layout-background-right .hero-actions, .hero-layout-background-right .hero-info-list { justify-content: flex-end; }
.hero-layout-split-left .home-hero-inner, .hero-layout-split-right .home-hero-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; }
.hero-layout-split-left:not(.has-hero-media) .home-hero-inner,
.hero-layout-split-right:not(.has-hero-media) .home-hero-inner { display: flex; }
.hero-layout-split-left:not(.has-hero-media) .home-hero-content,
.hero-layout-split-right:not(.has-hero-media) .home-hero-content { width: min(820px,100%); margin-inline: auto; text-align: center; }
.hero-layout-split-left:not(.has-hero-media) .home-hero-content .lead,
.hero-layout-split-right:not(.has-hero-media) .home-hero-content .lead { margin-inline: auto; }
.hero-layout-split-left:not(.has-hero-media) .hero-actions,
.hero-layout-split-right:not(.has-hero-media) .hero-actions,
.hero-layout-split-left:not(.has-hero-media) .hero-info-list,
.hero-layout-split-right:not(.has-hero-media) .hero-info-list { justify-content: center; }
.home-hero-split-media { position: relative; overflow: hidden; min-height: min(560px, calc(var(--hero-min-height,650px) - 90px)); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: transparent; box-shadow: none; }
.home-hero-split-media .hero-slide { filter: none !important; mix-blend-mode: normal; }
.home-hero.split-border-disabled .home-hero-split-media { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-hero.split-border-disabled .home-hero-split-media .hero-slide { object-fit: contain; object-position: center; filter: none !important; mix-blend-mode: normal; }
html[data-theme="dark"] .home-hero-split-media .hero-slide { filter: none !important; mix-blend-mode: normal; }
.hero-layout-split-left .home-hero-split-media,
.hero-layout-split-right .home-hero-split-media { min-height: 0; margin-block: 48px calc(var(--hero-desktop-overlap-height,0px) + 48px); align-self: stretch; }
.home-hero-split-media:empty { background: radial-gradient(circle at 30% 30%, color-mix(in srgb,var(--brand-secondary) 26%,transparent), transparent 55%), var(--surface-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-primary-button { border-color: var(--hero-button-color,var(--text)); color: var(--hero-button-text-color,var(--bg)); background: var(--hero-button-color,var(--text)); box-shadow: 0 12px 28px color-mix(in srgb,var(--text) 14%,transparent); }
.hero-whatsapp-button { border-color: var(--border); color: var(--text); background: var(--surface); backdrop-filter: blur(8px); }
.hero-primary-button:hover { border-color: var(--hero-button-hover-color,var(--border)); color: var(--hero-button-hover-text-color,var(--text)); background: var(--hero-button-hover-color,var(--surface-2)); }
.hero-whatsapp-button:hover { border-color: var(--text); color: var(--bg); background: var(--text); }
.home-hero.has-custom-colors .hero-primary-button { color: var(--hero-button-text-color); box-shadow: 0 14px 34px color-mix(in srgb,var(--hero-button-color) 30%,transparent); }
.home-hero.has-custom-colors .hero-primary-button:hover { border-color: var(--hero-button-hover-color); color: var(--hero-button-hover-text-color); }
.home-hero.has-hero-media .hero-primary-button,
.home-hero.has-hero-media.has-custom-colors .hero-primary-button { border-color: #fff; color: #111; background: #fff; }
.home-hero.has-hero-media .hero-primary-button:hover,
.home-hero.has-hero-media.has-custom-colors .hero-primary-button:hover { border-color: #fff; color: #fff; background: #0b0b0c; }
.home-hero.has-hero-media .hero-whatsapp-button { border-color: rgba(255,255,255,.54); color: #fff; background: rgba(7,10,15,.62); }
.home-hero.has-hero-media .hero-whatsapp-button:hover { border-color: #fff; color: #111827; background: #fff; }
html[data-theme="light"] .home-hero.has-hero-media:not(.has-custom-colors) .hero-primary-button { border-color:#171922; color:#fff; background:#171922; }
html[data-theme="light"] .home-hero.has-hero-media:not(.has-custom-colors) .hero-primary-button:hover { border-color:#343844; color:#fff; background:#343844; }
html[data-theme="light"] .home-hero.has-hero-media:not(.has-custom-colors) .hero-whatsapp-button { border-color:rgba(23,25,34,.35); color:#171922; background:rgba(255,255,255,.78); }
html[data-theme="light"] .home-hero.has-hero-media:not(.has-custom-colors) .hero-whatsapp-button:hover { border-color:#171922; color:#fff; background:#171922; }
.hero-whatsapp-button .social-brand-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.hero-info-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-info-list span { display: inline-flex; min-height: 34px; padding: 6px 11px; gap: 7px; align-items: center; border: 1px solid var(--hero-bullet-border); border-radius: 9px; color: var(--hero-bullet-text); background: color-mix(in srgb,var(--hero-bullet-bg) 82%,transparent); font-size: .74rem; line-height: 1.25; backdrop-filter: blur(8px); }
.hero-info-list svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--hero-bullet-icon); fill: color-mix(in srgb,var(--hero-bullet-icon) 12%,transparent); stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-note { display: block; max-width: 580px; margin-top: 14px; color: rgba(255,255,255,.72); }
.hero-features { --hero-card-half-height: var(--hero-desktop-overlap-height,89px); position: relative; z-index: 3; padding: 24px 0 34px; }
.hero-features::before { position: absolute; z-index: -1; inset: 0; background-color: var(--hero-cards-block-bg,var(--bg)); background-image: var(--hero-cards-bg-image,none); background-size: var(--hero-cards-bg-size,cover); background-position: var(--hero-cards-bg-position,center); background-repeat: var(--hero-cards-bg-repeat,no-repeat); content: ""; }
.hero-features.is-overlapping { height: var(--hero-card-half-height); margin-top: calc(var(--hero-card-half-height) * -1); padding: 0; }
.hero-features.is-overlapping::before { display: none; }
.hero-feature-grid { display: grid; grid-template-columns: repeat(var(--hero-feature-columns,3),minmax(0,1fr)); overflow: hidden; border: 1px solid var(--hero-card-border); border-radius: 17px; background: var(--hero-card-bg); box-shadow: var(--shadow); }
.hero-feature-card { display: grid; min-height: 178px; padding: 25px 22px; place-items: center; align-content: center; color: var(--hero-card-text); background: var(--hero-card-bg); text-align: center; }
.hero-feature-card + .hero-feature-card { border-left: 1px solid color-mix(in srgb,var(--hero-card-border) 62%,transparent); }
.hero-feature-card p { color: var(--hero-card-text,var(--muted)); }
.hero-feature-card h2 { margin: 10px 0 6px; color: var(--hero-card-title,var(--text)); font-size: 1rem; letter-spacing: -.015em; }
.hero-feature-card p { margin: 0; font-size: .85rem; line-height: 1.45; }
.hero-feature-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid color-mix(in srgb,var(--hero-card-icon) 34%,transparent); border-radius: 16px; color: var(--hero-card-icon); background: color-mix(in srgb,var(--hero-card-icon) 10%,transparent); }
.hero-card-icon-svg, .hero-card-custom-icon { width: var(--item-icon-size,31px); height: var(--item-icon-size,31px); object-fit: contain; }
.hero-card-custom-icon.is-colorized { display:block; flex:0 0 auto; background-color:currentColor; -webkit-mask-image:var(--custom-icon-url); mask-image:var(--custom-icon-url); -webkit-mask-mode:alpha; mask-mode:alpha; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; -webkit-mask-size:contain; mask-size:contain; }
.public-site .hero-card-custom-icon.is-colorized { color:#171922; transition:color .2s ease; }
html[data-theme="dark"] .public-site .hero-card-custom-icon.is-colorized { color:#fff; }
.hero { position: relative; overflow: hidden; padding: 105px 0 70px; }
.hero::before { position: absolute; inset: -30% auto auto 55%; width: 600px; height: 600px; border-radius: 50%; background: color-mix(in srgb, var(--brand-primary) 15%, transparent); filter: blur(110px); content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 80px; align-items: center; }
.hero h1 { max-width: 760px; }
.hero h1::after { display: block; background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary), var(--brand-secondary)); background-clip: text; color: transparent; content: " "; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: .8rem; }
.hero-visual { position: relative; min-height: 440px; }
.legal-card, .portal-preview { position: absolute; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(145deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow); }
.legal-card { inset: 20px 40px 70px 0; padding: 70px 48px; }
.legal-icon { display: block; margin-bottom: 70px; background: linear-gradient(135deg, var(--brand-accent), var(--brand-secondary)); background-clip: text; color: transparent; font-size: 6rem; }
.portal-preview { right: 0; bottom: 8px; width: min(370px, 85%); padding: 24px; }
.portal-preview span, .portal-preview small { display: block; color: var(--muted); }
.portal-preview strong { display: block; margin: 8px 0 18px; }
.progress { overflow: hidden; height: 7px; margin: 15px 0; border-radius: 20px; background: var(--border); }
.progress i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--brand-accent), var(--brand-secondary)); }
.metrics { padding-bottom: 38px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.metrics-grid div { display: grid; gap: 3px; padding: 24px; border-right: 1px solid var(--border); }
.metrics-grid div:last-child { border: 0; }
.metrics-grid span { color: var(--muted); font-size: .78rem; }
.section { padding: 95px 0; }
.section.muted { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 60%, var(--bg)); }
.section-heading { margin-bottom: 42px; text-align: center; }
.section-heading p { max-width: 680px; margin-inline: auto; }
.section-heading.heading-layout-split { display: grid; width: 100%; max-width: none; grid-template-columns: minmax(0,.95fr) minmax(340px,1.05fr); column-gap: clamp(42px,7vw,110px); align-items: start; text-align: left; }
.section-heading.heading-layout-split .eyebrow { grid-column: 1; margin-inline: 0; justify-self: start; }
.section-heading.heading-layout-split h2 { grid-column: 1; max-width: 640px; margin-inline: 0; }
.section-heading.heading-layout-split p { grid-column: 2; grid-row: 1 / span 2; max-width: 620px; margin: 10px 0 0; justify-self: end; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card, .team-card, .post-card, .content-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: .22s ease;
}
.feature-card:hover, .team-card:hover, .post-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand-primary) 55%, var(--border)); }
.feature-icon { display: grid; width: 48px; height: 48px; margin-bottom: 40px; place-items: center; border: 1px solid color-mix(in srgb, var(--brand-primary) 40%, transparent); border-radius: 14px; color: var(--brand-secondary); background: color-mix(in srgb, var(--brand-primary) 12%, transparent); font-size: 1.4rem; }
.feature-card h3, .feature-card h2 { font-size: 1.2rem; }
.feature-card a, .post-card a { color: var(--brand-secondary); font-weight: 700; }
.section.practice-section { position: relative; padding-top: calc(var(--hero-feature-lower-overlap,89px) + 56px); padding-bottom: 90px; overflow: hidden; border: 0; background: var(--areas-section-bg,var(--surface-2)); isolation: isolate; }
.practice-section-background { position: absolute; z-index: 0; inset: 0; overflow: hidden; background-image: var(--areas-bg-image,none); background-size: var(--areas-bg-size,cover); background-position: var(--areas-bg-position,center); background-repeat: var(--areas-bg-repeat,no-repeat); pointer-events: none; }
.practice-section-background.scope-container { width: min(calc(100% - 40px),var(--container)); margin-inline: auto; inset-block: 24px; border-radius: 22px; }
.practice-section-background::after { position: absolute; inset: 0; background: var(--areas-overlay-color,#000); content: ""; opacity: var(--areas-overlay-opacity,0); }
.practice-section > .container { position: relative; z-index: 1; }
.practice-section-heading { margin-bottom: 38px; }
.practice-section-heading .eyebrow { padding: 5px 10px; border: 1px solid var(--areas-card-border,var(--border)); border-radius: 999px; color: var(--areas-eyebrow-color,var(--text)); }
.practice-section-heading .eyebrow::before { background: var(--areas-eyebrow-color,var(--text)); }
.practice-section-heading h2 { color: var(--areas-heading-color,var(--text)); font-size: clamp(1.85rem,3vw,2.8rem); }
.practice-section-heading p { color: var(--areas-description-color,var(--muted)); }
.practice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.practice-card { position: relative; display: flex; min-width: 0; height: 100%; padding: 30px; flex-direction: column; align-items: flex-start; overflow: hidden; border: 1px solid var(--areas-card-border,var(--border)); border-radius: 16px; color: var(--areas-card-title,var(--text)); background: var(--areas-card-bg,var(--surface)); box-shadow: 0 12px 34px rgba(0,0,0,.06); text-align: left; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease; backdrop-filter: blur(8px); }
.practice-card > * { position: relative; z-index: 1; }
.practice-section.has-card-hover .practice-card::after { position: absolute; z-index: 0; top: 0; right: 0; width: 92px; height: 92px; border-radius: 0 0 0 100%; opacity: .48; background: var(--areas-card-hover-effect,color-mix(in srgb,var(--text) 7%,transparent)); content: ""; transform: scale(.78); transform-origin: top right; transition: opacity .25s ease,transform .3s ease; }
.practice-section.has-card-hover .practice-card:hover { transform: translateY(-6px); border-color: var(--areas-card-border-hover,color-mix(in srgb,var(--text) 34%,var(--border))); box-shadow: 0 22px 52px rgba(0,0,0,.13); }
.practice-section.has-card-hover .practice-card:hover::after { opacity: 1; transform: scale(1); }
.home-about-section { padding: 92px 0; color: var(--home-about-text,var(--muted)); background: var(--home-about-bg,var(--bg)); }
.home-about-grid { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: clamp(46px,5vw,72px); align-items: center; }
.home-about-visual { position: relative; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; aspect-ratio: 1.35 / 1; min-height: 0; border-radius: 18px; }
.home-about-visual .themed-content-image { position: absolute; inset: 0; display: block !important; width: 100%; height: 100%; }
.home-about-visual img { display: block; width: 100%; max-width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.home-about-visual-placeholder { display: grid; width: 100%; height: 100%; padding: 40px; place-items: center; align-content: center; border: 1px solid var(--border); border-radius: 18px; color: var(--text); background: radial-gradient(circle at 25% 25%,color-mix(in srgb,var(--text) 7%,transparent),transparent 48%),var(--surface-2); text-align: center; box-shadow: var(--shadow); }
.home-about-visual-placeholder .brand-mark, .home-about-visual-placeholder .brand-logo { width: 72px; height: 72px; margin-bottom: 18px; }
.home-about-visual-placeholder strong { font-size: 1.15rem; }
.home-about-visual-placeholder small { margin-top: 6px; color: var(--muted); }
.home-about-professional-badge { position: absolute; right: 18px; bottom: 18px; display: flex; min-width: 240px; max-width: calc(100% - 36px); padding: 16px 18px; gap: 12px; align-items: center; border: 1px solid color-mix(in srgb,var(--home-about-badge-text) 18%,transparent); border-radius: 15px; color: var(--home-about-badge-text,var(--bg)); background: var(--home-about-badge-bg,var(--text)); box-shadow: 0 16px 38px rgba(0,0,0,.2); }
.home-about-professional-badge svg { width: 35px; height: 35px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-about-professional-badge span { display: grid; gap: 2px; }
.home-about-professional-badge strong { font-size: .88rem; }
.home-about-professional-badge small { color: color-mix(in srgb,currentColor 76%,transparent); font-size: .7rem; }
.home-about-content { display: grid; align-content: center; }
.home-about-content .eyebrow { width: fit-content; margin-bottom: 17px; color: var(--home-about-eyebrow,var(--text)); }
.home-about-content .eyebrow::before { background: currentColor; }
.home-about-content h2 { max-width: 720px; margin: 0 0 22px; color: var(--home-about-title,var(--text)); font-size: clamp(2rem,3vw,2.8125rem); line-height: 1.05; letter-spacing: -.04em; }
.home-about-copy { color: var(--home-about-text,var(--muted)); font-size: 1rem; line-height: 1.72; }
.home-about-metrics { display: grid; margin-top: 34px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.home-about-metrics article { display: grid; min-height: 112px; padding: 19px 14px; align-content: center; border: 1px solid color-mix(in srgb,var(--home-about-metric-value) 9%,transparent); border-radius: 14px; background: var(--home-about-metric-bg,var(--surface-2)); text-align: center; }
.home-about-metrics strong { color: var(--home-about-metric-value,var(--text)); font-size: clamp(1.55rem,2.4vw,2.05rem); line-height: 1; letter-spacing: -.035em; }
.home-about-metrics small { margin-top: 9px; color: var(--home-about-metric-label,var(--muted)); font-size: .72rem; line-height: 1.3; }
.home-process-section { padding: 92px 0; background: var(--home-process-bg,var(--surface-2)); }
.home-process-heading { margin-bottom: 58px; }
.home-process-heading .eyebrow { margin-inline: auto; border-color: var(--home-process-border,var(--border)); color: var(--home-process-eyebrow,var(--text)); }
.home-process-heading .eyebrow::before { background: currentColor; }
.home-process-heading h2 { max-width: 820px; margin-inline: auto; color: var(--home-process-title,var(--text)); font-size: clamp(2rem,3vw,2.8125rem); }
.home-process-steps { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.home-process-steps::before { position: absolute; z-index: 0; top: 0; right: 12.5%; left: 12.5%; border-top: 1px dashed var(--home-process-connector,var(--border)); content: ""; }
.home-process-card { position: relative; z-index: 1; display: grid; min-height: 205px; padding: 43px 22px 24px; align-content: start; border: 1px solid var(--home-process-border,var(--border)); border-radius: 16px; background: var(--home-process-card-bg,var(--surface)); text-align: center; box-shadow: 0 13px 34px rgba(0,0,0,.06); }
.home-process-number { position: absolute; top: 0; left: 50%; display: grid; width: 44px; height: 44px; place-items: center; border: 4px solid var(--home-process-bg,var(--surface-2)); border-radius: 50%; color: var(--home-process-number-text,var(--bg)); background: var(--home-process-number-bg,var(--text)); font-size: .8rem; font-weight: 850; transform: translate(-50%,-50%); box-sizing: content-box; }
.home-process-card h3 { margin: 0 0 11px; color: var(--home-process-card-title,var(--text)); font-size: 1rem; }
.home-process-card p { margin: 0; color: var(--home-process-card-text,var(--muted)); font-size: .82rem; line-height: 1.55; }
.home-methodology-section { padding: 92px 0; overflow: hidden; background: var(--home-methodology-bg,var(--bg)); }
.home-methodology-heading { width: min(100%,900px); margin: 0 auto 46px; }
.home-methodology-heading .eyebrow { margin-inline: auto; border-color: var(--home-methodology-image-border,var(--border)); color: var(--home-methodology-eyebrow,var(--text)); }
.home-methodology-heading .eyebrow::before { background: currentColor; }
.home-methodology-heading h2 { max-width: 860px; margin-inline: auto; color: var(--home-methodology-title,var(--text)); font-size: clamp(2rem,3vw,2.8125rem); line-height: 1.05; letter-spacing: -.04em; }
.home-methodology-heading p { max-width: 720px; margin-inline: auto; color: var(--home-methodology-text,var(--muted)); font-size: .96rem; line-height: 1.7; }
.home-methodology-showcase { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(310px,.7fr); gap: clamp(22px,3vw,38px); align-items: stretch; }
.home-methodology-panel { position: relative; margin: 0; padding: clamp(7px,.8vw,11px); overflow: hidden; border: 1px solid var(--home-methodology-image-border,var(--border)); border-radius: 20px; background: var(--home-methodology-image-bg,var(--surface)); box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.home-methodology-panel::before { display: block; width: 6px; height: 6px; margin: 1px 0 9px 5px; border-radius: 50%; color: var(--home-methodology-accent,var(--text)); background: currentColor; box-shadow: 11px 0 0 color-mix(in srgb,currentColor 58%,transparent),22px 0 0 color-mix(in srgb,currentColor 28%,transparent); content: ""; }
.home-methodology-panel img { display: block; width: 100%; height: calc(100% - 16px); min-height: 430px; border-radius: 12px; object-fit: cover; object-position: center; }
.home-methodology-items { display: grid; gap: 14px; grid-template-rows: repeat(3,minmax(0,1fr)); }
.home-methodology-item { display: flex; min-height: 0; padding: 22px; gap: 15px; align-items: flex-start; border: 1px solid var(--home-methodology-item-border,var(--border)); border-radius: 16px; background: var(--home-methodology-item-bg,var(--surface-2)); }
.home-methodology-item > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid color-mix(in srgb,var(--home-methodology-accent,var(--text)) 30%,transparent); border-radius: 50%; color: var(--home-methodology-accent,var(--text)); background: color-mix(in srgb,var(--home-methodology-accent,var(--text)) 7%,transparent); }
.home-methodology-item svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-methodology-item h3 { margin: 1px 0 7px; color: var(--home-methodology-item-title,var(--text)); font-size: .95rem; line-height: 1.3; }
.home-methodology-item p { margin: 0; color: var(--home-methodology-item-text,var(--muted)); font-size: .78rem; line-height: 1.55; }
.home-methodology-section.no-image .home-methodology-showcase { grid-template-columns: minmax(0,760px); justify-content: center; }
.home-excellence-section { position: relative; padding: 92px 0; overflow: hidden; color: var(--excellence-text,var(--muted)); background: var(--excellence-bg,var(--bg)); isolation: isolate; }
.home-excellence-section.has-background-image::before,.home-excellence-section.has-background-image::after { position: absolute; inset: 0; content: ""; pointer-events: none; }
.home-excellence-section.has-background-image::before { z-index: -2; background-image: var(--excellence-bg-image); background-size: var(--excellence-bg-size,cover); background-position: var(--excellence-bg-position,center); background-repeat: no-repeat; }
.home-excellence-section.has-background-image::after { z-index: -1; background: var(--excellence-overlay,#000); opacity: var(--excellence-overlay-opacity,0); }
.home-excellence-content { position: relative; z-index: 1; }
.home-excellence-heading { margin-bottom: 48px; }
.home-excellence-heading .eyebrow { margin-inline: auto; border-color: var(--excellence-card-border,var(--border)); color: var(--excellence-eyebrow,var(--text)); }
.home-excellence-heading .eyebrow::before { background: currentColor; }
.home-excellence-heading h2 { max-width: 760px; margin-inline: auto; color: var(--excellence-title,var(--text)); font-size: clamp(2rem,3vw,2.8125rem); line-height: 1.06; }
.home-excellence-heading p { color: var(--excellence-text,var(--muted)); font-size: .96rem; line-height: 1.72; }
.home-excellence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.home-excellence-card { display: grid; min-height: 215px; padding: 30px 26px; place-items: center; align-content: center; border: 1px solid var(--excellence-card-border,var(--border)); border-radius: 16px; background: var(--excellence-card-bg,var(--surface)); text-align: center; box-shadow: 0 13px 36px rgba(0,0,0,.06); backdrop-filter: blur(8px); transition: transform .24s ease,border-color .24s ease,box-shadow .24s ease; }
.home-excellence-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb,var(--excellence-icon,var(--text)) 46%,var(--excellence-card-border,var(--border))); box-shadow: 0 22px 50px rgba(0,0,0,.12); }
.home-excellence-icon { display: grid; width: 52px; height: 52px; margin-bottom: 20px; place-items: center; border: 1px solid color-mix(in srgb,var(--excellence-icon,var(--text)) 24%,transparent); border-radius: 50%; color: var(--excellence-icon,var(--text)); background: var(--excellence-icon-bg,var(--surface-2)); }
.home-excellence-icon .hero-card-icon-svg,.home-excellence-icon .hero-card-custom-icon { width: var(--item-icon-size,28px); height: var(--item-icon-size,28px); }
.home-excellence-card h3 { margin: 0 0 10px; color: var(--excellence-card-title,var(--text)); font-size: 1rem; line-height: 1.3; }
.home-excellence-card p { max-width: 330px; margin: 0; color: var(--excellence-card-text,var(--muted)); font-size: .82rem; line-height: 1.55; }
.excellence-builder-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.builder-module-group { margin-top: 55px; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: color-mix(in srgb,var(--surface) 72%,var(--bg)); }
.builder-module-group > .builder-heading { margin: 0 0 20px; }
.builder-module-group > .areas-builder-form { margin-bottom: 30px; }
.builder-subheading { display: flex; margin: 0 4px 18px; gap: 20px; align-items: end; justify-content: space-between; }
.builder-subheading h3 { margin: 0 0 5px; font-size: 1.08rem; letter-spacing: -.025em; }
.builder-subheading p { margin: 0; font-size: .78rem; }
.practice-card.align-center { align-items: center; text-align: center; }
.practice-card-icon { display: grid; width: 58px; height: 58px; margin-bottom: 20px; place-items: center; border: 1px solid var(--areas-card-border,var(--border)); border-radius: 14px; color: var(--areas-icon-color,var(--text)); background: var(--areas-icon-bg,var(--surface-2)); }
.practice-card-icon.icon-shape-circle { border-radius: 50%; }
.practice-card-icon.icon-shape-rounded { border-radius: 14px; }
.practice-card-icon .hero-card-icon-svg, .practice-card-icon .hero-card-custom-icon { width: var(--item-icon-size,32px); height: var(--item-icon-size,32px); }
.practice-card h3 { margin-bottom: 12px; color: var(--areas-card-title,var(--text)); font-size: 1.2rem; letter-spacing: -.025em; }
.practice-card p { margin-bottom: 24px; color: var(--areas-card-text,var(--muted)); font-size: .92rem; line-height: 1.65; }
.practice-card-button { display: inline-flex; width: 100%; min-height: 46px; margin-top: auto; padding: 9px 16px; gap: 9px; align-items: center; justify-content: center; border: 1px solid var(--areas-button-bg,var(--text)); border-radius: 999px; color: var(--areas-button-text,var(--bg)); background: var(--areas-button-bg,var(--text)); font-size: .76rem; font-weight: 800; text-align: center; transition: .2s ease; }
.practice-card-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.practice-card-button:hover { border-color: var(--areas-button-hover,var(--border)); color: var(--areas-card-title,var(--text)); background: var(--areas-button-hover,var(--surface-2)); }
.practice-card-button:hover svg { transform: translateX(3px); }
.team-card { display: flex; flex-direction: column; align-items: flex-start; }
.avatar { display: grid; width: 72px; height: 72px; margin-bottom: 28px; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--brand-accent), var(--brand-secondary)); font-family: Poppins; font-size: 1.25rem; font-weight: 700; }
.member-photo, .admin-avatar { width: 88px; height: 88px; margin-bottom: 24px; border: 1px solid var(--border); border-radius: 50%; object-fit: cover; }
.team-card h2, .team-card h3 { font-size: 1.25rem; }
.team-card strong { color: var(--brand-secondary); }
.team-card small { margin: 4px 0 18px; }
.admin-team-card { position: relative; min-height: 0; }
.team-admin-actions { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; }
.post-card span { color: var(--brand-secondary); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin-top: 26px; font-size: 1.3rem; }
.card-image { width: calc(100% + 64px); height: 190px; margin: -32px -32px 26px; border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; }
.hero-uploaded-image { position: absolute; inset: 20px 40px 70px 0; width: calc(100% - 40px); height: calc(100% - 90px); border: 1px solid var(--border); border-radius: 24px; object-fit: cover; box-shadow: var(--shadow); }
.hero-visual.has-image .legal-card { display: none; }
.content-image, .article-image { width: 100%; max-height: 460px; margin-bottom: 28px; border-radius: 14px; object-fit: cover; }
.rich-copy { white-space: normal; }
.cta-section { padding: 50px 0 95px; }
.cta-card { display: flex; gap: 30px; padding: 45px; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 13%, var(--surface)), var(--surface)); }
.cta-card h2 { max-width: 720px; font-size: clamp(1.8rem, 3vw, 3rem); }
.page-hero { padding: 120px 0 70px; text-align: center; }
.page-hero p { margin-inline: auto; }
.areas-index-page { --areas-page-bg: var(--bg); --areas-page-eyebrow: var(--text); --areas-page-title: var(--text); --areas-page-text: var(--muted); --areas-page-card-bg: var(--surface); --areas-page-card-border: var(--border); --areas-page-card-hover-border: color-mix(in srgb,var(--text) 34%,var(--border)); --areas-page-card-hover-effect: color-mix(in srgb,var(--text) 7%,transparent); --areas-page-icon: var(--text); --areas-page-icon-bg: var(--surface-2); --areas-page-card-title: var(--text); --areas-page-card-text: var(--muted); --areas-page-button-bg: var(--text); --areas-page-button-text: var(--bg); --areas-page-button-hover-bg: var(--surface-2); --areas-page-button-hover-text: var(--text); min-height: calc(100vh - 78px); background: var(--areas-page-bg); }
.areas-index-hero { padding: 82px 0 36px; text-align: center; }
.areas-index-hero .narrow { max-width: 860px; }
.areas-index-hero .eyebrow { padding: 5px 10px; border: 1px solid var(--areas-page-card-border); border-radius: 999px; color: var(--areas-page-eyebrow); }
.areas-index-hero .eyebrow::before { background: var(--areas-page-eyebrow); }
.areas-index-hero h1 { max-width: 900px; margin: 18px auto 14px; color: var(--areas-page-title); font-size: clamp(2rem,3vw,2.8125rem); line-height: 1.04; letter-spacing: -.045em; }
.areas-index-hero .lead { max-width: 720px; margin-bottom: 0; color: var(--areas-page-text); font-size: clamp(.98rem,1.5vw,1.12rem); line-height: 1.6; }
.areas-index-content { padding: 34px 0 88px; }
.areas-index-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.areas-index-card { position: relative; display: flex; min-width: 0; min-height: 330px; padding: 28px; flex-direction: column; align-items: flex-start; overflow: hidden; border: 1px solid var(--areas-page-card-border); border-radius: 16px; color: var(--areas-page-card-title); background: var(--areas-page-card-bg); box-shadow: 0 12px 34px rgba(0,0,0,.06); text-align: left; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease; backdrop-filter: blur(8px); }
.areas-index-card > * { position: relative; z-index: 1; }
.areas-index-page.has-card-hover .areas-index-card::after { position: absolute; z-index: 0; top: 0; right: 0; width: 92px; height: 92px; border-radius: 0 0 0 100%; opacity: .48; background: var(--areas-page-card-hover-effect); content: ""; transform: scale(.78); transform-origin: top right; transition: opacity .25s ease,transform .3s ease; }
.areas-index-page.has-card-hover .areas-index-card:hover { transform: translateY(-6px); border-color: var(--areas-page-card-hover-border); box-shadow: 0 22px 52px rgba(0,0,0,.13); }
.areas-index-page.has-card-hover .areas-index-card:hover::after { opacity: 1; transform: scale(1); }
.areas-index-card.align-center { align-items: center; text-align: center; }
.areas-index-card-icon { display: grid; width: 56px; height: 56px; margin-bottom: 20px; place-items: center; border: 1px solid var(--areas-page-card-border); border-radius: 14px; color: var(--areas-page-icon); background: var(--areas-page-icon-bg); }
.areas-index-card-icon.icon-shape-circle { border-radius: 50%; }
.areas-index-card-icon .hero-card-icon-svg, .areas-index-card-icon .hero-card-custom-icon { width: var(--item-icon-size,31px); height: var(--item-icon-size,31px); }
.areas-index-card h2 { margin: 0 0 11px; color: var(--areas-page-card-title); font-size: 1.15rem; line-height: 1.25; letter-spacing: -.025em; }
.areas-index-card p { margin: 0 0 24px; color: var(--areas-page-card-text); font-size: .91rem; line-height: 1.62; }
.areas-index-card-button { display: inline-flex; width: 100%; min-height: 45px; margin-top: auto; padding: 9px 16px; gap: 9px; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb,var(--areas-page-button-text) 18%,var(--areas-page-button-bg)); border-radius: 999px; color: var(--areas-page-button-text); background: var(--areas-page-button-bg); box-shadow: 0 2px 7px rgba(15,23,42,.035); font-size: .76rem; font-weight: 800; transition: color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.areas-index-card-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.areas-index-card-button:hover { border-color: color-mix(in srgb,var(--areas-page-button-hover-text) 52%,var(--areas-page-card-border)); color: var(--areas-page-button-hover-text); background: var(--areas-page-button-hover-bg); box-shadow: 0 0 0 1px color-mix(in srgb,var(--areas-page-button-hover-text) 16%,transparent),0 7px 18px rgba(15,23,42,.075); transform: translateY(-1px); }
.areas-index-card-button:hover svg { transform: translateX(3px); }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.three-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.four-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.five-columns { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.check-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.check-list li::before { margin-right: 10px; color: var(--brand-secondary); content: "✓"; }
.article-content { max-width: 820px; padding: 45px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 1.08rem; }
.notice { padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--brand-primary) 35%, var(--border)); border-radius: 13px; color: var(--muted); background: color-mix(in srgb, var(--brand-primary) 7%, var(--surface)); font-size: .85rem; }
.article-content .notice { margin-top: 30px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.contact-panel, .contact-form { padding: 38px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.contact-panel { display: flex; flex-direction: column; gap: 16px; }
.contact-panel .notice { margin-top: auto; }
.marketing-consent { position: fixed; z-index: 1200; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(920px,calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 18px; background: color-mix(in srgb,var(--surface) 96%,transparent); color: var(--text); box-shadow: 0 22px 60px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.marketing-consent[hidden] { display: none; }
.marketing-consent strong { display: block; margin-bottom: 4px; font: 600 1rem Poppins,sans-serif; }
.marketing-consent p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.marketing-consent a { display: inline-block; margin-top: 7px; color: var(--text); font-size: .8rem; text-decoration: underline; }
.marketing-consent-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.marketing-preferences-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width:700px){.marketing-consent{align-items:stretch;flex-direction:column;gap:16px;bottom:10px;padding:18px}.marketing-consent-actions{display:grid;grid-template-columns:1fr 1fr}.marketing-consent-actions .button{width:100%}}
.contact-form, .stack-form, .modal-form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: .82rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; outline: none; color: var(--text); background: var(--input); }
input:focus, select:focus, textarea:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent); }
textarea { resize: vertical; }
.checkbox { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; }
.checkbox input { width: auto; margin-top: 4px; }
.full { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid h2 { grid-column: 1 / -1; margin-top: 18px; font-size: 1.2rem; }
.site-footer { padding: 70px 0 25px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a, .footer-grid span { color: var(--muted); font-size: .86rem; }
.footer-brand.brand { width:max-content; max-width:100%; }
.footer-brand .brand-logo { max-width:min(230px,100%); height:auto; max-height:72px; object-fit:contain; object-position:left center; }
.footer-socials { display:flex; gap:9px; margin-top:8px; flex-wrap:wrap; }
.footer-socials a { display:grid; width:38px; height:38px; place-items:center; border:1px solid var(--border); border-radius:10px; color:var(--text); background:var(--surface-2); transition:transform .2s ease,border-color .2s ease,color .2s ease; }
.footer-socials a:hover { color:var(--brand-primary); border-color:color-mix(in srgb,var(--brand-primary) 55%,var(--border)); transform:translateY(-2px); }
.footer-socials .social-brand-icon { width:19px; height:19px; }
.footer-contact { gap:13px!important; }
.footer-contact > a,.footer-contact > div { display:grid; grid-template-columns:24px minmax(0,1fr); gap:10px; align-items:start; color:var(--muted); text-decoration:none; line-height:1.55; }
.footer-contact > a:hover { color:var(--text); }
.footer-contact i { display:grid; width:24px; height:24px; place-items:center; color:var(--text); font-style:normal; }
.footer-contact i .social-brand-icon { width:19px; height:19px; }
.footer-contact > a span,.footer-contact > div span { color:inherit; font-size:.86rem; }
.settings-section-help { margin:-8px 0 2px; color:var(--muted); font-size:.78rem; }
.footer-contact i { width:38px; height:38px; border:1px solid var(--border); border-radius:10px; background:var(--surface-2); }
.footer-contact > a,.footer-contact > div { grid-template-columns:38px minmax(0,1fr); align-items:center; }
.footer-icons-circle .footer-socials a,.footer-icons-circle .footer-contact i { border-radius:50%; }
.floating-whatsapp-palette { padding:16px; border:1px solid var(--border); border-radius:14px; }
.floating-whatsapp-palette legend { padding:0 8px; color:var(--text); font-weight:700; }
.floating-whatsapp { position:fixed; z-index:1100; right:22px; bottom:22px; display:inline-flex; min-height:54px; padding:8px 19px 8px 9px; gap:11px; align-items:center; border:1px solid color-mix(in srgb,var(--wa-light-text) 28%,transparent); border-radius:999px; color:var(--wa-light-text); background:var(--wa-light-bg); box-shadow:0 14px 36px rgba(0,0,0,.22); text-decoration:none; transition:transform .22s ease,box-shadow .22s ease; }
.floating-whatsapp span { display:grid; width:36px; height:36px; place-items:center; border-radius:50%; color:var(--wa-light-icon); background:color-mix(in srgb,var(--wa-light-icon) 12%,transparent); }
.floating-whatsapp .social-brand-icon { width:22px; height:22px; }
.floating-whatsapp strong { color:inherit; font-size:.84rem; }
html[data-theme="dark"] .floating-whatsapp:not(.uses-custom-palette) { color:var(--wa-dark-text); background:var(--wa-dark-bg); border-color:color-mix(in srgb,var(--wa-dark-text) 28%,transparent); }
html[data-theme="dark"] .floating-whatsapp:not(.uses-custom-palette) span { color:var(--wa-dark-icon); background:color-mix(in srgb,var(--wa-dark-icon) 12%,transparent); }
.floating-whatsapp.uses-custom-palette { color:var(--wa-custom-text); background:var(--wa-custom-bg); border-color:color-mix(in srgb,var(--wa-custom-text) 28%,transparent); }
.floating-whatsapp.uses-custom-palette span { color:var(--wa-custom-icon); background:color-mix(in srgb,var(--wa-custom-icon) 12%,transparent); }
.floating-whatsapp:hover { color:inherit; transform:translateY(-4px); box-shadow:0 18px 42px rgba(0,0,0,.28); }
.floating-whatsapp.icon-only-desktop { width:54px; height:54px; min-height:54px; padding:8px; justify-content:center; }
.floating-whatsapp.icon-only-desktop strong { display:none; }
.marketing-consent-actions .button.primary,
.marketing-consent-actions .button.primary:hover { border-color:var(--text); color:var(--bg) !important; background:var(--text) !important; background-image:none !important; box-shadow:0 10px 26px color-mix(in srgb,var(--text) 16%,transparent); }
.marketing-consent-actions .button.ghost,
.marketing-consent-actions .button.ghost:hover { border-color:var(--border); color:var(--text); background:var(--surface); }
@media(max-width:640px){.floating-whatsapp{right:15px;bottom:15px;width:54px;height:54px;min-height:54px;padding:8px;justify-content:center}.floating-whatsapp strong{display:none}.floating-whatsapp span{width:36px;height:36px}}

/* CTAs públicos preservam as cores e usam somente movimento no hover. */
.public-site .hero-primary-button:hover{border-color:var(--hero-button-color,var(--text))!important;color:var(--hero-button-text-color,var(--bg))!important;background:var(--hero-button-color,var(--text))!important;transform:translateY(-3px)}
.public-site .hero-whatsapp-button:hover{border-color:var(--border)!important;color:var(--text)!important;background:var(--surface)!important;transform:translateY(-3px)}
.public-site .practice-card-button:hover{border-color:var(--areas-button-bg,var(--text))!important;color:var(--areas-button-text,var(--bg))!important;background:var(--areas-button-bg,var(--text))!important;transform:translateY(-3px)}
.public-site .areas-index-card-button:hover{border-color:color-mix(in srgb,var(--areas-page-button-text) 18%,var(--areas-page-button-bg))!important;color:var(--areas-page-button-text)!important;background:var(--areas-page-button-bg)!important;transform:translateY(-3px)}
.public-site .home-team-button:hover{border-color:var(--home-team-button-text,var(--bg))!important;color:var(--home-team-button-text,var(--bg))!important;background:var(--home-team-button-bg,var(--text))!important;transform:translateY(-3px)}
.public-site .home-testimonials-button:hover{border-color:var(--testimonials-button-text,var(--bg))!important;color:var(--testimonials-button-text,var(--bg))!important;background:var(--testimonials-button-bg,var(--text))!important;transform:translateY(-3px)}
.public-site .landing-contact-section .contact-form .button.primary:hover,.public-site .contact-page .contact-form .button.primary:hover{border-color:var(--contact-button-bg,var(--text))!important;color:var(--contact-button-text,var(--bg))!important;background:var(--contact-button-bg,var(--text))!important;transform:translateY(-3px)}
.public-site .about-showcase-cta .button:hover{color:var(--about-cta-button-text,var(--bg))!important;background:var(--about-cta-button-bg,var(--text))!important;transform:translateY(-3px)}
.public-site .home-hero.has-hero-media .hero-whatsapp-button:hover{border-color:rgba(255,255,255,.54)!important;color:#fff!important;background:rgba(7,10,15,.62)!important}
html[data-theme="light"] .public-site .home-hero.has-hero-media:not(.has-custom-colors) .hero-whatsapp-button:hover{border-color:rgba(23,25,34,.35)!important;color:#171922!important;background:rgba(255,255,255,.78)!important}
.public-site .practice-card-button svg,.public-site .areas-index-card-button svg,.public-site .home-team-button svg,.public-site .home-testimonials-button svg{transition:transform .2s ease}.public-site .practice-card-button:hover svg,.public-site .areas-index-card-button:hover svg,.public-site .home-team-button:hover svg,.public-site .home-testimonials-button:hover svg{transform:translateX(4px)}
.footer-bottom { display: flex; gap: 18px 30px; margin-top: 50px; padding-top: 22px; align-items:center; justify-content: space-between; flex-wrap:wrap; border-top: 1px solid var(--border); color: var(--muted); font-size: .72rem; }
.footer-bottom span:last-child { max-width: 650px; text-align: right; }
.footer-developer-credit { color:var(--muted); white-space:nowrap; transition:color .2s ease,transform .2s ease; }
.footer-developer-credit strong { color:var(--text); letter-spacing:.04em; }
.footer-developer-credit:hover { color:var(--text); transform:translateY(-1px); }

html { scroll-behavior: smooth; }
#inicio, #areas, #equipe, #conteudos, #faq, #contato { scroll-margin-top: 86px; }
.public-site main > [data-home-section][data-landing-tone="a"]:not(.has-custom-colors):not(.has-background-image) { background-color: var(--bg) !important; }
.public-site main > [data-home-section][data-landing-tone="b"]:not(.has-custom-colors):not(.has-background-image) { background-color: var(--surface-2) !important; }
.landing-team-section { padding: clamp(70px,8vw,104px) 0; background: var(--about-team-section,var(--surface-2)); }
.landing-team-heading { max-width: 850px; margin: 0 auto 46px; text-align: center; }
.landing-team-heading .eyebrow { margin-inline: auto; }
.landing-team-heading h2 { margin-inline: auto; font-size: clamp(2rem,3vw,2.8125rem); }
.landing-team-heading p { max-width: 720px; margin-inline: auto; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.landing-faq-section { padding: clamp(70px,8vw,104px) 0; background: var(--landing-faq-bg,var(--surface-2)); }
.landing-faq-heading { max-width: 790px; margin: 0 auto 42px; text-align: center; }
.landing-faq-heading .eyebrow { margin-inline: auto; color: var(--landing-faq-title,var(--text)); }
.landing-faq-heading h2 { margin-inline: auto; color: var(--landing-faq-title,var(--text)); font-size: clamp(2rem,3vw,2.8125rem); }
.landing-faq-heading p { margin-inline: auto; color: var(--landing-faq-text,var(--muted)); font-size: 1rem; line-height: 1.72; }
.landing-faq-list { display: grid; width: min(100%,900px); margin-inline: auto; gap: 12px; }
.landing-faq-item { overflow: hidden; border: 1px solid var(--landing-faq-border,var(--border)); border-radius: 15px; background: var(--landing-faq-card,var(--surface)); box-shadow: 0 8px 24px rgba(15,23,42,.04); }
.landing-faq-item summary { display: flex; min-height: 70px; padding: 20px 24px; gap: 22px; align-items: center; justify-content: space-between; color: var(--landing-faq-question,var(--text)); cursor: pointer; font: 600 clamp(.98rem,1.3vw,1.08rem)/1.45 Poppins,sans-serif; list-style: none; }
.landing-faq-item summary::-webkit-details-marker { display: none; }
.landing-faq-item summary i { position: relative; width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid var(--landing-faq-border,var(--border)); border-radius: 50%; color: var(--landing-faq-icon,var(--text)); background: var(--landing-faq-icon-bg,transparent); }
.landing-faq-item summary i::before,.landing-faq-item summary i::after { position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: currentColor; content: ""; transform: translate(-50%,-50%); transition: transform .2s ease; }
.landing-faq-item summary i::after { transform: translate(-50%,-50%) rotate(90deg); }
.landing-faq-item[open] summary i::after { transform: translate(-50%,-50%) rotate(0deg); }
.landing-faq-answer { padding: 0 24px 22px; border-top: 1px solid color-mix(in srgb,var(--landing-faq-border,var(--border)) 70%,transparent); color: var(--landing-faq-answer,var(--muted)); font-size: .98rem; line-height: 1.75; }
.landing-faq-answer::before { display: block; height: 18px; content: ""; }
.landing-contact-section { --contact-info-bg:var(--surface); --contact-info-border:var(--border); --contact-info-title:var(--text); --contact-info-accent:var(--brand-primary); --contact-highlight-bg:var(--text); --contact-highlight-text:var(--bg); --contact-item-bg:var(--surface-2); --contact-item-border:var(--border); --contact-item-icon-bg:color-mix(in srgb,var(--text) 7%,var(--surface)); --contact-item-icon:var(--text); --contact-item-label:var(--muted); --contact-item-value:var(--text); --contact-notice-bg:color-mix(in srgb,var(--surface) 82%,var(--bg)); --contact-notice-border:var(--border); --contact-notice-text:var(--muted); background: var(--bg); }
.landing-contact-heading { max-width: 800px; margin: 0 auto 42px; text-align: center; }
.landing-contact-heading .eyebrow { margin-inline: auto; }
.landing-contact-heading h2,.landing-contact-heading p { margin-inline: auto; }
.landing-contact-section .contact-panel,.landing-contact-section .contact-form { box-shadow: 0 12px 36px rgba(15,23,42,.055); }
.landing-contact-section .contact-panel { border-color:var(--contact-info-border); background:var(--contact-info-bg); }
.landing-contact-section .contact-panel h2 { color:var(--contact-info-title); }
.landing-contact-section .contact-panel .notice { border-color:var(--contact-notice-border); color:var(--contact-notice-text); background:var(--contact-notice-bg); }
.landing-contact-section .contact-form .button { width: 100%; }
.landing-contact-section .contact-form .button.primary { border-color: var(--text); color: var(--bg) !important; background: var(--text) !important; }
.landing-contact-section .contact-form .button.primary:hover { border-color: var(--text); color: var(--text) !important; background: var(--surface-2) !important; }
@media (max-width:650px) { .landing-team-heading,.landing-faq-heading { margin-bottom: 32px; } .landing-faq-item summary { min-height: 62px; padding: 17px 18px; } .landing-faq-answer { padding: 0 18px 19px; } }

.installer-page, .auth-page { display: grid; min-height: 100vh; padding: 40px 20px; place-items: center; background: radial-gradient(circle at top, color-mix(in srgb, var(--brand-primary) 22%, var(--bg)), var(--bg) 45%); }
.installer-shell { width: min(100%, 820px); }
.installer-card, .auth-card { padding: 42px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.installer-card h1, .auth-card h1 { font-size: 2.4rem; }
.auth-card { display: grid; width: min(100%, 460px); gap: 20px; }
.auth-card .brand { margin-bottom: 25px; }
.auth-card > a:last-child { color: var(--brand-secondary); font-size: .85rem; }
.auth-forgot-link { margin-top: -8px; justify-self: end; color: var(--brand-secondary); font-size: .78rem; font-weight: 700; }
.admin-auth-page { padding: 24px; background: #080a0f; }
.admin-auth-shell { display: grid; width: min(1080px,100%); min-height: 660px; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); overflow: hidden; border: 1px solid #262b37; border-radius: 28px; background: #10131b; box-shadow: 0 35px 90px rgba(0,0,0,.38); }
.admin-auth-showcase { position: relative; display: flex; padding: clamp(42px,6vw,72px); flex-direction: column; justify-content: space-between; overflow: hidden; background: radial-gradient(circle at 15% 15%,rgba(118,87,255,.3),transparent 38%),radial-gradient(circle at 85% 80%,rgba(32,189,235,.2),transparent 35%),#0c0f16; }
.admin-auth-showcase::after { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 42px 42px; content:""; pointer-events:none; }
.admin-auth-showcase > * { position: relative; z-index: 1; }
.admin-auth-showcase .brand { width: fit-content; }
.admin-auth-showcase-copy { max-width: 500px; }
.admin-auth-showcase-copy h2 { margin: 18px 0; color:#fff; font-size:clamp(2.2rem,4vw,3.6rem); line-height:1.03; letter-spacing:-.055em; }
.admin-auth-showcase-copy p { max-width: 460px; color:#adb5c7; font-size:1rem; line-height:1.75; }
.admin-auth-benefits { display:grid; gap:12px; color:#dbe1ee; font-size:.85rem; }
.admin-auth-benefits span { display:flex; gap:10px; align-items:center; }
.admin-auth-benefits i { display:grid; width:24px; height:24px; place-items:center; border:1px solid rgba(32,189,235,.42); border-radius:50%; color:#20bdeb; font-style:normal; }
.admin-auth-form-panel { display:grid; padding:clamp(38px,5vw,66px); align-content:center; background:#11141c; }
.admin-auth-form-panel .auth-card { width:100%; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.admin-auth-form-panel .auth-card h1 { margin-bottom:0; font-size:clamp(2rem,3vw,2.65rem); }
.admin-auth-form-panel .auth-card > p { margin-top:-8px; color:#9da6b8; }
.admin-auth-security { display:flex; margin-top:4px; gap:8px; align-items:center; color:#7f899d; font-size:.72rem; }
.sidebar-submenu { display:grid; margin:4px 0 8px 42px; gap:2px; }
.sidebar-submenu a { min-height:32px!important; padding:7px 10px!important; border-left:1px solid var(--border); border-radius:0 8px 8px 0!important; color:var(--muted); font-size:.74rem; }
.sidebar-submenu a.active { border-left-color:var(--brand-secondary); color:var(--text); background:color-mix(in srgb,var(--brand-secondary) 10%,transparent); }
.settings-heading-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.settings-heading-actions .button { min-height:42px; }
@media (max-width:820px){.admin-auth-shell{grid-template-columns:1fr;min-height:0}.admin-auth-showcase{display:none}.admin-auth-form-panel{min-height:calc(100vh - 48px)}.settings-heading-actions{width:100%}.settings-heading-actions .button{flex:1}}
.alert { margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 11px; }
.alert.success { border-color: #1e704c; color: #2fc57c; background: rgba(47, 197, 124, .08); }
.alert.error { border-color: #873b46; color: #ef6d7d; background: rgba(239, 109, 125, .08); }

.dashboard-body { min-height: 100vh; overflow: hidden; font-size: 14px; }
.dashboard-shell h1 { font-size: 1.75rem; line-height: 1.25; letter-spacing: -.025em; }
.dashboard-shell h2 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.018em; }
.dashboard-shell h3 { font-size: .96rem; line-height: 1.35; letter-spacing: -.012em; }
.dashboard-shell p { font-size: .86rem; }
.dashboard-shell .button { min-height: 42px; padding-inline: 17px; font-size: .82rem; }
.dashboard-shell { display: grid; height: 100vh; grid-template-columns: 260px minmax(0, 1fr); }
.sidebar { display: flex; height: 100vh; padding: 17px 15px 14px; flex-direction: column; border-right: 1px solid var(--border); background: var(--surface); }
.sidebar .brand { padding: 0 9px 14px; }
.sidebar .brand-logo { max-width: 72px; }
.sidebar nav { display: grid; min-height: 0; gap: 9px; overflow-y: auto; padding-right: 3px; scrollbar-width: thin; }
.sidebar-group { display: grid; gap: 2px; }
.sidebar-group-title { padding: 0 11px 3px; color: color-mix(in srgb, var(--muted) 68%, transparent); font-size: .57rem; font-weight: 800; letter-spacing: .11em; }
.sidebar-block-number { min-width: 24px; font-size: .56rem; font-weight: 800; letter-spacing: .12em; opacity: .55; }
.sidebar nav a { display: flex; gap: 9px; padding: 8px 11px; align-items: center; border-radius: 9px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.sidebar nav a.active, .sidebar nav a:hover { color: var(--text); background: color-mix(in srgb, var(--brand-primary) 12%, var(--surface)); }
.sidebar-icon { display: inline-grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border: 1px solid transparent; border-radius: 7px; color: color-mix(in srgb, var(--brand-secondary) 75%, var(--muted)); transition: .18s ease; }
.sidebar nav a:hover .sidebar-icon, .sidebar nav a.active .sidebar-icon { border-color: color-mix(in srgb, var(--brand-primary) 24%, transparent); color: var(--brand-secondary); background: color-mix(in srgb, var(--brand-primary) 14%, transparent); }
.ui-icon { display: block; width: 18px; height: 18px; pointer-events: none; }
.sidebar-icon .ui-icon { width: 15px; height: 15px; }
.sidebar-footer { display: grid; gap: 8px; margin-top: auto; padding: 10px 10px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .76rem; }
.sidebar-footer-links { display: flex; justify-content: space-between; }
.faq-admin-list { display: grid; gap: 12px; }
.faq-admin-item { padding: 0; overflow: hidden; }
.faq-admin-item > summary { padding: 18px 20px; color: var(--text); cursor: pointer; font-weight: 750; list-style-position: inside; }
.faq-admin-item > form { padding: 0 20px 20px; }
.landing-visibility-panel { display: grid; margin-bottom: 24px; gap: 22px; }
.landing-visibility-heading { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; }
.landing-visibility-heading h2 { margin-bottom: 6px; }
.landing-visibility-heading p { max-width: 760px; margin: 0; }
.landing-visibility-heading .button { flex: 0 0 auto; }
.landing-visibility-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.landing-visibility-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; padding: 14px 15px; gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--surface-2); cursor: pointer; }
.landing-visibility-item input { width: 18px; height: 18px; }
.landing-visibility-item span { display: grid; gap: 2px; }
.landing-visibility-item small { font-size: .7rem; }
.landing-visibility-item b { padding: 4px 8px; border-radius: 999px; color: var(--muted); background: var(--surface); font-size: .65rem; }
@media (max-width:850px) { .landing-visibility-heading { align-items: stretch; flex-direction: column; } .landing-visibility-grid { grid-template-columns: 1fr; } }
.license-key-summary { display: grid; min-width: 0; gap: 2px; }
.license-key-summary small { color: color-mix(in srgb, var(--muted) 78%, transparent); font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.license-key-summary strong { overflow: hidden; color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.license-key-summary > a { color: var(--brand-secondary); font-size: .62rem; font-weight: 700; }
.license-key-register { width: min(100%, 760px); margin-top: 18px; }
.masked-license-key { display: inline-block; margin-top: 10px; color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; letter-spacing: .03em; }
.masked-license-key.is-revealed { padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); overflow-wrap: anywhere; user-select: all; }
.dashboard-main { height: 100vh; overflow-y: auto; }
.dashboard-topbar { position: sticky; z-index: 10; top: 0; display: flex; min-height: 76px; padding: 0 32px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--header); backdrop-filter: blur(15px); }
.dashboard-topbar div { display: grid; }
.dashboard-topbar small { font-size: .7rem; }
.dashboard-topbar .topbar-actions { display: flex; gap: 10px; align-items: center; }
.topbar-title { line-height: 1.35; }
.topbar-title > span { display: flex; gap: 9px; align-items: center; }
.system-version { padding: 3px 7px; border: 1px solid var(--border); border-radius: 20px; color: color-mix(in srgb, var(--muted) 78%, transparent); background: var(--surface); font-size: .58rem !important; font-weight: 700; letter-spacing: .03em; text-transform: none !important; }
.account-menu { position: relative; }
.account-menu::after { position: absolute; top: 100%; right: 0; width: 100%; height: 10px; content: ""; }
.account-trigger { display: flex; min-width: 210px; height: 48px; padding: 5px 10px 5px 6px; gap: 9px; align-items: center; border: 1px solid var(--border); border-radius: 13px; color: var(--text); background: var(--surface); cursor: pointer; text-align: left; }
.account-trigger > span:nth-child(2) { display: grid; min-width: 0; margin-right: auto; line-height: 1.25; }
.account-trigger strong { max-width: 145px; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.account-trigger small { color: var(--muted); font-size: .64rem; }
.account-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--brand-accent), var(--brand-secondary)); font-weight: 800; }
.account-avatar.large { width: 54px; height: 54px; border-radius: 15px; font-size: 1.2rem; }
.account-dropdown { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; display: grid; width: 220px; padding: 8px; border: 1px solid var(--border); border-radius: 13px; visibility: hidden; opacity: 0; background: var(--surface); box-shadow: var(--shadow); transform: translateY(-5px); transition: .18s ease; }
.account-menu:hover .account-dropdown, .account-menu:focus-within .account-dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.account-dropdown a { padding: 10px 12px; border-radius: 8px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.account-dropdown a:hover { color: var(--text); background: var(--surface-2); }
.account-dropdown .danger-link { color: #ef6d7d; }
.dashboard-content { padding: 34px; }
.dashboard-heading { display: flex; gap: 25px; margin-bottom: 28px; align-items: end; justify-content: space-between; }
.dashboard-heading h1 { font-size: clamp(1.45rem, 2vw, 1.7rem); }
.dashboard-heading p { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat-grid article, .panel, .case-card, .portal-cases, .case-hero-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stat-grid article { display: grid; gap: 5px; }
.stat-grid strong { font-family: Poppins; font-size: 1.45rem; }
.stat-grid span, .stat-grid small { color: var(--muted); font-size: .78rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel-heading { display: flex; gap: 20px; margin-bottom: 22px; align-items: center; justify-content: space-between; }
.panel-heading h2 { margin: 0; font-size: 1.2rem; }
.panel-heading a { color: var(--brand-secondary); font-size: .82rem; font-weight: 700; }
.data-list { display: grid; }
.data-list > div, .data-list > a { display: grid; padding: 14px 0; align-items: center; grid-template-columns: 12px 1fr auto; gap: 12px; border-top: 1px solid var(--border); }
.data-list > :first-child { border-top: 0; }
.data-list span:nth-child(2) { display: grid; }
.data-list time { color: var(--muted); font-size: .72rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8c93a2; }
.status-dot.new { background: var(--brand-secondary); }
.status-dot.contacted { background: #e5ac45; }
.status-dot.qualified { background: #4ac787; }
.table-panel { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
td { font-size: .86rem; }
td strong, td small { display: block; }
.inline-form select { min-width: 130px; padding: 8px 10px; }
.badge { display: inline-flex; width: fit-content; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--brand-primary) 35%, var(--border)); border-radius: 20px; color: var(--brand-secondary); background: color-mix(in srgb, var(--brand-primary) 8%, var(--surface)); font-size: .68rem; font-weight: 700; }
.status-badge { display: inline-flex; width: fit-content; padding: 6px 10px; border: 1px solid transparent; border-radius: 20px; font-size: .7rem; font-weight: 800; }
.status-success { border-color: rgba(47, 197, 124, .35); color: #35c982; background: rgba(47, 197, 124, .1); }
.status-danger { border-color: rgba(239, 82, 101, .35); color: #ef6475; background: rgba(239, 82, 101, .1); }
.status-warning { border-color: rgba(237, 165, 52, .4); color: #e9a839; background: rgba(237, 165, 52, .1); }
.status-info { border-color: color-mix(in srgb, var(--brand-secondary) 35%, transparent); color: var(--brand-secondary); background: color-mix(in srgb, var(--brand-secondary) 10%, transparent); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-card { display: flex; min-height: 220px; flex-direction: column; }
.case-card h3 { margin-top: 24px; font-size: 1.15rem; }
.case-card strong { margin-top: auto; color: var(--brand-secondary); font-size: .85rem; }
.card-actions, .row-actions, .button-row { display: flex; gap: 8px; align-items: center; }
.card-actions { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.row-actions { min-width: max-content; }
.action-icon { display: inline-grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 1px solid transparent; border-radius: 9px; color: #fff; cursor: pointer; font: inherit; line-height: 1; box-shadow: 0 5px 12px rgba(0,0,0,.14); transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.action-icon.view { background: #159b65; }
.action-icon.edit { background: #2477e8; }
.action-icon.danger { background: #dc3549; }
.action-icon:hover { color: #fff; filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 17px rgba(0,0,0,.2); }
.action-icon:focus-visible { outline: 3px solid color-mix(in srgb, currentColor 42%, transparent); outline-offset: 2px; }
.danger-button { border-color: #dc3549; color: #fff; background: #dc3549; }
.danger-button:hover { border-color: #bf273a; color: #fff; background: #bf273a; }
.action-link { margin-left: auto; color: var(--brand-secondary); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.button-row.compact { flex-wrap: wrap; justify-content: flex-end; }
.detail-grid { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: 22px; align-items: start; }
.detail-grid .panel > h2 { margin-bottom: 20px; font-size: 1.15rem; }
.detail-list { display: grid; grid-template-columns: minmax(110px,.45fr) minmax(0,1fr); gap: 0 18px; margin: 0; }
.detail-list dt, .detail-list dd { padding: 11px 0; border-bottom: 1px solid var(--border); }
.detail-list dt { color: var(--muted); font-size: .72rem; }
.detail-list dd { margin: 0; overflow-wrap: anywhere; font-size: .84rem; font-weight: 600; }
.message-content { min-height: 160px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); font-size: .86rem; line-height: 1.75; }
.logo-upload-box { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.logo-preview { display: flex; min-height: 92px; padding: 16px; gap: 14px; align-items: center; justify-content: center; border: 1px dashed color-mix(in srgb, var(--brand-primary) 40%, var(--border)); border-radius: 12px; background: var(--surface); }
.logo-preview img { display: block; width: auto; max-width: min(100%, 300px); height: auto; max-height: 90px; object-fit: contain; }
.logo-preview small { color: var(--muted); }
.logo-variants-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.logo-variant-box { display: grid; min-width: 0; padding: 15px; gap: 13px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.logo-variant-box > h3 { margin: 0; font-size: .86rem; }
.logo-variant-box > p { margin: -7px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.logo-variant-box .logo-preview { min-height: 112px; padding: 14px; }
.logo-variant-box .logo-preview img { max-width: 100%; max-height: 72px; }
.logo-preview-theme-light { border-color: #d7dbe4; background: #fff; }
.logo-preview-theme-dark { border-color: #2b2f39; background: #090a0e; }
.logo-preview-theme-custom { background-color: var(--surface); background-image: linear-gradient(45deg,color-mix(in srgb,var(--muted) 9%,transparent) 25%,transparent 25%),linear-gradient(-45deg,color-mix(in srgb,var(--muted) 9%,transparent) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,color-mix(in srgb,var(--muted) 9%,transparent) 75%),linear-gradient(-45deg,transparent 75%,color-mix(in srgb,var(--muted) 9%,transparent) 75%); background-position: 0 0,0 8px,8px -8px,-8px 0; background-size: 16px 16px; }
.upload-guidance { display: grid; gap: 5px; padding: 12px 14px; border-left: 3px solid var(--brand-secondary); border-radius: 8px; color: var(--muted); background: color-mix(in srgb, var(--brand-secondary) 6%, var(--surface)); font-size: .75rem; line-height: 1.5; }
.upload-guidance strong { color: var(--text); }
.process-toolbar { display: grid; gap: 20px; margin-bottom: 22px; }
.process-search { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(180px, .45fr) auto auto; gap: 12px; align-items: end; }
.process-search label span { font-size: .72rem; }
.status-filter-row { display: flex; flex-wrap: wrap; gap: 9px; }
.status-filter { display: inline-flex; padding: 7px 11px; gap: 8px; align-items: center; border: 1px solid var(--border); border-radius: 20px; color: var(--muted); background: var(--surface-2); font-size: .72rem; font-weight: 700; }
.status-filter strong { display: grid; min-width: 20px; height: 20px; padding: 0 5px; place-items: center; border-radius: 20px; color: var(--text); background: var(--surface); font-size: .66rem; }
.status-filter.active { outline: 2px solid currentColor; outline-offset: 1px; }
.process-numbers { max-width: 300px; color: var(--muted); white-space: normal; }
.account-summary { display: flex; gap: 14px; margin-top: 12px; padding: 16px; align-items: center; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.account-summary div { display: grid; }
.account-summary small { color: var(--muted); }
.case-detail-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 22px; align-items: start; }
.case-summary { position: sticky; top: 105px; }
.case-summary h2 { margin-top: 20px; font-size: 1.15rem; }
.case-summary dl { display: grid; gap: 16px; }
.case-summary dt { color: var(--muted); font-size: .72rem; }
.case-summary dd { margin: 3px 0 0; font-weight: 600; }
.assign-lawyer-form { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.timeline { display: grid; }
.timeline article { position: relative; display: grid; padding: 0 0 34px 30px; grid-template-columns: 1fr; }
.timeline article::before { position: absolute; top: 12px; bottom: 0; left: 6px; width: 1px; background: var(--border); content: ""; }
.timeline article:last-child::before { display: none; }
.timeline-dot { position: absolute; z-index: 1; top: 5px; left: 0; width: 13px; height: 13px; border: 3px solid var(--surface); border-radius: 50%; background: var(--brand-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-primary) 45%, transparent); }
.timeline article.internal { opacity: .72; }
.timeline-meta { display: flex; gap: 12px; margin-bottom: 10px; align-items: center; justify-content: space-between; }
.timeline-meta time { color: var(--muted); font-size: .72rem; }
.timeline h3 { font-size: 1rem; }
.timeline p { color: var(--text); font-size: .9rem; }
.next-step { display: grid; gap: 4px; margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--brand-secondary); border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: .82rem; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.settings-grid .panel > h2, .stack-form > h2 { font-size: 1.15rem; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.editor-sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.user-editor-form { display: grid; width: min(100%, 1120px); gap: 22px; }
.user-editor-form > .panel { padding: 28px; }
.user-editor-form .panel-heading { margin-bottom: 5px; }
.user-editor-form .panel-heading h2 { font-size: 1.15rem; }
.permissions-section[hidden] { display: none; }
.permissions-heading { display: flex; margin-bottom: 20px; align-items: start; justify-content: space-between; }
.permissions-heading h2 { margin: 4px 0 5px; font-size: 1.15rem; }
.permissions-heading p { margin: 0; color: var(--muted); }
.permissions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.permission-card { display: flex; min-height: 54px; padding: 13px 14px; gap: 11px; align-items: center; border: 1px solid var(--border); border-radius: 11px; color: var(--text); background: var(--surface-2); cursor: pointer; transition: .18s ease; }
.permission-card:hover { border-color: color-mix(in srgb, var(--brand-secondary) 48%, var(--border)); transform: translateY(-1px); }
.permission-card input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.permission-check { position: relative; display: grid; width: 19px; height: 19px; flex: 0 0 19px; place-items: center; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); }
.permission-card input:checked + .permission-check { border-color: #2477e8; background: #2477e8; }
.permission-card input:checked + .permission-check::after { width: 8px; height: 4px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; content: ""; transform: translateY(-1px) rotate(-45deg); }
.permission-card input:focus-visible + .permission-check { outline: 3px solid color-mix(in srgb, #2477e8 35%, transparent); outline-offset: 2px; }
.permission-card strong { font-family: Inter, Arial, sans-serif; font-size: .78rem; line-height: 1.35; }
.user-form-footer { display: flex; padding-bottom: 10px; gap: 10px; justify-content: flex-end; }
.language-fieldset { display: grid; gap: 16px; margin: 0; padding: 22px; border: 1px solid var(--border); border-radius: 14px; }
.language-fieldset legend { padding: 0 10px; color: var(--brand-secondary); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.content-editor { min-height: 230px; }
.current-image { width: 100%; max-height: 210px; border: 1px solid var(--border); border-radius: 12px; object-fit: cover; }
.back-link { display: block; margin-bottom: 10px; color: var(--brand-secondary); font-size: .82rem; font-weight: 700; }
.media-upload { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; margin-bottom: 22px; align-items: end; }
.media-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.media-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.media-card img { width: 100%; height: 120px; object-fit: cover; }
.media-card div { display: grid; gap: 7px; padding: 11px; }
.media-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card small { color: var(--muted); }
.color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
input[type="color"] { min-height: 48px; padding: 5px; }
dialog { width: min(calc(100% - 30px), 650px); padding: 0; border: 1px solid var(--border); border-radius: 20px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0, 0, 0, .68); backdrop-filter: blur(5px); }
.modal-form { padding: 28px; }
.modal-form .panel-heading { margin-bottom: 0; }
.confirm-dialog { width: min(calc(100% - 30px), 460px); }
.confirm-content { display: grid; padding: 30px; justify-items: center; text-align: center; }
.confirm-content h2 { margin: 15px 0 7px; font-size: 1.25rem; }
.confirm-content p { max-width: 390px; margin: 0; color: var(--muted); font-size: .82rem; }
.confirm-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(239,82,101,.4); border-radius: 50%; color: #ef6475; background: rgba(239,82,101,.1); font-weight: 900; }
.confirm-actions { display: flex; width: 100%; margin-top: 24px; gap: 10px; justify-content: center; }
.confirm-actions form { margin: 0; }
.confirm-actions .button { min-width: 145px; }
.empty { padding: 20px; color: var(--muted); text-align: center; }
.collaboration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; align-items: start; }
.document-upload-form { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 12px; margin-bottom: 18px; align-items: end; }
.document-list { display: grid; border-top: 1px solid var(--border); }
.document-list > a { display: grid; padding: 13px 0; align-items: center; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 11px; border-bottom: 1px solid var(--border); }
.document-list > a:hover strong { color: var(--brand-secondary); }
.document-list > a > span:nth-child(2) { display: grid; min-width: 0; }
.document-list strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.document-list small { font-size: .68rem; }
.document-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: var(--brand-secondary); background: color-mix(in srgb, var(--brand-secondary) 10%, var(--surface)); font-weight: 800; }
.chat-panel { display: grid; }
.chat-messages { display: flex; max-height: 440px; min-height: 180px; padding: 8px 2px 18px; gap: 11px; flex-direction: column; overflow-y: auto; }
.chat-messages article { max-width: 84%; padding: 11px 13px; align-self: flex-start; border: 1px solid var(--border); border-radius: 5px 14px 14px; background: var(--surface-2); }
.chat-messages article.mine { align-self: flex-end; border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--border)); border-radius: 14px 5px 14px 14px; background: color-mix(in srgb, var(--brand-primary) 12%, var(--surface)); }
.chat-messages article > div { display: flex; gap: 16px; margin-bottom: 5px; align-items: center; justify-content: space-between; }
.chat-messages article strong { font-size: .72rem; }
.chat-messages article small { font-size: .62rem; }
.chat-messages article p { margin: 0; color: var(--text); font-size: .82rem; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; border-top: 1px solid var(--border); padding-top: 16px; }
.chat-form textarea { min-height: 76px; }
.permission-option { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.upload-help { margin: -8px 0 14px; font-size: .7rem; }
.builder-intro { margin-bottom: 22px; padding: 24px 28px; border: 1px solid color-mix(in srgb,var(--brand-primary) 34%,var(--border)); border-radius: 16px; background: linear-gradient(135deg,color-mix(in srgb,var(--brand-primary) 8%,var(--surface)),var(--surface)); }
.builder-intro h2 { margin-bottom: 7px; font-size: 1.55rem; }
.builder-intro p { margin: 0; font-size: .82rem; }
.builder-quick-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.builder-quick-nav a { display: inline-flex; min-height: 36px; padding: 7px 12px; align-items: center; border: 1px solid var(--border); border-radius: 9px; color: var(--text); background: var(--surface); font-size: .68rem; font-weight: 750; }
.builder-quick-nav a:hover { border-color: var(--brand-secondary); color: var(--brand-secondary); }
.builder-heading { margin: 55px 0 20px; }
.builder-heading h2 { font-size: 1.6rem; }
.home-builder-form { display: grid; gap: 12px; }
.team-layout-builder { display: grid; gap: 12px; margin-bottom: 24px; }
.builder-section { overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.builder-section > summary { display: flex; padding: 17px 20px; gap: 13px; align-items: center; cursor: pointer; list-style: none; }
.builder-section > summary::-webkit-details-marker { display: none; }
.builder-section > summary::after { margin-left: auto; color: var(--muted); content: "+"; font-size: 1.35rem; transition: transform .2s ease; }
.builder-section[open] > summary::after { transform: rotate(45deg); }
.builder-section > summary > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: white; background: linear-gradient(135deg,var(--brand-accent),var(--brand-secondary)); font-size: .75rem; font-weight: 800; }
.builder-section > summary > div { display: grid; line-height: 1.25; }
.builder-section > summary strong { color: var(--text); font-size: .88rem; }
.builder-section > summary small { margin-top: 3px; font-size: .68rem; font-weight: 500; }
.builder-section-body { padding: 20px; border-top: 1px solid var(--border); }
.hero-media-settings-section { display: grid; padding: 19px; gap: 18px; border: 1px solid var(--border); border-radius: 13px; background: color-mix(in srgb,var(--surface-2) 72%,var(--surface)); }
.hero-media-settings-section + .hero-media-settings-section { margin-top: 2px; }
.layout-choice-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.layout-choice { position: relative; padding: 11px; gap: 5px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: var(--surface-2); cursor: pointer; }
.layout-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.layout-choice:has(input:checked) { border-color: var(--brand-secondary); box-shadow: 0 0 0 2px color-mix(in srgb,var(--brand-secondary) 18%,transparent); }
.layout-choice:has(input:checked)::after { position: absolute; top: 8px; right: 8px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #062737; background: var(--brand-secondary); content: "✓"; font-size: .65rem; font-weight: 900; }
.layout-choice > strong { font-size: .72rem; }
.layout-choice > small { min-height: 30px; font-size: .61rem; line-height: 1.25; }
.layout-preview { position: relative; display: block; overflow: hidden; height: 76px; margin-bottom: 5px; border-radius: 8px; background: #0c1320; }
.layout-preview::before { position: absolute; inset: 0; opacity: .55; background: linear-gradient(135deg,#334155,#111827); content: ""; }
.layout-preview i, .layout-preview b { position: absolute; z-index: 1; display: block; border-radius: 3px; content: ""; }
.layout-preview i { width: 42%; height: 6px; top: 25px; background: white; box-shadow: 0 11px 0 rgba(255,255,255,.65),0 22px 0 rgba(255,255,255,.35); }
.layout-preview-bg-left i { left: 10px; }
.layout-preview-bg-center i, .layout-preview-text i { left: 29%; }
.layout-preview-bg-right i { right: 10px; }
.layout-preview-text::before { background: linear-gradient(135deg,#181b25,#0d1017); }
.layout-preview-split::before { right: 48%; }
.layout-preview-split b { inset: 7px 7px 7px 54%; background: linear-gradient(135deg,var(--brand-primary),var(--brand-secondary)); opacity: .55; }
.layout-preview-split i { left: 8px; width: 36%; }
.compact-field { max-width: 320px; margin-top: 16px; }
.builder-tip { display: flex; padding: 12px 14px; gap: 8px; border: 1px solid color-mix(in srgb,var(--brand-secondary) 28%,var(--border)); border-radius: 10px; color: var(--muted); background: color-mix(in srgb,var(--brand-secondary) 6%,var(--surface)); font-size: .72rem; }
.builder-tip strong { flex: 0 0 auto; color: var(--text); }
.marketing-mode-panel { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 13px; background: color-mix(in srgb,var(--surface) 92%,var(--page)); }
.marketing-mode-panel[hidden] { display: none; }
.marketing-settings code { padding: 2px 5px; border-radius: 5px; background: color-mix(in srgb,var(--text) 8%,transparent); color: var(--text); }
.tracking-value { max-width: 620px; overflow-wrap: anywhere; }
.lead-attribution-panel { grid-column: 1 / -1; }
.palette-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.palette-grid label { display: flex; padding: 10px; gap: 9px; align-items: center; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); cursor: pointer; }
.palette-grid input[type="color"] { width: 38px; height: 38px; padding: 3px; flex: 0 0 auto; cursor: pointer; }
.palette-grid label > span { display: grid; gap: 2px; }
.palette-grid strong { color: var(--text); font-size: .68rem; }
.palette-grid small { font-size: .58rem; line-height: 1.2; }
.custom-color-toggle { display: flex; padding: 14px 16px; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.custom-color-toggle input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--brand-primary); }
.custom-color-toggle span { display: grid; gap: 3px; }
.custom-color-toggle strong { color: var(--text); font-size: .78rem; }
.custom-color-toggle small { font-size: .65rem; line-height: 1.35; }
.neutral-theme-preview { display: flex; padding: 12px 14px; gap: 10px; align-items: center; border: 1px dashed var(--border); border-radius: 11px; }
.neutral-theme-preview > span { display: inline-flex; padding: 6px 9px; gap: 7px; align-items: center; border: 1px solid var(--border); border-radius: 8px; font-size: .65rem; }
.neutral-theme-preview > span:first-child { color: #171922; background: #fff; }
.neutral-theme-preview > span:nth-child(2) { border-color: #2b2f39; color: #f7f8fb; background: #0f1117; }
.neutral-theme-preview i { width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; background: currentColor; opacity: .72; }
.neutral-theme-preview > small { margin-left: auto; max-width: 360px; font-size: .62rem; text-align: right; }
.custom-colors-panel { display: grid; gap: 16px; }
.custom-colors-panel[hidden] { display: none; }
.areas-builder-form { display: grid; gap: 12px; margin-bottom: 24px; }
.areas-overlay-grid { grid-template-columns: minmax(240px,320px); }
.alignment-choice { display: grid; padding: 0; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; }
.alignment-choice legend { margin-bottom: 8px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.alignment-choice label { position: relative; cursor: pointer; }
.alignment-choice input { position: absolute; opacity: 0; pointer-events: none; }
.alignment-choice span { display: flex; min-height: 42px; padding: 8px 10px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); font-size: .66rem; text-align: center; }
.alignment-choice input:checked + span { border-color: var(--brand-primary); color: var(--text); box-shadow: 0 0 0 2px color-mix(in srgb,var(--brand-primary) 16%,transparent); }
.alignment-choice .shape-option { gap: 8px; }
.alignment-choice .shape-option::before { width: 18px; height: 18px; flex: 0 0 auto; border: 1px solid currentColor; background: color-mix(in srgb,currentColor 8%,transparent); content: ""; }
.alignment-choice .shape-circle::before { border-radius: 50%; }
.alignment-choice .shape-rounded::before { border-radius: 5px; }
.area-icon-preview { display: grid; width: 72px; height: 72px; place-items: center; border: 1px solid var(--border); border-radius: 13px; color: var(--text); background: var(--surface-2); }
.area-icon-preview .hero-card-icon-svg, .area-icon-preview .hero-card-custom-icon { width: 38px; height: 38px; }
.range-field { display: grid; margin-top: 18px; grid-template-columns: 220px 1fr 54px; gap: 12px; align-items: center; }
.range-field input { padding: 0; }
.range-field output { padding: 5px 8px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--surface-2); text-align: center; }
.builder-background-preview { display: flex; padding: 10px; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); }
.builder-background-preview img { width: 120px; height: 70px; border-radius: 8px; object-fit: cover; }
.about-image-preview img { width: 170px; height: 120px; }
.about-metric-editor-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.about-metric-editor { display: grid; padding: 15px; gap: 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.about-metric-editor legend { padding-inline: 6px; color: var(--text); font-size: .75rem; font-weight: 800; }
.process-step-editor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.process-step-editor { display: grid; padding: 16px; gap: 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.process-step-editor legend { padding-inline: 6px; color: var(--text); font-size: .75rem; font-weight: 800; }
.methodology-item-editor-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.methodology-item-editor { display: grid; padding: 16px; gap: 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-2); }
.methodology-item-editor legend { padding-inline: 6px; color: var(--text); font-size: .75rem; font-weight: 800; }
.methodology-image-preview img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
.hero-current-image { display: grid; gap: 10px; }
.remove-image-option { display: flex; padding: 12px 14px; gap: 11px; align-items: center; border: 1px solid rgba(220,53,73,.45); border-radius: 11px; color: #ff8793; background: rgba(220,53,73,.09); cursor: pointer; }
.remove-image-option input { width: auto; flex: 0 0 auto; accent-color: #dc3549; }
.remove-image-option > span { display: grid; grid-template-columns: 20px 1fr; align-items: center; column-gap: 8px; }
.remove-image-option svg { width: 18px; height: 18px; grid-row: 1 / span 2; }
.remove-image-option strong { color: inherit; font-size: .78rem; }
.remove-image-option small { color: color-mix(in srgb,currentColor 72%,var(--muted)); font-size: .65rem; font-weight: 500; }
.builder-save-bar { position: sticky; z-index: 4; bottom: 12px; display: flex; padding: 12px 14px; gap: 18px; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 13px; background: color-mix(in srgb,var(--surface) 92%,transparent); box-shadow: 0 14px 40px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.builder-save-bar span { color: var(--muted); font-size: .72rem; }
.builder-save-bar .button { min-height: 42px; }
.builder-file-help { display: block; margin-top: 9px; font-size: .68rem; }
.builder-checks { display: flex; flex-wrap: wrap; gap: 20px; }
.home-builder-add { display: grid; padding: 22px; grid-template-columns: 1.2fr 1.4fr 120px auto auto; gap: 14px; align-items: end; }
.builder-slide-grid { display: grid; margin-top: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.builder-slide { position: relative; overflow: hidden; padding: 0 0 14px; }
.builder-slide img { width: 100%; height: 135px; object-fit: cover; }
.builder-slide > div { display: grid; padding: 12px 14px 0; }
.builder-slide .action-icon { position: absolute; right: 12px; bottom: 14px; }
.builder-slide-delete { width: calc(100% - 28px); min-height: 38px; margin: 12px 14px 0; padding: 0 14px; font-size: .72rem; }
.builder-slide-delete svg { width: 16px; height: 16px; }
.compact-empty-state { margin-top: 16px; padding: 24px; }
.compact-empty-state p { margin: 0; }
.builder-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.builder-card { padding: 16px; gap: 10px; }
.builder-card label { gap: 4px; font-size: .72rem; }
.builder-card input, .builder-card select, .builder-card textarea { padding: 9px 11px; border-radius: 9px; font-size: .76rem; }
.builder-card textarea { min-height: 70px; }
.builder-card input[type="file"] { padding: 7px; font-size: .69rem; }
.builder-card small { font-size: .62rem; line-height: 1.35; }
.builder-card .button { min-height: 39px; font-size: .76rem; }
.builder-card-heading { display: flex; min-height: 38px; gap: 9px; align-items: center; }
.builder-card-heading .hero-card-icon-svg, .builder-card-heading .hero-card-custom-icon { width: 30px; height: 30px; color: var(--brand-secondary); }
.builder-card-heading .action-icon { margin-left: auto; }
.builder-active { align-self: end; min-height: 39px; }
.builder-color-grid label { gap: 5px; font-size: .7rem; }
.builder-color-grid input[type="color"] { min-height: 38px; padding: 4px; cursor: pointer; }
.compact-builder-button { min-height: 40px; padding-inline: 16px; font-size: .78rem; }
.builder-card-dialog { width: min(calc(100% - 30px),560px); }
.builder-card-dialog > .stack-form { padding: 28px 30px 30px; }
.builder-card-dialog .builder-card-heading h2 { margin: 0; font-size: 1.2rem; }
.button.secondary { border-color: color-mix(in srgb,var(--brand-primary) 45%,var(--border)); color: var(--text); background: color-mix(in srgb,var(--brand-primary) 11%,var(--surface)); }

.portal-header .header-inner { justify-content: space-between; }
.portal-main { padding-block: 55px 90px; }
.portal-welcome { margin-bottom: 35px; }
.portal-welcome h1 { max-width: 900px; font-size: clamp(1.75rem, 3vw, 2.45rem); }
.client-portal h2 { font-size: 1.25rem; }
.client-portal h3 { font-size: 1rem; }
.portal-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 22px; align-items: start; }
.portal-cases { position: sticky; top: 105px; display: grid; gap: 7px; }
.portal-cases h2 { padding: 0 10px 14px; font-size: 1rem; }
.portal-cases a { display: grid; padding: 12px 10px; align-items: center; grid-template-columns: 10px 1fr; gap: 10px; border-radius: 10px; }
.portal-cases a.active { background: color-mix(in srgb, var(--brand-primary) 12%, var(--surface)); }
.portal-cases span:last-child { display: grid; }
.portal-detail { display: grid; gap: 22px; }
.case-hero-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 25px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-primary) 9%, var(--surface)), var(--surface)); }
.case-hero-card h2 { margin-top: 20px; font-size: 1.7rem; }
.case-hero-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.case-hero-card dl div { padding: 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.case-hero-card dt { color: var(--muted); font-size: .68rem; }
.case-hero-card dd { margin: 6px 0 0; font-size: .82rem; font-weight: 700; }
.client-timeline-panel { padding: 30px; }
.timeline article.latest .timeline-dot { background: var(--brand-secondary); box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand-secondary) 15%, transparent); }
.empty-state { padding: 70px; text-align: center; }
.empty-state > span { color: var(--brand-secondary); font-size: 3rem; }
.privacy-notice { text-align: center; }

@media (max-width: 1050px) {
    .site-nav { position: fixed; inset: 77px 20px auto; display: none; padding: 20px; flex-direction: column; align-items: stretch; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav-client-area { display: flex; min-height: 44px; margin-top: 8px; padding: 10px 16px; align-items: center; justify-content: center; border: 1px solid var(--text); border-radius: 12px; color: var(--bg) !important; background: var(--text); box-shadow: 0 10px 24px color-mix(in srgb,var(--text) 14%,transparent); }
    .site-nav-client-area:hover { border-color: var(--brand-secondary); color: var(--text) !important; background: color-mix(in srgb,var(--brand-secondary) 14%,var(--surface)); }
    .site-header .header-tools .client-area-button { display: none; }
    .mobile-menu-button { display: grid; width: 40px; height: 40px; margin-left: 0; padding: 0; place-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; }
    .site-header .header-inner { gap: 12px; }
    .site-header .brand { margin-right: auto; }
    .home-hero-content { padding-block: 42px 131px; }
    .hero-layout-split-left .home-hero-inner, .hero-layout-split-right .home-hero-inner { gap: 32px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 650px; width: 100%; margin-inline: auto; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid div:nth-child(2) { border-right: 0; }
    .cards-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .practice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-excellence-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .areas-index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-about-grid { grid-template-columns: 1fr; }
    .home-about-visual { width: min(720px,100%); margin-inline: auto; }
    .home-about-content { width: min(760px,100%); margin-inline: auto; }
    .home-process-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 16px; }
    .home-process-steps::before { display: none; }
    .home-methodology-showcase { grid-template-columns: 1fr; }
    .home-methodology-panel { width: min(100%,900px); }
    .home-methodology-items { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; grid-auto-rows: 1fr; }
    .methodology-item-editor-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid, .settings-grid, .editor-layout, .detail-grid { grid-template-columns: 1fr; }
    .permissions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .collaboration-grid { grid-template-columns: 1fr; }
    .process-search { grid-template-columns: 1fr 1fr auto; }
    .process-search .button.ghost { grid-column: 1 / -1; }
    .editor-sidebar { position: static; }
    .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .case-detail-grid { grid-template-columns: 1fr; }
    .case-summary { position: static; }
    .portal-layout { grid-template-columns: 1fr; }
    .portal-cases { position: static; }
    .home-builder-add { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .builder-slide-grid, .builder-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .three-columns, .four-columns, .five-columns { grid-template-columns: 1fr 1fr; }
    .layout-choice-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .palette-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .about-metric-editor-grid { grid-template-columns: 1fr; }
    .logo-variants-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    h1 { font-size: 2.55rem; }
    h2 { font-size: 2rem; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .builder-module-group { margin-top: 38px; padding: 14px; border-radius: 16px; }
    .section-heading.heading-layout-split { display: block; text-align: center; }
    .section-heading.heading-layout-split .eyebrow { margin-inline: auto; }
    .section-heading.heading-layout-split h2,.section-heading.heading-layout-split p { max-width: 680px; margin-inline: auto; }
    .section-heading.heading-layout-split p { margin-top: 0; }
    .header-inner { min-height: 68px; gap: 10px; }
    .site-header .brand-logo,.portal-header .brand-logo { max-width: 180px; max-height: 48px; }
    .site-header .brand-logo-set,.portal-header .brand-logo-set { max-width: 180px; max-height: 48px; }
    .brand strong { font-size: .82rem; }
    .brand small { display: none; }
    .site-header .brand span:last-child { display: none; }
    .theme-switch { width: 54px; }
    .theme-switch-track i { width: 25px; height: 25px; }
    html[data-theme="dark"] .theme-switch-track i { transform: translateX(22px); }
    .client-area-button { min-height: 36px; padding-inline: 11px; font-size: .72rem; }
    .home-hero { min-height: auto; }
    .home-hero-inner, .hero-layout-split-left .home-hero-inner, .hero-layout-split-right .home-hero-inner { display: flex; padding-block: 48px 126px; flex-direction: column; gap: 28px; }
    .home-hero-inner, .hero-layout-split-left .home-hero-inner, .hero-layout-split-right .home-hero-inner { padding-bottom: calc(var(--hero-mobile-overlap-height,77.5px) + 48px); }
    .hero-layout-split-left .home-hero-split-media { order: 2; }
    .home-hero-content { width: 100%; padding: 0; text-align: left !important; }
    .home-hero-content h1 { font-size: clamp(1.8rem,8vw,2.35rem); }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .hero-info-list { display: grid; grid-template-columns: 1fr; }
    .home-hero-split-media { width: 100%; min-height: 310px; }
    .hero-layout-split-left .home-hero-split-media,
    .hero-layout-split-right .home-hero-split-media { min-height: 310px; margin-block: 0; align-self: auto; }
    .hero-features { --hero-card-half-height: var(--hero-mobile-overlap-height,77.5px); }
    .hero-feature-grid { grid-template-columns: 1fr; }
    .hero-feature-card { min-height: 155px; }
    .hero-feature-card + .hero-feature-card { border-top: 1px solid var(--hero-card-border); border-left: 0; }
    .hero { padding: 75px 0 45px; }
    .hero-grid { gap: 40px; }
    .hero-visual { min-height: 360px; }
    .legal-card { inset: 0 20px 60px 0; padding: 45px 28px; }
    .legal-icon { margin-bottom: 45px; font-size: 4rem; }
    .metrics-grid, .cards-grid, .two-columns, .contact-grid, .footer-grid, .form-grid, .case-hero-card, .case-hero-card dl { grid-template-columns: 1fr; }
    .practice-grid { grid-template-columns: 1fr; }
    .home-excellence-section { padding: 65px 0; }
    .home-excellence-heading { margin-bottom: 34px; }
    .home-excellence-heading h2 { font-size: clamp(1.85rem,9vw,2.45rem); }
    .home-excellence-grid { grid-template-columns: 1fr; }
    .home-excellence-card { min-height: 190px; padding: 26px 22px; }
    .areas-index-hero { padding: 62px 0 26px; }
    .areas-index-hero h1 { font-size: clamp(1.85rem,9vw,2.45rem); }
    .areas-index-content { padding: 26px 0 65px; }
    .areas-index-grid { grid-template-columns: 1fr; }
    .areas-index-card { min-height: 0; padding: 25px 22px; }
    .practice-card { min-height: 0; padding: 25px 22px; }
    .three-columns, .four-columns, .five-columns, .builder-slide-grid, .builder-card-grid, .home-builder-add { grid-template-columns: 1fr; }
    .layout-choice-grid, .palette-grid { grid-template-columns: 1fr 1fr; }
    .range-field { grid-template-columns: 1fr 54px; }
    .range-field > span, .range-field { font-size: .7rem; }
    .range-field input { grid-column: 1 / -1; grid-row: 2; }
    .builder-section > summary { padding: 14px; }
    .builder-section-body { padding: 15px; }
    .builder-card-dialog > .stack-form { padding: 22px 20px 24px; }
    .builder-save-bar { position: static; align-items: stretch; flex-direction: column; }
    .builder-save-bar .button { width: 100%; }
    .metrics-grid div { border-right: 0; border-bottom: 1px solid var(--border); }
    .section { padding: 65px 0; }
    .section.practice-section { padding-top: calc(var(--hero-mobile-overlap-height,77.5px) + 46px); padding-bottom: 65px; }
    .home-about-section { padding: 65px 0; }
    .home-about-grid { gap: 42px; }
    .home-about-visual { aspect-ratio: 4 / 3; }
    .home-about-professional-badge { right: 12px; bottom: 12px; left: 12px; min-width: 0; max-width: none; }
    .home-about-content h2 { font-size: clamp(1.85rem,9vw,2.45rem); }
    .home-about-metrics { grid-template-columns: 1fr; }
    .home-about-metrics article { min-height: 96px; }
    .home-process-section { padding: 65px 0; }
    .home-process-heading { margin-bottom: 54px; }
    .home-process-steps, .process-step-editor-grid { grid-template-columns: 1fr; }
    .home-process-steps { gap: 42px; }
    .home-process-card { min-height: 0; }
    .home-methodology-section { padding: 65px 0; }
    .home-methodology-heading { margin-bottom: 34px; }
    .home-methodology-heading h2 { font-size: clamp(1.85rem,9vw,2.45rem); }
    .home-methodology-showcase { gap: 18px; }
    .home-methodology-panel { padding: 7px; border-radius: 15px; }
    .home-methodology-panel::before { margin-bottom: 7px; }
    .home-methodology-panel img { min-height: 0; height: auto; aspect-ratio: 3 / 2; border-radius: 9px; }
    .home-methodology-items { grid-template-columns: 1fr; gap: 12px; }
    .home-methodology-item { min-height: 0; padding: 16px; }
    .feature-card, .team-card, .post-card, .content-card { padding: 25px; }
    .team-admin-actions { top: 18px; right: 18px; }
    .card-image { width: calc(100% + 50px); margin: -25px -25px 24px; }
    .feature-icon { margin-bottom: 28px; }
    .cta-card { padding: 30px; flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom span:last-child { text-align: left; }
    .dashboard-shell { display: block; height: auto; }
    .sidebar { position: sticky; z-index: 20; top: 0; display: block; width: 100%; height: auto; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--border); }
    .sidebar .brand { padding: 0; }
    .sidebar nav { display: flex; overflow-x: auto; margin-top: 12px; }
    .sidebar-group { display: contents; }
    .sidebar-group-title { display: none; }
    .sidebar nav a { flex: 0 0 auto; }
    .sidebar-footer { display: none; }
    .dashboard-main { height: auto; overflow: visible; }
    .dashboard-topbar { display: none; }
    .dashboard-content { padding: 22px 14px 60px; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .button-row.compact { width: 100%; justify-content: flex-start; }
    .permissions-grid { grid-template-columns: 1fr; }
    .user-editor-form > .panel { padding: 22px; }
    .user-form-footer { align-items: stretch; flex-direction: column-reverse; }
    .user-form-footer .button { width: 100%; }
    .card-actions { flex-wrap: wrap; }
    .action-link { width: 100%; margin: 4px 0 0; order: 5; }
    .confirm-actions { align-items: stretch; flex-direction: column; }
    .confirm-actions form, .confirm-actions .button { width: 100%; }
    .stat-grid, .case-grid, .settings-grid { grid-template-columns: 1fr; }
    .table-panel { margin-inline: -14px; border-radius: 0; }
    .color-grid { grid-template-columns: 1fr; }
    .media-upload, .media-grid { grid-template-columns: 1fr; }
    .process-search { grid-template-columns: 1fr; }
    .process-search .button.ghost { grid-column: auto; }
    .document-upload-form, .chat-form { grid-template-columns: 1fr; }
    .portal-header .header-tools > span { display: none; }
    .portal-main { padding-top: 35px; }
    .client-timeline-panel { padding: 22px; }
    .installer-card, .auth-card { padding: 28px 22px; }
}


/* Bloco dinâmico de conteúdo jurídico da página inicial */
.home-blog-section { background: var(--home-blog-bg,var(--surface-2)); }
.home-blog-heading .eyebrow { color: var(--home-blog-eyebrow,var(--text)); }
.home-blog-heading .eyebrow::before { background: currentColor; }
.home-blog-heading h2 { color: var(--home-blog-title,var(--text)); }
.home-blog-heading p { color: var(--home-blog-text,var(--muted)); }
.home-blog-grid { align-items: stretch; }
.home-blog-card { display: flex; min-height: 275px; padding: 32px; flex-direction: column; overflow: hidden; border-color: var(--home-blog-card-border,var(--border)); background: var(--home-blog-card-bg,var(--surface)); box-shadow: 0 7px 24px rgba(15,23,42,.035); }
.home-blog-card:hover { border-color: color-mix(in srgb,var(--home-blog-link,var(--text)) 38%,var(--home-blog-card-border,var(--border))); box-shadow: 0 12px 30px rgba(15,23,42,.065); }
.home-blog-card .home-blog-image { width: calc(100% + 64px); height: 205px; margin: -32px -32px 26px; flex: 0 0 auto; border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; object-position: center; }
.home-blog-card span { color: var(--home-blog-category,var(--brand-secondary)); }
.home-blog-card h3 { margin: 26px 0 12px; color: var(--home-blog-card-title,var(--text)); }
.home-blog-card p { margin: 0 0 22px; color: var(--home-blog-card-text,var(--muted)); }
.home-blog-card a { margin-top: auto; color: var(--home-blog-link,var(--brand-secondary)); }
.home-blog-archive { display: flex; margin-top: 34px; justify-content: center; }
.home-blog-archive .button { border-color: var(--home-blog-button-bg,var(--text)); color: var(--home-blog-button-text,var(--bg)); background: var(--home-blog-button-bg,var(--text)); }
.home-blog-archive .button:hover { opacity: .88; transform: translateY(-2px); }
[data-theme="dark"] .home-blog-card { box-shadow: 0 9px 26px rgba(0,0,0,.14); }
@media (max-width: 720px) {
    .home-blog-card { min-height: 0; padding: 25px; }
    .home-blog-card .home-blog-image { width: calc(100% + 50px); height: 190px; margin: -25px -25px 23px; }
    .home-blog-archive .button { width: 100%; justify-content: center; }
}

/* Alternância automática dos fundos dos blocos visíveis da página inicial. */
[data-home-section] {
    transition: background-color .25s ease, color .25s ease;
}
[data-home-section]:not(.has-custom-colors):not(.has-background-image)[data-home-tone="primary"] {
    background-color: var(--bg) !important;
}
[data-home-section]:not(.has-custom-colors):not(.has-background-image)[data-home-tone="alternate"] {
    background-color: var(--surface-2) !important;
}

/* ==========================================================
   CABEÇALHOS DAS PÁGINAS INTERNAS — PADRÃO v0.17.8
   Mantém títulos, descrições e espaçamentos consistentes.
========================================================== */
.page-hero {
    padding: 82px 0 36px;
    text-align: center;
}

.page-hero .container.narrow,
.areas-index-hero .container.narrow {
    display: flex;
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
    padding-inline: 24px;
    flex-direction: column;
    align-items: center;
}

.page-hero .eyebrow,
.areas-index-hero .eyebrow {
    align-self: center;
}

.page-hero h1,
.areas-index-hero h1 {
    width: 100%;
    max-width: 900px;
    margin: 18px auto 14px;
    font-size: clamp(2rem, 3vw, 2.8125rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    text-align: center;
    text-wrap: balance;
}

.page-hero .lead,
.areas-index-hero .lead {
    display: block;
    width: min(100%, 720px);
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(.98rem, 1.5vw, 1.12rem);
    line-height: 1.6;
    text-align: center;
    text-wrap: pretty;
}

/* Metadado das matérias também permanece centralizado. */
.page-hero .container.narrow > p:not(.lead) {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 680px) {
    .page-hero,
    .areas-index-hero {
        padding: 58px 0 28px;
    }

    .page-hero .container.narrow,
    .areas-index-hero .container.narrow {
        padding-inline: 20px;
    }

    .page-hero h1,
    .areas-index-hero h1 {
        margin-top: 16px;
        margin-bottom: 12px;
        font-size: clamp(1.85rem, 9vw, 2.45rem);
        line-height: 1.08;
    }

    .page-hero .lead,
    .areas-index-hero .lead {
        font-size: .98rem;
        line-height: 1.58;
    }
}

/* ==========================================================
   ESPAÇAMENTOS GLOBAIS — HOME E PÁGINAS INTERNAS v0.17.9
   1) Equilibra a distância dos indicadores do hero em relação
      aos botões.
   2) Faz toda página interna que use .page-hero + .section
      começar o conteúdo com o mesmo intervalo da página de
      Áreas de atuação. Esse padrão também vale para páginas
      internas adicionadas futuramente.
========================================================== */
.home-hero-content {
    --hero-actions-spacing: 26px;
}

.home-hero-content .hero-actions {
    margin-top: var(--hero-actions-spacing);
}

.home-hero-content .hero-info-list {
    margin-top: var(--hero-actions-spacing);
}

/* O cabeçalho já termina com 36px; o conteúdo começa com 34px,
   reproduzindo exatamente a composição da página de atuação. */
.page-hero + .section {
    padding-top: 34px;
}

@media (max-width: 680px) {
    .home-hero-content {
        --hero-actions-spacing: 22px;
    }

    .page-hero + .section {
        padding-top: 26px;
    }
}


/* v0.18.0 — cards dos advogados na página Quem Somos */
.about-team-section{padding:72px 0;background:var(--about-team-section,var(--bg));}
.about-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;}
.about-lawyer-card{display:flex;min-width:0;padding:30px 30px 20px;flex-direction:column;align-items:flex-start;border:1px solid var(--about-team-border,var(--border));border-radius:18px;background:var(--about-team-card,var(--surface));box-shadow:0 8px 24px rgba(15,23,42,.035);}
.about-lawyer-card.align-center{align-items:center;text-align:center;}
.about-lawyer-avatar{display:grid;width:72px;height:72px;margin-bottom:26px;flex:0 0 72px;place-items:center;overflow:hidden;border-radius:50%;color:var(--about-team-avatar-text,var(--bg));background:var(--about-team-avatar,var(--text));font-size:1.25rem;font-weight:800;}
.about-lawyer-avatar.photo{object-fit:cover;}
.about-lawyer-info{width:100%;}
.about-lawyer-info h2{margin:0 0 9px;color:var(--about-team-name,var(--text));font-size:1.18rem;line-height:1.25;letter-spacing:-.025em;}
.about-lawyer-meta{display:flex;gap:16px;align-items:center;flex-wrap:wrap;color:var(--about-team-meta,var(--muted));font-size:.92rem;}
.about-lawyer-meta strong{color:inherit;font-size:1rem;}
.align-center .about-lawyer-meta{justify-content:center;}
.about-lawyer-socials{display:flex;margin:14px 0 30px;gap:6px;flex-wrap:wrap;}
.about-lawyer-socials a{display:grid;width:32px;height:32px;place-items:center;border-radius:7px;color:var(--about-team-social-color,var(--bg));background:var(--about-team-social-bg,var(--text));text-decoration:none;transition:transform .2s ease,opacity .2s ease,background-color .2s ease;}.social-brand-icon{display:block;width:17px;height:17px;}
.about-lawyer-socials a:hover{opacity:.82;transform:translateY(-2px);}
.about-lawyer-button{width:100%;min-height:46px;margin-top:auto;padding:11px 18px;border:1px solid var(--about-team-border,var(--border));border-radius:12px;color:var(--about-team-button-text,var(--bg));background:var(--about-team-button,var(--text));box-shadow:0 3px 10px rgba(15,23,42,.035);font-size:.86rem;font-weight:700;text-transform:none;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;}
.about-lawyer-button:hover{color:var(--about-team-button-hover-text,var(--text));background:var(--about-team-button-hover,var(--surface-2));box-shadow:0 7px 18px rgba(15,23,42,.06);transform:translateY(-1px);}
@media(max-width:900px){.about-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.about-team-section{padding:48px 0}.about-team-grid{grid-template-columns:1fr}.about-lawyer-card{padding:26px 22px 18px}.about-lawyer-avatar{margin-bottom:22px}.about-lawyer-socials{margin-bottom:24px}}

/* v0.18.1 — página Equipe usando o novo card dos advogados */
.team-page-new .team-directory-section {
    padding-top: 0;
}
.team-page-new .about-lawyer-card {
    min-height: 340px;
}
.team-page-new .about-lawyer-socials:empty {
    min-height: 30px;
    margin-bottom: 30px;
}

/* Página Equipe: construtor visual padronizado com a Home */
.team-page-new .page-hero{background:var(--about-team-section,var(--bg));}
.team-page-new .page-hero .eyebrow{color:var(--about-team-eyebrow,var(--text));}
.team-page-new .page-hero h1{color:var(--about-team-title,var(--text));}
.team-page-new .page-hero .lead{color:var(--about-team-description,var(--muted));}

/* Equipe: imagem, transparências e camadas dos cards */
.about-lawyer-card{position:relative;isolation:isolate;overflow:hidden;background:var(--about-team-card,var(--surface));}
.about-lawyer-card::before,.about-lawyer-card::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-2;}
.about-lawyer-card::before{background-image:var(--about-team-card-image,none);background-position:center;background-repeat:no-repeat;background-size:cover;}
.about-lawyer-card::after{z-index:-1;background:var(--about-team-card-overlay,transparent);}
.about-lawyer-card>*{position:relative;z-index:1;}
.about-lawyer-socials a,.about-lawyer-socials .social-link-disabled{display:grid;width:32px;height:32px;place-items:center;border-radius:7px;color:var(--about-team-social-color,var(--bg));background:var(--about-team-social-bg,var(--text));text-decoration:none;transition:transform .2s ease,opacity .2s ease,background-color .2s ease;}
.about-lawyer-socials .social-link-disabled,.about-lawyer-socials .social-link-empty{cursor:default;opacity:1;}
.about-lawyer-socials a:hover{transform:translateY(-2px);opacity:.9;}
.team-card-background-controls{display:grid;gap:18px;margin-top:20px;padding-top:20px;border-top:1px dashed var(--border);}
.palette-inline-control{display:grid;grid-template-columns:52px 1fr;gap:8px 12px;align-items:center;}
.palette-inline-control>span,.palette-inline-control>small{grid-column:2;}.palette-inline-control>input{grid-row:1/3;width:52px;height:52px;padding:4px;}
.team-card-background-preview img{max-height:220px;object-fit:cover;}


/* Perfil completo da equipe */
.about-lawyer-socials .social-link-empty,.team-profile-socials button{display:grid;width:32px;height:32px;padding:0;place-items:center;border:0;border-radius:7px;color:var(--about-team-social-color,var(--bg));background:var(--about-team-social-bg,var(--text));cursor:default;}
.team-profile-modal[hidden]{display:none!important}.team-profile-modal{position:fixed;inset:0;z-index:2500;display:grid;place-items:center;padding:24px}.team-profile-backdrop{position:absolute;inset:0;background:var(--team-popup-overlay,rgba(9,11,16,.72));backdrop-filter:blur(9px)}
.team-profile-dialog{position:relative;display:grid;grid-template-columns:minmax(280px,390px) minmax(0,1fr);width:min(1240px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--team-popup-border,var(--border));border-radius:26px;color:var(--team-popup-text,var(--muted));background:var(--team-popup-bg,var(--surface));box-shadow:0 32px 90px rgba(0,0,0,.32)}
.team-profile-close{position:absolute;top:20px;right:22px;z-index:4;width:42px;height:42px;border:0;border-radius:50%;color:var(--team-popup-title,var(--text));background:transparent;font-size:2rem;line-height:1;cursor:pointer}.team-profile-close:hover{background:var(--team-popup-chip,var(--surface-2))}
.team-profile-sidebar{padding:38px;border-right:1px solid var(--team-popup-border,var(--border));text-align:center}.team-profile-photo{display:block;width:100%;aspect-ratio:1/1.04;border-radius:18px;object-fit:cover;background:var(--team-popup-chip,var(--surface-2))}.team-profile-photo.initials{display:grid;place-items:center;color:var(--team-popup-title,var(--text));font-size:4rem;font-weight:800}
.team-profile-identity{margin-top:-42px;position:relative}.team-profile-initials{display:grid;width:84px;height:84px;margin:0 auto 16px;place-items:center;border:2px solid var(--team-popup-border,var(--border));border-radius:50%;color:var(--team-popup-title,var(--text));background:var(--team-popup-bg,var(--surface));font-size:1.55rem;font-weight:800}.team-profile-identity h2{margin:0;color:var(--team-popup-title,var(--text));font-size:1.65rem}.team-profile-identity strong{display:block;margin-top:8px;color:var(--team-popup-accent,var(--text))}.team-profile-identity small{display:block;margin-top:5px;color:var(--team-popup-text,var(--muted));font-size:.95rem}
.team-profile-socials{display:flex;justify-content:center;gap:10px;margin:22px 0}.team-profile-socials a,.team-profile-socials button{display:grid;width:44px;height:44px;place-items:center;border-radius:10px;color:var(--team-popup-social-color,var(--bg));background:var(--team-popup-social-bg,var(--text));text-decoration:none}.team-profile-socials .social-brand-icon{width:21px;height:21px}.team-profile-highlight{padding:20px;border:1px solid var(--team-popup-border,var(--border));border-radius:15px;color:var(--team-popup-text,var(--muted));background:color-mix(in srgb,var(--team-popup-chip,var(--surface-2)) 65%,transparent);line-height:1.65;text-align:left}
.team-profile-content{padding:56px 54px 38px}.team-profile-tabs{display:flex;gap:34px;margin-bottom:34px;border-bottom:1px solid var(--team-popup-border,var(--border))}.team-profile-tabs button{padding:0 0 14px;border:0;border-bottom:2px solid transparent;color:var(--team-popup-text,var(--muted));background:none;font-size:.85rem;font-weight:800;text-transform:uppercase}.team-profile-tabs button.active{border-color:var(--team-popup-accent,var(--text));color:var(--team-popup-accent,var(--text))}.team-profile-content section+section{margin-top:32px}.team-profile-content h3{margin:0 0 13px;color:var(--team-popup-title,var(--text));font-size:1.38rem}.team-profile-content p{margin:0;line-height:1.7}.team-profile-chips{display:flex;gap:10px;flex-wrap:wrap}.team-profile-chips span{padding:9px 14px;border:1px solid var(--team-popup-border,var(--border));border-radius:999px;color:var(--team-popup-title,var(--text));background:var(--team-popup-chip,var(--surface-2));font-size:.9rem}.team-profile-education{padding-top:28px;border-top:1px solid var(--team-popup-border,var(--border))}.team-profile-education ul{display:grid;gap:12px;margin:0;padding-left:22px;line-height:1.55}
.team-profile-cta{display:flex;align-items:center;gap:15px;margin-top:34px;padding:18px 21px;border-radius:14px;color:var(--team-popup-button-color,var(--bg));background:var(--team-popup-button-bg,var(--text));font-weight:800;text-decoration:none}.team-profile-cta .social-brand-icon{width:25px;height:25px}.team-profile-cta b{margin-left:auto;font-size:1.35rem}.team-profile-footer{grid-column:1/-1;padding:22px 36px;border-top:1px solid var(--team-popup-border,var(--border));color:var(--team-popup-text,var(--muted));text-align:center}
body.team-modal-open{overflow:hidden}
@media(max-width:900px){.team-profile-dialog{grid-template-columns:1fr}.team-profile-sidebar{border-right:0;border-bottom:1px solid var(--team-popup-border,var(--border))}.team-profile-photo{max-width:420px;margin:auto}.team-profile-content{padding:38px 30px}.team-profile-footer{grid-column:1}.team-profile-modal{padding:12px}.team-profile-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}}
@media(max-width:560px){.team-profile-sidebar{padding:24px 20px}.team-profile-content{padding:32px 20px}.team-profile-tabs{gap:20px}.team-profile-close{top:10px;right:10px;background:var(--team-popup-bg,var(--surface))}}


/* v0.18.9 — imagens adaptáveis dos profissionais e correção do formulário */
.member-builder-tip { display: grid; grid-template-columns: 1fr; gap: 5px; line-height: 1.45; }
.member-builder-tip strong, .member-builder-tip span { min-width: 0; overflow-wrap: anywhere; }
.member-photo-fields { display: grid; gap: 14px; }
.photo-adaptation-choice { display: grid; gap: 9px; padding: 0; border: 0; }
.photo-adaptation-choice legend { margin-bottom: 3px; font-weight: 700; color: var(--text); }
.photo-adaptation-choice > label { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; padding: 11px; border: 1px solid var(--border); border-radius: 10px; background: color-mix(in srgb,var(--surface) 92%,var(--surface-2)); cursor: pointer; }
.photo-adaptation-choice input { margin-top: 3px; }
.photo-adaptation-choice span { display: grid; gap: 3px; min-width: 0; }
.photo-adaptation-choice strong { font-size: .82rem; }
.photo-adaptation-choice small { line-height: 1.4; overflow-wrap: anywhere; }
.team-photo-theme-wrap { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.team-photo-theme-wrap > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-dark { display: none !important; position: absolute; inset: 0; }
html[data-theme="dark"] .team-photo-theme-wrap.has-dark-photo .team-photo-main { display: none !important; }
html[data-theme="dark"] .team-photo-theme-wrap.has-dark-photo .team-photo-dark { display: block !important; }
.team-photo-transparent { background: radial-gradient(circle at 50% 24%, #ffffff 0%, #eef1f6 55%, #e3e7ee 100%); }
html[data-theme="dark"] .team-photo-transparent { background: radial-gradient(circle at 50% 24%, #2a2f3a 0%, #171a22 55%, #0f1117 100%); }
.team-photo-transparent > img { object-fit: contain; object-position: center bottom; }
.about-lawyer-card .team-photo-theme-wrap { width: var(--team-avatar-size,72px); height: var(--team-avatar-size,72px); border-radius: 50%; }
.team-profile-sidebar .team-photo-theme-wrap { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 18px; }
.team-profile-sidebar .team-photo-theme-wrap > img { position: absolute; inset: 0; }


/* v0.19.0 — card fotográfico amplo na página Equipe e escolha independente da Home */
.team-page-new .about-team-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.team-page-new .about-lawyer-card{min-height:0;}
.team-page-new .about-lawyer-card.has-large-photo{padding:10px 10px 14px;align-items:stretch;}
.team-page-new .about-lawyer-card.has-large-photo .team-photo-theme-wrap{width:100%;height:auto;aspect-ratio:1 / 1.02;margin:0 0 18px;border-radius:14px;flex:none;background-color:var(--surface-2);}
.team-page-new .about-lawyer-card.has-large-photo .team-photo-theme-wrap>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;}
.team-page-new .about-lawyer-card.has-large-photo .team-photo-transparent>img{object-fit:contain;object-position:center bottom;}
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-info,
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-socials,
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-button{width:auto;margin-left:8px;margin-right:8px;}
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-info h2{font-size:1.08rem;margin-bottom:7px;}
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-meta{gap:8px 13px;font-size:.78rem;}
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-meta strong{font-size:.82rem;}
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-socials{margin-top:13px;margin-bottom:16px;}
.team-page-new .about-lawyer-card.has-large-photo .about-lawyer-button{min-height:42px;padding:9px 14px;border-radius:10px;}
.team-page-new .about-lawyer-card.has-initials{min-height:340px;}
.team-page-new .about-lawyer-card.has-initials .team-photo-theme-wrap{width:72px;height:72px;border-radius:50%;}
.team-page-new .about-lawyer-socials .social-link-empty{opacity:1;color:var(--about-team-social-color,var(--bg));background:var(--about-team-social-bg,var(--text));}
@media(max-width:1100px){.team-page-new .about-team-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:820px){.team-page-new .about-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.team-page-new .about-team-grid{grid-template-columns:1fr;gap:18px}.team-page-new .about-lawyer-card.has-large-photo{padding:10px 10px 14px}.team-page-new .about-lawyer-card.has-large-photo .team-photo-theme-wrap{aspect-ratio:1.12 / 1;}}

/* v0.19.1 — fotografia retangular real e seletor visível da página Equipe */
.team-page-new .about-lawyer-card.has-large-photo .team-photo-theme-wrap > img,
.team-page-new .about-lawyer-card.has-large-photo img.about-lawyer-avatar.photo {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
    box-shadow: none;
}
.team-page-new .about-lawyer-card.has-large-photo .team-photo-theme-wrap {
    display: block;
    overflow: hidden;
    border: 1px solid color-mix(in srgb,var(--about-team-card-border,var(--border)) 72%,transparent);
    border-radius: 16px;
}
.team-display-mode-choice { grid-template-columns: repeat(2,minmax(0,1fr)); }
.team-display-mode-choice > label { min-height: 92px; }
.team-display-mode-choice > label > span { display: grid; gap: 4px; }
.team-display-mode-choice small { line-height: 1.45; }
@media(max-width:680px){.team-display-mode-choice{grid-template-columns:1fr;}}

/* v0.19.3 — alinhamento dos ícones e centralização da primeira linha da Equipe */
.team-page-new .about-lawyer-card.align-center .about-lawyer-socials {
    justify-content: center;
}
.team-page-new .about-lawyer-card.align-left .about-lawyer-socials {
    justify-content: flex-start;
}

/* Grade de 8 trilhos: cada card ocupa 2. Assim, 1, 2 ou 3 cards podem ser
   centralizados sem aumentar a largura; com 4 ou mais, o fluxo começa à esquerda. */
.team-page-new .about-team-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}
.team-page-new .about-team-grid > .about-lawyer-card {
    grid-column: span 2;
}
.team-page-new .about-team-grid:has(> .about-lawyer-card:only-of-type) > .about-lawyer-card:first-of-type {
    grid-column: 4 / span 2;
}
.team-page-new .about-team-grid:has(> .about-lawyer-card:nth-of-type(2):last-of-type) > .about-lawyer-card:first-of-type {
    grid-column: 3 / span 2;
}
.team-page-new .about-team-grid:has(> .about-lawyer-card:nth-of-type(3):last-of-type) > .about-lawyer-card:first-of-type {
    grid-column: 2 / span 2;
}

@media (max-width:1100px) {
    .team-page-new .about-team-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .team-page-new .about-team-grid > .about-lawyer-card {
        grid-column: span 2;
    }
    .team-page-new .about-team-grid:has(> .about-lawyer-card:only-of-type) > .about-lawyer-card:first-of-type {
        grid-column: 3 / span 2;
    }
    .team-page-new .about-team-grid:has(> .about-lawyer-card:nth-of-type(2):last-of-type) > .about-lawyer-card:first-of-type {
        grid-column: 2 / span 2;
    }
    .team-page-new .about-team-grid:has(> .about-lawyer-card:nth-of-type(3):last-of-type) > .about-lawyer-card:first-of-type {
        grid-column: 1 / span 2;
    }
}

@media (max-width:820px) {
    .team-page-new .about-team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .team-page-new .about-team-grid > .about-lawyer-card {
        grid-column: span 2;
    }
    .team-page-new .about-team-grid:has(> .about-lawyer-card:only-of-type) > .about-lawyer-card:first-of-type {
        grid-column: 2 / span 2;
    }
    .team-page-new .about-team-grid:has(> .about-lawyer-card:nth-of-type(2):last-of-type) > .about-lawyer-card:first-of-type {
        grid-column: 1 / span 2;
    }
}

@media (max-width:560px) {
    .team-page-new .about-team-grid {
        grid-template-columns: 1fr;
    }
    .team-page-new .about-team-grid > .about-lawyer-card,
    .team-page-new .about-team-grid:has(> .about-lawyer-card:only-of-type) > .about-lawyer-card:first-of-type,
    .team-page-new .about-team-grid:has(> .about-lawyer-card:nth-of-type(2):last-of-type) > .about-lawyer-card:first-of-type,
    .team-page-new .about-team-grid:has(> .about-lawyer-card:nth-of-type(3):last-of-type) > .about-lawyer-card:first-of-type {
        grid-column: 1;
    }
}

/* v0.19.3 — correção efetiva do alinhamento da Equipe */
/* O layout fotográfico usa align-items:stretch; por isso a linha social precisa
   receber alinhamento próprio em vez de depender apenas do justify-content. */
.team-page-new .about-lawyer-card.align-center .about-lawyer-socials {
    align-self: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.team-page-new .about-lawyer-card.align-left .about-lawyer-socials {
    align-self: flex-start;
    justify-content: flex-start;
    margin-left: 8px;
    margin-right: 8px;
}
.team-page-new .about-lawyer-card.has-initials.align-left .about-lawyer-socials {
    margin-left: 0;
    margin-right: 0;
}

/* Centralização baseada na quantidade real de profissionais. As janelas modais
   também são filhas da grade, portanto seletores :nth-of-type não eram confiáveis. */
.team-page-new .about-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.team-page-new .about-team-grid > .about-lawyer-card {
    grid-column: auto;
}
.team-page-new .about-team-grid.team-count-1 > .about-lawyer-card:first-of-type {
    grid-column: 2 / span 2;
    width: calc(50% - 9px);
    justify-self: center;
}
.team-page-new .about-team-grid.team-count-2 > .about-lawyer-card:first-of-type {
    grid-column: 2;
}
.team-page-new .about-team-grid.team-count-3 > .about-lawyer-card:first-of-type {
    grid-column: 1;
}
.team-page-new .about-team-grid.team-count-3 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.team-page-new .about-team-grid.team-count-3 > .about-lawyer-card {
    grid-column: span 2;
}

@media (max-width:1100px) {
    .team-page-new .about-team-grid,
    .team-page-new .about-team-grid.team-count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .team-page-new .about-team-grid > .about-lawyer-card,
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card {
        grid-column: auto;
    }
    .team-page-new .about-team-grid.team-count-1 > .about-lawyer-card:first-of-type {
        grid-column: 2;
        width: 100%;
    }
    .team-page-new .about-team-grid.team-count-2 > .about-lawyer-card:first-of-type {
        grid-column: 1;
    }
}
@media (max-width:820px) {
    .team-page-new .about-team-grid,
    .team-page-new .about-team-grid.team-count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .team-page-new .about-team-grid.team-count-1 > .about-lawyer-card:first-of-type {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
    }
    .team-page-new .about-team-grid.team-count-2 > .about-lawyer-card:first-of-type,
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card:first-of-type {
        grid-column: auto;
    }
}
@media (max-width:560px) {
    .team-page-new .about-team-grid,
    .team-page-new .about-team-grid.team-count-3 {
        grid-template-columns: 1fr;
    }
    .team-page-new .about-team-grid.team-count-1 > .about-lawyer-card:first-of-type {
        grid-column: 1;
        width: 100%;
    }
}

/* v0.19.3.1 — trilhos finais para manter a largura padrão dos cards */
@media (min-width:1101px) {
    .team-page-new .about-team-grid,
    .team-page-new .about-team-grid.team-count-3 {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
    .team-page-new .about-team-grid > .about-lawyer-card,
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card {
        grid-column: span 2;
        width: auto;
        justify-self: stretch;
    }
    .team-page-new .about-team-grid.team-count-1 > .about-lawyer-card:first-of-type { grid-column: 4 / span 2; }
    .team-page-new .about-team-grid.team-count-2 > .about-lawyer-card:first-of-type { grid-column: 3 / span 2; }
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card:first-of-type { grid-column: 2 / span 2; }
}
@media (min-width:821px) and (max-width:1100px) {
    .team-page-new .about-team-grid,
    .team-page-new .about-team-grid.team-count-3 { grid-template-columns: repeat(6,minmax(0,1fr)); }
    .team-page-new .about-team-grid > .about-lawyer-card,
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card { grid-column: span 2; width:auto; justify-self:stretch; }
    .team-page-new .about-team-grid.team-count-1 > .about-lawyer-card:first-of-type { grid-column:3 / span 2; }
    .team-page-new .about-team-grid.team-count-2 > .about-lawyer-card:first-of-type { grid-column:2 / span 2; }
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card:first-of-type { grid-column:1 / span 2; }
}
@media (min-width:561px) and (max-width:820px) {
    .team-page-new .about-team-grid,
    .team-page-new .about-team-grid.team-count-3 { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .team-page-new .about-team-grid > .about-lawyer-card,
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card { grid-column:span 2; width:auto; justify-self:stretch; }
    .team-page-new .about-team-grid.team-count-1 > .about-lawyer-card:first-of-type { grid-column:2 / span 2; }
    .team-page-new .about-team-grid.team-count-2 > .about-lawyer-card:first-of-type,
    .team-page-new .about-team-grid.team-count-3 > .about-lawyer-card:first-of-type { grid-column:1 / span 2; }
}


/* v0.19.4 — centralização definitiva da Equipe */
/* Até quatro profissionais: uma única linha flexível centralizada. A partir do
   quinto: grade normal de quatro colunas, com as linhas seguintes à esquerda. */
.team-page-new .about-team-grid.team-short-row {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: stretch;
    gap: 18px;
}
.team-page-new .about-team-grid.team-short-row > .about-lawyer-card {
    flex: 0 1 calc((100% - 54px) / 4);
    width: calc((100% - 54px) / 4);
    max-width: calc((100% - 54px) / 4);
    grid-column: auto !important;
    justify-self: auto !important;
}
.team-page-new .about-team-grid.team-full-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: initial !important;
    gap: 18px;
}
.team-page-new .about-team-grid.team-full-grid > .about-lawyer-card {
    grid-column: auto !important;
    width: auto !important;
    max-width: none !important;
}

/* A linha de redes sociais recebe alinhamento próprio. Isso evita que o modelo
   com fotografia herde margens e largura do layout antigo. */
.team-page-new .about-lawyer-card .about-lawyer-socials {
    display: flex !important;
    width: calc(100% - 16px) !important;
    align-self: stretch !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
}
.team-page-new .about-lawyer-card .about-lawyer-socials.socials-align-center,
.team-page-new .about-lawyer-card.align-center .about-lawyer-socials {
    justify-content: center !important;
}
.team-page-new .about-lawyer-card .about-lawyer-socials.socials-align-left,
.team-page-new .about-lawyer-card.align-left .about-lawyer-socials {
    justify-content: flex-start !important;
}
.team-page-new .about-lawyer-card.has-initials .about-lawyer-socials {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 1100px) {
    .team-page-new .about-team-grid.team-short-row > .about-lawyer-card {
        flex-basis: calc((100% - 36px) / 3);
        width: calc((100% - 36px) / 3);
        max-width: calc((100% - 36px) / 3);
    }
    .team-page-new .about-team-grid.team-full-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 820px) {
    .team-page-new .about-team-grid.team-short-row > .about-lawyer-card {
        flex-basis: calc((100% - 18px) / 2);
        width: calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }
    .team-page-new .about-team-grid.team-full-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 560px) {
    .team-page-new .about-team-grid.team-short-row > .about-lawyer-card {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
    .team-page-new .about-team-grid.team-full-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Blog archive: imagem interna e paginação de seis matérias */
.blog-archive-grid { align-items: stretch; }
.blog-archive-card { display: flex; min-height: 100%; flex-direction: column; }
.blog-archive-card .blog-archive-image {
    width: calc(100% + ((32px - var(--card-media-inset)) * 2));
    height: 190px;
    margin: calc((32px - var(--card-media-inset)) * -1) calc((32px - var(--card-media-inset)) * -1) var(--card-content-gap);
    border: 1px solid var(--border);
    border-radius: var(--card-media-radius);
    object-fit: cover;
    object-position: center;
}
.blog-archive-card > a { margin-top: auto; }
.blog-pagination {
    display: flex;
    margin-top: 42px;
    gap: 9px;
    align-items: center;
    justify-content: center;
}
.blog-pagination a,
.blog-pagination span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    background: var(--surface);
    font-size: .84rem;
    font-weight: 750;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.blog-pagination a:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb,var(--text) 35%,var(--border));
    background: var(--surface-2);
}
.blog-pagination .is-current {
    border-color: var(--text);
    color: var(--bg);
    background: var(--text);
}
.blog-pagination .blog-page-arrow { font-size: 1rem; }

@media (max-width: 680px) {
    .blog-archive-card .blog-archive-image { width: calc(100% + ((25px - var(--card-media-inset)) * 2)); height: 185px; margin: calc((25px - var(--card-media-inset)) * -1) calc((25px - var(--card-media-inset)) * -1) var(--card-content-gap); }
    .blog-pagination { margin-top: 32px; gap: 7px; }
    .blog-pagination a,
    .blog-pagination span { width: 39px; height: 39px; border-radius: 10px; }
}

/* ==========================================================
   SINGLE POST — layout editorial amplo
========================================================== */
.single-post-page{background:var(--bg)}
.single-post-hero{padding:78px 0 34px;text-align:center;background:var(--bg)}
.single-post-heading{max-width:940px}
.single-post-heading h1{max-width:900px;margin:18px auto 14px;font-size:clamp(2.35rem,5vw,4.5rem);line-height:.98;letter-spacing:-.055em}
.single-post-intro{max-width:760px;margin:0 auto;color:var(--muted);font-size:1.05rem;line-height:1.75}
.single-post-meta{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:23px;align-items:center;justify-content:center;color:var(--muted);font-size:.78rem;font-weight:650}
.single-post-main{padding-top:18px}
.single-post-cover{overflow:hidden;margin:0 0 34px;border:1px solid var(--border);border-radius:22px;background:var(--surface-2);box-shadow:0 20px 55px rgba(15,23,42,.07)}
.single-post-cover img{display:block;width:100%;height:clamp(320px,48vw,620px);object-fit:cover}
.single-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:54px;align-items:start}
.single-post-article{min-width:0}
.single-post-copy{color:var(--text);font-size:1rem;line-height:1.9}
.single-post-copy br+br{display:block;content:"";margin-top:12px}
.single-post-notice{margin-top:34px}
.single-post-sidebar{position:sticky;top:110px}
.single-post-cta-card{padding:28px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow);text-align:center}
.single-post-cta-icon{display:inline-grid;width:48px;height:48px;margin-bottom:15px;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface-2);color:var(--text)}
.single-post-cta-icon .ui-icon{width:22px;height:22px}
.single-post-cta-card h2{margin:0 0 10px;font-size:1.35rem}
.single-post-cta-card p{margin:0 0 20px;color:var(--muted);font-size:.88rem;line-height:1.65}
.single-post-cta-card .button{width:100%;justify-content:center}
.single-post-author-share{display:flex;gap:24px;margin-top:48px;padding-top:25px;align-items:center;justify-content:space-between;border-top:1px solid var(--border)}
.single-post-author{display:flex;gap:13px;align-items:center}
.single-post-author-avatar{display:grid;width:52px;height:52px;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface-2);font-size:.88rem;font-weight:850}
.single-post-author div{display:grid;gap:3px}.single-post-author small{color:var(--muted);font-size:.72rem}
.single-post-share{display:flex;gap:8px;align-items:center}.single-post-share>span{margin-right:4px;color:var(--muted);font-size:.72rem}
.single-post-share a{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);transition:transform .2s ease,background .2s ease}
.single-post-share a:hover{transform:translateY(-2px);background:var(--surface-2)}
.single-post-share svg{width:17px;height:17px}
.single-post-related{padding-top:45px;background:var(--surface-2)}
.single-post-section-title{margin-bottom:24px}.single-post-section-title h2{margin:12px 0 0;font-size:clamp(2rem,3.4vw,3rem)}
.single-post-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.single-post-related-card{overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 10px 28px rgba(15,23,42,.045)}
.single-post-related-card>img,.single-post-related-placeholder{display:block;width:calc(100% - 20px);height:210px;margin:10px 10px 0;border-radius:15px;object-fit:cover}
.single-post-related-placeholder{display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}
.single-post-related-placeholder .ui-icon{width:44px;height:44px}
.single-post-related-content{display:grid;padding:19px 20px 22px;gap:10px}
.single-post-related-meta{display:flex;gap:12px;justify-content:space-between;color:var(--muted);font-size:.65rem}.single-post-related-meta span{color:var(--text);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.single-post-related-card h3{margin:0;font-size:1.08rem;line-height:1.2}.single-post-related-card p{margin:0;color:var(--muted);font-size:.83rem;line-height:1.6}.single-post-related-card a{margin-top:3px;font-size:.78rem;font-weight:800}
.single-post-bottom-cta{padding:28px 0 68px;background:var(--surface-2)}
.single-post-bottom-cta .container{display:flex;padding:19px 22px;gap:20px;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
.single-post-bottom-cta .container>div{display:flex;gap:13px;align-items:center}.single-post-bottom-cta .single-post-cta-icon{width:42px;height:42px;margin:0}.single-post-bottom-cta strong,.single-post-bottom-cta small{display:block}.single-post-bottom-cta small{margin-top:3px;color:var(--muted)}
@media(max-width:900px){.single-post-layout{grid-template-columns:1fr}.single-post-sidebar{position:static}.single-post-related-grid{grid-template-columns:1fr 1fr}.single-post-heading h1{font-size:clamp(2.2rem,9vw,3.6rem)}}
@media(max-width:640px){.single-post-hero{padding:56px 0 24px}.single-post-meta{flex-direction:column;gap:7px}.single-post-cover{margin-bottom:25px;border-radius:17px}.single-post-cover img{height:280px}.single-post-related-grid{grid-template-columns:1fr}.single-post-author-share,.single-post-bottom-cta .container{align-items:stretch;flex-direction:column}.single-post-share{justify-content:flex-start}.single-post-bottom-cta .button{width:100%;justify-content:center}.single-post-related-card>img,.single-post-related-placeholder{height:230px}}

/* ==========================================================
   v0.19.8 — ajustes de archive e single post
========================================================== */

/* Archive: resumo limitado para manter os cards proporcionais. */
.blog-archive-card > p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 22px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    line-height: 1.65;
}

/* Single: título no mesmo padrão dos grandes títulos internos/Home. */
.single-post-heading h1 {
    max-width: 880px;
    font-size: clamp(2rem, 3vw, 2.8125rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

/* Botões do single usam contraste automático entre os temas. */
.single-post-cta-card .button.primary,
.single-post-bottom-cta .button.primary {
    border-color: var(--text);
    color: var(--bg);
    background: var(--text);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--text) 12%, transparent);
}
.single-post-cta-card .button.primary:hover,
.single-post-bottom-cta .button.primary:hover {
    border-color: color-mix(in srgb, var(--text) 82%, var(--border));
    color: var(--bg);
    background: color-mix(in srgb, var(--text) 88%, var(--bg));
}

/* Aproxima o CTA inferior dos conteúdos relacionados. */
.single-post-related.section {
    padding-bottom: 30px;
}
.single-post-bottom-cta {
    padding-top: 0;
}

@media (max-width: 900px) {
    .single-post-heading h1 {
        font-size: clamp(2rem, 6.5vw, 2.8125rem);
    }
}

@media (max-width: 640px) {
    .blog-archive-card > p {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    .single-post-heading h1 {
        font-size: clamp(1.85rem, 9vw, 2.35rem);
        line-height: 1.1;
    }
    .single-post-related.section {
        padding-bottom: 24px;
    }
}

/* ==========================================================
   v0.19.9 — padronização dos cards de conteúdo
   Títulos com 2 linhas e resumos com até 3 linhas.
========================================================== */
.home-blog-card h3,
.blog-archive-card h2,
.single-post-related-card h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: calc(1.2em * 2);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.2;
}

.home-blog-card p,
.blog-archive-card > p,
.single-post-related-card p {
    display: -webkit-box;
    overflow: hidden;
    min-height: calc(1.6em * 3);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.home-blog-card p {
    line-height: 1.6;
}

.blog-archive-card > p {
    line-height: 1.6;
}

.single-post-related-card p {
    line-height: 1.6;
}

/* Reduz a altura mínima do bloco da Home após a limitação do conteúdo. */
.home-blog-card {
    min-height: 0;
}


/* ==========================================================
   v0.20.0 — compartilhamento completo e metadados mobile
========================================================== */
.single-post-meta span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
}
.single-post-meta .ui-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}
.single-post-meta-mobile {
    display: none;
}
.single-post-share {
    flex-wrap: wrap;
}
.single-post-share a,
.single-post-share button {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.single-post-share a:hover,
.single-post-share button:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--text) 30%, var(--border));
    background: var(--surface-2);
}
.single-post-share button {
    position: relative;
    font: inherit;
}
.copy-share-feedback {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: 160px;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: .68rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}
.copy-share-feedback.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .single-post-meta-desktop {
        display: none;
    }
    .single-post-meta-mobile {
        display: flex;
        width: 100%;
        margin: -6px 0 25px;
        padding: 0 2px;
        flex-wrap: nowrap;
        gap: 8px 14px;
        justify-content: center;
        color: var(--muted);
        font-size: .68rem;
        font-weight: 650;
        white-space: nowrap;
    }
    .single-post-meta-mobile span {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .single-post-meta-mobile span:last-child {
        max-width: 34%;
    }
    .single-post-share {
        gap: 7px;
        justify-content: center;
    }
    .single-post-share > span {
        width: 100%;
        margin: 0 0 2px;
        text-align: center;
    }
}


/* v0.20.1 — Blog/Single: metadados mobile e personalização completa */
.blog-page{--blog-page-bg:var(--bg);--blog-eyebrow:var(--muted);--blog-page-title:var(--text);--blog-page-description:var(--muted);--blog-card-bg:var(--surface);--blog-card-border:var(--border);--blog-card-meta:var(--muted);--blog-card-title:var(--text);--blog-card-text:var(--muted);--blog-card-link:var(--text);--blog-pagination-bg:var(--surface);--blog-pagination-text:var(--text);--blog-pagination-active-bg:var(--text);--blog-pagination-active-text:var(--bg);background:var(--blog-page-bg)}
.blog-page .page-hero,.blog-page .blog-archive-section{background:var(--blog-page-bg)}
.blog-page .page-hero .eyebrow{color:var(--blog-eyebrow)}
.blog-page .page-hero h1{color:var(--blog-page-title)}
.blog-page .page-hero .lead{color:var(--blog-page-description)}
.blog-page .blog-archive-card{background:var(--blog-card-bg);border-color:var(--blog-card-border)}
.blog-page .blog-archive-card>span{color:var(--blog-card-meta)}
.blog-page .blog-archive-card h2{color:var(--blog-card-title)}
.blog-page .blog-archive-card p{color:var(--blog-card-text)}
.blog-page .blog-archive-card>a{color:var(--blog-card-link)}
.blog-page .blog-pagination a,.blog-page .blog-pagination span{background:var(--blog-pagination-bg);color:var(--blog-pagination-text);border-color:var(--blog-card-border)}
.blog-page .blog-pagination .is-current{background:var(--blog-pagination-active-bg);color:var(--blog-pagination-active-text)}
.single-post-page{--single-bg:var(--bg);--single-title:var(--text);--single-intro:var(--muted);--single-meta:var(--muted);--single-content:var(--text);--single-panel-bg:var(--surface);--single-border:var(--border);--single-button-bg:var(--text);--single-button-text:var(--bg);--single-related-bg:var(--surface-2);--single-share-bg:var(--surface);--single-share-color:var(--text);background:var(--single-bg)}
.single-post-page .single-post-hero,.single-post-page .single-post-main{background:var(--single-bg)}
.single-post-page .single-post-heading h1{color:var(--single-title)}
.single-post-page .single-post-intro{color:var(--single-intro)}
.single-post-page .single-post-meta{color:var(--single-meta)}
.single-post-page .single-post-copy{color:var(--single-content)}
.single-post-page .single-post-cover,.single-post-page .single-post-cta-card,.single-post-page .single-post-related-card,.single-post-page .single-post-bottom-cta .container{border-color:var(--single-border)}
.single-post-page .single-post-cta-card,.single-post-page .single-post-related-card,.single-post-page .single-post-bottom-cta .container{background:var(--single-panel-bg)}
.single-post-page .single-post-related,.single-post-page .single-post-bottom-cta{background:var(--single-related-bg)}
.single-post-page .button.primary{background:var(--single-button-bg);color:var(--single-button-text)}
.single-post-page .single-post-share a,.single-post-page .single-post-share button{background:var(--single-share-bg);color:var(--single-share-color);border-color:var(--single-border)}
@media(max-width:640px){
  .single-post-meta-mobile{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:100%;margin:12px 0 24px;gap:8px!important;align-items:center;justify-content:center;overflow:hidden;font-size:clamp(.56rem,2.55vw,.68rem)!important;line-height:1.1;white-space:nowrap}
  .single-post-meta-mobile span{display:flex;min-width:0;gap:4px;align-items:center;white-space:nowrap}
  .single-post-meta-mobile span:last-child{max-width:34%;overflow:hidden;text-overflow:ellipsis}
  .single-post-meta-mobile .ui-icon{width:13px;height:13px;flex:0 0 13px}
}

/* Blog builder and layered backgrounds — v0.20.2 */
.blog-layout-builder { display:grid; gap:12px; }
.blog-layout-builder .builder-section > summary > .builder-step { display:grid; }
.blog-layout-builder .builder-section > summary > div { min-width:0; }
.blog-layout-builder .builder-section > summary > div strong,
.blog-layout-builder .builder-section > summary > div small { display:block; white-space:normal; overflow-wrap:anywhere; }
.blog-media-settings { align-items:start; margin-top:18px; }
.builder-subpanel { padding:18px; border:1px solid var(--border); border-radius:14px; background:var(--surface-soft); }
.builder-subpanel h3 { margin:0 0 4px; }
.builder-help { margin:0; color:var(--muted); }
.blog-page.has-custom-colors { position:relative; background:var(--blog-page-bg); isolation:isolate; }
.blog-page.has-custom-colors::before { content:""; position:absolute; inset:0; z-index:-2; background-image:var(--blog-page-image); background-size:cover; background-position:center; }
.blog-page.has-custom-colors::after { content:""; position:absolute; inset:0; z-index:-1; background:var(--blog-page-overlay); pointer-events:none; }
.blog-page.has-custom-colors .blog-archive-card { position:relative; isolation:isolate; overflow:hidden; background:var(--blog-card-bg); }
.blog-page.has-custom-colors .blog-archive-card::before { content:""; position:absolute; inset:0; z-index:-2; background-image:var(--blog-card-image); background-size:cover; background-position:center; }
.blog-page.has-custom-colors .blog-archive-card::after { content:""; position:absolute; inset:0; z-index:-1; background:var(--blog-card-overlay); pointer-events:none; }
@media (max-width:700px){ .blog-media-settings{grid-template-columns:1fr!important;} }


/* Contact page builder and public layout */
.contact-page { --contact-page-bg:var(--bg); --contact-eyebrow:var(--muted); --contact-title:var(--text); --contact-description:var(--muted); --contact-info-bg:var(--surface); --contact-info-border:var(--border); --contact-info-title:var(--text); --contact-info-text:var(--muted); --contact-info-accent:var(--brand-primary); --contact-highlight-bg:var(--text); --contact-highlight-text:var(--bg); --contact-item-bg:color-mix(in srgb,var(--surface) 82%,var(--bg)); --contact-item-border:var(--border); --contact-item-icon-bg:color-mix(in srgb,var(--text) 7%,var(--surface)); --contact-item-icon:var(--text); --contact-item-label:var(--muted); --contact-item-value:var(--text); --contact-form-bg:var(--surface); --contact-form-border:var(--border); --contact-form-label:var(--muted); --contact-input-bg:var(--input); --contact-input-border:var(--border); --contact-input-text:var(--text); --contact-button-bg:var(--text); --contact-button-text:var(--bg); --contact-button-hover-bg:color-mix(in srgb,var(--text) 82%,var(--brand-primary)); --contact-button-hover-text:var(--bg); --contact-notice-bg:color-mix(in srgb,var(--surface) 82%,var(--bg)); --contact-notice-border:var(--border); --contact-notice-text:var(--muted); position:relative; isolation:isolate; background:var(--contact-page-bg); }
.contact-page::before,.contact-page::after { content:""; position:absolute; inset:0; pointer-events:none; }
.contact-page::before { z-index:-2; background-image:var(--contact-page-image,none); background-size:cover; background-position:center; }
.contact-page::after { z-index:-1; background:var(--contact-page-overlay,transparent); }
.contact-page .page-hero { background:transparent; }
.contact-page .page-hero .eyebrow { color:var(--contact-eyebrow); }
.contact-page .page-hero h1 { color:var(--contact-title); }
.contact-page .page-hero .lead { color:var(--contact-description); }
.contact-page .contact-grid { align-items:stretch; }
.contact-page .contact-panel,.contact-page .contact-form { position:relative; isolation:isolate; overflow:hidden; min-height:100%; border-color:var(--contact-info-border); background:var(--contact-info-bg); }
.contact-page .contact-form { border-color:var(--contact-form-border); background:var(--contact-form-bg); }
.contact-page .contact-panel::before,.contact-page .contact-form::before { content:""; position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; }
.contact-page .contact-panel::after,.contact-page .contact-form::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; }
.contact-page .contact-panel::before { background-image:var(--contact-info-image,none); }
.contact-page .contact-panel::after { background:var(--contact-info-overlay,transparent); }
.contact-page .contact-form::before { background-image:var(--contact-form-image,none); }
.contact-page .contact-form::after { background:var(--contact-form-overlay,transparent); }
.contact-panel-content,.contact-form-content { position:relative; z-index:1; display:grid; gap:18px; }
.contact-panel-content { min-height:100%; grid-template-rows:auto 1fr auto; }
.contact-page .contact-panel h2 { margin:0 0 8px; color:var(--contact-info-title); font-size:clamp(2rem,3vw,3.25rem); }
.contact-info-list { display:grid; gap:14px; align-content:start; }
.contact-info-card { display:grid; grid-template-columns:48px minmax(0,1fr); gap:14px; align-items:center; padding:16px; border:1px solid var(--contact-item-border); border-radius:15px; color:var(--contact-item-value); background:var(--contact-item-bg); transition:transform .2s ease,border-color .2s ease; }
.contact-info-card[href="#"] { cursor:default; }
.contact-info-card:not([href="#"]):hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--contact-item-icon) 35%,var(--contact-item-border)); }
.contact-info-icon { display:grid; width:48px; height:48px; place-items:center; border-radius:13px; color:var(--contact-item-icon); background:var(--contact-item-icon-bg); }
.contact-info-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.contact-info-icon .social-svg { width:25px; height:25px; }
.contact-info-card span:last-child { min-width:0; display:grid; gap:4px; }
.contact-info-card small { color:var(--contact-item-label); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.contact-info-card strong { color:var(--contact-item-value); font-size:.93rem; line-height:1.4; overflow-wrap:anywhere; }
.contact-panel.contact-info-model-highlight { border-left:4px solid var(--contact-info-accent); }
.contact-info-model-highlight .contact-info-card { position:relative; padding-left:20px; }
.contact-info-model-highlight .contact-info-card::before { position:absolute; top:16px; bottom:16px; left:-1px; width:3px; border-radius:0 4px 4px 0; background:color-mix(in srgb,var(--contact-info-accent) 30%,var(--contact-item-border)); content:""; }
.contact-info-model-highlight .contact-info-card:first-child { border-color:var(--contact-highlight-bg); color:var(--contact-highlight-text); background:var(--contact-highlight-bg); }
.contact-info-model-highlight .contact-info-card:first-child::before { background:var(--contact-highlight-text); }
.contact-info-model-highlight .contact-info-card:first-child .contact-info-icon { color:var(--contact-highlight-text); background:color-mix(in srgb,var(--contact-highlight-text) 12%,transparent); }
.contact-info-model-highlight .contact-info-card:first-child small,.contact-info-model-highlight .contact-info-card:first-child strong { color:var(--contact-highlight-text); }
.contact-info-model-minimal { border-radius:12px; box-shadow:none!important; }
.contact-info-model-minimal h2 { padding-bottom:16px; border-bottom:1px solid var(--contact-item-border); }
.contact-info-model-minimal .contact-info-list { gap:0; }
.contact-info-model-minimal .contact-info-card { padding:18px 4px; border:0; border-bottom:1px solid var(--contact-item-border); border-radius:0; background:transparent; }
.contact-info-model-minimal .contact-info-icon { border:1px solid var(--contact-item-border); border-radius:50%; background:transparent; }
.contact-info-model-minimal .contact-info-card:not([href="#"]):hover { padding-left:8px; transform:none; border-color:var(--contact-info-accent); }
.contact-info-model-minimal .notice { border-width:0 0 0 3px!important; border-radius:4px!important; background:transparent!important; }
.contact-page .contact-panel .notice { margin-top:22px; border-color:var(--contact-notice-border); color:var(--contact-notice-text); background:var(--contact-notice-bg); }
.contact-page .contact-form label { color:var(--contact-form-label); }
.contact-page .contact-form input,.contact-page .contact-form select,.contact-page .contact-form textarea { border-color:var(--contact-input-border); color:var(--contact-input-text); background:var(--contact-input-bg); }
.contact-page .contact-form .button.primary { width:100%; min-height:49px; border-color:var(--contact-button-bg); color:var(--contact-button-text)!important; background:var(--contact-button-bg)!important; }
.contact-page .contact-form .button.primary:hover { border-color:var(--contact-button-hover-bg); color:var(--contact-button-hover-text)!important; background:var(--contact-button-hover-bg)!important; }
.contact-page-builder { display:grid; gap:12px; }
.contact-page-builder .builder-color-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1100px){.contact-page-builder .builder-color-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){.contact-page-builder .builder-color-grid{grid-template-columns:1fr 1fr}.contact-page .contact-panel,.contact-page .contact-form{padding:24px}.contact-info-card{grid-template-columns:42px minmax(0,1fr);padding:14px}.contact-info-icon{width:42px;height:42px}}
@media(max-width:520px){.contact-page-builder .builder-color-grid{grid-template-columns:1fr}.contact-page .contact-panel h2{font-size:2rem}}

/* Contact page refinements: clean brand icon and location map */
.contact-whatsapp-icon .social-brand-icon {
    width: 25px;
    height: 25px;
    fill: currentColor !important;
    stroke: none !important;
}
.contact-whatsapp-icon .social-brand-icon path {
    fill: currentColor !important;
    stroke: none !important;
}
.contact-map-wrapper {
    padding: 30px 0 76px;
}
.contact-map-section {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}
.contact-map-section iframe {
    display: block;
    width: 100%;
    min-height: 430px;
    border: 0;
    filter: grayscale(.08) saturate(.9);
}
.contact-map-card {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(430px, calc(100% - 48px));
    padding: 26px 30px;
    transform: translate(-50%, -50%);
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
    backdrop-filter: blur(14px);
}
.contact-map-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    place-items: center;
    border-radius: 13px;
    color: var(--text);
    background: color-mix(in srgb, var(--text) 7%, var(--surface));
}
.contact-map-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-map-card h2 { margin: 0 0 8px; font-size: clamp(1.45rem, 2vw, 1.85rem); }
.contact-map-card p { max-width: 36ch; margin: 0 auto 18px; color: var(--muted); line-height: 1.55; }
.contact-map-card .contact-map-button {
    min-width: 150px;
    border-color: var(--text);
    color: var(--bg) !important;
    background: var(--text) !important;
}
.contact-map-card .contact-map-button:hover {
    color: var(--bg) !important;
    background: color-mix(in srgb, var(--text) 82%, var(--brand-primary)) !important;
}
@media (max-width: 760px) {
    .contact-map-wrapper { padding: 22px 0 56px; }
    .contact-map-section, .contact-map-section iframe { min-height: 390px; }
    .contact-map-section { border-radius: 18px; }
    .contact-map-card { width: calc(100% - 32px); padding: 22px 18px; }
}

/* v0.20.8 — Contact map locked to the same content column as the form */
.contact-main-section {
    padding-bottom: 64px;
}
.contact-main-section > .container {
    display: block;
}
.contact-main-section .contact-grid {
    width: 100%;
}
.contact-main-section .contact-map-wrapper {
    width: 100%;
    margin-top: 56px;
    padding: 0;
}
.contact-main-section .contact-map-section {
    width: 100%;
    min-height: 438px;
}
.contact-main-section .contact-map-section iframe {
    min-height: 438px;
}
.contact-main-section .contact-map-card {
    width: min(480px, calc(100% - 48px));
    padding: 28px 34px;
}
@media (max-width: 760px) {
    .contact-main-section { padding-bottom: 48px; }
    .contact-main-section .contact-map-wrapper { margin-top: 34px; }
    .contact-main-section .contact-map-section,
    .contact-main-section .contact-map-section iframe { min-height: 390px; }
    .contact-main-section .contact-map-card {
        width: calc(100% - 28px);
        padding: 22px 18px;
    }
}

/* v0.20.9 — Contact map structurally contained in the page container */
.contact-main-section {
    padding-top: 0;
    padding-bottom: 54px;
}
.contact-main-section .contact-layout-shell {
    display: block;
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}
.contact-main-section .contact-layout-shell > .contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
    width: 100%;
}
.contact-main-section .contact-layout-shell > .contact-map-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 32px 0 0;
    padding: 0;
}
.contact-main-section .contact-layout-shell .contact-map-section {
    width: 100%;
    max-width: 100%;
    min-height: 438px;
    border-radius: 22px;
}
.contact-main-section .contact-layout-shell .contact-map-section iframe {
    width: 100%;
    min-height: 438px;
}
.contact-main-section .contact-layout-shell .contact-map-card {
    width: min(480px, calc(100% - 48px));
    padding: 26px 32px;
}
@media (max-width: 760px) {
    .contact-main-section {
        padding-bottom: 42px;
    }
    .contact-main-section .contact-layout-shell {
        width: min(calc(100% - 28px), var(--container));
    }
    .contact-main-section .contact-layout-shell > .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-main-section .contact-layout-shell > .contact-map-wrapper {
        margin-top: 24px;
    }
    .contact-main-section .contact-layout-shell .contact-map-section,
    .contact-main-section .contact-layout-shell .contact-map-section iframe {
        min-height: 390px;
    }
    .contact-main-section .contact-layout-shell .contact-map-card {
        width: calc(100% - 28px);
        padding: 21px 18px;
    }
}

/* Página Sobre nós — temas claro, escuro e personalização independente */
.about-showcase-page{color:var(--text);background-color:var(--about-page-bg,var(--bg));background-image:linear-gradient(var(--about-page-overlay,transparent),var(--about-page-overlay,transparent)),var(--about-page-image,none);background-position:center;background-repeat:no-repeat;background-size:cover}
.about-showcase-hero{padding:44px 0 18px;background:var(--about-hero-bg,var(--surface))}
.about-showcase-hero-grid{display:grid;grid-template-columns:minmax(0,.96fr) minmax(340px,1.04fr);align-items:center;min-height:390px;gap:clamp(28px,4vw,50px)}
.about-showcase-hero-copy{min-width:0;padding:24px 0}.about-showcase-hero-copy .eyebrow,.about-showcase-history-copy .eyebrow,.about-showcase-team-heading .eyebrow{color:var(--about-eyebrow,var(--text))}.about-showcase-hero-copy h1{max-width:100%;margin:22px 0 26px;color:var(--about-hero-title,var(--text));font-family:Poppins,Inter,sans-serif;font-size:clamp(2.25rem,3.2vw,2.875rem);font-weight:700;line-height:1.08;letter-spacing:-.04em;overflow-wrap:break-word;hyphens:auto}.about-showcase-hero-copy p{max-width:600px;color:var(--about-hero-text,var(--muted));font-size:1.08rem;line-height:1.75}
.about-showcase-hero-media{height:350px;border:1px solid var(--about-hero-media-border,var(--border));border-radius:22px;overflow:hidden;display:grid;place-items:center;background:radial-gradient(circle at 62% 35%,color-mix(in srgb,var(--text) 10%,transparent),transparent 56%),var(--about-hero-media-bg,var(--surface-2))}
.about-showcase-hero-media img{width:100%;height:100%;object-fit:cover}.about-justice-art{width:46%;color:var(--about-hero-title,var(--text));opacity:.78}.about-justice-art svg{width:100%;height:auto;stroke-width:.9}
.about-showcase-values-wrap{position:relative;margin-top:0;padding:32px 0 22px}.about-showcase-values{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--about-values-border,var(--border));border-radius:20px;background:var(--about-values-bg,var(--surface));box-shadow:0 14px 34px color-mix(in srgb,#000 6%,transparent);overflow:hidden}
.about-showcase-values article{display:flex;gap:20px;padding:34px 30px;align-items:flex-start;background:var(--about-value-card-bg,transparent)}.about-showcase-values article+article{border-left:1px solid var(--about-value-divider,var(--border))}.about-showcase-values article>span{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:var(--about-value-icon-bg,var(--surface-2));color:var(--about-value-icon,var(--text))}.about-showcase-values svg{width:26px;height:26px}.about-showcase-values h2{color:var(--about-value-title,var(--text));font-size:1.08rem;margin:2px 0 9px}.about-showcase-values p{margin:0;color:var(--about-value-text,var(--muted));line-height:1.65;font-size:.9rem}
.about-showcase-metrics-section{padding:0 0 18px}.about-showcase-metrics{display:grid;grid-template-columns:repeat(4,1fr);background:var(--about-metrics-bg,var(--text));border-radius:18px;overflow:hidden}.about-showcase-metrics article{text-align:center;padding:28px 18px;position:relative}.about-showcase-metrics article+article:before{content:"";position:absolute;left:0;top:24%;bottom:24%;width:1px;background:var(--about-metrics-divider)}.about-showcase-metrics span{display:block;margin-bottom:7px;color:var(--about-metrics-icon,var(--bg))}.about-showcase-metrics svg{width:26px;height:26px}.about-showcase-metrics strong{display:block;color:var(--about-metrics-value,var(--bg));font-family:var(--font-display,inherit);font-size:2rem;line-height:1.1}.about-showcase-metrics strong i{font-style:normal}.about-showcase-metrics small{display:block;margin-top:7px;color:var(--about-metrics-text,var(--bg));opacity:.88}
.about-showcase-history{padding-top:54px;padding-bottom:54px;background:var(--about-history-bg,var(--bg))}.about-showcase-history-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:50px;align-items:center}.about-showcase-history-media{height:340px;border-radius:20px;overflow:hidden;border:1px solid var(--about-history-media-border,var(--border));display:grid;place-items:center;background:var(--about-history-media-bg,var(--surface-2))}.about-showcase-history-media img{width:100%;height:100%;object-fit:cover}.about-showcase-history-media span{width:80px;color:var(--about-history-text,var(--muted))}.about-showcase-history-media svg{width:100%;height:auto}.about-showcase-history-copy{min-width:0}.about-showcase-history-copy h2{max-width:100%;color:var(--about-history-title,var(--text));font-size:clamp(1.9rem,2.8vw,2.85rem);line-height:1.08;letter-spacing:-.035em;margin:18px 0 26px;overflow-wrap:break-word}.about-showcase-history-copy h2 em{font-style:normal;color:var(--about-history-highlight,var(--muted))}.about-showcase-history-copy .rich-copy{color:var(--about-history-text,var(--muted));line-height:1.8}
.about-showcase-team{border-top:1px solid var(--about-page-team-card-border,var(--border));padding-top:48px;background:var(--about-page-team-bg,var(--bg))}.about-showcase-team-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.about-showcase-team-heading h2{color:var(--about-page-team-title,var(--text));font-size:clamp(1.8rem,3vw,2.7rem);margin:15px 0 0}.about-team-carousel-controls{display:flex;gap:10px}.about-team-carousel-controls button{width:42px;height:42px;border:1px solid var(--about-page-team-card-border,var(--border));background:var(--about-page-team-card-bg,var(--surface));color:var(--about-page-team-title,var(--text));border-radius:10px;font-size:1.5rem;cursor:pointer}.about-team-carousel-controls button:hover{background:color-mix(in srgb,var(--about-page-team-card-bg,var(--surface)) 84%,var(--about-page-team-title,var(--text)) 16%)}
.about-showcase-team-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.about-showcase-team-track:not(.is-carousel).count-1{grid-template-columns:minmax(0,290px);justify-content:center}.about-showcase-team-track:not(.is-carousel).count-2{grid-template-columns:repeat(2,minmax(0,290px));justify-content:center}.about-showcase-team-track:not(.is-carousel).count-3{grid-template-columns:repeat(3,minmax(0,290px));justify-content:center}.about-showcase-team-track.is-carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.about-showcase-team-track.is-carousel::-webkit-scrollbar{display:none}.about-showcase-team-track.is-carousel .about-showcase-person-card{flex:0 0 calc((100% - 54px)/4);scroll-snap-align:start}
.about-showcase-person-card{min-height:142px;border:1px solid var(--about-page-team-card-border,var(--border));border-radius:16px;background:var(--about-page-team-card-bg,var(--surface));padding:22px;display:flex;gap:16px;align-items:flex-start}.about-showcase-person-avatar{width:56px;height:56px;border-radius:13px;background:var(--about-page-team-avatar-bg,var(--text));color:var(--about-page-team-avatar-text,var(--bg));display:grid;place-items:center;font-weight:800;flex:0 0 auto}.about-showcase-person-card h3{color:var(--about-page-team-name,var(--text));font-size:1rem;margin:3px 0 5px}.about-showcase-person-card small{color:var(--about-page-team-meta,var(--muted))}.about-showcase-person-card p{color:var(--about-page-team-meta,var(--muted));font-size:.86rem;line-height:1.45;margin:13px 0 0}.about-team-carousel-dots{display:flex;justify-content:center;gap:8px;margin-top:17px}.about-team-carousel-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:var(--about-page-team-card-border,var(--border))}.about-team-carousel-dots button.is-active{background:var(--about-page-team-title,var(--text))}
.about-showcase-cta-section{padding:16px 0 54px;background:var(--about-cta-section-bg,var(--bg))}.about-showcase-cta{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:24px 30px;border-radius:18px;background:var(--about-cta-card-bg,var(--surface-2));border:1px solid var(--about-cta-card-border,var(--border))}.about-showcase-cta>span{width:58px;height:58px;border-radius:14px;background:var(--about-cta-icon-bg,var(--text));color:var(--about-cta-icon,var(--bg));display:grid;place-items:center}.about-showcase-cta>span svg{width:27px}.about-showcase-cta h2{color:var(--about-cta-title,var(--text));font-size:1.2rem;margin:0 0 6px}.about-showcase-cta p{margin:0;color:var(--about-cta-text,var(--muted))}.about-showcase-cta .button{display:inline-flex;align-items:center;gap:10px;color:var(--about-cta-button-text,var(--bg));background:var(--about-cta-button-bg,var(--text));box-shadow:0 6px 18px rgba(15,23,42,.08)}.about-showcase-cta .button:hover{color:var(--about-cta-button-hover-text,var(--text));background:var(--about-cta-button-hover-bg,var(--surface-2));box-shadow:0 8px 20px rgba(15,23,42,.1);transform:translateY(-1px)}.about-showcase-cta .button svg{width:18px;height:18px}
@media(max-width:900px){.about-showcase-hero-grid,.about-showcase-history-grid{grid-template-columns:1fr}.about-showcase-hero-grid{gap:24px}.about-showcase-hero-media{height:300px}.about-showcase-values{grid-template-columns:1fr}.about-showcase-values article+article{border-left:0;border-top:1px solid var(--border)}.about-showcase-metrics{grid-template-columns:repeat(2,1fr)}.about-showcase-metrics article:nth-child(3):before{display:none}.about-showcase-team-track,.about-showcase-team-track:not(.is-carousel).count-3{grid-template-columns:repeat(2,minmax(0,1fr))}.about-showcase-team-track.is-carousel .about-showcase-person-card{flex-basis:calc((100% - 18px)/2)}.about-showcase-cta{grid-template-columns:auto 1fr}.about-showcase-cta .button{grid-column:1/-1;justify-content:center}}
@media(max-width:560px){.about-showcase-hero{padding-top:20px}.about-showcase-hero-grid{min-height:0}.about-showcase-hero-copy h1{font-size:clamp(2rem,9vw,2.5rem);line-height:1.08;letter-spacing:-.035em}.about-showcase-hero-media{height:240px}.about-showcase-values-wrap{padding-top:24px}.about-showcase-values article{padding:24px 20px}.about-showcase-metrics{grid-template-columns:1fr 1fr}.about-showcase-metrics article{padding:23px 8px}.about-showcase-metrics strong{font-size:1.55rem}.about-showcase-history{padding-top:36px;padding-bottom:38px}.about-showcase-history-media{height:250px}.about-showcase-history-copy h2{font-size:clamp(1.75rem,8.5vw,2.25rem)}.about-showcase-team-heading{align-items:flex-start}.about-showcase-team-track,.about-showcase-team-track:not(.is-carousel).count-2,.about-showcase-team-track:not(.is-carousel).count-3{grid-template-columns:minmax(0,1fr)}.about-showcase-team-track.is-carousel .about-showcase-person-card{flex-basis:88%}.about-showcase-cta{grid-template-columns:1fr;text-align:center}.about-showcase-cta>span{margin:auto}.about-showcase-person-card{min-height:126px}}

/* Links úteis do painel */
.useful-link-form{margin-bottom:24px}.useful-link-form>.button{width:max-content}.useful-link-active{align-self:end;min-height:48px}.useful-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.useful-link-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;position:relative}.useful-link-card.is-inactive{opacity:.68}.useful-link-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:var(--surface-2);color:var(--text)}.useful-link-card-icon .ui-icon{width:23px;height:23px}.useful-link-card-copy{min-width:0}.useful-link-card-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.useful-link-card h2{margin:2px 0 8px;font-size:1.05rem}.useful-link-card p{margin:0 0 9px;color:var(--muted);line-height:1.6}.useful-link-card small{display:block;max-width:100%;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.useful-link-card-actions{grid-column:1/-1;display:flex;align-items:center;gap:9px;padding-top:4px}.useful-link-card-actions .button{margin-right:auto}.useful-links-empty{grid-column:1/-1;text-align:center;padding:38px}
@media(max-width:850px){.useful-links-grid{grid-template-columns:1fr}}
@media(max-width:560px){.useful-link-card{grid-template-columns:1fr}.useful-link-card-icon{width:44px;height:44px}.useful-link-card-actions{grid-column:1}.useful-link-card-actions .button{flex:1;justify-content:center}}
/* Imagens independentes por tema. A versão clara também funciona como fallback. */
.themed-content-image { display: contents; }
.theme-image-dark { display: none !important; }
html[data-theme="dark"] .theme-image-light { display: none !important; }
html[data-theme="dark"] .theme-image-dark { display: block !important; }
