:root {
    --emp-dark: #071f3d;
    --emp-dark-2: #0b2d55;
    --emp-navy: #001b43;
    --emp-blue: #0072ff;
    --emp-blue-2: #1495ff;
    --emp-blue-3: #00a3ff;
    --emp-white: #ffffff;
    --emp-bg: #f4f8fd;
    --emp-bg-2: #eef5fc;
    --emp-text: #0d2442;
    --emp-muted: #667995;
    --emp-line: #d6e4f2;
    --emp-line-2: #b9d5ef;
    --emp-shadow: 0 22px 48px rgba(0, 27, 67, 0.14);
    --emp-shadow-soft: 0 12px 30px rgba(0, 27, 67, 0.08);
    --emp-radius: 14px;
    --emp-radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--emp-bg);
    color: var(--emp-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body,
button,
input,
select,
textarea {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 14px;
}

svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

button,
input,
select,
textarea {
    font: inherit;
}

.emp-shell,
.faq-shell {
    width: min(1340px, calc(100% - 52px));
    margin: 0 auto;
}

.emp-home-hero {
    position: relative;
    min-height: 740px;
    overflow: hidden;
    color: var(--emp-white);
    background:
        linear-gradient(90deg, rgba(3, 16, 34, 0.86) 0%, rgba(3, 16, 34, 0.62) 42%, rgba(10, 32, 63, 0.93) 100%),
        radial-gradient(circle at 72% 42%, rgba(0, 114, 255, 0.28), transparent 32%),
        linear-gradient(135deg, #122b4a, #06162c);
}

.emp-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 114, 255, 0.1)),
        var(--emp-hero-image, none);
    background-size: cover;
    background-position: center;
    opacity: 0.32;
}

.emp-home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 210px;
    background: linear-gradient(180deg, transparent, rgba(3, 16, 34, 0.9));
}

.emp-home-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 31, 61, 0.25), transparent 38%),
        radial-gradient(circle at 84% 68%, rgba(0, 114, 255, 0.22), transparent 34%);
    pointer-events: none;
}

.emp-home-hero > .emp-shell {
    position: relative;
    z-index: 2;
}

.emp-topbar {
    display: grid;
    grid-template-columns: 360px minmax(220px, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-height: 112px;
    margin-top: 10px;
    padding: 24px 25px;
    background: rgba(11, 22, 39, 0.9);
    border: 1px solid rgba(117, 173, 232, 0.28);
    border-radius: var(--emp-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.emp-logo {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    padding-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.emp-logo > span {
    display: block;
    color: #eaf5ff;
    font-size: clamp(34px, 3.5vw, 46px);
    line-height: 0.9;
    letter-spacing: -0.055em;
    font-weight: 600;
}

.emp-logo > span span {
    color: var(--emp-blue-2);
}

.emp-logo small {
    display: block;
    margin-top: 5px;
    color: var(--emp-blue-2);
    font-size: 12px;
    letter-spacing: 0.13em;
    font-weight: 500;
}

.emp-topbar-copy {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

.emp-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.emp-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.emp-nav a.active,
.emp-nav a:hover {
    color: var(--emp-white);
}

.emp-nav a.active::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: -18px;
    height: 2px;
    background: var(--emp-blue-2);
}

.emp-hero-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 310px;
    align-items: center;
    padding: 26px 0 54px;
}

.emp-side-cards {
    display: grid;
    gap: 12px;
}

.emp-side-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    align-items: center;
    min-height: 94px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(181, 213, 242, 0.28);
    border-radius: 10px;
    backdrop-filter: blur(14px);
}

.emp-side-card span {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--emp-white);
    background: linear-gradient(135deg, var(--emp-blue), var(--emp-blue-2));
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 114, 255, 0.3);
}

.emp-side-card svg {
    width: 19px;
    height: 19px;
}

.emp-side-card strong {
    display: block;
    color: var(--emp-white);
    font-size: 15px;
    line-height: 1.08;
    font-weight: 600;
}

.emp-side-card p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.22;
    font-weight: 600;
}

.emp-hero-content {
    max-width: 780px;
}

.emp-hero-content h1 {
    margin: 0 0 22px;
    color: var(--emp-white);
    font-size: clamp(42px, 5.2vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 600;
    text-transform: uppercase;
}

.emp-hero-content h1 span {
    display: block;
    color: var(--emp-blue);
}

.emp-hero-content p {
    max-width: 790px;
    margin: 0 0 28px;
    color: var(--emp-white);
    font-size: 22px;
    line-height: 1.38;
    font-weight: 600;
}

.emp-hero-content p strong {
    font-weight: 600;
}

.emp-hero-search {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 200px;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 106px;
    padding: 18px;
    background: var(--emp-white);
    border: 3px solid var(--emp-blue-2);
    border-radius: 27px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.emp-search-icon {
    display: grid;
    place-items: center;
    color: #5e6c81;
}

.emp-search-icon svg {
    width: 30px;
    height: 30px;
}

.emp-search-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--emp-navy);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}

.emp-search-field input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #40516a;
    background: transparent;
    font-size: 14px;
}

.emp-search-field input::placeholder {
    color: #40516a;
}

.emp-hero-search button,
.emp-primary-action,
.emp-filter-button,
.emp-card-button,
.faq-btn {
    min-height: 56px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--emp-blue), #0061e8);
    color: var(--emp-white);
    padding: 14px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    box-shadow: 0 14px 28px rgba(0, 114, 255, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.emp-hero-search button:hover,
.emp-primary-action:hover,
.emp-filter-button:hover,
.emp-card-button:hover,
.faq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 114, 255, 0.32);
}

.emp-hero-search button svg,
.emp-primary-action svg,
.emp-filter-button svg,
.emp-card-button svg {
    width: 20px;
    height: 20px;
}

.emp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 34px;
}

.emp-primary-action,
.emp-secondary-action {
    min-width: 322px;
    min-height: 66px;
    border-radius: 7px;
    font-size: 17px;
}

.emp-secondary-action {
    min-height: 66px;
    border: 1px solid rgba(181, 213, 242, 0.58);
    border-radius: 7px;
    background: rgba(10, 23, 42, 0.54);
    color: var(--emp-white);
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.emp-secondary-action:hover {
    background: rgba(10, 23, 42, 0.78);
    border-color: var(--emp-blue-2);
}

.emp-main {
    background:
        linear-gradient(180deg, #ffffff 0%, var(--emp-bg) 45%, #ffffff 100%);
}

.emp-filter-section {
    position: relative;
    z-index: 3;
    margin-top: -44px;
    padding: 0 0 34px;
}

.emp-filter-card {
    width: min(1020px, 100%);
    margin: 0 auto;
    padding: 28px 38px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.86fr) 190px;
    gap: 28px;
    align-items: end;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 10px;
    box-shadow: var(--emp-shadow);
}

.emp-filter-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--emp-navy);
    font-size: 14px;
    font-weight: 600;
}

.emp-filter-field > div {
    min-height: 54px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid var(--emp-line);
    border-radius: 7px;
    background: var(--emp-white);
}

.emp-filter-field svg {
    color: #6583a8;
}

.emp-filter-field input,
.emp-filter-field select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #334763;
    font-size: 15px;
    font-weight: 500;
}

.emp-filter-field input::placeholder {
    color: #91a0b4;
}

.emp-filter-button {
    width: 100%;
    min-height: 54px;
    background: var(--emp-navy);
    box-shadow: none;
}

.emp-topic-pills {
    width: min(1020px, 100%);
    margin: 22px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.emp-topic-pills a,
.faq-pill {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    color: var(--emp-blue);
    background: #eef6ff;
    border: 1px solid #cfe4f8;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.emp-topic-pills a:hover,
.emp-topic-pills a.active,
.faq-pill:hover,
.faq-pill.active {
    color: var(--emp-white);
    background: var(--emp-blue);
    border-color: var(--emp-blue);
}

.emp-results-section {
    padding: 0px 0 70px;
}

.emp-section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.emp-section-head span {
    color: var(--emp-blue);
    font-size: 13px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 600;
}

.emp-section-head h2 {
    margin: 8px 0 10px;
    color: var(--emp-navy);
    font-size: clamp(30px, 3.8vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 600;
}

.emp-section-head h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 3px;
    margin: 15px auto 0;
    background: var(--emp-blue);
    border-radius: 999px;
}

.emp-section-head p {
    color: var(--emp-muted);
    font-size: 17px;
}

.emp-faq-grid,
.faq-grid {
    display: grid;
    gap: 16px;
}

.emp-faq-card,
.faq-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 14px;
    box-shadow: var(--emp-shadow-soft);
}

.emp-faq-card::before,
.faq-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 5px;
    height: calc(100% - 44px);
    background: linear-gradient(180deg, var(--emp-blue-2), var(--emp-blue));
}

.emp-card-topic,
.faq-card-topic {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 11px;
    padding: 5px 11px;
    color: var(--emp-blue);
    background: #eef6ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.emp-faq-card h3,
.faq-card h2 {
    margin: 0 0 9px;
    color: var(--emp-navy);
    font-size: 22px;
    line-height: 1.24;
    font-weight: 600;
}

.emp-faq-card h3 a:hover,
.faq-card h2 a:hover {
    color: var(--emp-blue);
}

.emp-faq-card p,
.faq-card p {
    max-width: 900px;
    color: var(--emp-muted);
    margin: 0;
}

.emp-card-button {
    min-width: 220px;
    box-shadow: none;
}

.emp-empty,
.faq-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    text-align: center;
    background: var(--emp-white);
    border: 1px dashed var(--emp-line-2);
    border-radius: 14px;
    color: var(--emp-muted);
    box-shadow: var(--emp-shadow-soft);
}

.emp-empty strong {
    display: block;
    margin-bottom: 6px;
    color: var(--emp-navy);
    font-size: 21px;
    font-weight: 600;
}

/* Páginas internas */

.faq-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 84px;
    color: var(--emp-white);
    background:
        radial-gradient(circle at 80% 12%, rgba(0, 114, 255, 0.36), transparent 34%),
        linear-gradient(135deg, var(--emp-navy), var(--emp-blue));
}

.faq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.55;
}

.faq-hero > .faq-shell {
    position: relative;
    z-index: 1;
}

.faq-brand {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    color: #d9efff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.faq-hero h1 {
    max-width: 920px;
    margin: 0 0 16px;
    color: var(--emp-white);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.04em;
    font-weight: 600;
}

.faq-hero p {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
}

.faq-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.faq-breadcrumb a {
    color: #d9efff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-main {
    padding: 42px 0 70px;
    background: linear-gradient(180deg, #ffffff, var(--emp-bg));
}

.faq-detail-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 24px;
    align-items: start;
}

.faq-answer-card {
    position: relative;
    margin-bottom: 16px;
    padding: 28px;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 14px;
    box-shadow: var(--emp-shadow-soft);
}

.faq-answer-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    width: 5px;
    height: calc(100% - 48px);
    background: linear-gradient(180deg, var(--emp-blue-2), var(--emp-blue));
}

.faq-answer-card h2 {
    margin: 0 0 12px;
    color: var(--emp-navy);
    font-size: 24px;
    line-height: 1.24;
    font-weight: 600;
}

.faq-answer-card p {
    color: var(--emp-text);
}

.faq-highlight-answer {
    background: linear-gradient(90deg, rgba(0, 114, 255, 0.08), #ffffff 48%);
    border-color: var(--emp-line-2);
}

.faq-section-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--emp-blue);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.faq-list-block {
    margin: 0;
    padding-left: 22px;
}

.faq-list-block li {
    margin-bottom: 9px;
    color: var(--emp-text);
}

.faq-list-block li::marker {
    color: var(--emp-blue);
}

.faq-checklist {
    display: grid;
    gap: 10px;
}

.faq-check-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    padding: 12px;
    align-items: start;
    background: #f8fbff;
    border: 1px solid var(--emp-line);
    border-radius: 9px;
}

.faq-check-item span {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    border: 2px solid var(--emp-blue);
    border-radius: 5px;
    background: var(--emp-white);
}

.faq-check-item p {
    margin: 0;
}

.faq-notice {
    background: #fff8e8;
    border-color: #f0d391;
}

.faq-sidebar {
    position: sticky;
    top: 18px;
    padding: 24px;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 14px;
    box-shadow: var(--emp-shadow-soft);
}

.faq-sidebar::before {
    
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 10px;
    color: var(--emp-blue);
    background: #eef6ff;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.faq-sidebar h3 {
    margin: 0 0 10px;
    color: var(--emp-navy);
    font-size: 20px;
    font-weight: 600;
}

.faq-sidebar p {
    color: var(--emp-muted);
    font-size: 14px;
}

.faq-action-stack {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.faq-btn-secondary {
    background: var(--emp-white);
    color: var(--emp-blue);
    border: 1px solid var(--emp-line-2);
    box-shadow: none;
}

.faq-btn-secondary:hover {
    color: var(--emp-navy);
    background: #eef6ff;
}

/* Admin */

.faq-admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    background: linear-gradient(180deg, #f7fbff, #eef5fc);
}

.faq-admin-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 26px 22px;
    color: var(--emp-white);
    background: linear-gradient(180deg, var(--emp-navy), var(--emp-dark));
}

.faq-admin-sidebar h1 {
    margin: 0 0 26px;
    color: var(--emp-white);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 600;
}

.faq-admin-sidebar h1::after {
    content: "Painel de conteúdo inteligente";
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
}

.faq-admin-sidebar a {
    display: block;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
    font-weight: 500;
}

.faq-admin-sidebar a:hover {
    color: var(--emp-white);
}

.faq-admin-main {
    padding: 30px;
}

.faq-admin-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.faq-admin-head h2 {
    margin: 0;
    color: var(--emp-navy);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.faq-admin-head p {
    margin: 6px 0 0;
    color: var(--emp-muted);
}

.faq-form-card {
    padding: 24px;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 14px;
    box-shadow: var(--emp-shadow);
}

.faq-form-card::before {
    content: "Cole o JSON Mestre completo. O sistema valida, organiza e separa os dados automaticamente.";
    display: block;
    margin-bottom: 18px;
    padding: 13px 15px;
    color: var(--emp-navy);
    background: #eef6ff;
    border-left: 5px solid var(--emp-blue);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.faq-form-grid {
    display: grid;
    gap: 16px;
}

.faq-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--emp-navy);
    font-size: 15px;
    font-weight: 600;
}

.faq-field small {
    display: block;
    margin-top: 7px;
    color: var(--emp-muted);
    font-size: 13px;
}

.faq-input,
.faq-select,
.faq-textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid var(--emp-line);
    border-radius: 8px;
    outline: 0;
    background: var(--emp-white);
    color: var(--emp-text);
    font-size: 15px;
}

.faq-textarea {
    min-height: 460px;
    resize: vertical;
    font-family: Consolas, Monaco, monospace;
    font-size: 14px;
    line-height: 1.55;
    background: #fbfdff;
}

.faq-input:focus,
.faq-select:focus,
.faq-textarea:focus {
    border-color: var(--emp-blue-2);
    box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.12);
}

.faq-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.faq-alert {
    margin-bottom: 18px;
    padding: 15px 16px;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 10px;
    box-shadow: var(--emp-shadow-soft);
}

.faq-alert p {
    margin: 0 0 6px;
}

.faq-alert p:last-child {
    margin-bottom: 0;
}

.faq-alert-ok {
    color: #147a48;
    background: #eefaf4;
    border-color: #adddc2;
}

.faq-alert-error {
    color: #b42318;
    background: #fff1f0;
    border-color: #f0b1aa;
}

.faq-admin-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 14px;
    box-shadow: var(--emp-shadow-soft);
}

.faq-admin-table th,
.faq-admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--emp-line);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.faq-admin-table th {
    color: var(--emp-navy);
    background: #eef6ff;
    font-weight: 600;
}

.faq-admin-table a {
    color: var(--emp-blue);
    font-weight: 600;
}

.faq-status {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--emp-blue);
    background: #eef6ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.faq-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #f7fbff, #eef5fc);
}

.faq-login-card {
    width: min(430px, 100%);
    padding: 28px;
    background: var(--emp-white);
    border: 1px solid var(--emp-line);
    border-radius: 14px;
    box-shadow: var(--emp-shadow);
}

.faq-login-card h1 {
    margin: 0 0 8px;
    color: var(--emp-navy);
    font-size: 30px;
    font-weight: 600;
}

.faq-login-card p {
    color: var(--emp-muted);
}

/* Responsivo */

@media (max-width: 1220px) {
    .emp-topbar {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .emp-logo {
        width: fit-content;
        padding-right: 0;
        border-right: 0;
    }

    .emp-nav {
        flex-wrap: wrap;
        gap: 18px;
    }

    .emp-nav a.active::after {
        bottom: -7px;
    }

    .emp-hero-grid {
        gap: 70px;
    }
}

@media (max-width: 980px) {
    .emp-home-hero {
        min-height: auto;
    }

    .emp-hero-grid,
    .faq-detail-wrap,
    .faq-admin-layout {
        grid-template-columns: 1fr;
    }

    .emp-side-cards {
        display: none;
    }

    .emp-hero-content {
        max-width: 100%;
        padding: 36px 0 74px;
    }

    .emp-hero-search,
    .emp-filter-card,
    .emp-faq-card,
    .faq-card {
        grid-template-columns: 1fr;
    }

    .emp-hero-search {
        border-radius: 18px;
    }

    .emp-filter-card {
        padding: 22px;
        gap: 16px;
    }

    .faq-sidebar,
    .faq-admin-sidebar {
        position: static;
    }

    .faq-admin-sidebar {
        min-height: auto;
    }

    .faq-admin-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .faq-admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .emp-shell,
    .faq-shell {
        width: min(100% - 22px, 1340px);
    }

    .emp-topbar {
        margin-top: 8px;
        padding: 18px;
    }

    .emp-logo > span {
        font-size: 34px;
    }

    .emp-logo small {
        font-size: 10px;
    }

    .emp-topbar-copy {
        font-size: 13px;
    }

    .emp-nav {
        gap: 12px 18px;
    }

    .emp-nav a {
        font-size: 14px;
    }

    .emp-hero-content h1 {
        font-size: 38px;
    }

    .emp-hero-content p {
        font-size: 18px;
    }

    .emp-hero-search {
        padding: 16px;
        min-height: auto;
    }

    .emp-search-field label {
        font-size: 16px;
    }

    .emp-hero-actions {
        display: grid;
        gap: 12px;
    }

    .emp-primary-action,
    .emp-secondary-action {
        min-width: 0;
        width: 100%;
        font-size: 15px;
    }

    .emp-filter-section {
        margin-top: -32px;
    }

    .emp-filter-card {
        padding: 18px;
    }

    .emp-results-section {
        padding-bottom: 46px;
    }

    .emp-section-head h2 {
        font-size: 30px;
    }

    .emp-faq-card,
    .faq-card,
    .faq-answer-card,
    .faq-sidebar,
    .faq-form-card {
        padding: 20px;
    }

    .emp-card-button,
    .faq-btn {
        width: 100%;
    }

    .faq-main {
        padding: 30px 0 50px;
    }

    .faq-admin-main {
        padding: 18px;
    }

    .faq-form-actions {
        display: grid;
    }
}

.emp-home-hero-no-nav {
    min-height: 640px;
    padding-top: 0;
}

.emp-hero-grid-no-nav {
    padding-top: 72px;
}

.emp-hero-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 14px;
    color: #ffffff;
    background: rgba(0, 114, 255, 0.18);
    border: 1px solid rgba(70, 172, 255, 0.4);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 980px) {
    .emp-hero-grid-no-nav {
        padding-top: 42px;
    }
}

@media (max-width: 640px) {
    .emp-home-hero-no-nav {
        min-height: auto;
    }

    .emp-hero-grid-no-nav {
        padding-top: 28px;
    }
}

.emp-faq-banner {
    position: relative;
    overflow: hidden;
    padding: 76px 0 128px;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 114, 255, 0.18), transparent 30%),
        radial-gradient(circle at 88% 16%, rgba(20, 149, 255, 0.34), transparent 34%),
        linear-gradient(135deg, #001b43 0%, #07366f 48%, #008cff 100%);
}

.emp-faq-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.45;
}

.emp-faq-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(244, 248, 253, 0.95));
}

.emp-faq-banner-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.emp-faq-banner-content span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 15px;
    color: #ffffff;
    background: rgba(0, 114, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.emp-faq-banner-content h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 600;
    text-transform: uppercase;
}

.emp-faq-banner-content h1 strong {
    color: #0a8cff;
    font-weight: 600;
}

.emp-faq-banner-content p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.45;
    font-weight: 500;
}

.emp-filter-section-simple {
    margin-top: -58px;
}

@media (max-width: 640px) {
    .emp-faq-banner {
        padding: 54px 0 104px;
    }

    .emp-faq-banner-content h1 {
        font-size: 36px;
    }

    .emp-faq-banner-content p {
        font-size: 16px;
    }

    .emp-filter-section-simple {
        margin-top: -42px;
    }
}

.emp-filter-card-faq {
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1fr) 190px;
}

.emp-results-section-filtered {
    padding-top: 10px;
}

.emp-pagination {
    margin: 32px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.emp-pagination-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.emp-pagination a,
.emp-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #001b43;
    background: #ffffff;
    border: 1px solid #d6e4f2;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

.emp-pagination a:hover,
.emp-pagination span.active {
    color: #ffffff;
    background: #0072ff;
    border-color: #0072ff;
}

.emp-pagination-control {
    min-width: 104px !important;
}

.emp-pagination-control.disabled {
    color: #91a0b4;
    background: #f4f8fd;
    cursor: not-allowed;
}

@media (max-width: 980px) {
    .emp-filter-card-faq {
        grid-template-columns: 1fr;
    }
}

.emp-chat-search-section {
    position: relative;
    z-index: 5;
    margin-top: -62px;
    padding: 0 0 24px;
}

.emp-chat-search-card {
    width: min(940px, 100%);
    margin: 0 auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d9e8f5;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 27, 67, 0.13);
}

.emp-chat-header {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
}

.emp-chat-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0072ff, #1495ff);
    border-radius: 50%;
    box-shadow: 0 12px 26px rgba(0, 114, 255, 0.24);
}

.emp-chat-avatar svg {
    width: 22px;
    height: 22px;
}

.emp-chat-header span {
    display: inline-flex;
    margin-bottom: 5px;
    color: #0072ff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.emp-chat-header h2 {
    margin: 0 0 5px;
    color: #001b43;
    font-size: 22px;
    line-height: 1.22;
    font-weight: 600;
}

.emp-chat-header p {
    margin: 0;
    color: #667995;
    font-size: 15px;
    line-height: 1.45;
}

.emp-chat-topic-row {
    margin-bottom: 14px;
}

.emp-chat-topic-row label,
.emp-chat-message-box label {
    display: block;
    margin-bottom: 7px;
    color: #001b43;
    font-size: 14px;
    font-weight: 600;
}

.emp-chat-select-wrap {
    min-height: 52px;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: center;
    padding: 0 14px;
    background: #f8fbff;
    border: 1px solid #d6e4f2;
    border-radius: 12px;
}

.emp-chat-select-wrap svg {
    color: #5e789b;
}

.emp-chat-select-wrap select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243b5a;
    font-size: 15px;
    font-weight: 500;
}

.emp-chat-message-box {
    margin-bottom: 14px;
}

.emp-chat-textarea-wrap {
    position: relative;
    background: #f8fbff;
    border: 1px solid #d6e4f2;
    border-radius: 14px;
    overflow: hidden;
}

.emp-chat-textarea-wrap::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 20px;
    width: 9px;
    height: 9px;
    background: #1495ff;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(20, 149, 255, 0.12);
}

.emp-chat-textarea-wrap textarea {
    width: 100%;
    min-height: 112px;
    border: 0;
    outline: 0;
    resize: vertical;
    padding: 17px 18px 17px 42px;
    background: transparent;
    color: #152b49;
    font-size: 16px;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
}

.emp-chat-textarea-wrap textarea::placeholder {
    color: #8a9ab0;
}

.emp-chat-select-wrap:focus-within,
.emp-chat-textarea-wrap:focus-within {
    border-color: #1495ff;
    box-shadow: 0 0 0 4px rgba(20, 149, 255, 0.12);
    background: #ffffff;
}

.emp-chat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.emp-chat-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #667995;
    font-size: 13px;
}

.emp-chat-hint strong {
    color: #001b43;
    font-weight: 600;
}

.emp-chat-hint span {
    display: inline-flex;
    padding: 5px 9px;
    color: #0072ff;
    background: #eef6ff;
    border: 1px solid #d6e4f2;
    border-radius: 999px;
    font-weight: 500;
}

.emp-chat-submit {
    min-width: 178px;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    background: #001b43;
    color: #ffffff;
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(0, 27, 67, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.emp-chat-submit:hover {
    background: #0072ff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(0, 114, 255, 0.24);
}

.emp-chat-submit svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 760px) {
    .emp-chat-search-section {
        margin-top: -44px;
    }

    .emp-chat-search-card {
        padding: 18px;
        border-radius: 14px;
    }

    .emp-chat-header {
        grid-template-columns: 1fr;
    }

    .emp-chat-avatar {
        width: 44px;
        height: 44px;
    }

    .emp-chat-header h2 {
        font-size: 20px;
    }

    .emp-chat-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .emp-chat-submit {
        width: 100%;
    }
}

#resultado-busca {
    scroll-margin-top: 28px;
}


