/* =========================================================
   Xavier Template
   Além da Teoria

   Autor: Eric Loque Magalhães Xavier
   E-mail: suporte@ericxavier.com.br
   Data: 25/09/2026
   ========================================================= */

:root {
    --xavier-primary: #064c3b;
    --xavier-primary-dark: #03382c;
    --xavier-primary-light: #eaf3f0;

    --xavier-background: #f6f8fa;
    --xavier-surface: #ffffff;

    --xavier-text: #1f2933;
    --xavier-text-muted: #66737d;

    --xavier-border: #dfe5e8;

    --xavier-link: #075c48;
    --xavier-link-hover: #03382c;

    --xavier-container: 1320px;

    --xavier-radius: 6px;

    --xavier-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   Base
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--xavier-background);
    color: var(--xavier-text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--xavier-link);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--xavier-link-hover);
}


/* =========================================================
   Container
   ========================================================= */

.container {
    max-width: var(--xavier-container);
}


/* =========================================================
   Header
   ========================================================= */

#sp-header {
    background: #ffffff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    height: 72px;
    position: relative;
    z-index: 1000;
}

#sp-header .container,
#sp-header .container-inner {
    height: 100%;
}

#sp-header .row {
    align-items: center;
    height: 100%;
}


/* =========================================================
   Logo / nome
   ========================================================= */

.logo {
    display: flex;
    align-items: center;
    height: 72px;
}

.logo a {
    color: var(--xavier-primary);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo a:hover {
    color: var(--xavier-primary-dark);
}


/* =========================================================
   Menu principal
   ========================================================= */

.sp-megamenu-parent {
    display: flex;
    align-items: center;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    color: #263238;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding-left: 17px;
    padding-right: 17px;
}

.sp-megamenu-parent > li.active > a {
    color: var(--xavier-primary);
}

.sp-megamenu-parent > li > a:hover {
    color: var(--xavier-primary);
}


/* =========================================================
   Busca
   ========================================================= */

#sp-search input,
#sp-header input[type="search"],
#sp-header input[type="text"] {
    background: #ffffff;
    border: 1px solid #ccd5da;
    border-radius: var(--xavier-radius);
    min-height: 40px;
    padding: 8px 14px;
}

#sp-search input:focus,
#sp-header input:focus {
    border-color: var(--xavier-primary);
    box-shadow: 0 0 0 3px rgba(6, 76, 59, 0.10);
    outline: 0;
}


/* =========================================================
   Banner
   ========================================================= */

#sp-slide {
    background: #ffffff;
}

#sp-slide img {
    display: block;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}


/* =========================================================
   Área principal
   ========================================================= */

#sp-main-body {
    background: var(--xavier-background);
    padding: 48px 0 64px;
}

#sp-component {
    min-width: 0;
}

.com-content-featured,
.com-content-article,
.blog,
.blog-featured {
    background: var(--xavier-surface);
    border: 1px solid var(--xavier-border);
    border-radius: var(--xavier-radius);
    box-shadow: var(--xavier-shadow);
    padding: 32px;
}


/* =========================================================
   Títulos
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #18302a;
    font-weight: 650;
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 1.55rem;
    margin-top: 32px;
}

h3 {
    font-size: 1.25rem;
    margin-top: 28px;
}

.page-header h1,
.page-header h2 {
    color: var(--xavier-primary-dark);
}


/* =========================================================
   Artigos
   ========================================================= */

.article-list .article,
.article-details {
    background: #ffffff;
    border: 1px solid var(--xavier-border);
    border-radius: var(--xavier-radius);
    box-shadow: none;
    padding: 28px;
}

.article-list .article + .article {
    margin-top: 24px;
}

.article-header h1,
.article-header h2 {
    margin-top: 0;
}

.article-info {
    color: var(--xavier-text-muted);
    font-size: 0.875rem;
}


/* =========================================================
   Texto técnico
   ========================================================= */

.article-details p {
    margin-bottom: 1rem;
}

.article-details ul,
.article-details ol {
    margin-bottom: 1.25rem;
}

.article-details img {
    height: auto;
    max-width: 100%;
}


/* =========================================================
   Código
   ========================================================= */

code,
kbd,
samp,
pre {
    font-family:
        "Cascadia Code",
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
}

code {
    background: #edf2f1;
    border-radius: 4px;
    color: #8b2432;
    padding: 2px 5px;
}

pre {
    background: #17211f;
    border: 1px solid #273b36;
    border-radius: var(--xavier-radius);
    color: #e7efec;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
    padding: 20px;
}

pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}


/* =========================================================
   Tabelas
   ========================================================= */

table {
    background: #ffffff;
    border-collapse: collapse;
    margin: 24px 0;
    width: 100%;
}

table th,
table td {
    border: 1px solid var(--xavier-border);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

table th {
    background: #edf3f1;
    color: var(--xavier-primary-dark);
    font-weight: 650;
}


/* =========================================================
   Sidebar
   ========================================================= */

#sp-left,
#sp-right {
    font-size: 0.94rem;
}

#sp-left .sp-module,
#sp-right .sp-module {
    background: #ffffff;
    border: 1px solid var(--xavier-border);
    border-radius: var(--xavier-radius);
    margin-bottom: 24px;
    padding: 22px;
}

#sp-left .sp-module-title,
#sp-right .sp-module-title {
    border-bottom: 1px solid var(--xavier-border);
    color: var(--xavier-primary-dark);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
}


/* =========================================================
   Breadcrumb
   ========================================================= */

#sp-breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid var(--xavier-border);
}

.breadcrumb {
    background: transparent;
    font-size: 0.875rem;
    margin: 0;
    padding: 12px 0;
}


/* =========================================================
   Botões
   ========================================================= */

.btn-primary {
    background-color: var(--xavier-primary);
    border-color: var(--xavier-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--xavier-primary-dark);
    border-color: var(--xavier-primary-dark);
}


/* =========================================================
   Footer
   ========================================================= */

#sp-footer {
    background: var(--xavier-primary-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.875rem;
    padding: 30px 0;
}

#sp-footer a {
    color: #ffffff;
}

#sp-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   Acessibilidade
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(6, 76, 59, 0.35);
    outline-offset: 2px;
}


/* =========================================================
   Responsividade
   ========================================================= */

@media (max-width: 991.98px) {

    #sp-header {
        height: 64px;
    }

    .logo {
        height: 64px;
    }

    #sp-main-body {
        padding: 32px 0 48px;
    }

    .com-content-featured,
    .com-content-article,
    .blog,
    .blog-featured {
        padding: 24px;
    }

    #sp-slide img {
        max-height: 280px;
    }
}


@media (max-width: 767.98px) {

    body {
        font-size: 15px;
    }

    #sp-main-body {
        padding: 24px 0 36px;
    }

    .com-content-featured,
    .com-content-article,
    .blog,
    .blog-featured {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        padding: 20px;
    }

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    #sp-slide img {
        max-height: 220px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* =========================================================
   Impressão
   ========================================================= */

@media print {

    #sp-header,
    #sp-footer,
    #sp-left,
    #sp-right,
    #sp-breadcrumb,
    #sp-slide,
    .offcanvas-menu,
    .offcanvas-overlay {
        display: none !important;
    }

    body,
    #sp-main-body,
    .com-content-article,
    .article-details {
        background: #ffffff !important;
    }

    .com-content-article,
    .article-details {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    a {
        color: #000000;
        text-decoration: none;
    }

    pre {
        white-space: pre-wrap;
    }
}

/* =========================================================
   Portal de Documentação Técnica
   ========================================================= */

/* Área central */

#sp-main-body > .container {
    max-width: var(--xavier-container);
}


/* =========================================================
   Conteúdo técnico
   ========================================================= */

.article-details {
    max-width: 100%;
}

.article-details .article-header {
    border-bottom: 1px solid var(--xavier-border);
    margin-bottom: 28px;
    padding-bottom: 20px;
}

.article-details .article-header h1 {
    color: var(--xavier-primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}


/* =========================================================
   Seções da documentação
   ========================================================= */

.article-details h2 {
    border-bottom: 1px solid var(--xavier-border);
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.article-details h3 {
    color: var(--xavier-primary);
}


/* =========================================================
   Metadados
   ========================================================= */

.article-info {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 24px;
}

.article-info > span {
    margin: 0;
}


/* =========================================================
   Blocos técnicos
   ========================================================= */

.xavier-note,
.xavier-info,
.xavier-warning,
.xavier-danger,
.xavier-success {
    background: #ffffff;
    border: 1px solid var(--xavier-border);
    border-left: 4px solid var(--xavier-primary);
    border-radius: var(--xavier-radius);
    margin: 24px 0;
    padding: 16px 20px;
}

.xavier-info {
    background: #f0f7fa;
    border-left-color: #26738d;
}

.xavier-warning {
    background: #fff9e8;
    border-left-color: #b7791f;
}

.xavier-danger {
    background: #fff1f1;
    border-left-color: #b42318;
}

.xavier-success {
    background: #eef8f2;
    border-left-color: #27804a;
}

.xavier-note > :last-child,
.xavier-info > :last-child,
.xavier-warning > :last-child,
.xavier-danger > :last-child,
.xavier-success > :last-child {
    margin-bottom: 0;
}


/* =========================================================
   Comandos
   ========================================================= */

.xavier-command {
    margin: 24px 0;
    position: relative;
}

.xavier-command-header {
    align-items: center;
    background: #25332f;
    border-radius: var(--xavier-radius) var(--xavier-radius) 0 0;
    color: #ffffff;
    display: flex;
    font-size: 0.8rem;
    font-weight: 600;
    justify-content: space-between;
    min-height: 38px;
    padding: 7px 12px;
}

.xavier-command pre {
    border-radius: 0 0 var(--xavier-radius) var(--xavier-radius);
    margin: 0;
}

.xavier-copy {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 3px 9px;
}

.xavier-copy:hover,
.xavier-copy:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}


/* =========================================================
   Imagens técnicas
   ========================================================= */

.xavier-figure {
    margin: 28px 0;
    text-align: center;
}

.xavier-figure img {
    background: #ffffff;
    border: 1px solid var(--xavier-border);
    border-radius: var(--xavier-radius);
    cursor: zoom-in;
    padding: 4px;
}

.xavier-figure figcaption {
    color: var(--xavier-text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}


/* =========================================================
   Lista de procedimentos
   ========================================================= */

.xavier-steps {
    counter-reset: xavier-step;
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.xavier-steps > li {
    counter-increment: xavier-step;
    margin-bottom: 24px;
    min-height: 40px;
    padding-left: 54px;
    position: relative;
}

.xavier-steps > li::before {
    align-items: center;
    background: var(--xavier-primary);
    border-radius: 50%;
    color: #ffffff;
    content: counter(xavier-step);
    display: flex;
    font-size: 0.85rem;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 34px;
}


/* =========================================================
   Navegação lateral
   ========================================================= */

#sp-left .menu,
#sp-right .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sp-left .menu li,
#sp-right .menu li {
    margin: 0;
}

#sp-left .menu a,
#sp-right .menu a {
    border-radius: 4px;
    color: #34434a;
    display: block;
    padding: 8px 10px;
}

#sp-left .menu a:hover,
#sp-right .menu a:hover {
    background: var(--xavier-primary-light);
    color: var(--xavier-primary-dark);
}

#sp-left .menu .active > a,
#sp-right .menu .active > a {
    background: var(--xavier-primary-light);
    color: var(--xavier-primary-dark);
    font-weight: 650;
}


/* =========================================================
   Links dentro dos artigos
   ========================================================= */

.article-details a:not(.btn) {
    text-decoration: underline;
    text-decoration-color: rgba(6, 76, 59, 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-details a:not(.btn):hover {
    text-decoration-color: currentColor;
}


/* =========================================================
   Seleção
   ========================================================= */

::selection {
    background: var(--xavier-primary);
    color: #ffffff;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767.98px) {

    .article-details .article-header h1 {
        font-size: 1.65rem;
    }

    .xavier-steps > li {
        padding-left: 46px;
    }

    .xavier-command-header {
        min-height: 36px;
    }
}

/* =========================================================
   Xavier
   Cabeçalho e navegação principal
   ========================================================= */

/* Cabeçalho */

#sp-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e9eb;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
    height: 72px;
}

#sp-header.header-sticky {
    box-shadow: 0 3px 12px rgba(16, 24, 40, 0.08);
}

#sp-header .container,
#sp-header .container-inner,
#sp-header .row {
    height: 100%;
}


/* Logo */

#sp-logo {
    align-items: center;
    display: flex;
    height: 100%;
}

#sp-logo .sp-column {
    align-items: center;
    display: flex;
    height: 100%;
}

.logo {
    align-items: center;
    display: flex;
    height: 100%;
    margin: 0;
}

.logo a {
    align-items: center;
    display: flex;
    text-decoration: none;
}

.logo-image {
    max-height: 46px;
    width: auto;
}

.logo-image-phone {
    max-height: 40px;
    width: auto;
}


/* Menu */

#sp-menu {
    align-items: center;
    display: flex;
    height: 100%;
}

#sp-menu > .sp-column {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: flex-end;
    width: 100%;
}

.sp-megamenu-parent {
    align-items: center;
    display: flex;
    height: 72px;
    margin: 0;
}

.sp-megamenu-parent > li {
    align-items: center;
    display: flex;
    height: 100%;
    position: relative;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    align-items: center;
    color: #263238;
    display: flex;
    font-size: 0.92rem;
    font-weight: 600;
    height: 72px;
    letter-spacing: 0;
    padding: 0 16px;
    position: relative;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li > span:hover {
    color: var(--xavier-primary);
}

.sp-megamenu-parent > li.active > a {
    color: var(--xavier-primary);
}

.sp-megamenu-parent > li.active > a::after {
    background: var(--xavier-primary);
    bottom: 0;
    content: "";
    height: 3px;
    left: 16px;
    position: absolute;
    right: 16px;
}


/* Submenus */

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #ffffff;
    border: 1px solid var(--xavier-border);
    border-radius: var(--xavier-radius);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    padding: 8px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    border-radius: 4px;
    color: #34434a;
    font-size: 0.9rem;
    padding: 9px 12px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
    background: var(--xavier-primary-light);
    color: var(--xavier-primary-dark);
}


/* Busca */

#sp-search {
    align-items: center;
    display: flex;
}

#sp-search .sp-column {
    width: 100%;
}

#sp-search input[type="search"],
#sp-search input[type="text"] {
    background: #f8fafb;
    border: 1px solid #d7dee2;
    border-radius: 6px;
    color: var(--xavier-text);
    font-size: 0.88rem;
    height: 40px;
    max-width: 240px;
    padding: 0 14px;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#sp-search input[type="search"]:focus,
#sp-search input[type="text"]:focus {
    background: #ffffff;
    border-color: var(--xavier-primary);
    box-shadow: 0 0 0 3px rgba(6, 76, 59, 0.10);
}


/* Botão do menu móvel */

.burger-icon > span {
    background-color: var(--xavier-primary-dark);
}

.offcanvas-toggler {
    align-items: center;
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}


/* =========================================================
   Banner
   ========================================================= */

#sp-slide {
    background: #ffffff;
    overflow: hidden;
}

#sp-slide .sp-module {
    margin: 0;
}

#sp-slide .sp-module-content {
    margin: 0;
}

#sp-slide img {
    display: block;
    height: clamp(220px, 27vw, 390px);
    object-fit: cover;
    object-position: center;
    width: 100%;
}


/* Remove espaçamentos desnecessários do módulo do banner */

#sp-slide .custom,
#sp-slide p {
    margin: 0;
}


/* =========================================================
   Separação entre banner e conteúdo
   ========================================================= */

#sp-main-body {
    border-top: 1px solid var(--xavier-border);
    padding-top: 42px;
}


/* =========================================================
   Página inicial
   ========================================================= */

.blog-featured .page-header,
.com-content-featured .page-header {
    margin-bottom: 30px;
}

.blog-featured .page-header h1,
.com-content-featured .page-header h1 {
    color: var(--xavier-primary-dark);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}


/* =========================================================
   Offcanvas
   ========================================================= */

.offcanvas-menu {
    background: #ffffff;
}

.offcanvas-menu .offcanvas-inner {
    padding: 28px;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    border-bottom: 1px solid var(--xavier-border);
    color: #263238;
    display: block;
    font-weight: 600;
    padding: 12px 4px;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.active > a {
    color: var(--xavier-primary);
}


/* =========================================================
   Responsividade do cabeçalho
   ========================================================= */

@media (max-width: 1199.98px) {

    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding-left: 11px;
        padding-right: 11px;
    }

    #sp-search input[type="search"],
    #sp-search input[type="text"] {
        max-width: 190px;
    }
}


@media (max-width: 991.98px) {

    #sp-header {
        height: 64px;
    }

    #sp-header .container,
    #sp-header .container-inner,
    #sp-header .row {
        height: 64px;
    }

    .logo {
        height: 64px;
    }

    #sp-slide img {
        height: clamp(190px, 32vw, 280px);
    }

    #sp-main-body {
        padding-top: 32px;
    }
}


@media (max-width: 767.98px) {

    #sp-header {
        height: 60px;
    }

    #sp-header .container,
    #sp-header .container-inner,
    #sp-header .row {
        height: 60px;
    }

    .logo {
        height: 60px;
    }

    .logo-image {
        max-height: 38px;
    }

    #sp-slide img {
        height: 190px;
    }

    #sp-main-body {
        padding-top: 24px;
    }
}
/* =========================================================
   Xavier Template
   Correção estrutural do Header
   25/09/2026
   ========================================================= */

#sp-header {
    width: 100%;
    height: 72px;
    background: #ffffff;
    border-top: 14px solid #03382c;
    border-bottom: 1px solid #dce3e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

#sp-header .container,
#sp-header .container-inner,
#sp-header .row {
    height: 58px;
}

#sp-header .row {
    align-items: center;
}


/* =========================================================
   Logo
   ========================================================= */

#sp-logo {
    display: flex;
    align-items: center;
    height: 58px;
}

#sp-logo .sp-column {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

#sp-logo .logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    white-space: nowrap;
}

#sp-logo .logo a {
    display: flex;
    align-items: baseline;
    gap: 4px;
    text-decoration: none;
}

#sp-logo .logo-text {
    color: #03382c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

#sp-logo .logo-slogan {
    color: #34434a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}


/* =========================================================
   Área do menu
   ========================================================= */

#sp-menu {
    display: flex;
    align-items: center;
    height: 58px;
}

#sp-menu > .sp-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 58px;
}


/* =========================================================
   Menu principal
   ========================================================= */

.sp-megamenu-wrapper {
    display: flex;
    align-items: center;
    height: 58px;
}

.sp-megamenu-parent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    height: 58px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-megamenu-parent > li {
    display: flex !important;
    align-items: center;
    float: none !important;
    height: 58px;
    margin: 0;
    padding: 0;
    position: relative;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    display: flex !important;
    align-items: center;
    height: 58px !important;
    padding: 0 15px !important;
    color: #263238;
    font-size: 14px;
    font-weight: 600;
    line-height: 58px !important;
    text-decoration: none;
    white-space: nowrap;
}

.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li > span:hover {
    color: #064c3b;
}

.sp-megamenu-parent > li.active > a {
    color: #064c3b;
}

.sp-megamenu-parent > li.active > a::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 0;
    left: 15px;
    height: 3px;
    background: #064c3b;
}


/* =========================================================
   Dropdown
   ========================================================= */

.sp-megamenu-parent .sp-dropdown {
    top: 58px;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    padding: 8px;
    background: #ffffff;
    border: 1px solid #dce3e6;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    display: block;
    padding: 9px 12px;
    color: #263238;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 4px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    color: #03382c;
    background: #edf5f2;
}


/* =========================================================
   Busca
   ========================================================= */

#sp-search {
    display: flex;
    align-items: center;
    height: 58px;
}

#sp-search .sp-column {
    display: flex;
    align-items: center;
    width: 100%;
}

#sp-search input[type="search"],
#sp-search input[type="text"] {
    width: 185px;
    height: 38px;
    padding: 0 12px;
    color: #202629;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #ccd5da;
    border-radius: 5px;
    outline: none;
}

#sp-search input[type="search"]:focus,
#sp-search input[type="text"]:focus {
    border-color: #064c3b;
    box-shadow: 0 0 0 3px rgba(6, 76, 59, 0.10);
}


/* =========================================================
   Login
   ========================================================= */

#sp-header .login {
    white-space: nowrap;
}

#sp-header .login a {
    color: #064c3b;
    font-size: 14px;
    text-decoration: none;
}


/* =========================================================
   Menu móvel
   ========================================================= */

.offcanvas-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.burger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger-icon > span {
    display: block;
    width: 22px;
    height: 2px;
    background: #03382c;
}


/* =========================================================
   Área principal
   ========================================================= */

#sp-main-body {
    padding-top: 36px;
    padding-bottom: 54px;
}

#sp-main-body > .container {
    max-width: 1110px;
}


/* =========================================================
   Footer
   ========================================================= */

#sp-footer {
    min-height: 104px;
    padding: 28px 0;
    color: #ffffff;
    background: #03382c;
}

#sp-footer a {
    color: #e5efec;
}

#sp-footer a:hover {
    color: #ffffff;
}


/* =========================================================
   Responsividade
   ========================================================= */

@media (max-width: 1199.98px) {

    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding-right: 10px !important;
        padding-left: 10px !important;
        font-size: 13px;
    }

    #sp-search input[type="search"],
    #sp-search input[type="text"] {
        width: 160px;
    }

    #sp-logo .logo-slogan {
        display: none;
    }
}


@media (max-width: 991.98px) {

    #sp-header {
        height: 68px;
        border-top-width: 8px;
    }

    #sp-header .container,
    #sp-header .container-inner,
    #sp-header .row,
    #sp-logo,
    #sp-menu,
    #sp-menu > .sp-column {
        height: 60px;
    }

    .sp-megamenu-wrapper,
    .sp-megamenu-parent {
        display: none !important;
    }

    #sp-logo .logo-text {
        font-size: 19px;
    }

    #sp-main-body {
        padding-top: 28px;
    }
}


@media (max-width: 767.98px) {

    #sp-header .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    #sp-logo .logo-text {
        font-size: 18px;
    }

    #sp-main-body {
        padding-top: 22px;
        padding-bottom: 36px;
    }
}
/* =========================================================
   Banner
   ========================================================= */

#xavier-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

#xavier-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

#xavier-banner .xavier-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#xavier-banner .xavier-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
}

/* Remove margens eventualmente adicionadas pelo módulo */
#xavier-banner .mod-custom,
#xavier-banner .custom {
    margin: 0;
    padding: 0;
}

/* Tablet */
@media (max-width: 991.98px) {
    #xavier-banner .container {
        max-width: 100%;
    }

    #xavier-banner .xavier-hero-image {
        max-height: 300px;
    }
}

/* Smartphone */
@media (max-width: 575.98px) {
    #xavier-banner .xavier-hero-image {
        max-height: 220px;
        object-fit: cover;
    }
}

/* =========================================================
   QUIZLAB
   Otimização da área útil dos simulados
   ========================================================= */

body.com_quizlab .ql-quiz {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
}

/* Cartão principal */
body.com_quizlab .ql-card {
    padding: 20px 24px;
    border-radius: 10px;
}

/* Barra de progresso */
body.com_quizlab .ql-progress {
    height: 5px;
    margin-bottom: 12px;
}

/* Cabeçalho da questão */
body.com_quizlab .ql-question-header {
    margin-bottom: 8px;
}

body.com_quizlab .ql-question-label {
    font-size: 0.82rem;
    line-height: 1.2;
}

body.com_quizlab .ql-question-counter {
    font-size: 0.82rem;
    line-height: 1.2;
}

/* Enunciado */
body.com_quizlab .ql-question-text {
    margin-bottom: 14px;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Imagem da questão */
body.com_quizlab .ql-question-image {
    margin-bottom: 12px;
}

body.com_quizlab .ql-question-image:empty {
    display: none;
}

/* Alternativas */
body.com_quizlab .ql-options {
    gap: 8px;
    margin-bottom: 14px;
}

body.com_quizlab .ql-option {
    min-height: 46px;
    gap: 10px;
    padding: 9px 14px;
    font-size: 0.96rem;
    line-height: 1.35;
    border-width: 1px;
}

/* Marcador A, B, C, D */
body.com_quizlab .ql-option-marker {
    flex: 0 0 auto;
}

/* Texto da alternativa */
body.com_quizlab .ql-option-text {
    flex: 1 1 auto;
}

/* Botões */
body.com_quizlab .ql-btn {
    padding: 8px 18px;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Feedback */
body.com_quizlab .ql-feedback {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Informações gerais */
body.com_quizlab .ql-meta {
    gap: 16px;
    margin-bottom: 12px;
}

/* Instruções */
body.com_quizlab .ql-instructions {
    padding: 10px 14px;
    margin-bottom: 12px;
}

/* Título */
body.com_quizlab .ql-title {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    body.com_quizlab .ql-quiz {
        max-width: 100%;
        padding: 10px 12px;
    }

    body.com_quizlab .ql-card {
        padding: 18px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    body.com_quizlab .ql-quiz {
        padding: 8px;
    }

    body.com_quizlab .ql-card {
        padding: 14px;
        border-radius: 8px;
    }

    body.com_quizlab .ql-question-text {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    body.com_quizlab .ql-options {
        gap: 7px;
        margin-bottom: 12px;
    }

    body.com_quizlab .ql-option {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 0.93rem;
    }

    body.com_quizlab .ql-btn {
        width: 100%;
        min-height: 44px;
    }
}