/* Configuração do Design System Aposente Campo Grande
   Paleta editorial-previdenciária: Preto Justiça + Dourado Aposente (#fcd403 amarelo vivo da identidade real, derivado do toldo amarelo) + escuro/escuro contraste forte */
:root {
    --brand-main: #C9A900;       /* Dourado escuro Aposente (legível sobre branco) */
    --brand-hover: #fcd403;      /* Amarelo Aposente (toldo) - usado em estados hover */
    --brand-accent: #27272a;     /* Acento neutro (carbon) para elementos secundários */
    --brand-dark: #ffffff;       /* Texto principal no dark mode */
    --brand-gray: #a1a1aa;       /* Texto secundário */
    --brand-light: #0A0A0A;      /* Preto Justiça - fundo principal */
    --whatsapp-color: #25D366;
    --bg-color: #0A0A0A;
    --text-color: #ffffff;
    --card-bg: #111111;
    --border-color: rgba(255, 255, 255, 0.08);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── PRÉ-ABERTURA APOSENTE (minimalista, sem ring/progress) ─── */
.ap-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity .7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear .7s;
}

.ap-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ap-preloader-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(252, 212, 3, .08) 0%, transparent 55%),
        linear-gradient(180deg, #0A0A0A 0%, #111111 50%, #0A0A0A 100%);
}

.ap-preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    animation: ap-preloader-content-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ap-preloader-content-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ap-preloader-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #fcd403 0%, #f5cb00 60%, #C9A900 100%);
    box-shadow:
        0 0 0 1px rgba(252, 212, 3, .3),
        0 0 30px rgba(252, 212, 3, .35),
        0 8px 24px rgba(0, 0, 0, .4);
    animation: ap-preloader-logo-breath 3s ease-in-out infinite;
}

.ap-preloader-logo img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}

@keyframes ap-preloader-logo-breath {
    0%, 100% { transform: scale(1); opacity: .95; }
    50%      { transform: scale(1.03); opacity: 1; }
}

.ap-preloader-divider {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: ap-preloader-fade-up .8s .35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ap-preloader-divider span {
    display: block;
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252, 212, 3, .5), transparent);
}

.ap-preloader-divider i {
    font-size: .55rem;
    color: #fcd403;
    filter: drop-shadow(0 0 4px rgba(252, 212, 3, .5));
}

.ap-preloader-welcome {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .03em;
    margin: 0 0 .35rem;
    opacity: 0;
    animation: ap-preloader-fade-up .8s .55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ap-preloader-brand {
    font-family: 'Jost', 'Inter', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1;
    color: #fcd403;
    letter-spacing: .12em;
    margin: 0 0 .9rem;
    text-shadow: 0 0 18px rgba(252, 212, 3, .25);
    opacity: 0;
    animation: ap-preloader-fade-up .9s .75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ap-preloader-tagline {
    font-size: .55rem;
    font-weight: 600;
    color: rgba(252, 212, 3, .55);
    letter-spacing: .28em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    animation: ap-preloader-fade-up .8s .95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Barra de carregamento sutil (shimmer dourado) */
.ap-preloader-loading {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    opacity: 0;
    animation: ap-preloader-fade-up .8s 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ap-preloader-bar {
    width: 120px;
    height: 1.5px;
    border-radius: 999px;
    background: rgba(252, 212, 3, .12);
    overflow: hidden;
    position: relative;
}

.ap-preloader-bar span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(252, 212, 3, .4) 30%,
        #fcd403 50%,
        rgba(252, 212, 3, .4) 70%,
        transparent 100%);
    transform: translateX(-100%);
    animation: ap-preloader-bar-slide 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 0 8px rgba(252, 212, 3, .5);
}

@keyframes ap-preloader-bar-slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Texto "Carregando..." com pontos piscando */
.ap-preloader-loading-text {
    font-size: .5rem;
    font-weight: 700;
    color: rgba(252, 212, 3, .5);
    letter-spacing: .42em;
    text-transform: uppercase;
    margin: 0;
    padding-left: .42em;
}

.ap-preloader-dot {
    display: inline-block;
    opacity: .3;
    animation: ap-preloader-dot-blink 1.4s infinite;
}

.ap-preloader-dot:nth-child(1) { animation-delay: 0s; }
.ap-preloader-dot:nth-child(2) { animation-delay: .2s; }
.ap-preloader-dot:nth-child(3) { animation-delay: .4s; }

@keyframes ap-preloader-dot-blink {
    0%, 60%, 100% { opacity: .3; }
    30%           { opacity: 1; color: #fcd403; }
}

@keyframes ap-preloader-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.preloading {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .ap-preloader-content,
    .ap-preloader-logo,
    .ap-preloader-divider,
    .ap-preloader-welcome,
    .ap-preloader-brand,
    .ap-preloader-tagline,
    .ap-preloader-loading,
    .ap-preloader-bar span,
    .ap-preloader-dot {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    -webkit-user-drag: none;
    pointer-events: none;
}

a,
button,
input,
textarea,
video,
[data-interactive="true"] {
    user-select: auto;
    pointer-events: auto;
}

/* Vídeos: cursor pointer + clique em qualquer área dispara play/pause global (script.js) */
video {
    cursor: pointer;
}

/* ─── WHATSAPP PREMIUM (modelo Lumina adaptado Aposente preto+dourado) ─── */
.wa-premium-container {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 2000;
}

.wa-bubble {
    width: 280px;
    position: absolute;
    bottom: 68px;
    right: 0;
    background: rgba(255, 255, 250, .94);
    backdrop-filter: blur(15px) saturate(140%);
    -webkit-backdrop-filter: blur(15px) saturate(140%);
    border: 1px solid rgba(201, 169, 0, .35);
    border-radius: 1.2rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .6) inset,
        0 18px 40px -10px rgba(40, 35, 10, .25),
        0 0 0 1px rgba(255, 255, 255, .4);
    padding: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cauda conectando o balão ao botão WhatsApp */
.wa-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 16px;
    width: 20px;
    height: 20px;
    background: inherit;
    border-right: 1px solid rgba(201, 169, 0, .35);
    border-bottom: 1px solid rgba(201, 169, 0, .35);
    transform: rotate(45deg);
    border-bottom-right-radius: 4px;
    z-index: -1;
}

body.dark-mode .wa-bubble {
    background:
        linear-gradient(160deg, rgba(28, 24, 12, .96) 0%, rgba(22, 18, 8, .97) 60%, rgba(15, 12, 6, .98) 100%);
    border-color: rgba(252, 212, 3, .35);
    box-shadow:
        0 1px 0 rgba(252, 212, 3, .12) inset,
        0 20px 45px -10px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(252, 212, 3, .08),
        0 0 30px -8px rgba(252, 212, 3, .15);
}

body.dark-mode .wa-bubble::before {
    background: rgba(15, 12, 6, .98);
    border-right-color: rgba(252, 212, 3, .35);
    border-bottom-color: rgba(252, 212, 3, .35);
}

.wa-bubble.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.wa-avatar-wrapper {
    position: relative;
}

.wa-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #25d366;
    box-shadow: 0 4px 12px -4px rgba(37, 211, 102, .35);
}

body.dark-mode .wa-avatar {
    border-color: rgba(252, 212, 3, .55);
    box-shadow: 0 4px 12px -4px rgba(252, 212, 3, .3);
}

.wa-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #25d366;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: wa-pulse-green 2s infinite;
}

body.dark-mode .wa-status-dot {
    border-color: #16120A;
}

.wa-name {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
    letter-spacing: .01em;
}

body.dark-mode .wa-name {
    color: #fcd403;
}

.wa-typing {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.wa-typing span {
    width: 5px;
    height: 5px;
    background: #25d366;
    border-radius: 50%;
    animation: wa-typing-ani 1.4s infinite;
    opacity: 0.4;
}

.wa-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.wa-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wa-typing-ani {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%      { transform: translateY(-4px); opacity: 1; }
}

@keyframes wa-pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-message-text p {
    margin: 0;
    font-size: 13px;
    color: #2c2c2c;
    line-height: 1.5;
}

body.dark-mode .wa-message-text p {
    color: rgba(245, 230, 180, .88);
}

.wa-message-text p strong {
    color: #C9A900;
}

body.dark-mode .wa-message-text p strong {
    color: #fcd403;
}

.wa-float-btn {
    width: 54px;
    height: 54px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.6s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    position: relative;
}

.wa-float-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff3b30;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
}

.wa-badge.show {
    opacity: 1;
    transform: scale(1);
}

.wa-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    transition: color 0.3s;
    z-index: 2;
}

.wa-close:hover {
    color: #444;
}

body.dark-mode .wa-close {
    color: rgba(252, 212, 3, .45);
}

body.dark-mode .wa-close:hover {
    color: #fcd403;
}

body.dark-mode {
    --brand-main: #fcd403;       /* Amarelo vivo Aposente no dark (alto contraste sobre preto) */
    --brand-hover: #C9A900;      /* Dourado escuro no hover */
    --brand-accent: #1a1a1a;
    --brand-dark: #ffffff;
    --brand-gray: #9ca3af;
    --brand-light: #0A0A0A;
    --bg-color: #0A0A0A;
    --text-color: #f9fafb;
    --card-bg: #0d0d0d;
    --border-color: rgba(255, 255, 255, 0.06);
}

/* Light Mode */
body.light-mode {
    --brand-main: #C9A900;       /* Dourado escuro no light (legível sobre branco) */
    --brand-hover: #0A0A0A;      /* Preto justiça no hover light */
    --brand-accent: #FAF2D6;     /* Bege Aposente refinado quente */
    --brand-dark: #0A0A0A;
    --brand-gray: #52525b;
    --brand-light: #FAF8EB;      /* Tom amarelado/marfim bem leve */
    --bg-color: #FAF8EB;         /* Tom amarelado/marfim bem leve */
    --text-color: #0A0A0A;
    --card-bg: #ffffff;
    --border-color: rgba(201, 169, 0, 0.15); /* Alinhado ao tom dourado/amarelado */
}

/* Gradient Overlay da Hero customizado */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0A0A0A 0%, rgba(10, 10, 10, 0.85) 15%, rgba(252, 212, 3, 0.35) 50%, rgba(252, 212, 3, 0.12) 75%, transparent 100%);
    z-index: 10;
}

body.light-mode .hero-gradient-overlay {
    background: linear-gradient(to top, var(--bg-color) 0%, rgba(252, 212, 3, 0.38) 45%, rgba(252, 212, 3, 0.12) 75%, transparent 100%) !important;
}

/* ========== LIGHT MODE OVERRIDES ========== */

/* Backgrounds escuros → claros */
body.light-mode .bg-zinc-900 {
    background-color: #ffffff !important;
}

body.light-mode .bg-zinc-800 {
    background-color: #F5F0DB !important; /* Alinhado ao tom amarelado leve */
}

body.light-mode .bg-black {
    background-color: #F5F0DB !important; /* Alinhado ao tom amarelado leve */
}

body.light-mode [class*="bg-[#121212]"] {
    background-color: #F5F0DB !important; /* Alinhado ao tom amarelado leve */
}

body.light-mode [class*="bg-[#18181b]"] {
    background-color: #ffffff !important;
}

body.light-mode [class*="bg-[#09090b]"] {
    background-color: #F5F0DB !important; /* Alinhado ao tom amarelado leve */
}

body.light-mode [class*="!bg-zinc-900"] {
    background-color: #ffffff !important;
}

/* Textos claros → escuros */
body.light-mode .text-white {
    color: #1a1a1a !important;
}

/* Títulos sobre imagens sempre brancos (cards de serviços) */
body.light-mode .absolute.text-white {
    color: #ffffff !important;
}

body.light-mode .text-zinc-300 {
    color: #3f3f46 !important;
}

body.light-mode .text-zinc-400 {
    color: #52525b !important;
}

body.light-mode .text-zinc-500 {
    color: #71717a !important;
}

body.light-mode [class*="text-white/7"] {
    color: rgba(24, 24, 27, 0.6) !important;
}

body.light-mode [class*="text-white/8"] {
    color: rgba(24, 24, 27, 0.75) !important;
}

body.light-mode [class*="text-white/5"] {
    color: rgba(24, 24, 27, 0.5) !important;
}

body.light-mode .text-brand-gray {
    color: #52525b !important;
}

body.light-mode .text-brand-dark {
    color: #18181b !important;
}

/* Bordas — Mais visíveis com contornos claros */
body.light-mode [class*="border-white/5"] {
    border-color: rgba(201, 169, 0, 0.1) !important;
}

body.light-mode [class*="border-white/10"] {
    border-color: rgba(201, 169, 0, 0.15) !important;
}

body.light-mode [class*="border-brand-main"] {
    border-color: #C9A900 !important;
}

/* Fundos com opacidade branca → opacidade escura */
body.light-mode [class*="bg-white/5"] {
    background-color: rgba(201, 169, 0, 0.04) !important;
}

body.light-mode [class*="bg-white/10"] {
    background-color: rgba(201, 169, 0, 0.07) !important;
}

body.light-mode [class*="bg-black/5"] {
    background-color: rgba(201, 169, 0, 0.03) !important;
}

body.light-mode [class*="bg-black/50"] {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

body.light-mode [class*="bg-black/60"] {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

/* Sombras mais suaves */
body.light-mode .shadow-xl {
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .shadow-2xl {
    box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .shadow-lg {
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode [class*="shadow-brand-main"] {
    box-shadow: 0 4px 16px -4px rgba(107, 23, 40, 0.15) !important;
}

/* Glassmorphism */
body.light-mode .glass {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
}

/* Modais */
body.light-mode .modal-backdrop {
    background: rgba(240, 240, 240, 0.8) !important;
    backdrop-filter: blur(8px) !important;
}

body.light-mode .modal-content {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15) !important;
}

body.light-mode .close-modal {
    color: #71717a !important;
}

/* Theme Toggle */
body.light-mode .theme-toggle {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Botões de links (segunda seção) — Versão Branca no Light Mode */
body.light-mode .h-28.bg-zinc-900 {
    background-color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .h-28.bg-zinc-900:hover {
    border-color: var(--brand-main) !important;
    background-color: #ffffff !important;
}

body.light-mode .h-28.bg-zinc-900 span {
    color: #18181b !important;
}

body.light-mode .h-28.bg-zinc-900 .opacity-70 {
    opacity: 1 !important;
    color: #52525b !important;
}

body.light-mode .h-28.bg-zinc-900 i:not(.text-brand-main) {
    color: #18181b !important;
}

/* Service cards, about sections */
body.light-mode section .rounded-2xl,
body.light-mode section .rounded-3xl,
body.light-mode section [class*="rounded-[2"] {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Footer */
body.light-mode footer {
    background-color: var(--bg-color) !important;
    border-top: 3px solid #fcd403 !important;
    color: #3f3f46 !important;
    box-shadow: none !important;
}

body.light-mode footer a,
body.light-mode footer i,
body.light-mode footer p,
body.light-mode footer span {
    color: #3f3f46 !important;
}

body.light-mode footer a:hover,
body.light-mode footer a:hover i {
    color: var(--brand-main) !important;
}

/* Créditos e copyright — remover transparência no light mode */
body.light-mode footer .opacity-30 {
    opacity: 0.7 !important;
    color: #3f3f46 !important;
}

body.light-mode footer a.opacity-30 {
    opacity: 0.6 !important;
    color: #52525b !important;
}

body.light-mode footer a.opacity-30:hover {
    opacity: 1 !important;
    color: var(--brand-main) !important;
}

/* Gradientes de hero */
body.light-mode [class*="from-brand-main"] {
    --tw-gradient-from: rgba(107, 23, 40, 0.06) !important;
}

/* Micro-labels e opacidades */
body.light-mode .micro-label {
    color: #52525b !important;
}

body.light-mode .opacity-70 span,
body.light-mode .font-medium.opacity-70 {
    opacity: 1 !important;
    color: #3f3f46 !important;
}

/* Video labels e overlays */
body.light-mode .video-label {
    color: #ffffff !important;
}

body.light-mode .btn-ativar-som {
    color: #ffffff !important;
}

/* Botão CTA vinho — manter texto branco */
body.light-mode .bg-brand-main {
    color: #ffffff !important;
}

body.light-mode [class*="bg-brand-main"] a,
body.light-mode [class*="bg-brand-main"] span,
body.light-mode [class*="bg-brand-main"] i,
body.light-mode a.bg-brand-main,
body.light-mode a.bg-brand-main i {
    color: #ffffff !important;
}

/* Botão WhatsApp gradiente — manter texto branco */
body.light-mode [class*="from-[#0A0A0A]"] {
    color: #ffffff !important;
}

body.light-mode [class*="from-[#0A0A0A]"] span,
body.light-mode [class*="from-[#0A0A0A]"] i,
body.light-mode [class*="from-[#0A0A0A]"] div {
    color: #ffffff !important;
}

body.light-mode .pulse-custom-slow span,
body.light-mode .pulse-custom-slow i {
    color: #ffffff !important;
}

/* Seção de vídeo — fundo transparente no light mode */
body.light-mode .video-gallery-section {
    background-color: transparent !important;
}

body.light-mode #video-gallery {
    background-color: transparent !important;
}

body.light-mode .video-carousel,
body.light-mode #videoCarousel {
    background-color: transparent !important;
}

/* Stats cards — fundo branco com borda vinho */
body.light-mode [class*="bg-black/40"] {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    border: 2px solid var(--brand-main) !important;
    box-shadow: 0 2px 12px rgba(107, 23, 40, 0.08) !important;
}

/* Pill de categoria do hero — light mode: sem borda, fundo suave */
body.light-mode [data-config="negocio.subtitulo"] {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border: none !important;
    box-shadow: none !important;
}

/* Pill de categoria do hero — dark mode: letra branca */
body.dark-mode [data-config="negocio.subtitulo"] {
    color: #ffffff !important;
}

body.light-mode [class*="bg-black/40"] div {
    color: #18181b !important;
}

body.light-mode [class*="bg-black/40"] .text-brand-main {
    color: var(--brand-main) !important;
}

/* Mapa — sem inversão */
body.light-mode iframe {
    filter: none !important;
}

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.8s var(--ease-premium), color 0.8s var(--ease-premium);
    overflow-x: hidden;
}

/* Efeito de Textura Premium para o Dark Mode */
body.dark-mode::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* Tipografia — Aposente
   font-serif foi remapeado para Inter (editorial moderno em uppercase bold);
   font-brand (Jost) é a substituta open-source mais próxima do Century Gothic Pro Italic
   usado na logo do cliente — sempre aplicado em italic para fidelidade. */
.font-serif {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.005em;
    line-height: 1.15;
}

.font-brand {
    font-family: 'Jost', 'Century Gothic', sans-serif;
    font-weight: 400;
    letter-spacing: -0.005em;
    line-height: 1;
}

h1,
h2,
h3 {
    letter-spacing: -0.01em;
}

/* Micro-Tipografia Técnica */
.micro-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: none;
    opacity: 0.5;
}

/* Glassmorphism Refinado */
.glass {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

/* Modal Styling */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

@media (max-width: 640px) {
    .modal-backdrop {
        padding: 0.5rem;
    }
}

.modal-content {
    background: var(--brand-light);
    border-radius: 2rem;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    animation: modalIn 0.5s var(--ease-premium);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: var(--brand-gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s var(--ease-premium);
}

.close-modal:hover {
    transform: rotate(90deg);
}

/* Animations & Micro-interactions */
.hover-lift {
    transition: all 0.5s var(--ease-premium);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(107, 23, 40, 0.4);
}

/* Fade Up Entry — sutil e suave */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse slower and more elegant - REMOVIDO para conformidade OAB */
@keyframes pulse-ring {
    0% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(107, 23, 40, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(107, 23, 40, 0);
    }

    100% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(107, 23, 40, 0);
    }
}

/* .pulse-custom-slow - Animation removida para conformidade OAB */

/* Theme Toggle - definição unificada abaixo em BOTÕES FIXOS SUPERIORES */

/* Refinamento dos Cards em Modo Escuro (Global) */
body.dark-mode [class*="bg-[#18181b]"],
body.dark-mode [class*="bg-zinc-900"],
body.dark-mode .modal-content {
    background-color: var(--card-bg) !important;
    border: none !important;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode [class*="bg-[#18181b]"]:hover {
    border-color: rgba(107, 23, 40, 0.3) !important;
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(107, 23, 40, 0.1) !important;
}

/* Music Toggle Animations */
@keyframes pulse-music {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(107, 23, 40, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(107, 23, 40, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(107, 23, 40, 0);
    }
}

#music-toggle.playing {
    animation: pulse-music 2.5s infinite var(--ease-premium);
    border-color: var(--brand-hover);
}

#music-toggle.playing i {
    color: var(--brand-hover);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--brand-light);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-main);
    opacity: 0.3;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--brand-main);
    border-radius: 10px;
    opacity: 0.5;
}

/* Make sure text colors override everything properly */
.text-brand-gray {
    color: var(--brand-gray) !important;
}

.text-brand-dark {
    color: var(--brand-dark) !important;
}

/* Horizontal Scroll for Reviews */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    display: flex;
    width: max-content;
    animation: scrollReviews 120s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollResults {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-fast {
    display: flex;
    width: max-content;
    animation: scrollResults 20s linear infinite;
}

.animate-scroll-fast:hover {
    animation-play-state: paused;
}

@keyframes scrollReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.animate-scroll-reverse {
    display: flex;
    width: max-content;
    animation: scrollReverse 60s linear infinite;
}

.animate-scroll-reverse:hover {
    animation-play-state: paused;
}

@keyframes modalZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-modalZoom {
    animation: modalZoom 0.4s var(--ease-premium);
}

/* ============================================================
   GALERIA DE VÍDEOS - Carousel 3D
   ============================================================ */

/* Botão ativar som */
.btn-ativar-som {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--brand-main);
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.08em;
    cursor: pointer;
    animation: pulseSom 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(107, 23, 40, 0.5);
    transition: background 0.2s, transform 0.2s;
}

.btn-ativar-som:hover {
    background: var(--brand-hover);
    transform: translateX(-50%) scale(1.05);
}

@keyframes pulseSom {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(107, 23, 40, 0.5);
    }

    50% {
        box-shadow: 0 4px 30px rgba(107, 23, 40, 0.8);
    }
}

.video-gallery-section {
    background-color: rgba(24, 24, 27, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    border-radius: 2.5rem;
    margin-top: 2rem;
}

.video-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .video-carousel {
        height: 420px;
    }
}

/* Cada slide de vídeo */
.video-slide {
    position: absolute;
    width: 75%;
    max-width: 320px;
    height: 90%;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    background: #000;
}

/* Máscara de degradê para os vídeos de fundo */
.video-slide-mask {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vídeo player */
.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Label do vídeo */
.video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.08em;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ── Estados do Carousel ────────────────────────────── */

/* Vídeo ativo (centro, na frente) */
.video-slide.is-active {
    z-index: 30;
    transform: translateX(0) scale(1);
    filter: none;
    border-color: var(--brand-main);
    box-shadow:
        0 0 40px rgba(107, 23, 40, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.6);
}

.video-slide.is-active .video-slide-mask {
    opacity: 0;
}

.video-slide.is-active .video-label {
    opacity: 1;
    transform: translateY(0);
}

/* Vídeo à esquerda */
.video-slide.is-prev {
    z-index: 20;
    transform: translateX(-40%) scale(0.78) rotateY(6deg);
    filter: blur(4px) brightness(0.45);
}

.video-slide.is-prev .video-slide-mask {
    opacity: 1;
    background: linear-gradient(to left, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.5) 40%, transparent 100%);
}

/* Vídeo à direita */
.video-slide.is-next {
    z-index: 20;
    transform: translateX(40%) scale(0.78) rotateY(-6deg);
    filter: blur(4px) brightness(0.45);
}

.video-slide.is-next .video-slide-mask {
    opacity: 1;
    background: linear-gradient(to right, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.5) 40%, transparent 100%);
}

/* Vídeos ocultos (fora da visualização) */
.video-slide.is-hidden {
    z-index: 10;
    transform: translateX(0) scale(0.6);
    filter: blur(8px) brightness(0.3);
    opacity: 0;
    pointer-events: none;
}

/* ── Indicadores / Dots ────────────────────────────── */
.video-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-bottom: 2rem;
}

.video-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--brand-gray);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.video-dot.active {
    border-color: var(--brand-main);
    background: var(--brand-main);
    transform: scale(1.2);
}

/* Barra de progresso no vídeo ativo */
.video-slide.is-active.is-playing::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--brand-main);
    z-index: 20;
    width: 0%;
    animation: videoProgress var(--video-duration, 10s) linear forwards;
}

@keyframes videoProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Utilities */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ============================================================
   ANIMATED TICKER (Top Bar)
   ============================================================ */
.welcome-ticker {
    width: 100%;
    background: var(--card-bg);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 50;
    border-top: none;
    border-bottom: none;
}

/* Bloco da saudação final — mesmo fundo do footer/ticker, continuidade total */
.welcome-ticker-footer {
    width: 100%;
    background: var(--card-bg);
    color: #fff;
    position: relative;
    z-index: 50;
    border: none;
}

body.light-mode .welcome-ticker-footer {
    background: var(--bg-color);
    color: var(--brand-main);
    border: none;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    gap: 1.5rem;
    animation: ticker-anim 80s linear infinite;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.1em;
    align-items: center;
}

.ticker-content span {
    display: inline-block;
}

.ticker-content .separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

@keyframes ticker-anim {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

body.light-mode .welcome-ticker {
    background: var(--bg-color);
    color: var(--brand-main);
    border-top: none;
    border-bottom: none;
    box-shadow: none;
}

/* ===== IMAGE COMPARISON SLIDER ===== */
.image-comparison-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    overflow: hidden;
    --exposure: 50%;
}

.comparison-img-before,
.comparison-img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-img-after {
    z-index: 10;
}

.comparison-img-before {
    z-index: 20;
    clip-path: inset(0 calc(100% - var(--exposure)) 0 0);
}

.comparison-slider-handle {
    position: absolute;
    top: 0;
    left: var(--exposure);
    width: 4px;
    height: 100%;
    background: var(--brand-main);
    z-index: 40;
    transform: translateX(-50%);
    pointer-events: none;
}

.comparison-slider-handle::after {
    content: '\f337';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--brand-main);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.comparison-slider {
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    outline: none;
    margin: 0;
    z-index: 50;
    cursor: ew-resize;
}

.comparison-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 480px;
    background: transparent;
    cursor: ew-resize;
}

.results-badge-abs {
    position: absolute;
    top: 1.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.1em;
    z-index: 30;
}

.badge-before-pos {
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    backdrop-filter: blur(4px);
}

.badge-after-pos {
    right: 1rem;
    background: var(--brand-main);
    color: #fff;
    box-shadow: 0 4px 12px rgba(107, 23, 40, 0.3);
}

.text-brand-main {
    color: var(--brand-main);
}

@keyframes scrollReviewsReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.animate-scroll-reverse {
    display: flex;
    width: max-content;
    animation: scrollReviewsReverse 60s linear infinite;
}

.animate-scroll-reverse:hover {
    animation-play-state: paused;
}

/* Override para separadores vinhos no modo claro */
body.light-mode .ticker-content .separator {
    color: var(--brand-main) !important;
    opacity: 1 !important;
}

/* Ticker Animation for Welcome Bar — escopado para .welcome-ticker para não conflitar com .animate-scroll do carrossel de avaliações */
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.welcome-ticker .animate-scroll {
    display: flex;
    width: max-content;
    animation: ticker-scroll 70s linear infinite;
}

.welcome-ticker:hover .animate-scroll {
    animation-play-state: paused;
}

.welcome-ticker .separator {
    margin: 0 1.5rem;
    opacity: 0.3;
}

/* ============================================
   BOTÕES FIXOS SUPERIORES (PADRÃO PREMIUM)
   ============================================ */
/* Wrapper fixo para controles (Centralizado com o card) */
.fixed-controls-wrapper {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 512px; /* max-w-lg */
    height: 0;
    z-index: 1000;
    pointer-events: none;
}

.theme-toggle {
    position: absolute;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    pointer-events: auto;
    transition: transform 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium);
    backdrop-filter: blur(8px);
}

.theme-toggle.theme-toggle--hidden {
    transform: translateY(-100px);
    opacity: 0;
    pointer-events: none;
}

.theme-toggle:hover {
    transform: scale(1.05) rotate(12deg);
    border-color: var(--brand-main);
}

.theme-toggle i {
    font-size: 1.1rem;
    color: var(--brand-main);
}

/* 
   AJUSTE DE BORDA DO FOOTER (SOLICITAÇÃO)
   Garante que o footer tenha uma borda dourada/bege premium em ambos os modos
*/
body.dark-mode footer.bg-zinc-900,
body.light-mode footer.bg-zinc-900 {
    border-top: 2.5px solid var(--brand-main) !important;
}

/* Indicador de Scroll Sutil */
@keyframes subtle-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(8px); opacity: 0.6; }
}

.scroll-indicator {
    animation: subtle-bounce 3s infinite ease-in-out;
    transition: all 0.4s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1 !important;
    transform: translateX(-50%) scale(1.1) !important;
}

/* Animação do Indicador de Scroll */
.scroll-indicator {
    animation: bounce-scroll 2.5s infinite var(--ease-premium);
    transition: opacity 0.3s ease;
}

@keyframes bounce-scroll {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.4; }
    40% { transform: translateY(-10px) translateX(-50%); opacity: 0.8; }
    60% { transform: translateY(-5px) translateX(-50%); opacity: 0.6; }
}

.animate-scroll-line {
    animation: scroll-line 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scroll-line {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

@keyframes bounce-slow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-2px); }
}

/* ============================================================
   LINK CARD — sistema minimalista (adaptado da Luanda)
   ============================================================ */
.link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.5rem;
    padding: 1.15rem 1.25rem;
    min-height: 72px;
    width: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-card:active {
    transform: scale(0.98);
}
.lc-icon {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
    color: var(--brand-main);
}
.lc-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lc-title {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.lc-arrow {
    margin-left: auto;
    color: var(--brand-main);
    font-size: 0.72rem;
    opacity: 0.55;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.link-card:hover .lc-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ─── Dark mode ─── */
body.dark-mode .link-card {
    background: #0d0d0d;
    border: 1px solid rgba(252, 212, 3, 0.15);
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.4);
}
body.dark-mode .link-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-hover);
    box-shadow: 0 10px 28px -8px rgba(252, 212, 3, 0.28);
}
body.dark-mode .lc-label { color: rgba(255, 255, 255, 0.55); }
body.dark-mode .lc-title { color: #ffffff; }

/* ─── Light mode ─── */
body.light-mode .link-card {
    background: #ffffff;
    border: 1px solid rgba(201, 169, 0, 0.16);
    box-shadow: 0 2px 12px rgba(201, 169, 0, 0.08);
}
body.light-mode .link-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-main);
    box-shadow: 0 8px 28px rgba(201, 169, 0, 0.22);
}
body.light-mode .lc-label { color: #71717a; }
body.light-mode .lc-title { color: #0A0A0A; }

/* ─── Variant WhatsApp (gradiente preto → dourado, mesma estrutura) ─── */
.link-card--whatsapp,
body.dark-mode .link-card--whatsapp,
body.light-mode .link-card--whatsapp {
    background: linear-gradient(135deg, #0A0A0A 0%, #C9A900 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px -8px rgba(201, 169, 0, 0.45);
}
.link-card--whatsapp:hover,
body.dark-mode .link-card--whatsapp:hover,
body.light-mode .link-card--whatsapp:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 32px -10px rgba(201, 169, 0, 0.6);
}
.link-card--whatsapp .lc-icon,
.link-card--whatsapp .lc-icon i { color: #ffffff !important; }
.link-card--whatsapp .lc-label { color: rgba(255, 255, 255, 0.85) !important; }
.link-card--whatsapp .lc-title { color: #ffffff !important; }
.link-card--whatsapp .lc-arrow { color: rgba(255, 255, 255, 0.85) !important; opacity: 1 !important; }
.link-card--whatsapp:hover .lc-arrow { color: #ffffff !important; }

/* ============================================================
   CARROSSEL 3D DE VÍDEOS (estilo Odonto Novo Leblon)
   ============================================================ */
.c3d-wrap {
    perspective: 1200px;
    width: 100%;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}
.c3d-item {
    position: absolute;
    width: 320px;
    aspect-ratio: 9/16;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all .6s cubic-bezier(.23, 1, .32, 1);
    cursor: pointer;
    background: #000;
    will-change: transform, opacity;
}
.c3d-item:not(.active) .video-play-overlay,
.c3d-item:not(.active) .c3d-overlay,
.c3d-item:not(.active) .vc-action-btns,
.c3d-item:not(.active) .vc-inline-cta {
    pointer-events: none;
}
.c3d-item.active {
    z-index: 30;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(252, 212, 3, 0.35);
}
.c3d-item.right {
    z-index: 20;
    transform: translate3d(120px, 0, -150px) rotateY(-15deg) scale(0.85);
    opacity: 0.4;
    filter: blur(1px) brightness(0.6);
}
.c3d-item.left {
    z-index: 20;
    transform: translate3d(-120px, 0, -150px) rotateY(15deg) scale(0.85);
    opacity: 0.4;
    filter: blur(1px) brightness(0.6);
}
.c3d-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.c3d-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    transition: opacity .4s cubic-bezier(.23, 1, .32, 1);
}

/* Quando o vídeo está tocando, esconder legenda e botão play central
   (estilo Reels/TikTok — vê só o vídeo). Voltam ao pausar ou em hover. */
.c3d-item.is-playing .c3d-overlay {
    opacity: 0;
    pointer-events: none;
}

.c3d-item.is-playing:hover .c3d-overlay {
    opacity: 1;
    pointer-events: auto;
}
@media(max-width:480px) {
    .c3d-wrap { height: 600px; }
    .c3d-item { width: 280px; }
    .c3d-item.right {
        transform: translate3d(110px, 0, -130px) rotateY(-12deg) scale(0.8);
    }
    .c3d-item.left {
        transform: translate3d(-110px, 0, -130px) rotateY(12deg) scale(0.8);
    }
}
@media(max-width:360px) {
    .c3d-wrap { height: 540px; }
    .c3d-item { width: 240px; }
    .c3d-item.right {
        transform: translate3d(95px, 0, -110px) rotateY(-10deg) scale(0.75);
    }
    .c3d-item.left {
        transform: translate3d(-95px, 0, -110px) rotateY(10deg) scale(0.75);
    }
}

.v-dot {
    width: 22px;
    height: 4px;
    border-radius: 99px;
    background: rgba(201, 169, 0, .25);
    transition: all .3s cubic-bezier(.23, 1, .32, 1);
    cursor: pointer;
    border: none;
    padding: 0;
}
.v-dot.on {
    background: var(--brand-main);
    width: 32px;
}

/* Botões play overlay */
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .4);
    z-index: 10;
    opacity: 0;
    transition: opacity .3s cubic-bezier(.23, 1, .32, 1);
    pointer-events: none;
}
.c3d-item:hover .video-play-overlay,
.c3d-item.paused .video-play-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Quando tocando, esconder botão play central (só aparece em hover) */
.c3d-item.is-playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
    background: transparent;
}

.c3d-item.is-playing:hover .video-play-overlay {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, .4);
}
.video-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201, 169, 0, .9);
    border: 2px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s cubic-bezier(.23, 1, .32, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}
.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--brand-hover);
}

/* Botões ampliar + som no canto superior direito do card ativo */
.vc-action-btns {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 25;
    display: flex;
    gap: .4rem;
    opacity: 1;
    transition: opacity .3s cubic-bezier(.23, 1, .32, 1);
}
.vc-btn-sound,
.vc-btn-expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 212, 3, .35);
    color: rgba(255,255,255,.9);
    font-size: .78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s cubic-bezier(.23, 1, .32, 1);
}
.vc-btn-sound:hover,
.vc-btn-expand:hover {
    background: var(--brand-main);
    border-color: var(--brand-main);
    transform: scale(1.1);
}
.vc-btn-sound.active {
    background: var(--brand-main);
    border-color: var(--brand-main);
}

/* Modal de vídeo (ampliação) */
.vc-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.vc-modal.open {
    display: flex;
}
.vc-modal-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10001;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(201, 169, 0, .25);
    border: none;
    color: #fff;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;
}
.vc-modal-close:hover {
    background: var(--brand-main);
    transform: rotate(90deg);
}
.vc-modal video {
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(252, 212, 3, 0.2);
    outline: none;
}

/* ============================================================
   CARDS COMPACTOS DE DEPOIMENTO/EDUCATIVO (200px)
   Mesmo padrão do carrossel 3D mas para cards horizontais menores
   ============================================================ */
.mini-card {
    position: relative;
}
.mini-card .mini-overlay {
    transition: opacity .4s cubic-bezier(.23, 1, .32, 1);
}
.mini-card.is-playing .mini-overlay {
    opacity: 0;
    pointer-events: none;
}
/* Botões de controle (som + expandir) — aparecem só quando tocando */
.mini-card .mini-actions {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 25;
    display: flex;
    gap: .3rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .3s cubic-bezier(.23, 1, .32, 1), transform .3s cubic-bezier(.23, 1, .32, 1);
    pointer-events: none;
}
.mini-card.is-playing .mini-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.mini-card .mini-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 212, 3, .35);
    color: rgba(255,255,255,.9);
    font-size: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s cubic-bezier(.23, 1, .32, 1);
}
.mini-card .mini-btn:hover {
    background: var(--brand-main);
    border-color: var(--brand-main);
    transform: scale(1.1);
}
.mini-card .mini-btn.active {
    background: var(--brand-main);
    border-color: var(--brand-main);
}
/* Botão pause central — aparece no hover quando tocando */
.mini-card .mini-pause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 0, .9);
    border: 2px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: .95rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
    opacity: 0;
    transition: opacity .25s cubic-bezier(.23, 1, .32, 1);
}
.mini-card.is-playing .mini-pause {
    display: flex;
}
.mini-card.is-playing:hover .mini-pause {
    opacity: 1;
}

/* Botões de navegação dos depoimentos (esquerda/direita) */
.dep-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(252, 212, 3, .35);
    color: #fcd403;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s var(--ease-premium);
    font-size: 12px;
    flex-shrink: 0;
}
.dep-nav-btn:hover {
    background: #fcd403;
    color: #0A0A0A;
    border-color: #fcd403;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(252, 212, 3, .35);
}
.dep-nav-btn:active {
    transform: scale(0.95);
}
body:not(.dark-mode) .dep-nav-btn {
    border-color: rgba(201, 169, 0, .4);
    color: #C9A900;
}
body:not(.dark-mode) .dep-nav-btn:hover {
    background: #C9A900;
    color: #ffffff;
    border-color: #C9A900;
}
