﻿/* Estilos personalizados para Lean Institute Brasil */

/* Import Google Font Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');



/* Variáveis de cores */
:root {
    --primary-purple: #29235C;
    --secondary-purple: #394195;
    --accent-blue: #2563EB;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --background-light: #F9FAFB;
    --border-light: #E5E7EB;
    --color-gray-900: 17, 24, 39;
    --tw-bg-opacity: 0.55;
}

/* Estilos gerais */
/* body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
} */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    /* Transition for page effects - DISABLED to fix Modal positioning (Stacking Context issue) */
    /* transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1); */
    /* transform-style: preserve-3d; */
    /* will-change: transform, opacity; */
}

/* ============================================================
   Anti-FOUC global para mg-btn (slide-up swap animation).
   Enquanto o initMgButtons nao fez o upgrade do markup
   (ou seja, enquanto o elemento ainda NAO tem a classe .mg-btn
   adicionada por upgradeMgBtn), o conteudo cru visivel do botao
   (texto cor, SVG, spans comuns) permanece transparente/opaco 0
   para evitar o "piscar" causado por:
     1. ordem errada icone/texto (icone direita -> esquerda via row-reverse)
     2. gap diferente entre icone e texto (8px cru -> 10px upgraded)
     3. padding-bottom no texto (2px no swap)
   O esqueleto do botao (fundo, altura, largura, border-radius, cor)
   permanece intacto, evitando layout shift.
   ============================================================ */
.mg-btn-auto:not(.mg-btn) {
  color: transparent !important;
}
.mg-btn-auto:not(.mg-btn) > svg,
.mg-btn-auto:not(.mg-btn) > img,
.mg-btn-auto:not(.mg-btn) > span:not(.mg-btn__inner):not(.mg-btn__swap):not(.mg-btn__swap-text):not(.mg-btn__icon-wrap):not(.mg-btn__icon) {
  opacity: 0 !important;
  visibility: hidden !important;
}

.public-pagination .pagination {
    flex-wrap: wrap;
    gap: 6px;
}

.public-pagination .page-item {
    margin: 0;
}

.public-pagination .page-link {
    border-radius: 10px;
    border: 1px solid var(--border-light);
    color: var(--primary-purple);
    padding: 10px 14px;
    font-weight: 600;
    box-shadow: none;
}

.public-pagination .page-link:hover,
.public-pagination .page-link:focus {
    background: rgba(41, 35, 92, 0.06);
    color: var(--primary-purple);
}

.public-pagination .page-item.active .page-link {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #fff;
}

.public-pagination .page-item.disabled .page-link {
    background: #f3f4f6;
    border-color: var(--border-light);
    color: var(--text-light);
}

.payment-card-preview {
    width: 100%;
    max-width: 325px;
    min-height: 190px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.18);
    perspective: 1100px;
}

.payment-card-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 300px at 10% 0%, rgba(255,255,255,0.15), rgba(255,255,255,0) 55%),
        radial-gradient(700px 240px at 95% 60%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%),
        linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
    pointer-events: none;
}

.payment-card-preview.is-flipped::before {
    background:
        radial-gradient(900px 300px at 10% 0%, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%),
        radial-gradient(700px 240px at 95% 60%, rgba(255,255,255,0.16), rgba(255,255,255,0) 60%),
        linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
}

.payment-card-preview > * {
    position: relative;
    z-index: 1;
}

.payment-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 190px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.payment-card-preview.is-flipped .payment-card-inner {
    transform: rotateY(180deg);
}

.payment-card-face {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backface-visibility: hidden;
}

.payment-card-face--back {
    transform: rotateY(180deg);
}

.payment-card-back-stripe {
    height: 48px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.78);
    margin-top: 10px;
}

.payment-card-face--back {
    background: transparent;
}

.payment-card-back-signature {
    position: relative;
    width: 100%;
    margin-top: 18px;
    height: 44px;
}

.payment-card-back-cvv {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #111827;
}

.payment-card-back-signature-inner {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(255,255,255,0.78);
    box-shadow: inset 0 0 0 1px rgba(17,24,39,0.08);
}

.payment-card-back-text {
    margin-top: 18px;
    opacity: 0.40;
}

.payment-card-back-text-line {
    height: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.28);
    margin-bottom: 8px;
}

.payment-card-back-text-line:last-child {
    width: 70%;
    margin-bottom: 0;
}

.payment-card-chip {
    width: 54px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.20));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.payment-card-brand {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 72px;
    min-height: 28px;
}

.payment-card-brand-item {
    display: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
}

.payment-card-brand-item--mastercard svg {
    display: block;
}

.payment-card-number {
    font-size: 26px;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-top: 26px;
}

.payment-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.payment-card-name {
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.90;
}

.payment-card-exp {
    text-align: right;
    opacity: 0.90;
}

.payment-card-exp-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    opacity: 0.85;
}

.payment-card-exp-value {
    font-weight: 800;
    letter-spacing: 0.06em;
}

.payment-card--unknown { background: #9CA3AF; }
.payment-card--visa { background: #4F46E5; }
.payment-card--mastercard { background: #2563EB; }
.payment-card--amex { background: #059669; }
.payment-card--elo { background: #111827; }
.payment-card--hipercard { background: #B91C1C; }
.payment-card--diners { background: #0F766E; }
.payment-card--discover { background: #EA580C; }
.payment-card--jcb { background: #0EA5E9; }

.payment-card-preview[data-brand="visa"] .payment-card-brand-item--visa,
.payment-card-preview[data-brand="mastercard"] .payment-card-brand-item--mastercard,
.payment-card-preview[data-brand="amex"] .payment-card-brand-item--amex,
.payment-card-preview[data-brand="elo"] .payment-card-brand-item--elo,
.payment-card-preview[data-brand="hipercard"] .payment-card-brand-item--hipercard,
.payment-card-preview[data-brand="diners"] .payment-card-brand-item--diners,
.payment-card-preview[data-brand="discover"] .payment-card-brand-item--discover,
.payment-card-preview[data-brand="jcb"] .payment-card-brand-item--jcb {
    display: inline-flex;
    align-items: center;
}

.checkout-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-pay-option {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.42s ease, box-shadow 0.55s ease;
}

.checkout-pay-option.is-selected {
    border-color: #2563EB;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.10);
}

.checkout-pay-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    margin: 0;
}

.checkout-pay-header .form-check-input {
    margin-top: 2px;
}

.checkout-pay-body {
    padding: 0 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, padding 0.35s ease, transform 0.55s ease;
}

.checkout-pay-option.is-selected .checkout-pay-body {
    padding: 0 16px 16px 16px;
    max-height: 1400px;
    opacity: 1;
    transform: translateY(0);
}

/* Promoção (desconto geral, Admin › Promoções): selo + preço cheio riscado nas turmas e lotes. */
.lw-promo-selo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #29235c;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.lw-promo-selo .fa-tag {
    color: #f28c28;
}

.lw-preco-de {
    margin: 0 0 2px;
    color: #6b7280;
    font-size: 0.9rem;
}

.lw-preco-de s {
    text-decoration-thickness: 1px;
}

/* No painel escuro de preço da turma (workshop): selo laranja e preço riscado claro. */
.turma-ws__price .lw-promo-selo {
    align-self: center;
    background: #f28c28;
    color: #ffffff;
}

.turma-ws__price .lw-promo-selo .fa-tag {
    color: #ffffff;
}

.turma-ws__price .lw-preco-de {
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

/* PIX com QR Code (Views/Inscricao/Finalizado.cshtml): QR + valor + passos, copia e cola, status ao vivo. */
.pix-card {
    --pix-teal: #169194;
    --pix-teal-soft: #e8f5f5;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 16px;
    padding: 16px;
    background: #ffffff;
}

.pix-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pix-card__head > .flex-grow-1 {
    flex: 1 1 180px;
    min-width: 0;
}

.pix-card__logo {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pix-teal);
    background: var(--pix-teal-soft);
}

.pix-card__status {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff7e6;
    color: #8a5a00;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.pix-card__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    animation: pix-pulse 1.6s ease-in-out infinite;
}

@keyframes pix-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

.pix-card__body {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
}

.pix-card__qr {
    flex: none;
    padding: 10px;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 14px;
    background: #ffffff;
    line-height: 0;
}

.pix-card__qr img {
    width: 200px;
    height: 200px;
    image-rendering: pixelated;
}

.pix-card__valor {
    font-size: 1.6rem;
    font-weight: 700;
    color: #29235c;
    line-height: 1.2;
    margin-bottom: 4px;
}

.pix-card__passos {
    margin: 8px 0 0;
    padding-left: 1.15rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.pix-card__passos li + li {
    margin-top: 4px;
}

.pix-card__copia {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.pix-card__copia .form-control {
    min-width: 0;
    font-family: Consolas, "SFMono-Regular", Menlo, monospace;
    font-size: 0.8rem;
    background: #f8fafc;
}

.pix-card__copia .btn {
    flex: none;
    white-space: nowrap;
}

.pix-card__copia .btn.is-copied {
    background-color: #0f766e;
    border-color: #0f766e;
}

.pix-card__aviso {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--pix-teal-soft);
    color: #134e4a;
}

.pix-card__expirado {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #7f1d1d;
}

.pix-card.is-expired .pix-card__qr,
.pix-card.is-expired .pix-card__copia {
    opacity: 0.35;
    filter: grayscale(1);
    pointer-events: none;
}

.pix-card.is-paid .pix-card__aviso {
    background: #ecfdf5;
    color: #065f46;
    font-weight: 600;
}

.pix-card__deposito {
    margin-top: 12px;
}

/* Checkout: opção PIX antes de confirmar (o QR é gerado na página final). */
.pix-preview {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    background: #f3fafa;
    border: 1px solid #d5ecec;
}

.pix-preview .pix-card__logo {
    --pix-teal: #169194;
    color: #169194;
    background: #ffffff;
}

.pix-preview__lista {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: #4b5563;
}

.pix-preview__lista li + li {
    margin-top: 3px;
}

.pix-card__deposito summary {
    cursor: pointer;
    color: var(--pix-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .pix-card__body {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .pix-card__qr {
        align-self: center;
    }

    .pix-card__copia {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pix-card__pulse {
        animation: none;
    }
}

.checkout-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #169194;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
}

.checkout-action-link:hover,
.checkout-action-link:focus {
    color: #137a78;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checkout-action-link:focus-visible {
    outline: 2px solid rgba(22, 145, 148, 0.45);
    outline-offset: 2px;
    border-radius: 6px;
}

.checkout-action-link:disabled,
.checkout-action-link.disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

.fas,
.far,
.fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.far {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
}

.fab {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

.checkout-contract-consent {
    padding: 10px 14px;
    border: 1px solid #dbe7ee;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.checkout-contract-consent__link-row {
    margin-bottom: 6px;
}

.checkout-contract-consent .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkout-contract-consent .form-check-input {
    margin-top: 3px;
    flex-shrink: 0;
}

.checkout-contract-consent__label {
    font-size: 0.94rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.checkout-contract-consent__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
    margin-bottom: 0;
}

.checkout-contract-consent__validation {
    display: block;
    margin-top: 8px;
    margin-bottom: -8px;
}

.checkout-contract-consent__validation:empty {
    display: none;
    margin: 0;
}

@media (max-width: 767.98px) {
    .checkout-contract-consent {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .checkout-contract-consent .form-check {
        gap: 8px;
    }

    .checkout-contract-consent__label,
    .checkout-contract-consent__link {
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .checkout-contract-consent__link-row {
        margin-bottom: 4px;
    }

    .checkout-contract-consent__validation {
        margin-top: 6px;
        margin-bottom: -6px;
    }
}

@media (max-width: 575.98px) {
    .checkout-contract-consent {
        padding: 10px 12px;
    }

    .checkout-contract-consent .form-check-input {
        margin-top: 2px;
    }

    .checkout-contract-consent__label,
    .checkout-contract-consent__link {
        font-size: 0.9rem;
    }

    .checkout-contract-consent__validation {
        margin-top: 6px;
        margin-bottom: -4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-pay-option,
    .checkout-pay-body {
        transition: none !important;
    }
}

.ficha-cadastral__sheet {
    max-width: 980px;
    margin: 0 auto;
}

.ficha-cadastral__logo {
    width: 64px;
    height: auto;
    object-fit: contain;
}

.ficha-cadastral__block {
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 16px;
}

.ficha-cadastral__block-title {
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-purple);
}

.ficha-cadastral__label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.ficha-cadastral__value {
    font-weight: 600;
    color: var(--text-dark);
    word-break: break-word;
}

@media print {
    body {
        background: #ffffff !important;
    }

    .ficha-cadastral__no-print {
        display: none !important;
    }

    .ficha-cadastral .bg-light {
        background: #ffffff !important;
    }

    .ficha-cadastral__sheet {
        box-shadow: none !important;
        padding: 0 !important;
    }

    .ficha-cadastral__block {
        break-inside: avoid;
    }
}

/* Logo */
.logo-lean {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.logo-lean-footer {
    height: 50px;
    width: auto;
}

/* Utilitario para landing pages sem borda inferior em headers/headings */
.page-no-header-border header,
.page-no-header-border h1,
.page-no-header-border h2,
.page-no-header-border h3,
.page-no-header-border h4,
.page-no-header-border h5,
.page-no-header-border h6 {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.lib-breadcrumb {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.lib-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider: '›';
    font-size: 0.875rem;
    justify-content: flex-start;
    align-items: center;
}

.lib-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.lib-breadcrumb .breadcrumb-item a {
    color: var(--text-light);
    font-weight: 500;
}

.lib-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-purple);
}

.lib-breadcrumb .breadcrumb-item.active {
    color: var(--primary-purple);
    font-weight: 600;
}

.lib-breadcrumb__home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    line-height: 1;
}

.lib-breadcrumb__home svg {
    display: block;
}

.lib-breadcrumb__home:hover {
    color: var(--primary-purple);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1050;
    display: none;
}

.mobile-menu__panel {
    background: #f3f3f3;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(20px);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.mobile-menu__close {
    border: none;
    background: transparent;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.mobile-menu__link {
    display: block;
    padding: 12px 16px;
    background: #ededed;
    border-radius: 10px;
    font-weight: 700;
    color: #1c1c1c;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu__link:hover {
    background: #1C004D;
    color: #fff;
}

.mobile-menu__link.is-hover {
    background: #1C004D;
    color: #fff;
}

.mobile-menu__link.is-active {
    background: #1C004D;
    color: #fff;
}

.mobile-menu__footer {
    /* margin-top: auto; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.mobile-menu__icon-btn {
    border: 2px solid #1C004D;
    background: #fff;
    color: #1C004D;
    border-radius: 12px;
    padding: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-menu__icon-btn img {
    width: 22px;
    height: 22px;
}

.mobile-menu__user-btn {
    border: none;
    background: #1C004D;
    color: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 72px;
    height: 44px;
    transition: background-color 0.2s ease;
}

.mobile-menu__user-btn img {
    width: 22px;
    height: 22px;
}

.mobile-menu__icon-btn:hover { background: #f6f6f6; }
.mobile-menu__user-btn:hover { background: #2a0a70; }

.mobile-menu__lang {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.mobile-menu__lang-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Avatar com inicial (global – header/dropdown) */
.avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F3F4FF;
    color: #1C004D;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50%;
}
.avatar-initial--sm { width: 24px; height: 24px; font-size: 12px; }
.avatar-initial--md { width: 40px; height: 40px; font-size: 16px; }
.avatar-initial--lg { width: 72px; height: 72px; font-size: 28px; }

/* Divisor vertical */
.vertical-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-light);
    margin: 0 12px;
}

/* Botões */
.btn-primary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-purple);
    border-color: var(--secondary-purple);
}

.btn-outline-secondary {
    border-color: var(--border-light);
    color: var(--text-dark);
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: var(--background-light);
    border-color: var(--border-light);
    color: var(--text-dark);
}

.btn-teal {
    background-color: #169194;
    border-color: #169194;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 600;
}
.btn-teal:hover {
    background-color: #137a78;
    border-color: #137a78;
    color: #ffffff;
}
.btn-teal:disabled,
.btn-teal[disabled] {
    background-color: #169194;
    border-color: #169194;
    color: #ffffff;
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-teal:disabled:hover,
.btn-teal[disabled]:hover {
    background-color: #169194;
    border-color: #169194;
    color: #ffffff;
}

.account-page-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.account-page-container--dashboard {
    justify-content: flex-start;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.account-page-container--dashboard .account-header {
    align-items: center;
}

.account-title--left {
    text-align: left;
    margin-bottom: 0.5rem;
}

.account-subtitle {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
}

.account-page-container--dashboard .account-subtitle {
    color: #4b5563;
}

.account-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.account-page-container--dashboard .account-header-actions .btn {
    border-radius: 10px;
    font-weight: 700;
}

.account-alert {
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.account-page-container--dashboard .account-alert {
    border-radius: 14px;
}

.account-alert__title {
    font-weight: 900;
    color: #111827;
    margin-bottom: 4px;
}

.account-alert__text {
    color: #374151;
    font-weight: 600;
    line-height: 1.4;
}

.account-alert__list {
    margin: 10px 0 0 18px;
    color: #374151;
    font-weight: 700;
}

.account-alert__actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.account-alert--warning {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.08);
}

.account-alert--success {
    border-color: rgba(22, 163, 74, 0.25);
    background: rgba(22, 163, 74, 0.08);
}

.account-alert--danger {
    border-color: rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.06);
}

.account-tile {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    height: 100%;
}

.account-page-container--dashboard .account-tile {
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}

.account-tile:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.10);
    border-color: rgba(28, 0, 77, 0.35);
}

.account-tile__title svg {
    color: rgba(28, 0, 77, 0.85);
}

.account-tile__title {
    color: #111827;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.account-tile__desc {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.account-tile__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
}

.account-tile__meta-link {
    color: #1C004D;
    text-decoration: underline;
    font-weight: 700;
}

.account-tile--disabled {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
}

.account-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.account-pill--success {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
    border-color: rgba(22, 163, 74, 0.18);
}

.account-pill--muted {
    background: rgba(107, 114, 128, 0.10);
    color: #374151;
    border-color: rgba(107, 114, 128, 0.16);
}

.account-pill--info {
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.20);
}

.account-pill--warning {
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.22);
}

.account-pill--danger {
    background: rgba(220, 38, 38, 0.10);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.20);
}

.sd-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.sd-timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: rgba(28, 0, 77, 0.12);
    border-radius: 2px;
}

.sd-timeline-item {
    position: relative;
    padding-left: 44px;
    padding-bottom: 14px;
}

.sd-timeline-item:last-child {
    padding-bottom: 0;
}

.sd-timeline-dot {
    position: absolute;
    left: 7px;
    top: 16px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid rgba(28, 0, 77, 0.35);
}

.sd-timeline-card {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.04);
}

.sd-timeline-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sd-timeline-author {
    font-weight: 800;
    color: #111827;
}

.sd-timeline-date {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 700;
}

.sd-timeline-body {
    margin-top: 10px;
    color: #111827;
    line-height: 1.55;
    white-space: pre-wrap;
}

.account-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.account-card {
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 3rem;
    border: 1px solid #e5e7eb;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.account-page-container--dashboard .account-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    max-width: none;
    margin: 0;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
    border-color: rgba(229, 231, 235, 0.9);
}

.account-page-container--dashboard .account-card .form-control,
.account-page-container--dashboard .account-card .form-select {
    border-radius: 10px;
    border-color: rgba(203, 213, 225, 0.9);
    background-color: #f8fafc;
}

.account-page-container--dashboard .account-card .form-control:focus,
.account-page-container--dashboard .account-card .form-select:focus {
    background-color: #ffffff;
    border-color: rgba(28, 0, 77, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(28, 0, 77, 0.12);
}

.account-page-container--dashboard .account-card .btn {
    border-radius: 10px;
}

.account-description {
    color: #3b4290;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .account-page-container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .account-header {
        flex-direction: column;
        align-items: stretch;
    }

    .account-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .account-card {
        padding: 1.5rem;
        background-color: #f3f4f6;
        border-radius: 8px;
        margin: 0 1rem;
    }

    .account-page-container--dashboard .account-card {
        margin: 0;
    }

    .account-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
}

/* Placeholder Styles */
input::placeholder,
textarea::placeholder,
.form-control::placeholder {
    color: #6c757d !important;
    opacity: 0.6 !important; /* Reduzindo opacidade para diferenciar do texto digitado */
    font-weight: 400 !important;
}

/* Placeholder para Selects (requer atributo required e value="" na opção inicial) */
select.form-select:required:invalid,
select.form-control:required:invalid {
    color: #6c757d !important;
    opacity: 0.6 !important;
    font-weight: 400 !important;
}

select.form-select.is-placeholder,
select.form-control.is-placeholder {
    color: #6c757d !important;
    opacity: 0.6 !important;
    font-weight: 400 !important;
}

/* Garante que as opções ao abrir o dropdown sejam legíveis */
select.form-select option,
select.form-control option {
    color: #212529; /* Cor normal do texto */
    background-color: #ffffff; /* Fundo branco normal */
}

/* Opção selecionada ou com foco (dependente do navegador/OS, mas tentamos forçar) */
select.form-select option:checked,
select.form-control option:checked,
select.form-select option:hover,
select.form-control option:hover {
    color: #ffffff !important;
    background-color: #2f455a !important; /* Azul padrão bootstrap ou do tema */
}

/* Footer Styles */
.footer-border-top {
	border-top: 1px solid #29235C;
}

.footer-logo {
    width: 51%;
    max-width: 213px;
    height: auto;
}

.footer-social-text {
    color: #2B2B2B;
    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.43px;
}
.footer-contact-title {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.footer-contact-info {
    color: var(--primary-purple);
}

.footer-banner-strip {
    background-color: var(--primary-purple);
    color: white;
}

.footer-links-strip {
    background-color: #888; /* Standard Gray as requested */
    color: white;
}

.footer-legal-text {
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 3.04px;
}

.footer-links {
    background-color: var(--primary-purple);
    border-radius: 8px;
    margin-top: 2rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
}

.social-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.contact-info {
    color: var(--text-dark);
}

.contact-info svg {
    flex-shrink: 0;
}

.footer-texto-anos {
	font-family: Roboto;
	font-size: 24px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
	letter-spacing: 4px;
}

@media (max-width: 991.98px) {
.news-section{
    padding: 30px 0;
}

 .footer-container{
    max-width: 90%;
 }

 .footer-texto-anos {
	font-size: 19px;
}

.footer-contact-info {
	font-size: 13px;
}

.footer-social-icon {
	width: 27px;
	height: 27px;
}

.footer-contact-title {
	font-size: 14px;
}

.footer-social-text {
	font-size: 10px;
}

.footer-logo {
	width: 60%;
}

.news-description {
	font-size: 15px;
	padding: 30px;
}

.mobile-menu {
    display: block;
}

.header-contact { display: none; }
.header-user { display: block; }
}

.header-user {
    position: relative;
}

.mobile-menu__user {
    position: relative;
}

.user-flyout {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    padding: 8px;
    z-index: 1100;
    display: none;
}

.user-flyout__header {
    padding: 10px 12px;
}

.user-flyout__name {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.user-flyout__email {
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    word-break: break-word;
}

.user-flyout__status {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #92400e;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.user-flyout__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 6px 8px;
}

.user-flyout.is-open {
    display: block;
}

.user-flyout__item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    color: #1C004D;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: none;
    text-align: left;
}

.user-flyout__item:hover {
    background: rgba(28, 0, 77, 0.08);
    color: #1C004D;
}

.user-flyout__item--danger {
    color: #b42318;
}

.user-flyout__item--danger:hover {
    background: rgba(180, 35, 24, 0.10);
    color: #b42318;
}

.user-flyout--mobile {
    top: auto;
    bottom: calc(100% + 10px);
    right: 0;
}



/* Modais principais (Busca, Contato, Cadastro) */
#searchModal .modal-content,
#contactModal .modal-content,
#registerModal .modal-content,
#inCompanyRequestModal .modal-content {
    border-radius: 14px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    background-color: #f5f5f7;
}

#searchModal .modal-header,
#contactModal .modal-header,
#inCompanyRequestModal .modal-header,
#registerModal .modal-header {
    border-bottom: none;
    background-color: transparent;
    padding: 20px 20px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#searchModal .modal-title,
#contactModal .modal-title,
#inCompanyRequestModal .modal-title,
#registerModal .modal-title {
    font-size: 20px;
    color: #394195 !important;
    text-align: center;
}

#searchModal .modal-header .btn-close,
#contactModal .modal-header .btn-close,
#inCompanyRequestModal .modal-header .btn-close,
#registerModal .modal-header .btn-close {
    position: absolute;
    top: 14px;
    right: 14px;
}

#searchModal .modal-body,
#contactModal .modal-body,
#inCompanyRequestModal .modal-body,
#registerModal .modal-body {
    padding: 18px 20px 20px 20px;
}

#searchModal .input-group {
    border-radius: 8px;
    overflow: hidden;
}

#searchModal .form-control {
    border: 1px solid #d1d5db;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
}

#searchModal .form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: none;
}

#searchModal .input-group:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(28, 0, 77, 0.15);
    border-radius: 8px;
}

#searchModal .btn-primary {
    border-radius: 0 8px 8px 0;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    background-color: #169194;
    border-color: #169194;
    border-left: 0;
}

#searchModal .btn-primary:hover {
    background-color: #137a78;
    border-color: #137a78;
}

/* Sugestões do modal de busca (busca-modal-sugestoes.js): mesmo visual do autocompletar da Central do
   Conhecimento (.ccl-autocomplete), sobreposto: flutua abaixo do campo, por cima do fundo do modal e para
   fora da borda inferior dele (o .modal rola se a lista passar da tela). */
#searchModal #searchForm {
    position: relative;
}

#searchModal .lw-sug {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 5;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

#searchModal .lw-sug[hidden] {
    display: none;
}

#searchModal .lw-sug__lista {
    list-style: none;
    margin: 0;
    padding: 8px;
    max-height: min(420px, 55vh);
    overflow-y: auto;
}

#searchModal .lw-sug__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.14s ease;
}

#searchModal .lw-sug__item:hover,
#searchModal .lw-sug__item.is-active {
    background-color: #f7f5ff;
}

#searchModal .lw-sug__icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #94a3b8;
    margin-top: 2px;
}

#searchModal .lw-sug__corpo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
    text-align: left;
}

#searchModal .lw-sug__tipo {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

#searchModal .lw-sug__nome {
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.45;
    word-break: break-word;
}

#searchModal .lw-sug__nome strong {
    color: #1C004D;
    font-weight: 700;
}

#searchModal .lw-sug__vazio {
    padding: 20px 16px;
    text-align: center;
    color: #8b8b9e;
    font-size: 0.9rem;
}

#searchModal .lw-sug__vazio-icone {
    display: block;
    margin: 0 auto 10px;
    font-size: 1.8rem;
    opacity: 0.4;
}

#searchModal .lw-sug__lista::-webkit-scrollbar {
    width: 6px;
}

#searchModal .lw-sug__lista::-webkit-scrollbar-thumb {
    background: #e2e2ea;
    border-radius: 3px;
}

@media (max-width: 768px) {
    #searchModal .lw-sug__lista {
        max-height: min(320px, 45vh);
    }

    #searchModal .lw-sug__item {
        padding: 10px 12px;
        gap: 10px;
    }

    #searchModal .lw-sug__nome {
        font-size: 0.9rem;
    }
}

#contactModal .form-label {
    font-size: 13px;
    font-weight: 500;
    color: #000;
}

#contactModal .contact-captcha-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

#inCompanyRequestModal .contact-captcha-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

#contactModal .contact-captcha-wrap .cf-turnstile {
    width: auto;
    display: inline-flex;
}

#inCompanyRequestModal .contact-captcha-wrap .cf-turnstile {
    width: auto;
    display: inline-flex;
}

#contactModal .form-control,
#contactModal .form-select,
#inCompanyRequestModal .form-control,
#inCompanyRequestModal .form-select,
#registerModal .form-control,
#registerModal .form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
}

#searchModal .form-control::placeholder,
#contactModal .form-control::placeholder,
#inCompanyRequestModal .form-control::placeholder,
#registerModal .form-control::placeholder {
    color: #000;
    opacity: 1;
    font-size: 13px;
    font-weight: 500;
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    margin-left: 2px;
    font-size: 0.75rem;
}

small.form-text,
.form-text.small {
    font-size: 0.675em;
}

/* Centralização padrão do captcha */
.cf-turnstile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Global Form Fields (inputs e textareas) */
.form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.7rem 0.9rem;
    font-size: 13px;
    color: #000;
    font-weight: 500;
    box-shadow: none;
}
.form-control::placeholder {
    color: #000;
    opacity: 1;
    font-size: 13px;
    font-weight: 500;
}
.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(28, 0, 77, 0.15);
}

/* Global Checkbox/Radio label style (alinhado aos textbox) */
.form-check-label {
    font-size: 13px;
    color: #000;
    font-weight: 300;
}

/* Checkbox/Radio label nos modais principais (alinhado ao tamanho do input do modal) */
#registerModal .form-check-label,
#contactModal .form-check-label {
    font-size: 0.85rem;
}

/* Global Select (Dropdown) style */
.form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.7rem 0.9rem;
    font-size: 13px;
    background-color: #fff;
    color: #000;
    font-weight: 500;
}
.form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(28, 0, 77, 0.15);
}
.form-select.is-invalid,
.form-select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: none !important;
}
.form-select option {
    color: #000;
    background-color: #fff;
}
.form-select option:hover {
    background-color: #394195;
    color: #ffffff;
}
.form-select option:checked {
    background-color: #29235C;
    color: #ffffff;
}

#contactModal .form-control:focus,
#contactModal .form-select:focus,
#inCompanyRequestModal .form-control:focus,
#inCompanyRequestModal .form-select:focus,
#registerModal .form-control:focus,
#registerModal .form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(28, 0, 77, 0.15);
}

#searchModal .form-control.is-invalid,
#contactModal .form-control.is-invalid,
#contactModal .form-select.is-invalid,
.login-input.is-invalid,
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: none !important;
}

#contactModal .form-select {
    background-color: #fff;
    color: #000;
    font-weight: 500;
    font-size: 13px;
}

#inCompanyRequestModal .form-select {
    background-color: #fff;
    color: #000;
    font-weight: 500;
    font-size: 13px;
}

#contactModal .form-select option {
    color: #000;
    background-color: #fff;
    font-size: 13px;
}

#inCompanyRequestModal .form-select option {
    color: #000;
    background-color: #fff;
    font-size: 13px;
}

#contactModal .form-select option:hover {
    background-color: #394195;
    color: #ffffff;
}

#inCompanyRequestModal .form-select option:hover {
    background-color: #394195;
    color: #ffffff;
}

#contactModal .form-select option:checked {
    background-color: #29235C;
    color: #ffffff;
}

#inCompanyRequestModal .form-select option:checked {
    background-color: #29235C;
    color: #ffffff;
}

#contactModal .btn-outline-secondary {
    border-color: #169194;
    color: #169194;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
}

#contactModal .btn-outline-secondary:hover {
    background-color: #E6F4F4;
    border-color: #137a78;
    color: #137a78;
}

#contactModal .btn-primary {
    background-color: #169194;
    border-color: #169194;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
}

#contactModal .btn-primary:hover {
    background-color: #137a78;
    border-color: #137a78;
}

#contactModal .contact-modal-info,
#inCompanyRequestModal .contact-modal-info,
#registerModal .contact-modal-info {
    text-align: center;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.35;
    font-size: 0.92rem;
}

#contactModal .contact-info-card {
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.35;
}

#inCompanyRequestModal .contact-info-card {
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.35;
}

#contactModal .contact-info-card .name {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

#inCompanyRequestModal .contact-info-card .name {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

#contactModal .contact-info-card .contact-security {
    font-size: 0.72rem;
}

#inCompanyRequestModal .contact-info-card .contact-security {
    font-size: 0.72rem;
}

#contactModal .contact-modal-info .name,
#inCompanyRequestModal .contact-modal-info .name,
#registerModal .contact-modal-info .name {
    color: #ff8c00;
    font-weight: 700;
    font-size: 1.05rem;
}

#contactModal .contact-hint {
    font-size: 0.75rem;
    color: #9aa0a6;
}

/* Assunto vindo do botão que abriu o Fale Conosco (partial _ContatoForm; preenchido por contato-modal.js) */
.contact-assunto {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff4e8;
    border-left: 4px solid #ff8000;
    font-size: 0.9rem;
    color: #29235c;
}

.contact-assunto__label {
    color: #6c757d;
}

.contact-assunto__texto {
    color: #29235c;
}

.contact-assunto__dica {
    flex-basis: 100%;
    font-size: 0.78rem;
    color: #6c757d;
}

/* Preferência de retorno (WhatsApp / e-mail / telefone) e linha LGPD da partial _ContatoForm */
.contact-pref {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.contact-pref__label {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.contact-pref__opcao {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.9rem;
    color: #29235c;
    cursor: pointer;
    min-height: 36px;
}

.contact-pref__opcao input {
    accent-color: #ff8000;
    width: 16px;
    height: 16px;
    margin: 0;
}

.contact-lgpd {
    font-size: 0.78rem;
    color: #6c757d;
    text-align: center;
    line-height: 1.4;
}

.contact-lgpd a {
    color: #29235c;
    text-decoration: underline;
}

#contactModal .contact-security,
#registerModal .contact-security {
    color: #9aa0a6;
    font-size: 0.75rem;
    line-height: 1.35;
}

#contactModal .contact-security-line,
#registerModal .contact-security-line {
    margin: 0;
}

#contactModal .cf-turnstile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Responsividade: ações do contato e busca empilhadas no mobile */
@media (max-width: 576px) {
    #contactModal .contact-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    #contactModal .contact-actions .btn {
        width: 100%;
    }
    #registerModal .contact-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    #registerModal .contact-actions .btn {
        width: 100%;
    }
    #searchModal .input-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    #searchModal .input-group .btn {
        width: 100%;
        border-radius: 8px;
    }
    /* O Bootstrap dá width: 1% ao campo do input-group; empilhado em coluna ele virava um toco. */
    #searchModal .input-group .form-control {
        width: 100%;
        flex: 0 0 auto;
        border-right: 1px solid #d1d5db;
        border-radius: 8px !important;
    }
    #searchModal .input-group {
        overflow: visible;
    }
}
#loginModal .modal-dialog,
#registerModal .modal-dialog,
#recoverPasswordModal .modal-dialog {
    max-width: 480px;
}

#registerModal .modal-dialog { max-width: 720px; }

#loginModal .modal-content,
#registerModal .modal-content,
#recoverPasswordModal .modal-content {
    border-radius: 14px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    background: transparent;
}

#registerModal .modal-body { padding: 0 !important; }

/* Backdrop único para todos os modais */
.modal-backdrop {
    transition: none !important;
}
.modal-backdrop.show {
    background-color: rgba(var(--color-gray-900), var(--tw-bg-opacity));
}

.login-card {
    position: relative;
    margin: 0 auto;
    padding: 24px 18px 16px 18px;
    border-radius: 14px;
    background-color: #f5f5f7;
    border: 1px solid #e5e7eb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
}

.login-card-header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-card-logo img {
    width: 32px;
    height: 32px;
}

.login-card-close {
    border: none;
    background: transparent;
    padding: 0;
    line-height: 1;
    font-size: 20px;
    color: #525252;
    position: absolute;
    top: 4px;
    right: 4px;
}

.login-card-body {
    padding: 4px 2px 4px 2px;
}

.login-card-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.login-label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #000;
}

.login-input {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
}

.login-input.has-toggle { padding-right: 42px; }
.form-control.has-toggle { padding-right: 42px; }

.password-field { position: relative; }
/* Padrão global de posicionamento do botão de toggle de senha */
.password-field .password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.password-field .password-toggle-btn:hover { color: #4b5563; }
.password-field .password-toggle-btn:focus { outline: none; }
.password-field .password-toggle-btn svg { width: 20px; height: 20px; }
#loginModal .password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#loginModal .password-toggle-btn:hover { color: #4b5563; }
#loginModal .password-toggle-btn:focus { outline: none; }
#loginModal .password-toggle-btn svg { width: 20px; height: 20px; }

#registerModal .password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#registerModal .password-toggle-btn:hover { color: #4b5563; }
#registerModal .password-toggle-btn:focus { outline: none; }

.char-counter-field .input-char-count {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 0.35rem;
    border-radius: 0.35rem;
    line-height: 1.2;
    pointer-events: none;
    z-index: 2;
}

.char-counter-field .input-char-count--textarea {
    top: auto;
    bottom: 0.5rem;
    transform: none;
}

.char-counter-field input.has-char-counter,
.char-counter-field textarea.has-char-counter {
    padding-right: 4.75rem;
}

.char-counter-field.char-counter-has-toggle .input-char-count {
    right: 2.75rem;
}

.char-counter-field.char-counter-has-toggle input.has-char-counter,
.char-counter-field.char-counter-has-toggle textarea.has-char-counter {
    padding-right: 7rem;
}
#registerModal .password-toggle-btn svg { width: 20px; height: 20px; }

.password-rules-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    color: #169194;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
}

#registerModal .password-rules-toggle {
    font-size: 12px;
}

#registerModal .password-rules-toggle:hover { text-decoration: none; }

.password-rules-toggle::after {
    content: "▾";
    font-size: 0.8rem;
    line-height: 1;
    transition: transform 0.15s ease;
}

.password-rules-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.password-rules-toggle:hover {
    color: #137a78;
    text-decoration: underline;
}

.password-rules-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(22, 145, 148, 0.18);
    border-radius: 8px;
}

.password-rules-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
}

.password-rules-panel .password-rule-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.password-rules-panel .password-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 2px;
    color: #991b1b;
    font-size: 0.85rem;
    line-height: 1.35;
}

.password-rules-panel .password-rule-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    background: #fee2e2;
    color: #ef4444;
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    margin-top: 1px;
}

.password-rules-panel .password-rule-item.is-valid {
    color: #166534;
}

.password-rules-panel .password-rule-item.is-valid .password-rule-icon {
    background: #dcfce7;
    color: #16a34a;
}

.password-rules-panel .password-rule-item.is-valid .password-rule-icon {
    font-weight: 900;
}

.password-rules-panel .password-rule-label {
    flex: 1;
}

#registerModal .password-rules-panel {
    background: #f9fafb;
}

#registerModal .password-rules-panel .password-rule-item {
    font-size: 12px;
}

#registerModal .btn-outline-secondary {
    border-color: #169194;
    color: #169194;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
}
#registerModal .btn-outline-secondary:hover {
    background-color: #E6F4F4;
    border-color: #137a78;
    color: #137a78;
}

#registerModal .btn-primary {
    background-color: #169194;
    border-color: #169194;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
}
#registerModal .btn-primary:hover {
    background-color: #137a78;
    border-color: #137a78;
}

.login-input::placeholder {
    color: #000;
    opacity: 1;
    font-size: 13px;
    font-weight: 500;
}

.login-input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(28, 0, 77, 0.15);
}

.login-card-caption {
    font-size: 14px;
    font-weight: 600;
    color: #394195;
}

#recoverPasswordModal .login-card-header-left {
    flex-direction: column;
    gap: 6px;
}

#registerModal .login-card-header-left {
    flex-direction: column;
    gap: 6px;
}

#checkoutContatoModal .login-card-header-left,
#checkoutEnderecoModal .login-card-header-left {
    flex-direction: column;
    gap: 6px;
}

#registerModal .login-input { font-size: 13px; }

#checkoutContatoModal .login-input,
#checkoutEnderecoModal .login-input {
    font-size: 13px;
}

#checkoutContatoModal .login-card,
#checkoutEnderecoModal .login-card {
    padding: 24px 18px 18px 18px;
}

#checkoutContatoModal .form-select.login-input,
#checkoutEnderecoModal .form-select.login-input {
    background-color: #fff;
    color: #000;
    font-weight: 500;
}

#checkoutContatoModal .checkout-choice-group .form-check,
#checkoutEnderecoModal .checkout-choice-group .form-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#checkoutContatoModal .checkout-choice-group .form-check-label,
#checkoutEnderecoModal .checkout-choice-group .form-check-label {
    margin-bottom: 0;
    color: #444;
    font-weight: 500;
}

#checkoutEnderecoModal .checkout-address-card,
#checkoutEnderecoModal .checkout-address-editor {
    background: #fff;
    border-color: #e5e7eb !important;
}

.login-captcha-row {
    display: flex;
    justify-content: center;
}

.link-modal {
    font-size: 13px;
    font-weight: 500;
    color: #ff8000;
    text-decoration: underline;
}

.login-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d4d7da;
}

.login-divider span {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

.login-submit-btn {
    background-color: #169194;
    border-color: #169194;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.login-submit-btn:hover {
    background-color: #137a78;
    border-color: #137a78;
    color: #ffffff;
}

.btn.login-submit-btn:disabled,
.btn.login-submit-btn.disabled,
.login-submit-btn:disabled,
.login-submit-btn.disabled {
    background-color: #169194;
    border-color: #169194;
    color: #ffffff;
    opacity: 1;
    filter: brightness(0.70);
    cursor: not-allowed;
}

.login-submit-btn:disabled:hover,
.login-submit-btn.disabled:hover {
    background-color: #169194;
    border-color: #169194;
    color: #ffffff;
}

.btn.btn-primary:disabled,
.btn.btn-primary.disabled {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
    opacity: 1;
    filter: brightness(0.70);
    cursor: not-allowed;
}

.btn.btn-primary:disabled:hover,
.btn.btn-primary.disabled:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
    filter: brightness(0.70);
}

.btn[aria-busy="true"] {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
    opacity: 1;
    filter: brightness(0.70);
    cursor: not-allowed;
}

.impersonation-banner {
    background: #1C004D;
    color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.impersonation-banner__text {
    font-size: 0.95rem;
    font-weight: 600;
}

.impersonation-banner__mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 800;
}

.impersonation-banner__muted {
    opacity: 0.85;
    font-weight: 600;
}

.btn-submit-spinner {
    vertical-align: -0.125em;
}

.login-outline-btn {
    background-color: #ffffff;
    border: 1px solid #169194;
    color: #169194;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.login-outline-btn:hover {
    background-color: #E6F4F4;
    border-color: #137a78;
    color: #137a78;
}

.login-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    background-color: #169194;
    border-color: #169194;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.login-google-btn:hover {
    background-color: #137a78;
    border-color: #137a78;
    color: #ffffff;
}

.login-google-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #169194;
    font-weight: 700;
    font-size: 14px;
}

/* Banner de erro padrão (reutilizável) */
.ui-error-banner {
    background: #FDF2F2;
    border: 1px solid #F1B4B8;
    color: #7A1D1D;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #E03131;
}

.ui-error-banner .ui-error-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E03131;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
}

.ui-error-banner .ui-error-text { flex: 1; font-weight: 400; }

/* Banner de sucesso padrão (reutilizável) */
.ui-success-banner {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #16A34A;
}

.ui-success-banner .ui-success-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16A34A;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
}

.ui-success-banner .ui-success-text { flex: 1; font-weight: 400; }

/* Banner informativo padrão (reutilizável) */
.ui-info-banner {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    color: #92400E;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #F59E0B;
}

.ui-info-banner .ui-info-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F59E0B;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
}

.ui-info-banner .ui-info-text { flex: 1; font-weight: 400; }

/* Ocultar ícone de erro de validação (exclamação) APENAS no campo de senha para não sobrepor o olho */
.password-field .form-control.is-invalid,
.password-container .form-control.is-invalid {
    background-image: none !important;
    padding-right: 0.75rem; /* Reseta padding extra do ícone */
}

/* Fixar posição do olho para não pular quando mensagem de erro aparecer */
.password-field .password-toggle-btn {
    position: absolute;
    right: 10px;
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    top: 24px !important; /* Metade de aprox 48px, forçando fixo */
    transform: translateY(-50%) !important;
}

.password-field .password-toggle-btn:hover { color: #4b5563; }
.password-field .password-toggle-btn:focus { outline: none; }
.password-field .password-toggle-btn svg { width: 20px; height: 20px; }

/* Responsividade */
/* Entre 992 e 1200px o menu desktop (6 links com px-4 = 48px de padding cada)
   soma ~1108px de conteúdo para ~929px úteis e estoura a página na horizontal */
@media (min-width: 992px) and (max-width: 1199.98px) {
    header .navbar-nav .nav-link.px-4 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid var(--border-light);
    }
    
    .vertical-divider {
        display: none;
    }
    
    .social-icons {
        margin-bottom: 2rem;
    }
    
    .footer-banner {
        margin: 1rem 0;
    }
    
    .news-card-image {
        height: 180px;
    }

    .logo-lean { height: 72px; }
}

@media (max-width: 767.98px) {
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        border-bottom: 1px solid var(--border-light);
    }
    
    .vertical-divider {
        display: none;
    }
    
    .social-icons {
        margin-bottom: 2rem;
    }
    
    .footer-banner {
        margin: 1rem 0;
    }
    
    .news-card-image {
        height: 180px;
    }

    .logo-lean { height: 56px; }

    .footer-logo {
        width: 70px;
        height: auto;
        margin: auto;
    }

    .footer-border-top {
        border-top: none;
    }

    .footer-texto-anos {
        font-size: 15px;
        letter-spacing: 0px;
    }

    /* Celular: 2 x 2 links com área de toque de 40px (antes 4 linhas de 14px coladas, 11px e 3px de espaçamento). */
    .footer-legal-text {
        font-size: 13px;
        font-weight: 400;
        letter-spacing: 0.5px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
    }

    .footer-legal-text a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
    }

    .footer-links-strip {
        padding-right: 72px;
        padding-left: 0;
    }

    .footer-social-text {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .logo-lean {
        height: 60px;
    }
    
    .news-card-title {
        font-size: 1.1rem;
    }
    
    .btn-ver-mais {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading State */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: loading 1.5s infinite;
}

/* Fix JivoChat container layout issues */
#jcont {
    height: 0 !important;
    width: 0 !important;
    overflow: visible !important;
    position: fixed !important;
}

/* Com um modal aberto, o balão do JivoChat (z-index próprio, acima do modal) some: no celular ele cobria o rodapé do modal. */
body.modal-open #jcont,
body.modal-open jdiv {
    display: none !important;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


/* Page Transition Effects */
.page-transition-exit-active {
    transform: scale(5);
    opacity: 0;
    pointer-events: none;
}

.page-transition-enter {
    opacity: 0;
    transform: scale(0.8);
}

.page-transition-enter-active {
    opacity: 1;
    transform: scale(1);
}

.text-justify {
    text-align: justify !important;
}

.mt-2rem {
    margin-top: 2rem !important;
}

.mt-1rem {
    margin-top: 1rem !important;
}

.mb-1rem {
    margin-bottom: 1rem !important;
}

.mb-2rem {
    margin-bottom: 2rem !important;
}

@keyframes lwBtnShimmer {
    0% { transform: translateX(-140%) skewX(-18deg); }
    100% { transform: translateX(360%) skewX(-18deg); }
}

.lw-btn-shimmer {
    position: relative;
    overflow: hidden;
}

.lw-btn-shimmer::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 45%;
    height: 220%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, var(--lw-btn-shimmer-opacity, 0.35)), transparent);
    transform: translateX(-140%) skewX(-18deg);
    pointer-events: none;
    animation: lwBtnShimmer var(--lw-btn-shimmer-duration, 2.1s) ease var(--lw-btn-shimmer-delay, 0.25s) 1;
}

.lw-btn-shimmer:hover::after,
.lw-btn-shimmer:focus-visible::after {
    animation: lwBtnShimmer var(--lw-btn-shimmer-duration, 2.1s) ease 0s 1;
}

.lw-btn-shimmer--hover-only::after {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .lw-btn-shimmer::after {
        display: none;
        animation: none;
    }
}

/* =====================================================================================
   Revisão geral mobile (27/10/2026): botões do hero empilhados com a mesma largura
   (antes cada um tinha a largura do próprio texto) e títulos de hero sem palavra órfã.
   ===================================================================================== */
@media (max-width: 575.98px) {
    body .rg-hero__actions,
    body .eventos-hero__actions,
    body .hero-incompany__actions,
    body .hero-treinamentos__actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    body .rg-hero__actions > a,
    body .eventos-hero__actions > a,
    body .hero-incompany__actions > a,
    body .hero-treinamentos__actions > a {
        width: 100%;
        min-width: 0;
        margin: 0;
        justify-content: center;
        text-align: center;
    }
}

.eventos-hero__title,
.rg-hero__title {
    text-wrap: balance;
}
