:root {
    --dtk-orange: #f7941d;
    --dtk-orange-light: #ffb454;
    --dtk-orange-dark: #d97a0a;
    --dtk-bg: #0a0d16;
    --dtk-bg-alt: #12162447;
    --dtk-card: rgba(20, 25, 41, 0.72);
    --dtk-card-solid: #141929;
    --dtk-border: rgba(255, 255, 255, 0.08);
    --dtk-border-light: rgba(255, 255, 255, 0.14);
    --dtk-text: #eef0f6;
    --dtk-text-muted: rgba(238, 240, 246, 0.62);
    --dtk-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    --dtk-bg-2: #10141f;
    --dtk-text-faint: rgba(238, 240, 246, 0.35);
    /* camadas translúcidas sobre o fundo (branco no escuro, azul-petróleo no claro) */
    --dtk-grid: rgba(255, 255, 255, 0.035);
    --dtk-ov-02: rgba(255, 255, 255, 0.02);
    --dtk-ov-03: rgba(255, 255, 255, 0.03);
    --dtk-ov-045: rgba(255, 255, 255, 0.045);
    --dtk-ov-05: rgba(255, 255, 255, 0.05);
    --dtk-ov-065: rgba(255, 255, 255, 0.065);
}

/* ---------- Tema claro ---------- */
html[data-bs-theme="light"] {
    --dtk-orange-light: #d97a0a;
    --dtk-orange-dark: #b86206;
    --dtk-bg: #eef1f8;
    --dtk-bg-alt: #ffffff47;
    --dtk-card: rgba(255, 255, 255, 0.88);
    --dtk-card-solid: #ffffff;
    --dtk-border: rgba(24, 32, 56, 0.1);
    --dtk-border-light: rgba(24, 32, 56, 0.18);
    --dtk-text: #1b2236;
    --dtk-text-muted: rgba(27, 34, 54, 0.66);
    --dtk-shadow: 0 24px 60px rgba(32, 44, 80, 0.16);
    --dtk-bg-2: #ffffff;
    --dtk-text-faint: rgba(27, 34, 54, 0.4);
    --dtk-grid: rgba(24, 32, 56, 0.05);
    --dtk-ov-02: rgba(24, 32, 56, 0.025);
    --dtk-ov-03: rgba(24, 32, 56, 0.035);
    --dtk-ov-045: rgba(24, 32, 56, 0.05);
    --dtk-ov-05: rgba(24, 32, 56, 0.055);
    --dtk-ov-065: rgba(24, 32, 56, 0.07);
}

/* ---------- Botão de tema ---------- */
.site-theme-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1060;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--dtk-border-light);
    background: var(--dtk-card-solid);
    color: var(--dtk-text);
    box-shadow: var(--dtk-shadow);
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease;
}
.site-theme-toggle:hover { transform: translateY(-1px); border-color: var(--dtk-orange); }
.site-theme-toggle:focus-visible { outline: 3px solid rgba(247, 148, 29, 0.35); outline-offset: 2px; }
.site-theme-toggle .dtk-ico-sun { display: none; color: #ffb454; }
html[data-bs-theme="dark"] .site-theme-toggle .dtk-ico-sun { display: inline-block; }
html[data-bs-theme="dark"] .site-theme-toggle .dtk-ico-moon { display: none; }

* {
    box-sizing: border-box;
}

body {
    background: var(--dtk-bg);
    color: var(--dtk-text);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .fw-bold, .fw-semibold {
    font-family: "Poppins", "Inter", sans-serif;
}

a {
    color: var(--dtk-orange-light);
    transition: color .15s ease;
}
a:hover {
    color: var(--dtk-orange);
}

/* ---------- Fundo geral ---------- */
.auth-shell {
    position: relative;
    min-height: 100vh;
    padding: 56px 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(247, 148, 29, 0.16), transparent 38%),
        radial-gradient(circle at 88% 92%, rgba(247, 148, 29, 0.12), transparent 42%),
        radial-gradient(circle at 50% 50%, var(--dtk-bg-2) 0%, var(--dtk-bg) 70%);
}
.auth-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--dtk-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--dtk-grid) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
    pointer-events: none;
}
.auth-shell .container {
    position: relative;
}

/* ---------- Marca / logo (dentro do card de login) ---------- */
.auth-logo {
    margin-bottom: 14px;
}
.auth-logo img {
    max-height: 96px;
    max-width: 100%;
    filter: drop-shadow(0 8px 24px rgba(247, 148, 29, 0.35));
    animation: dtk-fade-in-down .6s ease both;
}

@keyframes dtk-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(41, 217, 122, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(41, 217, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(41, 217, 122, 0); }
}
@keyframes dtk-fade-in-down {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes dtk-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes dtk-fade-in-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Painel promocional (carrossel) ---------- */
/* a coluna só distribui o espaço; o visual fica no .carousel (evita moldura/gutter em volta da imagem) */
.promo-panel {
    align-items: stretch;
}
.promo-panel .carousel {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 520px;
    max-height: 760px;
    align-self: flex-start;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #0b0e17;
    box-shadow: var(--dtk-shadow);
    animation: dtk-fade-in-up .6s ease .05s both;
}
.promo-panel .carousel-inner,
.promo-panel .carousel-item {
    height: 100%;
}
.promo-panel .carousel-item {
    transition: transform .7s ease-in-out, opacity .7s ease;
}
.promo-panel .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.promo-panel .carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(10, 13, 22, 0) 62%, rgba(10, 13, 22, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}
.promo-panel .carousel-control-prev,
.promo-panel .carousel-control-next {
    z-index: 3;
    width: 56px;
    opacity: 0;
    transition: opacity .2s ease;
}
.promo-panel:hover .carousel-control-prev,
.promo-panel:hover .carousel-control-next,
.promo-panel .carousel-control-prev:focus-visible,
.promo-panel .carousel-control-next:focus-visible {
    opacity: 1;
}
.promo-panel .carousel-control-prev-icon,
.promo-panel .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(10, 13, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background-size: 45%;
    backdrop-filter: blur(6px);
    transition: background-color .2s ease, transform .2s ease;
}
.promo-panel .carousel-control-prev:hover .carousel-control-prev-icon,
.promo-panel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--dtk-orange);
    transform: scale(1.08);
}
.promo-panel .carousel-indicators {
    z-index: 3;
    margin: 0 0 16px;
    gap: 6px;
}
.promo-panel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: width .3s ease, background-color .3s ease;
}
.promo-panel .carousel-indicators .active {
    width: 26px;
    background-color: var(--dtk-orange);
}

/* ---------- Data/autor das novidades ---------- */
.auth-news-meta {
    color: var(--dtk-text-muted);
    font-size: .76rem;
    font-weight: 500;
}

/* ---------- Card de autenticação ---------- */
.auth-shell .row > .col-lg-5 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auth-card {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--dtk-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--dtk-border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--dtk-shadow);
    animation: dtk-fade-in-up .6s ease .1s both;
}

.auth-card .nav-tabs {
    border-bottom: 1px solid var(--dtk-border);
    background: var(--dtk-ov-02);
}
.auth-card .nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: var(--dtk-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 18px 0;
    background: transparent;
    position: relative;
    transition: color .15s ease;
}
.auth-card .nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dtk-orange), var(--dtk-orange-light));
    border-radius: 3px 3px 0 0;
    transform: translateX(-50%);
    transition: width .25s ease;
}
.auth-card .nav-tabs .nav-link.active {
    color: var(--dtk-orange-light);
    background: rgba(247, 148, 29, 0.06);
}
.auth-card .nav-tabs .nav-link.active::after {
    width: 64%;
}
.auth-card .nav-tabs .nav-link:hover:not(.active) {
    color: var(--dtk-text);
}

.auth-card .tab-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px !important;
}

.auth-subtitle {
    color: var(--dtk-text-muted);
    font-size: 0.88rem;
}

.auth-card .form-label {
    color: var(--dtk-text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.auth-card .form-control,
.auth-card .input-group-text {
    background-color: var(--dtk-ov-045);
    border-color: var(--dtk-border);
    color: var(--dtk-text);
    border-radius: 10px;
}
.auth-card .input-group > .form-control,
.auth-card .input-group > .input-group-text {
    border-radius: 10px;
}
.auth-card .input-group > :not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.auth-card .input-group > :not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.auth-card .input-group-text {
    color: var(--dtk-orange-light);
}
.auth-card .form-control::placeholder {
    color: var(--dtk-text-faint);
}
.auth-card .form-control:focus {
    background-color: var(--dtk-ov-065);
    border-color: var(--dtk-orange);
    color: var(--dtk-text);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.2);
}
.auth-card .input-group:focus-within .input-group-text {
    border-color: var(--dtk-orange);
    color: var(--dtk-orange);
}
.auth-card .form-check-label,
.auth-card .text-secondary {
    color: var(--dtk-text-muted) !important;
}
.auth-card .form-check-input:checked {
    background-color: var(--dtk-orange);
    border-color: var(--dtk-orange);
}

/* ---------- Botões ---------- */
.btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: .2px;
}
.btn-lg {
    padding: 12px 20px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--dtk-orange-light), var(--dtk-orange));
    border: none;
    box-shadow: 0 10px 24px rgba(247, 148, 29, 0.28);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(247, 148, 29, 0.38);
    filter: brightness(1.04);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-outline-primary {
    color: var(--dtk-orange-light);
    border-color: var(--dtk-border-light);
    background: var(--dtk-ov-02);
}
.btn-outline-primary:hover {
    background-color: rgba(247, 148, 29, 0.12);
    border-color: var(--dtk-orange);
    color: var(--dtk-orange-light);
}

.btn-secondary-blue {
    background-color: #1567d6; /* azul do Facebook um pouco mais escuro: contraste AA com texto branco */
    border: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.28);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-secondary-blue:hover {
    background-color: #1257b3;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(24, 119, 242, 0.35);
}

/* Cartão de reserva da página do Facebook (index.php): aparece quando o plugin do Facebook não pinta. */
.fb-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--dtk-border-light);
    border-radius: 14px;
    background: rgba(24, 119, 242, 0.1);
    color: var(--dtk-text);
    text-align: left;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.fb-fallback[hidden] { display: none; }
.fb-fallback:hover,
.fb-fallback:focus-visible {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.16);
    color: var(--dtk-text);
    transform: translateY(-1px);
}
.fb-fallback > .bi-facebook { flex: none; font-size: 1.9rem; color: #1877f2; }
.fb-fallback > .bi-box-arrow-up-right { flex: none; margin-left: auto; color: var(--dtk-text-muted); }
.fb-fallback span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.fb-fallback strong { font-size: .95rem; }
.fb-fallback small { color: var(--dtk-text-muted); font-size: .78rem; }

/* ---------- Seletor de gênero (toggle cards) ---------- */
.gender-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.gender-picker-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--dtk-border);
    background: var(--dtk-ov-03);
    color: var(--dtk-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    margin: 0;
}
.gender-picker-option:hover {
    border-color: var(--dtk-border-light);
    color: var(--dtk-text);
}
.form-check-input:checked + .gender-picker-option,
input:checked + .gender-picker-option {
    background: rgba(247, 148, 29, 0.12);
    border-color: var(--dtk-orange);
    color: var(--dtk-orange-light);
}

/* ---------- Aviso / disclaimer ---------- */
.disclaimer-box {
    background: rgba(247, 148, 29, 0.08);
    border: 1px solid rgba(247, 148, 29, 0.3);
    border-radius: 12px;
    color: var(--dtk-text);
}

/* ---------- Card de novidades ---------- */
.news-card {
    background: var(--dtk-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--dtk-border-light);
    border-radius: 20px;
    box-shadow: var(--dtk-shadow);
    animation: dtk-fade-in-up .6s ease .15s both;
}
.news-tile {
    background: var(--dtk-ov-03);
    border: 1px solid var(--dtk-border) !important;
    border-radius: 12px;
    padding: 16px 18px;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.news-tile:hover {
    background: rgba(247, 148, 29, 0.1);
    border-color: rgba(247, 148, 29, 0.4) !important;
    transform: translateY(-2px);
}
.news-tile-text {
    color: var(--dtk-text);
    font-weight: 500;
}

.dtk-news-modal-dialog .modal-content {
    background: var(--dtk-card-solid);
    color: var(--dtk-text);
    border: 1px solid var(--dtk-border-light);
    border-radius: 16px;
}
.dtk-news-modal-header {
    border-bottom: 1px solid var(--dtk-border);
}
.dtk-news-modal-meta {
    color: var(--dtk-text-muted);
    font-size: 0.85rem;
}

/* ---------- Modais padrão ---------- */
.modal-content {
    background: var(--dtk-card-solid);
    color: var(--dtk-text);
    border: 1px solid var(--dtk-border-light);
    border-radius: 16px;
}
.modal-header,
.modal-footer {
    border-color: var(--dtk-border);
}

/* ---------- Módulos da página de login (modulos/): contêiner, larguras e barra de carregamento ---------- */
.dtk-mod { margin-inline: auto; }
.dtk-mod-largo { max-width: 1040px; }
.dtk-mod-estreito { max-width: 880px; }
.dtk-mod h1:focus { outline: none; }
#dtk-view-modulo[hidden], #dtk-view-auth[hidden] { display: none !important; }
body.dtk-carregando::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    z-index: 2000;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dtk-orange), var(--dtk-orange-light), transparent) no-repeat;
    background-size: 45% 100%;
    animation: dtk-carregando 1s linear infinite;
}
@keyframes dtk-carregando { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* Estado vazio genérico usado em alguns widgets */
.dtk-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    color: var(--dtk-text-muted);
    text-align: center;
}
.dtk-empty-state i {
    font-size: 1.8rem;
    opacity: 0.6;
}

/* ---------- Página de novidades (noticias.php) ---------- */
.news-post {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--dtk-border);
    border-radius: 16px;
    background: var(--dtk-card);
    color: var(--dtk-text);
    text-decoration: none;
    box-shadow: var(--dtk-shadow);
    transition: transform .18s ease, border-color .18s ease;
}
.news-post:hover,
.news-post:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(247, 148, 29, 0.55);
    color: var(--dtk-text);
}
.news-post-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.28), rgba(247, 148, 29, 0.06)) center / cover no-repeat;
    color: var(--dtk-orange);
    font-size: 2.2rem;
}
.news-post-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 18px;
}
.news-post-meta {
    color: var(--dtk-text-muted);
    font-size: .76rem;
    font-weight: 600;
}
.news-post-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    line-height: 1.3;
}
.news-post-text {
    color: var(--dtk-text-muted);
    font-size: .88rem;
    line-height: 1.5;
}
.news-post-more {
    margin-top: auto;
    padding-top: 6px;
    color: var(--dtk-orange);
    font-size: .84rem;
    font-weight: 700;
}
.news-body {
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
    .auth-shell {
        padding: 32px 16px;
    }
    .auth-card .tab-content {
        padding: 24px !important;
    }
}
@media (max-width: 575.98px) {
    .auth-card .btn-lg {
        font-size: 1rem;
        padding: .75rem 1rem;
        white-space: nowrap;
    }
    .auth-logo img {
        max-height: 72px;
    }
    .auth-card .nav-tabs .nav-link {
        font-size: 0.88rem;
        padding: 14px 0;
    }
    .auth-card .tab-content {
        padding: 18px !important;
    }
    .news-card {
        padding: 20px !important;
    }
}

/* ---------- Páginas legais (privacidade): o texto/cartão fica em modulos/css/componentes.css ---------- */
.legal-shell { padding-top: 40px; padding-bottom: 64px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
    .site-theme-toggle, .legal-toc, .legal-foot .btn { display: none !important; }
    .auth-shell, .legal-card { background: #fff !important; box-shadow: none !important; }
    .legal-card, .legal-card * { color: #111 !important; }
}

/* ==========================================================================
   Elevação visual (15/10/2026): barra superior, aviso de erro/sucesso no cartão, validação ao vivo,
   mostrar/ocultar senha, medidor de senha, quadro de regras, banner para celular e tela de boas-vindas.
   Tudo usa as variáveis --dtk-* acima, então vale para o tema claro e o escuro.
   ========================================================================== */

/* ---------- acessibilidade geral ---------- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -64px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--dtk-orange);
    color: #1b1204;
    font-weight: 700;
    text-decoration: none;
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #1b1204; }
.auth-shell a:focus-visible,
.auth-shell button:focus-visible,
.site-topbar a:focus-visible,
.site-footer a:focus-visible,
.news-post:focus-visible,
.auth-card summary:focus-visible {
    outline: 3px solid rgba(247, 148, 29, 0.6);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- barra superior das páginas públicas ---------- */
.site-topbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: var(--dtk-bg);
    background: color-mix(in srgb, var(--dtk-bg) 84%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dtk-border);
}
.site-topbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: var(--dtk-text);
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}
.site-brand:hover { color: var(--dtk-text); }
.site-brand img { width: auto; height: 40px; filter: drop-shadow(0 4px 10px rgba(247, 148, 29, 0.35)); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--dtk-text-muted);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    background: rgba(247, 148, 29, 0.12);
    border-color: rgba(247, 148, 29, 0.3);
    color: var(--dtk-orange-light);
}
.site-topbar .site-theme-toggle {
    position: static;
    flex: none;
    width: 42px;
    height: 42px;
    box-shadow: none;
}
.auth-shell { min-height: calc(100vh - 63px); padding-top: 36px; }
.auth-shell-centro { display: flex; align-items: center; min-height: 100vh; padding-top: 56px; }
.auth-shell-centro > .container { width: 100%; }

/* ---------- banner de apresentação (só celular/tablet; no desktop aparece o carrossel) ---------- */
.auth-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 230px;
    margin: 0 auto 16px;
    max-width: 640px;
    overflow: hidden;
    border: 1px solid var(--dtk-border-light);
    border-radius: 20px;
    background: #0b0e17;
    box-shadow: var(--dtk-shadow);
    animation: dtk-fade-in-up .5s ease both;
}
.auth-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}
.auth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 13, 22, 0.35) 0%, rgba(10, 13, 22, 0.62) 45%, rgba(10, 13, 22, 0.94) 100%);
}
.auth-hero-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    color: #fff;
}
.auth-hero-kicker { color: #ffb454; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.auth-hero-text strong { font-family: "Poppins", "Inter", sans-serif; font-size: 1.2rem; line-height: 1.25; }
.auth-hero-cta { display: flex; gap: 8px; margin-top: 6px; }
.auth-hero-cta .btn-outline-primary { background: rgba(10, 13, 22, 0.55); border-color: rgba(255, 255, 255, 0.35); color: #fff; }

/* ---------- logo do cartão: proporção fixa (o PNG leve tem a mesma proporção do original) ---------- */
.auth-logo img { width: auto; height: 80px; max-height: none; }

/* ---------- botões: texto escuro no laranja (contraste AA), estado "carregando" ---------- */
.btn-primary {
    --bs-btn-color: #1b1204;
    --bs-btn-hover-color: #1b1204;
    --bs-btn-active-color: #1b1204;
    --bs-btn-disabled-color: #1b1204;
    color: #1b1204;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { color: #1b1204; }
.btn .btn-spinner { display: none; margin-right: 8px; vertical-align: -2px; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading { cursor: progress; }
.btn-primary:disabled, .btn-primary.disabled { filter: saturate(.7); }

/* ---------- aviso de erro/sucesso dentro do cartão ---------- */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 12px;
    font-size: .9rem;
    line-height: 1.45;
    animation: dtk-fade-in .3s ease both;
}
.auth-alert > i { flex: none; margin-top: 2px; }
.auth-alert:focus { outline: none; box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.35); }
.auth-alert-erro { background: rgba(229, 72, 77, 0.12); border-color: rgba(229, 72, 77, 0.5); color: #ffb9bb; }
.auth-alert-ok { background: rgba(41, 217, 122, 0.12); border-color: rgba(41, 217, 122, 0.5); color: #9af2c4; }
html[data-bs-theme="light"] .auth-alert-erro { background: rgba(229, 72, 77, 0.09); color: #a4161a; }
html[data-bs-theme="light"] .auth-alert-ok { background: rgba(31, 169, 99, 0.1); color: #0b6b3a; }

/* ---------- campos: mostrar senha, ajuda, validação ---------- */
.auth-card .btn-eye {
    width: 46px;
    padding: 0;
    background: var(--dtk-ov-045);
    border: 1px solid var(--dtk-border);
    color: var(--dtk-text-muted);
    box-shadow: none;
}
.auth-card .btn-eye:hover, .auth-card .btn-eye:focus-visible { color: var(--dtk-orange); border-color: var(--dtk-orange); }
.auth-card .input-group:focus-within .btn-eye { border-color: var(--dtk-orange); }
.auth-card .form-control.is-invalid,
.auth-card .form-control.is-valid { background-image: none; padding-right: .75rem; }
.auth-card .form-control.is-invalid { border-color: #e5484d; }
.auth-card .form-control.is-valid { border-color: rgba(41, 217, 122, 0.65); }
.auth-card .form-control.is-invalid:focus { box-shadow: 0 0 0 .2rem rgba(229, 72, 77, 0.25); }
.auth-card .input-group:has(.is-invalid) .input-group-text { border-color: #e5484d; }
.auth-ajuda { margin-top: 6px; color: var(--dtk-text-muted); font-size: .78rem; line-height: 1.35; }
.auth-ajuda.is-erro { color: #ff8f93; font-weight: 600; }
html[data-bs-theme="light"] .auth-ajuda.is-erro { color: #b3261e; }
.auth-caps { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: #ffb454; font-size: .78rem; font-weight: 600; }
.auth-caps[hidden] { display: none; }
html[data-bs-theme="light"] .auth-caps { color: #9a5200; }

.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.pw-meter span { height: 4px; border-radius: 4px; background: var(--dtk-ov-065); transition: background-color .2s ease; }
.pw-meter[data-nivel="1"] span:nth-child(-n+1) { background: #e5484d; }
.pw-meter[data-nivel="2"] span:nth-child(-n+2) { background: #f5a524; }
.pw-meter[data-nivel="3"] span:nth-child(-n+3) { background: #9bd13d; }
.pw-meter[data-nivel="4"] span { background: #29d97a; }

.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--dtk-text-faint); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--dtk-border); }
.auth-switch { color: var(--dtk-text-muted); }
.auth-switch a { font-weight: 700; }

/* ---------- quadro "Antes de criar sua conta" ---------- */
.auth-rules {
    margin-bottom: 18px;
    border: 1px solid rgba(247, 148, 29, 0.3);
    border-radius: 14px;
    background: rgba(247, 148, 29, 0.07);
    overflow: hidden;
}
.auth-rules summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: var(--dtk-text);
    font-size: .9rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}
.auth-rules summary::-webkit-details-marker { display: none; }
.auth-rules summary > i:first-child { color: var(--dtk-orange); }
.auth-rules-seta { margin-left: auto; color: var(--dtk-text-muted); transition: transform .2s ease; }
.auth-rules[open] .auth-rules-seta { transform: rotate(180deg); }
.auth-rules ul { display: grid; gap: 10px; margin: 0; padding: 0 14px 14px; list-style: none; }
.auth-rules li { display: flex; gap: 10px; color: var(--dtk-text-muted); font-size: .84rem; line-height: 1.45; }
.auth-rules li > i { flex: none; margin-top: 2px; color: var(--dtk-orange-light); font-size: 1rem; }
.auth-rules li b { color: var(--dtk-text); }
.auth-rules .auth-rules-aviso { padding: 10px 12px; border: 1px solid rgba(229, 72, 77, 0.3); border-radius: 10px; background: rgba(229, 72, 77, 0.09); }
.auth-rules .auth-rules-aviso > i { color: #ff6b6f; }

/* ---------- tela de boas-vindas depois do login ---------- */
.auth-welcome-icon {
    align-self: center; /* o .auth-card é uma coluna flex: sem isso o ícone ficava colado à esquerda */
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6ff0b0, #29d97a);
    box-shadow: 0 0 0 8px rgba(41, 217, 122, 0.16), 0 16px 40px rgba(41, 217, 122, 0.35);
    color: #06210f;
    font-size: 2.2rem;
    animation: dtk-pop .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
.auth-progress { height: 6px; overflow: hidden; border-radius: 6px; background: var(--dtk-ov-065); }
.auth-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--dtk-orange), var(--dtk-orange-light)); animation: dtk-progress 1.1s linear forwards; }
@keyframes dtk-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes dtk-progress { to { width: 100%; } }

/* ---------- novidades: ícone no cartão e estado vazio ---------- */
.news-tile-ico {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(247, 148, 29, 0.14);
    color: var(--dtk-orange-light);
    font-size: 1.1rem;
}
.news-card .dtk-empty-state { padding: 12px; }

/* ---------- celular ---------- */
@media (max-width: 575.98px) {
    .site-topbar-inner { gap: 6px; }
    .site-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .site-nav a { justify-content: center; width: 44px; height: 44px; padding: 0; }
    .site-nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .site-topbar .site-theme-toggle { width: 44px; height: 44px; }
    .auth-shell { padding-top: 20px; }
    .auth-logo img { height: 64px; max-height: none; }
    .auth-card .form-control { font-size: 16px; } /* 16px: o iPhone não dá zoom ao focar o campo */
    .auth-hero { min-height: 220px; }
}

/* o carrossel fica visível ao lado do cartão, mesmo quando o cadastro deixa o cartão bem mais alto */
@media (min-width: 992px) {
    /* overflow:hidden viraria o "quadro de rolagem" do sticky; overflow:clip corta igual sem isso (navegador sem suporte só não acompanha) */
    @supports (overflow: clip) {
        .auth-shell { overflow: clip; }
        .promo-panel .carousel { position: sticky; top: 82px; height: min(760px, calc(100vh - 110px)); min-height: 520px; }
    }
}

/* ==========================================================================
   Página de novidades (noticias.php): migalhas, busca, destaque, leitura, compartilhar, anterior/próxima
   ========================================================================== */
.news-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-bottom: 18px;
    color: var(--dtk-text-muted);
    font-size: .84rem;
}
.news-crumbs a { color: var(--dtk-text-muted); font-weight: 600; text-decoration: none; }
.news-crumbs a:hover { color: var(--dtk-orange); }
.news-crumbs > i.bi-chevron-right { font-size: .65rem; opacity: .6; }
.news-crumbs [aria-current="page"] { color: var(--dtk-text); font-weight: 600; }

.news-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.news-busca { position: relative; flex: 1 1 280px; max-width: 380px; }
.news-busca > i.bi-search { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: var(--dtk-text-muted); pointer-events: none; }
.news-busca .form-control {
    padding: 11px 40px 11px 40px;
    border: 1px solid var(--dtk-border-light);
    border-radius: 12px;
    background-color: var(--dtk-ov-045);
    color: var(--dtk-text);
}
.news-busca .form-control::placeholder { color: var(--dtk-text-faint); }
.news-busca .form-control:focus { border-color: var(--dtk-orange); background-color: var(--dtk-ov-065); color: var(--dtk-text); box-shadow: 0 0 0 .2rem rgba(247, 148, 29, 0.2); }
.news-busca-limpar {
    position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    color: var(--dtk-text-muted); text-decoration: none;
}
.news-busca-limpar:hover { background: var(--dtk-ov-065); color: var(--dtk-orange); }
.news-resultado { margin: -8px 0 16px; color: var(--dtk-text-muted); font-size: .9rem; }
.news-resultado strong { color: var(--dtk-text); }

/* capas: <img> com lazy-load no lugar do background-image */
.news-post-cover { position: relative; overflow: hidden; }
.news-post-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-post:hover .news-post-cover > img { transform: scale(1.04); }
.news-post-cover > i { font-size: 2.2rem; }

/* destaque da primeira página */
.news-destaque {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--dtk-border-light);
    border-radius: 20px;
    background: var(--dtk-card);
    box-shadow: var(--dtk-shadow);
    color: var(--dtk-text);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease;
}
.news-destaque:hover, .news-destaque:focus-visible { transform: translateY(-3px); border-color: rgba(247, 148, 29, 0.55); color: var(--dtk-text); }
.news-destaque-capa {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 260px;
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.3), rgba(247, 148, 29, 0.06));
    color: var(--dtk-orange); font-size: 3rem;
}
.news-destaque-capa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-destaque-corpo { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(20px, 3.4vw, 34px); }
.news-destaque-selo {
    align-self: flex-start;
    padding: 4px 12px; border-radius: 999px;
    border: 1px solid rgba(247, 148, 29, 0.35); background: rgba(247, 148, 29, 0.12);
    color: var(--dtk-orange-light); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.news-destaque-titulo { font-family: "Poppins", "Inter", sans-serif; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.25; }
.news-destaque .news-post-text { font-size: .95rem; }

/* leitura de uma publicação */
.news-artigo { max-width: 820px; margin-inline: auto; }
.news-artigo-cab h1 { letter-spacing: -.01em; line-height: 1.2; }
.news-artigo-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--dtk-border); color: var(--dtk-text-muted); font-size: .86rem; }
.news-artigo-meta i { margin-right: 4px; color: var(--dtk-orange-light); }
.news-artigo-capa { margin: 0 0 24px; overflow: hidden; border-radius: 14px; }
.news-artigo-capa img { display: block; width: 100%; height: auto; }
.news-body { font-size: 1.02rem; line-height: 1.75; color: var(--dtk-text); }
.news-body > :first-child { margin-top: 0; }
.news-body p { margin: 0 0 1.1em; }
.news-body h2, .news-body h3, .news-body h4 { margin: 1.6em 0 .6em; font-weight: 700; line-height: 1.3; }
.news-body ul, .news-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.news-body li { margin-bottom: .35em; }
.news-body a { color: var(--dtk-orange-light); text-decoration: underline; text-underline-offset: 2px; }
.news-body blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--dtk-orange); border-radius: 0 10px 10px 0; background: rgba(247, 148, 29, 0.08); color: var(--dtk-text-muted); }
.news-body table { display: block; max-width: 100%; margin-bottom: 1.1em; overflow-x: auto; }
.news-body iframe, .news-body video { max-width: 100%; }
.news-body hr { border-color: var(--dtk-border); opacity: 1; }

.news-compartilhar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--dtk-border); }
.news-compartilhar-rotulo { margin-right: 4px; color: var(--dtk-text-muted); font-size: .86rem; font-weight: 600; }
.news-compartilhar .btn.is-copiado { border-color: #29d97a; color: #29d97a; }

.news-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 820px; margin: 16px auto 0; }
.news-prevnext-item {
    display: flex; flex-direction: column; gap: 4px; padding: 14px 18px;
    border: 1px solid var(--dtk-border); border-radius: 14px; background: var(--dtk-card);
    color: var(--dtk-text); text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.news-prevnext-item:hover, .news-prevnext-item:focus-visible { border-color: rgba(247, 148, 29, 0.55); transform: translateY(-2px); color: var(--dtk-text); }
.news-prevnext-item small { color: var(--dtk-orange-light); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.news-prevnext-item strong { font-size: .94rem; line-height: 1.3; }
.news-prevnext-dir { text-align: right; grid-column: 2; }
.news-relacionadas { max-width: 820px; margin: 36px auto 0; }
.news-relacionadas .news-post-cover { aspect-ratio: 16 / 8; }

/* paginação na cor do tema */
.pagination { --bs-pagination-bg: var(--dtk-card); --bs-pagination-color: var(--dtk-text); --bs-pagination-border-color: var(--dtk-border);
    --bs-pagination-hover-bg: rgba(247, 148, 29, 0.12); --bs-pagination-hover-color: var(--dtk-orange-light); --bs-pagination-hover-border-color: rgba(247, 148, 29, 0.4);
    --bs-pagination-focus-color: var(--dtk-orange-light); --bs-pagination-focus-bg: rgba(247, 148, 29, 0.12);
    --bs-pagination-active-bg: var(--dtk-orange); --bs-pagination-active-border-color: var(--dtk-orange); --bs-pagination-active-color: #1b1204;
    --bs-pagination-disabled-bg: var(--dtk-ov-03); --bs-pagination-disabled-color: var(--dtk-text-faint); --bs-pagination-disabled-border-color: var(--dtk-border); }

@media (max-width: 767.98px) {
    .news-destaque { grid-template-columns: 1fr; }
    .news-destaque-capa { min-height: 180px; }
    .news-busca { max-width: none; flex-basis: 100%; }
    .news-prevnext { grid-template-columns: 1fr; }
    .news-prevnext-dir { grid-column: auto; text-align: left; }
    .news-artigo-cab h1 { font-size: 1.55rem; }
}

/* celular: as publicações viram linhas compactas (miniatura + texto) para a lista não ficar interminável */
@media (max-width: 575.98px) {
    .news-post { flex-direction: row; }
    .news-post-cover { flex: 0 0 108px; width: 108px; aspect-ratio: auto; font-size: 1.6rem; }
    .news-post-cover > i { font-size: 1.6rem; }
    .news-post-body { gap: 4px; padding: 12px 14px; min-width: 0; }
    .news-post-title { font-size: .96rem; }
    .news-post-text { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .82rem; }
    .news-post-more { display: none; }
    .news-relacionadas .news-post-cover { aspect-ratio: auto; }
}

/* tema claro: o laranja do item ativo (#d97a0a) tinha só 2,5:1 de contraste sobre o fundo claro; este tom escuro passa de 4,5:1 */
html[data-bs-theme="light"] .site-nav a:hover,
html[data-bs-theme="light"] .site-nav a:focus-visible,
html[data-bs-theme="light"] .site-nav a[aria-current="page"] { color: #8a4a00; }

/* ==========================================================================
   Ideias trazidas do site de referência (visual "neon" de jogo), no jeito do nosso: mesmas cores e fontes, sem copiar nada.
   Selo de status do servidor, aviso de cookies, seção Comunidade, central de ajuda (FAQ), textos em gradiente, brilho nos cartões.
   ========================================================================== */

/* ---------- brilho passando no botão principal e nos cartões ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
    transform: translateX(-120%);
    pointer-events: none;
}
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(120%); transition: transform .7s ease; }
.news-post:hover, .news-post:focus-visible, .news-destaque:hover, .news-destaque:focus-visible {
    box-shadow: var(--dtk-shadow), 0 0 44px rgba(247, 148, 29, 0.2);
}
.auth-logo img { animation: dtk-fade-in-down .6s ease both, dtk-float 6s ease-in-out .8s infinite; }
@keyframes dtk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
#dtk-view-modulo > .dtk-mod { animation: dtk-fade-in-up .4s ease both; }

/* ---------- selo de status do servidor ---------- */
.dtk-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--dtk-border-light);
    border-radius: 999px;
    background: var(--dtk-ov-045);
    color: var(--dtk-text);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.dtk-status-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--dtk-text-muted); }
.dtk-status.is-loading .dtk-status-dot { animation: dtk-pisca 1s ease-in-out infinite; }
.dtk-status.is-online .dtk-status-dot { background: #29d97a; animation: dtk-pulse 2s infinite; }
.dtk-status.is-online { border-color: rgba(41, 217, 122, 0.4); }
.dtk-status.is-offline { border-color: rgba(229, 72, 77, 0.5); color: #ff8f93; }
.dtk-status.is-offline .dtk-status-dot { background: #e5484d; }
.dtk-status.is-erro { color: var(--dtk-text-muted); }
html[data-bs-theme="light"] .dtk-status.is-offline { color: #b02a37; }
@keyframes dtk-pisca { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.site-status { flex: none; padding: 9px; }
.site-status .dtk-status-texto { display: none; }
@media (min-width: 1200px) {
    .site-status { padding: 6px 12px; }
    .site-status .dtk-status-texto { display: inline; }
}
.dtk-status-chip { align-self: flex-start; border-color: rgba(255, 255, 255, 0.28); background: rgba(10, 13, 22, 0.6); color: #fff; }
.dtk-status-chip.is-offline { color: #ffb3b5; }
.dtk-status-chip.is-erro { color: rgba(255, 255, 255, 0.75); }

/* ---------- topo: nome some em telas médias e os rótulos só em telas maiores (cabe o selo de status) ---------- */
@media (max-width: 991.98px) {
    .site-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 767.98px) {
    .site-nav a { justify-content: center; width: 44px; height: 44px; padding: 0; }
    .site-nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 575.98px) { .site-nav-extra { display: none; } }

/* ---------- tema claro: laranja em TEXTO pequeno precisa de um tom mais escuro (o #d97a0a só chega a 3:1 sobre branco; este passa de 6:1) ---------- */
:where(html[data-bs-theme="light"]) a { color: #8a4a00; }
:where(html[data-bs-theme="light"]) a:hover { color: #5f3200; }
html[data-bs-theme="light"] .btn-outline-primary { color: #8a4a00; }
html[data-bs-theme="light"] .btn-outline-primary:hover { color: #5f3200; }
html[data-bs-theme="light"] .news-body a,
html[data-bs-theme="light"] .dtk-consent-corpo a,
html[data-bs-theme="light"] .news-post-more,
html[data-bs-theme="light"] .news-prevnext-item small,
html[data-bs-theme="light"] .news-destaque-selo,
html[data-bs-theme="light"] .auth-card .nav-tabs .nav-link.active { color: #8a4a00; }
