/* ============================================================
   LINK 360 — SHARED: NICHO ADVOCACIA
   Design System, Componentes e Animações Premium
   Baseado no modelo Nohana Quintanilha Advocacia
   
   Uso: <link rel="stylesheet" href="../../shared/advocacia/advocacia.css">
   
   Sobrescreva variáveis no :root do style.css local se necessário:
   :root {
       --brand-main: #SUA_COR;
       --brand-hover: #SUA_COR_DOURADO;
   }
   ============================================================ */

/* ─── Design System Base ─── */
:root {
    --brand-main: #6B1728;
    --brand-hover: #C9993A;
    --brand-accent: #27272a;
    --brand-dark: #ffffff;
    --brand-gray: #a1a1aa;
    --brand-light: #050505;
    --whatsapp-color: #25D366;
    --bg-color: #050505;
    --text-color: #ffffff;
    --card-bg: #111111;
    --border-color: rgba(255, 255, 255, 0.08);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    -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, [data-interactive="true"] {
    user-select: auto;
    pointer-events: auto;
}

/* ─── Dark Mode (Padrão Advocacia) ─── */
body.dark-mode {
    --brand-main: #6B1728;
    --brand-hover: #C9993A;
    --brand-accent: #1a1a1a;
    --brand-dark: #ffffff;
    --brand-gray: #9ca3af;
    --brand-light: #050505;
    --bg-color: #050505;
    --text-color: #f9fafb;
    --card-bg: #0d0d0d;
    --border-color: rgba(255, 255, 255, 0.06);
}

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;
}

/* ─── Light Mode ─── */
body.light-mode {
    --brand-main: #6B1728;
    --brand-hover: #B88A2E;
    --brand-accent: #e4e4e7;
    --brand-dark: #18181b;
    --brand-gray: #52525b;
    --brand-light: #f4f4f5;
    --bg-color: #f4f4f5;
    --text-color: #18181b;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
}

/* ─── Light Mode Overrides ─── */
body.light-mode .bg-zinc-900 { background-color: #ffffff !important; }
body.light-mode .bg-zinc-800 { background-color: #f4f4f5 !important; }
body.light-mode .bg-black { background-color: #f4f4f5 !important; }
body.light-mode [class*="bg-[#121212]"] { background-color: #f4f4f5 !important; }
body.light-mode [class*="bg-[#18181b]"] { background-color: #ffffff !important; }
body.light-mode [class*="bg-[#09090b]"] { background-color: #f4f4f5 !important; }
body.light-mode [class*="!bg-zinc-900"] { background-color: #ffffff !important; }

body.light-mode .text-white { color: #1a1a1a !important; }
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; }

body.light-mode [class*="border-white/5"] { border-color: rgba(0, 0, 0, 0.1) !important; }
body.light-mode [class*="border-white/10"] { border-color: rgba(0, 0, 0, 0.12) !important; }
body.light-mode [class*="border-brand-main"] { border-color: var(--brand-main) !important; }

body.light-mode [class*="bg-white/5"] { background-color: rgba(0, 0, 0, 0.03) !important; }
body.light-mode [class*="bg-white/10"] { background-color: rgba(0, 0, 0, 0.04) !important; }
body.light-mode [class*="bg-black/5"] { background-color: rgba(0, 0, 0, 0.02) !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; }

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; }

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; }
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; }
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 secundários mantêm escuros no light mode */
body.light-mode .h-24.bg-zinc-900 { background-color: #18181b !important; border: 1px solid rgba(255,255,255,0.08) !important; }
body.light-mode .h-24.bg-zinc-900 .text-white,
body.light-mode .h-24.bg-zinc-900 span,
body.light-mode .h-24.bg-zinc-900 i { color: #ffffff !important; }
body.light-mode .h-24[class*="hover:bg-zinc-800"]:hover { background-color: #27272a !important; }

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; }

body.light-mode footer { background-color: #ffffff !important; border-top: 2px solid var(--brand-main) !important; color: #3f3f46 !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; }
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; }

body.light-mode [class*="from-brand-main"] { --tw-gradient-from: rgba(107,23,40,0.06) !important; }
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; }
body.light-mode .video-label, body.light-mode .btn-ativar-som { color: #ffffff !important; }
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; }
body.light-mode [class*="from-[#6B1728]"] { color: #ffffff !important; }
body.light-mode [class*="from-[#6B1728]"] span, body.light-mode [class*="from-[#6B1728]"] i,
body.light-mode [class*="from-[#6B1728]"] div { color: #ffffff !important; }
body.light-mode .pulse-custom-slow span, body.light-mode .pulse-custom-slow i { color: #ffffff !important; }
body.light-mode .video-gallery-section, body.light-mode #video-gallery,
body.light-mode .video-carousel, body.light-mode #videoCarousel { background-color: transparent !important; }

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; }
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; }

body.light-mode [data-config="negocio.subtitulo"] { background-color: rgba(255,255,255,0.25) !important; border: none !important; box-shadow: none !important; }
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;
}

/* ─── Tipografia Advocacia ─── */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

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

.micro-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* ─── Glassmorphism ─── */
.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;
}

.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); }

/* ─── WhatsApp Floating Button ─── */
.whatsapp-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }

#whatsapp-message {
    width: 193px;
    position: absolute;
    bottom: 75px; right: 0px;
    padding: 10px 24px 10px 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: #1a1a1b;
    border-radius: 14px;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    opacity: 0; visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1002;
}

#whatsapp-message::after {
    content: '';
    position: absolute;
    bottom: -6px; right: 25px;
    width: 12px; height: 12px;
    background: inherit;
    transform: rotate(45deg);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: -1;
}

#whatsapp-message.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.close-whatsapp-bubble {
    position: absolute;
    top: 4px; right: 6px;
    background: transparent; border: none;
    color: #000; cursor: pointer;
    font-size: 10px; padding: 3px;
    transition: all 0.2s ease;
    display: flex; align-items: center; justify-content: center;
    opacity: 0.8;
}
.close-whatsapp-bubble:hover { opacity: 1; }

.whatsapp-float {
    width: 60px; height: 60px;
    background-color: #25d366; color: #FFF;
    border-radius: 50px;
    text-align: center; font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative; z-index: 1001;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); background-color: #128c7e; box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }
.whatsapp-float i { margin-top: 1px; }
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-notify { display: none !important; }

/* ─── 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); }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s var(--ease-premium); }
.reveal.active { opacity: 1; transform: translateY(0); }

@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); }
}

/* ─── Music Toggle ─── */
@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; }

/* ─── Text Utilities ─── */
.text-brand-gray { color: var(--brand-gray) !important; }
.text-brand-dark { color: var(--brand-dark) !important; }
.text-brand-main { color: var(--brand-main) !important; }

/* ─── Horizontal Scroll 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 60s 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); }

/* ─── Video Gallery / Carousel 3D ─── */
.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: 'Cormorant Garamond', serif;
    font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; 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; } }

.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;
}

.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);
}

.video-player { width: 100%; height: 100%; object-fit: cover; display: block; }

.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: 'Cormorant Garamond', serif;
    font-size: 0.9rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.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); }

.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%); }

.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%); }

.video-slide.is-hidden {
    z-index: 10;
    transform: translateX(0) scale(0.6);
    filter: blur(8px) brightness(0.3);
    opacity: 0;
    pointer-events: none;
}

.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); }

.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%; } }

/* ─── Ticker / Welcome Bar ─── */
.welcome-ticker {
    width: 100%;
    background: transparent;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--brand-main);
    border-top: 1px solid var(--brand-main);
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    gap: 1.5rem;
    animation: ticker-anim 80s linear infinite;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    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: transparent; color: var(--brand-main); border-top: 1px solid var(--brand-main); border-bottom: 1px solid var(--brand-main); box-shadow: none; }
body.light-mode .ticker-content .separator { color: var(--brand-main) !important; opacity: 1 !important; }

/* ─── Fixed Controls (Theme/Music/Tour) ─── */
.fixed-controls-wrapper {
    position: fixed;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 512px;
    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); }

/* ─── Cards Dark Mode Refinado ─── */
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: 1px solid rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02) !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;
}

/* ─── 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: 800;
    text-transform: uppercase;
    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); }

/* ─── Icon Shake (Ligar Agora) ─── */
@keyframes icon-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-12deg); }
    75% { transform: rotate(12deg); }
}
.shake-on-hover {
    display: inline-block;
}
.group:hover .shake-on-hover {
    animation: icon-shake 0.35s ease-in-out 2;
}

/* ─── Footer Border Premium ─── */
body.dark-mode footer.bg-zinc-900, body.light-mode footer.bg-zinc-900 {
    border-top: 2.5px solid var(--brand-hover) !important;
}
