/* CRM ANGOLA - Identidade visual profissional e chamativa */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0a66ff;
    --primary-dark: #0952d9;
    --primary-light: #3385ff;
    --accent: #ff6b35;
    --accent-soft: #fff0eb;
    --cyan: #00d4aa;
    --cyan-soft: #e6faf5;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --success: #25d366;
    --gradient-hero: linear-gradient(90deg, #3a70f7 0%, #823ae2 100%);
    --gradient-hero-mesh: linear-gradient(90deg, #3a70f7 0%, #823ae2 100%);
    --hero-base: #020617;
    --hero-navy: #0b132b;
    --hero-glow-blue: rgba(10, 102, 255, 0.42);
    --hero-glow-cyan: rgba(6, 182, 212, 0.26);
    --hero-glow-violet: rgba(99, 102, 241, 0.22);
    --shadow-sm: 0 2px 8px rgba(10, 102, 255, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 102, 255, 0.12);
    --shadow-lg: 0 16px 48px rgba(10, 102, 255, 0.16);
    --radius: 1rem;
    --radius-lg: 1.5rem;
}

* {
    scroll-margin-top: 80px;
}

/* Skip link (acessibilidade) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
}

/* Focus visível (teclado) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    color: #111827;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 55%),
        #f9fafb;
    line-height: 1.6;
}
p {
    line-height: 1.7;
}

/* ========== NAVBAR ========== */
.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
}
.navbar-brand:hover {
    opacity: 0.92;
}
.navbar-brand i {
    color: var(--accent);
}
.navbar {
    background: rgba(15, 23, 42, 0.9) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}
.navbar .nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background 0.2s ease;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), rgba(0, 212, 170, 0.35));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
    pointer-events: none;
}
.navbar .nav-link:hover {
    color: var(--cyan) !important;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}
.navbar .nav-link.active {
    color: var(--cyan) !important;
    background: rgba(0, 212, 170, 0.12);
}
.site-navbar {
    transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.site-navbar.navbar-scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
    border-bottom-color: rgba(0, 212, 170, 0.12) !important;
}
.navbar .form-control {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.navbar .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}
.navbar .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--cyan);
    color: #fff;
}
.navbar .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}
.navbar .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.navbar .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.navbar .btn-success {
    background: var(--success);
    border-color: var(--success);
}
.navbar .btn-success:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: #fff;
}

/* ========== HERO ========== */
.hero {
    background-color: var(--hero-base);
    background-image:
        radial-gradient(ellipse 100% 85% at 15% -5%, var(--hero-glow-blue) 0%, transparent 52%),
        radial-gradient(ellipse 90% 70% at 92% 8%, var(--hero-glow-cyan) 0%, transparent 48%),
        radial-gradient(ellipse 110% 75% at 50% 108%, var(--hero-glow-violet) 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 50% 35%, rgba(15, 23, 42, 0.35) 0%, transparent 72%),
        linear-gradient(168deg, var(--hero-navy) 0%, #0f172a 38%, var(--hero-base) 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 5rem 0 5.5rem;
    border-radius: 0 0 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* Malha técnica suave (linhas) + brilho superior — substitui o padrão de cruzes */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
        linear-gradient(105deg, transparent 40%, rgba(10, 102, 255, 0.07) 50%, transparent 60%);
    background-size:
        56px 56px,
        56px 56px,
        100% 100%;
    background-position: center center;
    opacity: 1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 95% 80% at 50% 25%, #000 20%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 25%, #000 20%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, transparent 28%),
        radial-gradient(ellipse 120% 85% at 50% 0%, rgba(10, 102, 255, 0.12) 0%, transparent 42%),
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(2, 6, 23, 0.65) 0%, transparent 58%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-weight: 800;
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35), 0 4px 40px rgba(0,0,0,0.2);
    line-height: 1.2;
}
.hero .lead {
    font-size: 1.2rem;
    opacity: 0.96;
    color: rgba(249, 250, 251, 0.92);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.75rem;
    font-size: 0.95rem;
    opacity: 0.9;
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.4rem 0.9rem;
    background: rgba(255,255,255,0.12);
    border-radius: 2rem;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
}
.hero-trust .bi {
    opacity: 0.95;
}
.hero .btn-cta {
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero .btn-light {
    background: #fff;
    color: #3a70f7;
    border: 2px solid rgba(58, 112, 247, 0.5);
    box-shadow: var(--shadow-md);
}
.hero .btn-light:hover {
    background: #f0f4ff;
    color: #2563eb;
    border-color: #3a70f7;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.hero .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    background: #fff;
    color: #3a70f7;
    box-shadow: var(--shadow-md);
}
.hero .btn-outline-light:hover {
    background: #f0f4ff;
    border-color: #3a70f7;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.hero .btn-success {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
.hero .btn-success:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}
.hero-scroll-hint {
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}
.hero-scroll-hint:hover {
    color: rgba(255,255,255,0.9) !important;
    transform: translateY(4px);
}
.hero-scroll-hint .bi {
    transition: transform 0.3s ease;
}
.hero-scroll-hint:not(.hero-scroll-hint-bounce):hover .bi {
    transform: translateY(3px);
}

.hero-trust-stagger .hero-trust-item {
    opacity: 0;
    animation: fadeInUp 0.55s ease-out forwards;
}
.hero-trust-stagger .hero-trust-item:nth-child(1) {
    animation-delay: 0.62s;
}
.hero-trust-stagger .hero-trust-item:nth-child(2) {
    animation-delay: 0.76s;
}
.hero-trust-stagger .hero-trust-item:nth-child(3) {
    animation-delay: 0.9s;
}

@keyframes heroChevron {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.72;
    }
    50% {
        transform: translateY(7px);
        opacity: 1;
    }
}
.hero-scroll-hint-bounce .bi {
    animation: heroChevron 2.1s ease-in-out infinite;
}

/* ========== SECTIONS ========== */
section {
    position: relative;
}
section h2 {
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}
section .text-center.text-muted.mb-4 {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(10, 102, 255, 0.08);
    border-radius: 2rem;
}

/* ========== PARCEIROS ========== */
.partner-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 102, 255, 0.45);
}
.partner-card__logo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 1rem;
    background: radial-gradient(circle at 30% 30%, rgba(10, 102, 255, 0.12), transparent 60%),
                rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.partner-card__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}
.partner-card__title {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.partner-card__desc {
    color: rgba(15, 23, 42, 0.7);
    font-size: 0.92rem;
}
.partner-card__icon {
    color: rgba(10, 102, 255, 0.55);
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* ========== CARDS SERVIÇOS ========== */
.card-service {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border-top: 1px solid rgba(148, 163, 184, 0.45);
    border-inline: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.card-service:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}
.card-service .card-service-img,
.card-service .card-img-top {
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    transition: transform 0.55s ease;
}
.card-service:hover .card-service-img,
.card-service:hover .card-img-top {
    transform: scale(1.06);
}
.card-service .card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}
.card-service .card-text {
    flex-grow: 1;
}
.card-service .card-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.card-service .btn-group-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.card-service .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}
.card-service .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.card-service .btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}
.card-service .btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}
.badge-price {
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%) !important;
    padding: 0.35em 0.65em;
}

/* ========== CARDS PROJETOS ========== */
.card-project {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.card-project:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.card-project .card-img-top {
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    transition: transform 0.55s ease;
}
.card-project:hover .card-img-top {
    transform: scale(1.06);
}
.card-project .card-img-top.bg-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 3rem;
}
.card-project .card-title {
    font-weight: 700;
    color: var(--dark);
}
.card-project .badge {
    font-weight: 600;
}

/* Bloco visual Sobre */
.sobre-visual {
    background: linear-gradient(145deg, var(--light-bg) 0%, #fff 100%);
    border: 1px solid rgba(10, 102, 255, 0.08);
}

/* ========== BOTÕES GERAIS ========== */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    font-weight: 600;
}
.btn-dark:hover {
    background: var(--dark-soft);
    border-color: var(--dark-soft);
}

/* ========== BLOCO "NÃO ENCONTROU" ========== */
.bg-cta-block {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.2), transparent 55%),
                rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.bg-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(58, 112, 247, 0.2) 0%, transparent 60%);
    pointer-events: none;
}
.bg-cta-block h2 {
    color: #fff !important;
    font-weight: 800;
}
.bg-cta-block .opacity-90 {
    opacity: 0.92;
    max-width: 32rem;
}
.bg-cta-block .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 700;
}
.bg-cta-block .btn-primary:hover {
    background: #e85a2a;
    border-color: #e85a2a;
    transform: translateY(-2px);
}
.bg-cta-block .btn-success {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}
.bg-cta-block .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}
@media (max-width: 576px) {
    .bg-cta-block {
        padding: 1.75rem;
    }
    .bg-cta-block .btn-lg {
        width: 100%;
    }
}

/* ========== FOOTER ========== */
footer {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #0f172a;
    padding: 3.5rem 0 2rem !important;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
footer h5, footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}
footer a {
    color: #cbd5e1;
    transition: color 0.2s, opacity 0.2s;
}
footer a:hover {
    color: var(--cyan);
    opacity: 1;
}
footer ul li {
    margin-bottom: 0.5rem;
}
footer .d-flex.gap-3 a,
footer .d-flex.gap-3 span {
    transition: transform 0.2s, opacity 0.2s;
}
footer .d-flex.gap-3 a:hover {
    transform: translateY(-1px);
    opacity: 1;
}
footer .payment-method-img {
    transition: transform 0.2s;
}
footer a:hover .payment-method-img {
    transform: scale(1.08);
}
footer .btn-success {
    background: var(--success);
    border-color: var(--success);
    font-weight: 600;
}
footer .btn-success:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: #fff;
}
footer .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ========== DASHBOARD ========== */
.dashboard-card {
    border-radius: var(--radius-lg);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}
.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.dashboard-card .card-title.text-primary {
    color: var(--primary) !important;
}

/* ========== CHAT ========== */
.chat-message {
    max-width: 85%;
    border-radius: 1rem;
}
.chat-message.sent {
    margin-left: auto;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #fff;
}
.chat-message.received {
    background: var(--light-bg);
}

/* ========== FORMULÁRIOS ========== */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 102, 255, 0.2);
}
.form-control, .form-select {
    border-radius: 0.5rem;
}

/* ========== ALERTAS ========== */
.alert-success {
    background: var(--cyan-soft);
    border-color: var(--cyan);
    color: #0d9488;
}
.alert-danger {
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 3.5rem;
        border-radius: 0 0 1.5rem 1.5rem;
    }
    .hero-trust {
        gap: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero .btn-cta:hover,
    .card-service:hover,
    .card-project:hover,
    .hero-scroll-hint:hover,
    footer a:hover .payment-method-img,
    footer .d-flex.gap-3 a:hover {
        transform: none;
    }
}

/* ========== ASSISTENTE DE CHAT (automático) ========== */
/* Vidro / transparência profissional — contraste mantido para acessibilidade */
body.admin-layout .assist-chat-widget {
    display: none !important;
}
.assist-chat-widget {
    position: fixed;
    z-index: 1040;
    bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    right: max(1.5rem, env(safe-area-inset-right, 0px));
    left: auto;
    font-family: inherit;
    --assist-glass-blur: 18px;
    --assist-glass-blur-strong: 22px;
}

/* Convite inicial: some ao fim de 5 s ou ao abrir o chat */
.assist-chat-entry-hint {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    left: auto;
    max-width: min(280px, calc(100vw - 2.5rem));
    margin: 0;
    padding: 0.65rem 0.85rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(var(--assist-glass-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--assist-glass-blur)) saturate(1.2);
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    box-shadow:
        0 10px 40px rgba(11, 19, 43, 0.12),
        0 0 0 1px rgba(10, 102, 255, 0.12) inset;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.assist-chat-entry-hint:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(10, 102, 255, 0.35);
}
.assist-chat-entry-hint:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}
.assist-chat-entry-hint__text strong {
    color: var(--primary);
    font-weight: 800;
}
.assist-chat-entry-hint__caret {
    position: absolute;
    bottom: -7px;
    right: 1.25rem;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.88);
    border-right: 1px solid rgba(10, 102, 255, 0.12);
    border-bottom: 1px solid rgba(10, 102, 255, 0.12);
    transform: rotate(45deg);
    box-shadow: 3px 3px 8px rgba(15, 23, 42, 0.06);
}
.assist-chat-entry-hint--visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .assist-chat-entry-hint {
        transition: opacity 0.2s ease;
        transform: none;
    }
    .assist-chat-entry-hint--visible {
        transform: none;
    }
}

.assist-chat-toggle {
    position: relative;
    width: auto;
    min-height: 52px;
    height: auto;
    padding: 0.55rem 1.1rem 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: linear-gradient(
        135deg,
        rgba(10, 102, 255, 0.9) 0%,
        rgba(37, 99, 235, 0.88) 45%,
        rgba(67, 56, 202, 0.9) 100%
    );
    backdrop-filter: blur(10px) saturate(1.15);
    -webkit-backdrop-filter: blur(10px) saturate(1.15);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow:
        0 8px 32px rgba(10, 102, 255, 0.35),
        0 4px 14px rgba(11, 19, 43, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.assist-chat-toggle-pulse {
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid var(--primary-light);
    opacity: 0;
    pointer-events: none;
    animation: assistChatTogglePulse 2.4s ease-out infinite;
}
.assist-chat-toggle-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    z-index: 1;
}
.assist-chat-toggle-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}
.assist-chat-mini-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0.35rem;
    background: #fff;
    padding: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.assist-chat-toggle-label {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}
@keyframes assistChatTogglePulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    70% {
        transform: scale(1.18);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.assist-chat-toggle:hover {
    transform: scale(1.05);
    filter: brightness(1.06);
    box-shadow: 0 12px 36px rgba(10, 102, 255, 0.5), 0 4px 14px rgba(15, 23, 42, 0.22);
}
.assist-chat-toggle:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .assist-chat-toggle-pulse {
        animation: none;
        opacity: 0;
    }
    .assist-chat-toggle:hover {
        transform: none;
    }
}
.assist-chat-panel {
    position: absolute;
    bottom: calc(100% + 0.75rem);
    right: 0;
    width: min(100vw - 2rem, 380px);
    max-height: min(72vh, 520px);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(var(--assist-glass-blur-strong)) saturate(1.25);
    -webkit-backdrop-filter: blur(var(--assist-glass-blur-strong)) saturate(1.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 28px 64px rgba(11, 19, 43, 0.14),
        0 8px 24px rgba(10, 102, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.assist-chat-panel:not([hidden]) {
    animation: assistChatIn 0.25s ease-out;
}
@keyframes assistChatIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.assist-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(
        135deg,
        rgba(11, 19, 43, 0.88) 0%,
        rgba(26, 39, 68, 0.82) 48%,
        rgba(15, 40, 71, 0.86) 100%
    );
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    color: #fff;
    border-bottom: 1px solid rgba(96, 165, 250, 0.38);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.assist-chat-header-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
}
.assist-chat-header-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 5px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.assist-chat-header-text {
    min-width: 0;
}
.assist-chat-title {
    display: block;
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.assist-chat-subtitle {
    display: block;
    font-size: 0.7rem;
    color: rgba(191, 219, 254, 0.95);
    margin-top: 0.2rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.02em;
}
.assist-chat-close {
    opacity: 0.92;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none !important;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.assist-chat-close:hover {
    opacity: 1;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
}
.assist-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 1rem;
    min-height: 180px;
    max-height: 320px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.52) 0%, rgba(241, 245, 249, 0.45) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.assist-chat-msg {
    max-width: 92%;
    padding: 0.55rem 0.75rem;
    border-radius: 0.85rem;
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0.5rem;
    word-break: break-word;
}
.assist-chat-msg--bot {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.07);
    margin-right: auto;
    box-shadow: 0 2px 12px rgba(11, 19, 43, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.assist-chat-msg--bot a {
    color: var(--primary);
    font-weight: 600;
}
.assist-chat-msg--operator {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.92) 0%, rgba(209, 250, 229, 0.88) 100%);
    border: 1px solid rgba(16, 185, 129, 0.38);
    font-weight: 500;
    color: #065f46;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.assist-chat-msg--client {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.92) 0%, rgba(219, 234, 254, 0.88) 100%);
    border: 1px solid rgba(59, 130, 246, 0.38);
    margin-right: auto;
    color: #1e3a8a;
    font-weight: 500;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.assist-chat-msg--user {
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.92) 0%, rgba(79, 70, 229, 0.9) 100%);
    color: #fff;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 14px rgba(10, 102, 255, 0.25);
}
.assist-chat-admin-hint {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.88) 0%, rgba(253, 230, 138, 0.82) 100%);
    border: 1px solid rgba(217, 119, 6, 0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0.75rem;
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #78350f;
}
.assist-chat-admin-hint code {
    font-size: 0.8rem;
    color: #92400e;
}
.assist-chat-admin-hint .text-muted {
    color: rgba(120, 53, 15, 0.75) !important;
}
.assist-chat-human-toolbar {
    background: rgba(248, 250, 252, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.assist-chat-quick {
    padding: 0.5rem 0.75rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: rgba(248, 250, 252, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.assist-chat-quick button {
    font-size: 0.75rem;
    padding: 0.25rem 0.55rem;
    border-radius: 2rem;
    border: 1px solid rgba(10, 102, 255, 0.35);
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.assist-chat-quick button:hover {
    background: rgba(10, 102, 255, 0.08);
    border-color: var(--primary);
}
.assist-chat-quick .btn.btn-sm {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
    border-radius: 2rem;
    font-weight: 600;
}
.assist-chat-quick .btn.btn-success {
    background: var(--success) !important;
    color: #fff !important;
    border-color: var(--success) !important;
}
.assist-chat-quick .btn.btn-success:hover {
    background: #20bd5a !important;
    border-color: #20bd5a !important;
    color: #fff !important;
}
.assist-chat-quick .btn.btn-outline-primary:hover {
    color: #fff !important;
}
.assist-chat-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem 0.85rem;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border-top: 1px solid rgba(10, 102, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.assist-chat-form .form-control {
    border-radius: 1.1rem;
    padding: 0.7rem 1rem;
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
    min-height: 42px;
    max-height: 110px;
    resize: none;
    overflow-y: auto;
    line-height: 1.45;
}
.assist-chat-form .form-control:focus {
    border-color: rgba(10, 102, 255, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(10, 102, 255, 0.12);
}
.assist-chat-form .btn {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(10, 102, 255, 0.35);
}
.assist-chat-form .btn:hover {
    box-shadow: 0 6px 16px rgba(10, 102, 255, 0.45);
}

/* Avaliação pós-encerramento (especialista) */
.assist-chat-feedback {
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
}
.assist-chat-feedback__inner {
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 0 8px 28px rgba(11, 19, 43, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.assist-chat-feedback__title {
    font-size: 0.9rem;
    margin: 0;
    color: var(--dark);
}
.assist-chat-feedback__stars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.assist-chat-feedback__star {
    min-width: 2.25rem;
    font-size: 1.1rem;
    line-height: 1.2;
    padding: 0.25rem 0.45rem !important;
}

/* Navegadores sem backdrop-filter: mantém legibilidade */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .assist-chat-panel {
        background: rgba(255, 255, 255, 0.97);
    }
    .assist-chat-body {
        background: linear-gradient(180deg, #f4f7fc 0%, #eef2f9 100%);
    }
    .assist-chat-header {
        background: linear-gradient(135deg, #0b132b 0%, #1a2744 48%, #0f2847 100%);
    }
    .assist-chat-toggle {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }
}

/* Utilizadores que preferem menos transparência */
@media (prefers-reduced-transparency: reduce) {
    .assist-chat-entry-hint,
    .assist-chat-toggle,
    .assist-chat-panel,
    .assist-chat-header,
    .assist-chat-body,
    .assist-chat-msg--bot,
    .assist-chat-msg--operator,
    .assist-chat-msg--client,
    .assist-chat-msg--user,
    .assist-chat-admin-hint,
    .assist-chat-human-toolbar,
    .assist-chat-quick,
    .assist-chat-quick button,
    .assist-chat-form,
    .assist-chat-form .form-control,
    .assist-chat-feedback__inner {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .assist-chat-panel {
        background: var(--white);
    }
    .assist-chat-body {
        background: linear-gradient(180deg, #f4f7fc 0%, #eef2f9 100%);
    }
    .assist-chat-header {
        background: linear-gradient(135deg, #0b132b 0%, #1a2744 48%, #0f2847 100%);
    }
    .assist-chat-msg--bot {
        background: var(--white);
    }
    .assist-chat-msg--operator {
        background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    }
    .assist-chat-msg--client {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    }
    .assist-chat-msg--user {
        background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    }
    .assist-chat-form {
        background: linear-gradient(180deg, #fafbfd 0%, #f5f7fb 100%);
    }
    .assist-chat-form .form-control {
        background: #fff;
    }
    .assist-chat-feedback__inner {
        background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    }
    .assist-chat-entry-hint {
        background: #fff;
        border: none;
        box-shadow: 0 10px 36px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(10, 102, 255, 0.2);
    }
    .assist-chat-entry-hint__caret {
        background: #fff;
    }
    .assist-chat-toggle {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        border: 2px solid rgba(255, 255, 255, 0.35);
    }
    .assist-chat-human-toolbar,
    .assist-chat-quick {
        background: var(--light-bg);
    }
    .assist-chat-quick button {
        background: var(--white);
    }
    .assist-chat-confirm__box {
        background: var(--white);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .assist-chat-panel:not([hidden]) {
        animation: none;
    }
}

/* Confirmação no widget (substitui o diálogo nativo do browser) */
.assist-chat-confirm {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    font-family: inherit;
}
.assist-chat-confirm[hidden] {
    display: none !important;
}
.assist-chat-confirm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
}
.assist-chat-confirm__box {
    position: relative;
    z-index: 1;
    max-width: 360px;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
}
.assist-chat-confirm__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--dark);
    line-height: 1.35;
}
.assist-chat-confirm__text {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(15, 23, 42, 0.85);
}
.assist-chat-confirm__actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Páginas de login/registo */
main .card {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-md);
}
main .card .card-body {
    padding: 1.75rem;
}

/* ========== ANIMAÇÕES ========== */
html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero: animação de entrada ao carregar */
.hero .hero-title {
    animation: fadeInUp 0.8s ease-out forwards;
}
.hero .hero-lead {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.2s forwards;
}
.hero .hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.45s forwards;
}

/* Elementos que animam ao entrar no ecrã */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.visible .card-service,
.animate-on-scroll.visible .card-project,
.animate-on-scroll.visible .card {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Atrasos em sequência (stagger) */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* Cards com animação individual ao scroll */
.card-service.animate-item,
.card-project.animate-item,
.card.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.25s, border-color 0.25s;
}
.card-service.animate-item.visible,
.card-project.animate-item.visible,
.card.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.card-service.animate-item.animate-delay-1 { transition-delay: 0.05s; }
.card-service.animate-item.animate-delay-2 { transition-delay: 0.1s; }
.card-service.animate-item.animate-delay-3 { transition-delay: 0.15s; }
.card-service.animate-item.animate-delay-4 { transition-delay: 0.2s; }
.card-service.animate-item.animate-delay-5 { transition-delay: 0.25s; }
.card-service.animate-item.animate-delay-6 { transition-delay: 0.3s; }
.card-project.animate-item.animate-delay-1,
.card.animate-item.animate-delay-1 { transition-delay: 0.05s; }
.card-project.animate-item.animate-delay-2,
.card.animate-item.animate-delay-2 { transition-delay: 0.1s; }
.card-project.animate-item.animate-delay-3,
.card.animate-item.animate-delay-3 { transition-delay: 0.15s; }
.card-project.animate-item.animate-delay-4,
.card.animate-item.animate-delay-4 { transition-delay: 0.2s; }
.card-project.animate-item.animate-delay-5,
.card.animate-item.animate-delay-5 { transition-delay: 0.25s; }
.card-project.animate-item.animate-delay-6,
.card.animate-item.animate-delay-6 { transition-delay: 0.3s; }

/* Navbar: entrada suave */
.navbar {
    animation: slideInDown 0.5s ease-out;
}

/* Botões CTA: leve pulse no hover */
.btn-cta:hover {
    animation: pulse-soft 1.5s ease-in-out infinite;
}

/* Secções: fade-in ao scroll */
section.animate-section {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
section.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Redução de movimento para utilizadores que preferem */
@media (prefers-reduced-motion: reduce) {
    .hero .hero-title,
    .hero .hero-lead,
    .hero .hero-buttons,
    .hero-trust-stagger .hero-trust-item,
    .hero-scroll-hint-bounce .bi,
    .animate-on-scroll,
    .animate-on-scroll.visible,
    .card-service.animate-item,
    .card-project.animate-item,
    .card.animate-item,
    section.animate-section {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .page-header-enter,
    .auth-panel-card {
        animation: none !important;
    }
    .card-lift:hover,
    .card-service:hover .card-service-img,
    .card-service:hover .card-img-top,
    .card-project:hover .card-img-top,
    .article-prose .content img:hover {
        transform: none !important;
    }
    .btn:active:not(:disabled) {
        transform: none;
    }
}

/* ========== MELHORIAS GERAIS DE INTERFACE ========== */

.page-header-enter {
    animation: fadeInUp 0.65s ease-out both;
}
.auth-panel-card {
    animation: fadeInUp 0.6s ease-out both;
}
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--radius-lg);
}
.card-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}
.card-form-highlight {
    transition: box-shadow 0.4s ease, transform 0.35s ease;
}
.card-form-highlight:hover {
    box-shadow: 0 20px 50px rgba(10, 102, 255, 0.14) !important;
}
.article-prose .content img {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.article-prose .content img:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.006);
}
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active:not(:disabled) {
    transform: scale(0.98);
}

/* Conteúdo principal: espaçamento e largura máxima */
main {
    flex: 1;
}
main.container, main .container, main.container-fluid {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* Títulos de página */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}
.page-header h1 {
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.page-header .lead, .page-header p.text-muted {
    margin-bottom: 0;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 0.9rem;
    background: transparent;
    padding: 0.75rem 0;
}
.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Tabelas (admin e listagens) */
.table {
    --bs-table-striped-bg: rgba(10, 102, 255, 0.04);
}
.table thead th {
    font-weight: 700;
    color: var(--dark);
    border-bottom-width: 2px;
    padding: 0.85rem 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.table tbody td {
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
}
.table-hover tbody tr:hover {
    background: rgba(10, 102, 255, 0.06);
}
.table .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Cards (geral) */
.card {
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s, background 0.2s, border-color 0.2s;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.card:hover {
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}
.card.hover-shadow {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card.hover-shadow:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Imagens dos métodos de pagamento (assets/images) */
.payment-method-img {
    display: inline-block;
    height: 24px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    vertical-align: middle;
}
.payment-method-img-card {
    height: 40px;
    width: auto;
    max-width: 56px;
    object-fit: contain;
}
footer .payment-method-img {
    height: 28px;
    max-width: 70px;
}

/* Tela (overlay) - Sugere o preço */
.price-suggest-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.price-suggest-overlay.is-visible {
    display: flex;
}
.price-suggest-card {
    width: min(640px, 90vw);
    border-radius: 20px;
    padding: 26px 22px;
    background: radial-gradient(1200px 300px at 10% 10%, rgba(16, 185, 129, 0.22), transparent 60%),
                radial-gradient(900px 260px at 90% 30%, rgba(59, 130, 246, 0.22), transparent 60%),
                rgba(255, 255, 255, 0.92);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.4);
    text-align: center;
}
.price-suggest-title {
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.05;
    margin-bottom: 10px;
}
.price-suggest-subtitle {
    font-size: clamp(0.9rem, 1.9vw, 1.15rem);
    color: rgba(15, 23, 42, 0.75);
    font-weight: 600;
}

.card-header {
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

/* Formulários melhorados */
.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.35rem;
}
.form-control, .form-select {
    padding: 0.6rem 0.85rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 102, 255, 0.15);
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Alertas */
.alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.25rem;
}
.alert-success {
    background: var(--cyan-soft);
    color: #0f766e;
}
.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
}
.alert-info {
    background: #eff6ff;
    color: #1d4ed8;
}

/* List groups */
.list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 1rem 1.25rem;
}
.list-group-item:first-child {
    border-top: 0;
}

/* Botões outline */
.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
}
.btn-outline-secondary {
    font-weight: 500;
}
.btn-outline-danger {
    border-width: 2px;
}

/* ========== ÁREA ADMIN ========== */
body .navbar .btn-outline-warning {
    border-color: #f59e0b;
    color: #fbbf24;
}
body .navbar .btn-outline-warning:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: var(--dark);
}

.admin-layout main {
    padding-top: 1.5rem;
}
.admin-layout .card {
    border-radius: var(--radius);
    overflow: hidden;
}
.admin-layout .card-header {
    background: var(--dark);
    color: #fff;
    border: none;
    font-weight: 600;
}
.admin-layout .table-responsive {
    border-radius: 0 0 var(--radius) var(--radius);
}
.admin-layout .btn-primary {
    padding: 0.5rem 1rem;
}

/* Stats cards no admin */
.admin-layout .card .display-6 {
    font-weight: 800;
    color: var(--dark);
}
.admin-layout .card .text-muted {
    font-size: 0.8rem;
}

.admin-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.22), transparent 30%),
        radial-gradient(circle at left center, rgba(59, 130, 246, 0.18), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #172554 55%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.admin-hero__content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}
.admin-hero__eyebrow {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}
.admin-hero h1 {
    color: #fff;
}
.admin-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
}
.admin-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.85rem;
}
.admin-hero__meta-item {
    min-width: 120px;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}
.admin-hero__meta-label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.35rem;
}
.admin-hero__meta-item strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.admin-shortcuts__grid,
.admin-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.9rem;
}
.admin-shortcut-card,
.admin-tool-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.admin-shortcut-card:hover,
.admin-tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    border-color: rgba(59, 130, 246, 0.35);
    color: var(--primary);
}
.admin-shortcut-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: rgba(10, 102, 255, 0.08);
    color: var(--primary);
    font-size: 1.1rem;
}

.admin-stat-card {
    position: relative;
    overflow: hidden;
}
.admin-stat-card .card-body {
    position: relative;
}
.admin-stat-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #cbd5e1;
}
.admin-stat-card__label {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(15, 23, 42, 0.65);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.admin-stat-card--blue::before { background: #2563eb; }
.admin-stat-card--indigo::before { background: #4f46e5; }
.admin-stat-card--amber::before { background: #f59e0b; }
.admin-stat-card--slate::before { background: #475569; }
.admin-stat-card--cyan::before { background: #0891b2; }
.admin-stat-card--info::before { background: #0ea5e9; }
.admin-stat-card--danger::before { background: #dc2626; }
.admin-stat-card--success::before { background: #16a34a; }

.admin-monitor-card {
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.14), transparent 35%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.admin-hero--compact {
    padding: 1.6rem 1.8rem;
}
.admin-hero--compact .admin-hero__meta {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.employee-chat-bubble {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.employee-chat-bubble__header,
.employee-chat-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.employee-chat-person {
    margin-bottom: 0;
}
.employee-chat-bubble--me {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.9) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}
.employee-chat-bubble--other {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
}
.employee-chat-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}
.employee-chat-avatar--sm {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}
.employee-chat-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* ========== CHAT INTERNO (chat_interno.php) ========== */
.internal-chat-page {
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 40%, #fff 100%);
}
.internal-chat {
    max-width: 1140px;
}
.internal-chat__head .internal-chat__head-gradient {
    background:
        radial-gradient(ellipse 120% 80% at 100% 0%, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(14, 165, 233, 0.22), transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e3a5f 48%, #172554 100%);
}
.internal-chat__badge {
    display: inline-block;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 0.35rem;
}
.internal-chat__peer-avatar {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.internal-chat__thread-card {
    min-height: 280px;
}
.internal-chat__stream {
    max-height: min(52vh, 520px);
    overflow-y: auto;
    scroll-behavior: smooth;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 12%);
    border-radius: 0 0 0.375rem 0.375rem;
}
.internal-chat__empty {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.internal-chat__bubble {
    margin-bottom: 0.85rem;
    animation: internalChatFadeIn 0.35s ease-out;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.internal-chat__pick {
    display: none;
    flex-shrink: 0;
    padding-top: 0.15rem;
    cursor: pointer;
}
.internal-chat--select-mode .internal-chat__bubble[data-can-delete="1"] .internal-chat__pick {
    display: block;
}
.employee-chat-bubble__inner {
    flex: 1;
    min-width: 0;
}
.internal-chat__bulk-bar {
    flex-wrap: wrap;
}
.internal-chat__body-text {
    font-size: 0.975rem;
    line-height: 1.55;
    word-break: break-word;
}
.internal-chat__time {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.8rem;
    color: #94a3b8;
}
.internal-chat__textarea {
    min-height: 88px;
    resize: vertical;
}
.internal-chat__composer {
    position: sticky;
    bottom: 0;
    z-index: 2;
}
.internal-chat__poll-status {
    font-weight: 500;
}
.internal-chat__online-panel {
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.95), rgba(248, 250, 252, 0.85));
    border: 1px solid rgba(148, 163, 184, 0.25);
}
.internal-chat__online-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.internal-chat__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #64748b;
}
.internal-chat__chip--on {
    border-color: rgba(34, 197, 94, 0.55);
    color: #166534;
    background: rgba(220, 252, 231, 0.65);
}
.internal-chat__chip-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #cbd5e1;
}
.internal-chat__chip--on .internal-chat__chip-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.internal-chat__online-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.internal-chat__online-pill.is-live {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(74, 222, 128, 0.45);
}
.internal-chat__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #94a3b8;
}
.internal-chat__online-pill.is-live .internal-chat__dot {
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
    animation: internalChatPulse 1.8s ease-in-out infinite;
}
.internal-chat__send-btn:disabled {
    opacity: 0.75;
}
.internal-chat__poll-status--live {
    font-weight: 600;
}
.internal-chat__live-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 0.35rem;
    vertical-align: middle;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
    animation: internalChatLiveBlink 1.2s ease-in-out infinite;
}
@keyframes internalChatLiveBlink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.92);
    }
}
@keyframes internalChatPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.45;
    }
}
@keyframes internalChatFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .admin-hero__meta {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
    .admin-hero--compact .admin-hero__meta {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

@media (max-width: 767px) {
    .admin-hero {
        padding: 1.4rem;
    }
    .admin-hero__meta {
        width: 100%;
        grid-template-columns: 1fr;
    }
    .admin-hero--compact .admin-hero__meta {
        grid-template-columns: 1fr;
    }
}

/* ========== FOOTER REFINADO ========== */
footer .row {
    row-gap: 2rem;
}
footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
footer h6 {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: #94a3b8 !important;
}
footer ul.list-unstyled li {
    margin-bottom: 0.5rem;
}
footer a.text-light:hover, footer a.text-decoration-none:hover {
    color: var(--cyan) !important;
}
footer hr {
    opacity: 0.3;
}

/* ========== PÁGINAS DE LOGIN/REGISTO ========== */
main .card .card-body {
    padding: 2rem;
}
main .card h2 {
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.login-showcase {
    height: 100%;
    padding: 2.2rem;
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.22), transparent 30%),
        radial-gradient(circle at left center, rgba(59, 130, 246, 0.18), transparent 28%),
        linear-gradient(145deg, #0f172a 0%, #172554 58%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-showcase__eyebrow {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.login-showcase__title {
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.login-showcase__text {
    color: rgba(255, 255, 255, 0.84);
    max-width: 32rem;
    margin-bottom: 1.5rem;
}
.login-showcase__features {
    display: grid;
    gap: 0.9rem;
}
.login-showcase__feature {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}
.login-showcase__feature i {
    font-size: 1.1rem;
    color: #93c5fd;
}

.login-card-premium {
    border-radius: 1.6rem !important;
    overflow: hidden;
}
.login-card-premium .card-body {
    padding: 2.1rem !important;
}
.login-card-premium__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.login-card-premium__logo {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.14) 0%, rgba(79, 70, 229, 0.12) 100%);
    color: var(--primary);
    font-size: 1.2rem;
}
.login-input-wrap {
    position: relative;
}
.login-input-wrap__icon {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.95rem;
    pointer-events: none;
}
.login-input-wrap .form-control {
    min-height: 3rem;
    padding-left: 2.6rem;
    border-radius: 0.9rem;
}
.login-submit-btn {
    min-height: 3rem;
    border-radius: 0.95rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(10, 102, 255, 0.2);
}

@media (max-width: 991px) {
    .login-card-premium .card-body {
        padding: 1.7rem !important;
    }
}

/* ========== DASHBOARD CLIENTE ========== */
.dashboard-card .card-body {
    padding: 1.5rem;
}
.dashboard-card .display-6 {
    font-weight: 800;
}
.list-group-item-action {
    border-radius: 0.5rem !important;
    margin-bottom: 0.5rem;
}
.list-group-item-action:hover {
    background: var(--light-bg);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    main.container, main .container {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
    .page-header {
        margin-bottom: 1.5rem;
    }
    .table thead th,
    .table tbody td {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }
}
