/* ============================================
   AZARACAO FREE - Main Stylesheet
   Paleta: Roxo escuro + Vermelho + Preto
   ============================================ */

/* ============================================
   1. VARIÁVEIS
   ============================================ */
:root {
    --lm-primary: #4A1A6B;
    --lm-primary-dark: #33134A;
    --lm-primary-light: #6B2D96;
    --lm-secondary: #E30613;
    --lm-accent: #FF1E2D;
    --lm-gradient: linear-gradient(135deg, #4A1A6B 0%, #E30613 100%);
    --lm-gradient-soft: linear-gradient(135deg, #F3E9FA 0%, #FDE8EA 100%);
    
    --lm-gray-900: #1A1A1A;
    --lm-gray-800: #2A2A2A;
    --lm-gray-700: #3A3A3A;
    --lm-gray-600: #5A5A5A;
    --lm-gray-500: #7A7A7A;
    --lm-gray-400: #A0A0A0;
    --lm-gray-300: #C8C8C8;
    --lm-gray-200: #E5E5E5;
    --lm-gray-100: #F5F5F5;
    --lm-white: #FFFFFF;
    
    --lm-success: #2E7D32;
    --lm-error: #E30613;
    --lm-warning: #F59E0B;
    
    --lm-radius-sm: 8px;
    --lm-radius: 14px;
    --lm-radius-lg: 20px;
    --lm-radius-xl: 28px;
    --lm-radius-full: 999px;
    --lm-header-h: 72px;
    --lm-container-max: 1200px;
    
    --lm-shadow-sm: 0 2px 8px rgba(74, 26, 107, 0.06);
    --lm-shadow: 0 4px 20px rgba(74, 26, 107, 0.10);
    --lm-shadow-lg: 0 12px 40px rgba(74, 26, 107, 0.15);
    --lm-shadow-primary: 0 8px 24px rgba(74, 26, 107, 0.35);
    
    --lm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --lm-transition-fast: all 0.15s ease;
    
    --lm-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   2. RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--lm-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--lm-gray-900);
    background: var(--lm-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lm-primary); text-decoration: none; transition: var(--lm-transition-fast); }
a:hover { color: var(--lm-primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ============================================
   3. UTILITÁRIOS
   ============================================ */
.lm-container {
    width: 100%;
    max-width: var(--lm-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.lm-hidden { display: none !important; }
.lm-text-center { text-align: center; }
.lm-muted { color: var(--lm-gray-500); }
.lm-mt-2 { margin-top: 20px; }
.lm-mb-2 { margin-bottom: 20px; }

.lm-divider {
    border: none;
    height: 1px;
    background: var(--lm-gray-200);
    margin: 24px 0;
}

/* ============================================
   4. BOTÕES
   ============================================ */
.lm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--lm-radius-full);
    transition: var(--lm-transition);
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    text-decoration: none;
}
.lm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.lm-btn-primary {
    background: var(--lm-gradient);
    color: var(--lm-white);
    box-shadow: var(--lm-shadow-primary);
}
.lm-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(74, 26, 107, 0.45);
    color: var(--lm-white);
}
.lm-btn-primary:active:not(:disabled) { transform: translateY(0); }

.lm-btn-outline {
    background: transparent;
    color: var(--lm-gray-900);
    border-color: var(--lm-gray-300);
}
.lm-btn-outline:hover:not(:disabled) {
    border-color: var(--lm-primary);
    color: var(--lm-primary);
    background: rgba(74, 26, 107, 0.05);
}

.lm-btn-danger {
    background: transparent;
    color: var(--lm-error);
    border-color: var(--lm-error);
}
.lm-btn-danger:hover:not(:disabled) {
    background: var(--lm-error);
    color: var(--lm-white);
}

.lm-btn-lg { padding: 16px 36px; font-size: 16px; }
.lm-btn-sm { padding: 10px 20px; font-size: 14px; }
.lm-btn-block { width: 100%; }

/* ============================================
   5. HEADER
   ============================================ */
.lm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--lm-header-h);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--lm-transition);
}
.lm-header.scrolled { box-shadow: 0 4px 20px rgba(74, 26, 107, 0.08); }

.lm-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lm-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--lm-gray-900);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: var(--lm-transition-fast);
    flex-shrink: 0;
}
.lm-logo:hover { opacity: 0.85; color: var(--lm-gray-900); }
.lm-logo svg { color: var(--lm-primary); flex-shrink: 0; }

.lm-logo-img {
    display: block;
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
    max-width: 220px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.lm-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lm-nav a:not(.lm-btn) {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--lm-gray-700);
    border-radius: var(--lm-radius-full);
    text-decoration: none;
}
.lm-nav a:not(.lm-btn):hover {
    color: var(--lm-primary);
    background: rgba(74, 26, 107, 0.06);
}

.lm-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.lm-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--lm-gray-900);
    border-radius: 2px;
    transition: var(--lm-transition);
}

/* ============================================
   6. ÍCONES DO HEADER (Sino / Chat / Curtidas)
   ============================================ */
.lm-notif-btn,
.lm-notif-ring,
.lm-thumbs-btn,
.lm-chat-badge-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--lm-gray-700);
    transition: var(--lm-transition);
    background: transparent;
    text-decoration: none;
}

.lm-notif-btn:hover,
.lm-notif-ring:hover,
.lm-thumbs-btn:hover,
.lm-chat-badge-btn:hover {
    color: var(--lm-primary);
    background: rgba(74, 26, 107, 0.06);
}

.lm-notif-ring svg,
.lm-thumbs-btn svg,
.lm-chat-badge-btn svg {
    display: block;
    transition: transform 0.3s ease;
}

.lm-notif-ring:hover svg {
    animation: lm-bell-shake 0.5s ease-in-out;
}
@keyframes lm-bell-shake {
    0%, 100% { transform: rotate(0); }
    20%      { transform: rotate(12deg); }
    40%      { transform: rotate(-10deg); }
    60%      { transform: rotate(8deg); }
    80%      { transform: rotate(-6deg); }
}

.lm-thumbs-btn:hover svg {
    animation: lm-thumb-pop 0.5s ease-in-out;
}
@keyframes lm-thumb-pop {
    0%, 100% { transform: translateY(0) rotate(0); }
    30%      { transform: translateY(-6px) rotate(-12deg); }
    60%      { transform: translateY(-2px) rotate(6deg); }
}

/* Badge numérico do header */
.lm-notif-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--lm-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 999px;
    z-index: 2;
}

/* Ponto vermelho pulsante do header */
.lm-notif-btn .lm-notif-dot,
.lm-notif-ring .lm-notif-dot,
.lm-thumbs-btn .lm-notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    background: var(--lm-secondary);
    border: 2px solid var(--lm-white);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7);
    animation: lm-dot-pulse 1.2s ease-in-out infinite;
    z-index: 2;
}

@keyframes lm-dot-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.8),
                    0 0 0 0 rgba(227, 6, 19, 0.5);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 0 0 10px rgba(227, 6, 19, 0),
                    0 0 0 20px rgba(227, 6, 19, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0),
                    0 0 0 0 rgba(227, 6, 19, 0);
    }
}

@keyframes lm-badge-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

/* ============================================
   7. HERO / LANDING
   ============================================ */
.lm-hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--lm-header-h) + 60px) 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #F8F3FC 100%);
}

.lm-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 26, 107, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(227, 6, 19, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}
.lm-hero-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--lm-gradient);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: lm-float 8s ease-in-out infinite;
}

@keyframes lm-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-30px, 30px) scale(1.1); }
}

.lm-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lm-hero-content { max-width: 560px; }

.lm-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(74, 26, 107, 0.08);
    color: var(--lm-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--lm-radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(74, 26, 107, 0.18);
}

.lm-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--lm-gray-900);
    margin-bottom: 20px;
}

.lm-gradient {
    background: var(--lm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lm-hero p {
    font-size: 18px;
    color: var(--lm-gray-600);
    margin-bottom: 36px;
    line-height: 1.7;
}

.lm-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.lm-hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--lm-gray-200);
}
.lm-hero-stats > div { display: flex; flex-direction: column; }
.lm-hero-stats strong {
    font-size: 26px;
    font-weight: 800;
    color: var(--lm-gray-900);
    line-height: 1.2;
}
.lm-hero-stats span {
    font-size: 13px;
    color: var(--lm-gray-500);
    font-weight: 500;
}

.lm-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 520px;
}

.lm-phone {
    position: relative;
    width: 340px;
    height: 520px;
}

.lm-hero-card {
    position: absolute;
    width: 280px;
    height: 400px;
    border-radius: var(--lm-radius-xl);
    overflow: hidden;
    background: var(--lm-white);
    box-shadow: var(--lm-shadow-lg);
    transition: var(--lm-transition);
}
.lm-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lm-hero-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--lm-white);
}
.lm-hero-card-info h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.lm-hero-card-info p {
    font-size: 14px;
    opacity: 0.9;
    color: var(--lm-white);
    margin: 0;
}

.lm-hero-card-1 {
    top: 0;
    left: 0;
    transform: rotate(-8deg);
    animation: lm-card-float-1 6s ease-in-out infinite;
    z-index: 1;
}
.lm-hero-card-2 {
    top: 40px;
    right: 0;
    transform: rotate(8deg);
    animation: lm-card-float-2 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes lm-card-float-1 {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50%      { transform: rotate(-8deg) translateY(-15px); }
}
@keyframes lm-card-float-2 {
    0%, 100% { transform: rotate(8deg) translateY(0); }
    50%      { transform: rotate(8deg) translateY(-15px); }
}

.lm-match-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--lm-white);
    border-radius: var(--lm-radius-full);
    box-shadow: var(--lm-shadow-lg);
    font-size: 15px;
    font-weight: 700;
    color: var(--lm-secondary);
    z-index: 3;
    animation: lm-pulse 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes lm-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50%      { transform: translateX(-50%) scale(1.05); }
}

/* ============================================
   8. FEATURES (Landing)
   ============================================ */
.lm-features { padding: 100px 0; background: var(--lm-white); }

.lm-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
    color: var(--lm-gray-900);
}

.lm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.lm-feature {
    padding: 36px 28px;
    background: var(--lm-white);
    border: 1px solid var(--lm-gray-200);
    border-radius: var(--lm-radius-lg);
    text-align: center;
    transition: var(--lm-transition);
}
.lm-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--lm-shadow-lg);
    border-color: transparent;
}
.lm-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: var(--lm-gradient-soft);
    border-radius: var(--lm-radius);
}
.lm-feature h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--lm-gray-900);
}
.lm-feature p {
    font-size: 15px;
    color: var(--lm-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   9. CTA SECTION
   ============================================ */
.lm-cta-section {
    padding: 100px 0;
    background: var(--lm-gradient);
    text-align: center;
    color: var(--lm-white);
    position: relative;
    overflow: hidden;
}
.lm-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}
.lm-cta-section .lm-container { position: relative; z-index: 1; }
.lm-cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.lm-cta-section p {
    font-size: 18px;
    margin-bottom: 36px;
    opacity: 0.95;
}
.lm-cta-section .lm-btn-primary {
    background: var(--lm-white);
    color: var(--lm-primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.lm-cta-section .lm-btn-primary:hover {
    background: var(--lm-white);
    color: var(--lm-primary-dark);
}

/* ============================================
   10. FOOTER
   ============================================ */
.lm-footer {
    background: var(--lm-gray-900);
    color: var(--lm-gray-400);
    padding: 70px 0 30px;
}

.lm-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.lm-footer .lm-logo {
    color: var(--lm-white);
    margin-bottom: 16px;
}
.lm-footer .lm-logo-img {
    max-height: 44px !important;
    max-width: 200px !important;
}
.lm-footer-grid > div > p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
    color: var(--lm-gray-400);
}
.lm-footer h4 {
    color: var(--lm-white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}
.lm-footer-grid a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--lm-gray-400);
    text-decoration: none;
}
.lm-footer-grid a:hover { color: var(--lm-primary-light); }

.lm-copyright {
    padding-top: 30px;
    border-top: 1px solid var(--lm-gray-800);
    text-align: center;
    font-size: 13px;
    color: var(--lm-gray-500);
}

/* ============================================
   11. AUTH (Login / Cadastro)
   ============================================ */
.lm-auth-page {
    min-height: 100vh;
    padding: calc(var(--lm-header-h) + 40px) 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 10% 20%, rgba(74, 26, 107, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(227, 6, 19, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #fff 0%, #F8F3FC 100%);
}

.lm-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--lm-white);
    padding: 48px 40px;
    border-radius: var(--lm-radius-xl);
    box-shadow: var(--lm-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: lm-fade-up 0.5s ease-out;
}
.lm-auth-card-wide { max-width: 520px; }

.lm-auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.lm-auth-card h1 {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--lm-gray-900);
}
.lm-auth-sub {
    text-align: center;
    font-size: 15px;
    color: var(--lm-gray-500);
    margin-bottom: 32px;
}
.lm-auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--lm-gray-600);
    margin-top: 24px;
}
.lm-auth-footer a { font-weight: 600; }

@keyframes lm-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   12. FORMS
   ============================================ */
.lm-form { display: flex; flex-direction: column; gap: 18px; }

.lm-field { display: flex; flex-direction: column; gap: 6px; }
.lm-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--lm-gray-700);
}
.lm-field input,
.lm-field select,
.lm-field textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--lm-gray-900);
    background: var(--lm-gray-100);
    border: 2px solid transparent;
    border-radius: var(--lm-radius);
    outline: none;
    transition: var(--lm-transition-fast);
    -webkit-appearance: none;
    appearance: none;
}
.lm-field textarea { resize: vertical; min-height: 100px; }
.lm-field select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235a5a5a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 22px;
    padding-right: 42px;
    cursor: pointer;
}
.lm-field input:focus,
.lm-field select:focus,
.lm-field textarea:focus {
    background: var(--lm-white);
    border-color: var(--lm-primary);
    box-shadow: 0 0 0 4px rgba(74, 26, 107, 0.12);
}
.lm-field input::placeholder,
.lm-field textarea::placeholder { color: var(--lm-gray-400); }

.lm-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--lm-gray-600);
    cursor: pointer;
    line-height: 1.5;
}
.lm-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--lm-primary);
    cursor: pointer;
    flex-shrink: 0;
}
.lm-checkbox a { font-weight: 600; }

.lm-form-message {
    display: none;
    padding: 12px 16px;
    border-radius: var(--lm-radius);
    font-size: 14px;
    font-weight: 500;
}
.lm-form-message.show { display: block; }
.lm-form-message.error {
    background: rgba(227, 6, 19, 0.08);
    color: var(--lm-error);
    border: 1px solid rgba(227, 6, 19, 0.2);
}
.lm-form-message.success {
    background: rgba(46, 125, 50, 0.08);
    color: var(--lm-success);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.lm-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.lm-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lm-gray-700);
    background: var(--lm-gray-100);
    border: 2px solid transparent;
    border-radius: var(--lm-radius-full);
    cursor: pointer;
    transition: var(--lm-transition);
}
.lm-radio input { display: none; }
.lm-radio:hover { border-color: var(--lm-primary-light); }
.lm-radio input:checked + span { color: var(--lm-white); }
.lm-radio:has(input:checked) {
    background: var(--lm-gradient);
    color: var(--lm-white);
}

.lm-radio-vertical {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.lm-radio-vertical .lm-radio {
    display: flex;
    width: 100%;
    padding: 12px 16px;
}
.lm-radio-vertical .lm-radio span { flex: 1; }

/* ============================================
   13. APP PAGE (base)
   ============================================ */
.lm-app-page {
    min-height: 100vh;
    padding: calc(var(--lm-header-h) + 40px) 0 80px;
    background: linear-gradient(180deg, #fff 0%, #F8F3FC 100%);
}

.lm-page-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* ============================================
   14. CARD GENÉRICO
   ============================================ */
.lm-card {
    position: relative;
    background: var(--lm-white);
    padding: 36px;
    border-radius: var(--lm-radius-xl);
    box-shadow: var(--lm-shadow);
    width: 100%;
}
.lm-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}
.lm-card-desc {
    font-size: 14px;
    color: var(--lm-gray-500);
    margin-bottom: 24px;
}

.lm-app-page .lm-card {
    max-width: 720px;
    margin: 0 auto 24px;
}

/* ============================================
   15. SWIPE / DECK (/matches/)
   ============================================ */
.lm-swipe-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 20px;
}

.lm-swipe-deck {
    position: relative;
    width: 100%;
    height: 600px;
    margin-bottom: 28px;
    perspective: 1200px;
}

.lm-swipe-card {
    position: absolute;
    inset: 0;
    background: var(--lm-gray-100);
    border-radius: var(--lm-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(74, 26, 107, 0.20);
    cursor: grab;
    user-select: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.lm-swipe-card:active { cursor: grabbing; }

.lm-swipe-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.lm-card-online-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: #4CAF50;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    z-index: 3;
}

.lm-swipe-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 24px 24px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.85) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    color: var(--lm-white);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lm-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.lm-card-title h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--lm-white);
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.lm-card-age {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}
.lm-card-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #1DA1F2;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.5);
}

.lm-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.lm-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lm-card-bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.lm-card-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.lm-card-tag {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

.lm-swipe-indicator {
    position: absolute;
    top: 40px;
    padding: 10px 24px;
    font-size: 24px;
    font-weight: 800;
    border-radius: var(--lm-radius);
    border: 4px solid;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}
.lm-swipe-indicator.like {
    left: 24px;
    color: var(--lm-success);
    border-color: var(--lm-success);
    transform: rotate(-15deg);
}
.lm-swipe-indicator.pass {
    right: 24px;
    color: var(--lm-error);
    border-color: var(--lm-error);
    transform: rotate(15deg);
}
.lm-swipe-card.dragging-right .lm-swipe-indicator.like { opacity: 1; }
.lm-swipe-card.dragging-left  .lm-swipe-indicator.pass { opacity: 1; }

.lm-swipe-card.swiped-right { transform: translateX(120%) rotate(20deg); opacity: 0; }
.lm-swipe-card.swiped-left  { transform: translateX(-120%) rotate(-20deg); opacity: 0; }

.lm-swipe-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.lm-swipe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lm-white);
    box-shadow: 0 4px 20px rgba(74, 26, 107, 0.10);
    transition: var(--lm-transition);
    color: var(--lm-gray-600);
    border: none;
    cursor: pointer;
}
.lm-swipe-btn:hover { transform: scale(1.1); }
.lm-swipe-btn:active { transform: scale(0.95); }

.lm-swipe-no {
    width: 64px;
    height: 64px;
    color: var(--lm-error);
}
.lm-swipe-no:hover {
    background: var(--lm-error);
    color: var(--lm-white);
    box-shadow: 0 8px 24px rgba(227, 6, 19, 0.4);
}
.lm-swipe-info {
    width: 52px;
    height: 52px;
    color: var(--lm-primary);
}
.lm-swipe-info:hover {
    background: var(--lm-primary);
    color: var(--lm-white);
    box-shadow: 0 8px 24px rgba(74, 26, 107, 0.4);
}
.lm-swipe-like {
    width: 64px;
    height: 64px;
    color: var(--lm-success);
}
.lm-swipe-like:hover {
    background: var(--lm-success);
    color: var(--lm-white);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.4);
}

.lm-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lm-white);
    border-radius: var(--lm-radius-xl);
    box-shadow: var(--lm-shadow);
    color: var(--lm-gray-500);
    font-size: 15px;
}

.lm-empty-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--lm-white);
    border-radius: var(--lm-radius-xl);
    box-shadow: var(--lm-shadow);
    padding: 40px;
}
.lm-empty-state .lm-empty-icon { font-size: 60px; margin-bottom: 20px; }
.lm-empty-state h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.lm-empty-state p  { color: var(--lm-gray-500); }

/* ============================================
   16. MODAIS
   ============================================ */
.lm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: lm-fade 0.3s ease;
}
.lm-modal.active { display: flex; }

@keyframes lm-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lm-modal-content {
    width: 100%;
    max-width: 400px;
    padding: 48px 32px;
    background: var(--lm-white);
    border-radius: var(--lm-radius-xl);
    text-align: center;
    box-shadow: var(--lm-shadow-lg);
    animation: lm-pop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@keyframes lm-pop {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.lm-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.lm-match-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    margin-bottom: 16px;
    animation: lm-bounce 0.6s ease;
    color: var(--lm-secondary);
}
.lm-match-animation svg { display: block; }

@keyframes lm-bounce {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.3); }
}

.lm-modal-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--lm-secondary);
}
.lm-modal-content p {
    color: var(--lm-gray-600);
    margin-bottom: 28px;
}

.lm-match-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.lm-profile-view-content {
    max-width: 480px;
    padding: 0;
    text-align: left;
    max-height: 90vh;
    overflow-y: auto;
}

.lm-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}
.lm-modal-close:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.1);
}

.lm-profile-loading {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.lm-profile-gallery { position: relative; }

.lm-profile-main-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.lm-profile-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    background: var(--lm-gray-100);
}
.lm-profile-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.lm-profile-thumb:hover {
    border-color: var(--lm-primary);
    transform: scale(1.05);
}

.lm-profile-modal-body { padding: 24px; }

.lm-profile-modal-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--lm-gray-900);
    letter-spacing: -0.5px;
}

.lm-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.lm-profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--lm-gray-100);
    color: var(--lm-gray-700);
    font-size: 13px;
    font-weight: 500;
    border-radius: 999px;
}

.lm-profile-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--lm-gray-200);
}
.lm-profile-section h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lm-primary);
    margin-bottom: 12px;
}
.lm-profile-section p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--lm-gray-700);
}

.lm-profile-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lm-profile-interest {
    padding: 6px 14px;
    background: var(--lm-gradient-soft);
    color: var(--lm-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
}

.lm-profile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lm-profile-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--lm-gray-700);
}

.lm-profile-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 24px 24px;
    background: var(--lm-white);
    position: sticky;
    bottom: 0;
    border-top: 1px solid var(--lm-gray-200);
}

/* ============================================
   17. PÁGINA DE PERFIL
   ============================================ */
.lm-profile-hero {
    text-align: center;
    margin-bottom: 32px;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(74, 26, 107, 0.03) 0%, transparent 100%);
    border-radius: var(--lm-radius-xl);
}

.lm-profile-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.lm-avatar,
.lm-avatar-lg {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: visible;
    background: var(--lm-gradient-soft);
    border: 5px solid var(--lm-white);
    box-shadow: 0 12px 40px rgba(74, 26, 107, 0.18);
    flex-shrink: 0;
}

.lm-avatar > img,
.lm-avatar-lg > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.lm-avatar-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--lm-gradient-soft);
    color: var(--lm-primary);
    border-radius: 50%;
    text-align: center;
    padding: 12px;
}
.lm-avatar-placeholder svg { opacity: 0.55; }
.lm-avatar-hint {
    font-size: 11px;
    font-weight: 600;
    color: var(--lm-primary);
    opacity: 0.75;
    line-height: 1.2;
}

.lm-avatar-edit {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 44px;
    height: 44px;
    background: var(--lm-primary);
    color: var(--lm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid var(--lm-white);
    box-shadow: 0 4px 12px rgba(74, 26, 107, 0.35);
    transition: var(--lm-transition);
    z-index: 5;
}
.lm-avatar-edit:hover {
    background: var(--lm-primary-dark);
    transform: scale(1.08);
}
.lm-avatar-edit svg { display: block; }

.lm-avatar-loading {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 8;
}
.lm-avatar-loading.active { display: flex; }

.lm-profile-hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
}

.lm-profile-location {
    color: var(--lm-gray-600);
    font-size: 15px;
    margin-bottom: 24px;
}

.lm-completeness {
    max-width: 480px;
    margin: 0 auto 24px;
    text-align: left;
}
.lm-completeness-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--lm-gray-700);
    margin-bottom: 8px;
}
.lm-completeness-hint { color: var(--lm-primary); }
.lm-completeness-bar {
    height: 8px;
    background: var(--lm-gray-200);
    border-radius: 4px;
    overflow: hidden;
}
.lm-completeness-fill {
    height: 100%;
    background: var(--lm-gradient);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.lm-verify-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.lm-verify-badge {
    padding: 6px 14px;
    background: var(--lm-gray-100);
    color: var(--lm-gray-500);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--lm-radius-full);
}
.lm-verify-badge.verified {
    background: rgba(46, 125, 50, 0.1);
    color: var(--lm-success);
}

.lm-profile-tabs {
    display: flex;
    gap: 4px;
    background: var(--lm-gray-100);
    padding: 6px;
    border-radius: var(--lm-radius-full);
    margin-bottom: 32px;
    overflow-x: auto;
    scrollbar-width: none;
}
.lm-profile-tabs::-webkit-scrollbar { display: none; }

.lm-tab {
    flex: 1;
    min-width: 110px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lm-gray-600);
    background: transparent;
    border-radius: var(--lm-radius-full);
    transition: var(--lm-transition);
    white-space: nowrap;
    cursor: pointer;
}
.lm-tab:hover { color: var(--lm-primary); }
.lm-tab.active {
    background: var(--lm-white);
    color: var(--lm-primary);
    box-shadow: var(--lm-shadow-sm);
}

.lm-tab-panel { display: none; }
.lm-tab-panel.active {
    display: block;
    animation: lm-fade-up 0.3s ease;
}

.lm-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.lm-photo-slot {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--lm-radius);
    overflow: hidden;
    background: var(--lm-gray-100);
    border: 2px dashed var(--lm-gray-300);
    transition: var(--lm-transition);
}
.lm-photo-slot.has-photo {
    border-style: solid;
    border-color: transparent;
}
.lm-photo-slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    color: var(--lm-gray-500);
    font-size: 13px;
    font-weight: 600;
    transition: var(--lm-transition);
}
.lm-photo-upload:hover {
    color: var(--lm-primary);
    background: rgba(74, 26, 107, 0.04);
}

.lm-photo-input { display: none; }

.lm-photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--lm-white);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--lm-transition-fast);
    z-index: 3;
}
.lm-photo-remove:hover { background: var(--lm-error); }

.lm-photo-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 10px;
    background: var(--lm-primary);
    color: var(--lm-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--lm-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.lm-photo-hint {
    font-size: 13px;
    color: var(--lm-gray-500);
    text-align: center;
    margin-top: 8px;
}

.lm-photo-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: var(--lm-radius);
}

.lm-photo-spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid var(--lm-gray-200);
    border-top-color: var(--lm-primary);
    animation: lm-photo-spin 0.8s linear infinite;
}

@keyframes lm-photo-spin {
    to { transform: rotate(360deg); }
}

@keyframes lm-photo-flash {
    0%   { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5); }
    100% { box-shadow: 0 0 0 12px rgba(46, 125, 50, 0); }
}

.lm-photo-slot.just-uploaded {
    animation: lm-photo-flash 0.8s ease-out;
}

.lm-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lm-interest-tag {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lm-gray-700);
    background: var(--lm-gray-100);
    border: 2px solid transparent;
    border-radius: var(--lm-radius-full);
    transition: var(--lm-transition);
    cursor: pointer;
}
.lm-interest-tag:hover {
    border-color: var(--lm-primary-light);
    color: var(--lm-primary);
}
.lm-interest-tag.active {
    background: var(--lm-gradient);
    color: var(--lm-white);
    border-color: transparent;
}

.lm-char-count {
    font-size: 12px;
    color: var(--lm-gray-400);
    text-align: right;
    display: block;
    margin-top: 4px;
}

.lm-range-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lm-range-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--lm-gray-200);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.lm-range-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--lm-gradient);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--lm-shadow-primary);
}
.lm-range-group input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--lm-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.lm-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--lm-gray-200);
}
.lm-setting-item:last-child { border-bottom: none; }
.lm-setting-item strong { font-size: 15px; font-weight: 600; }
.lm-setting-item p { font-size: 13px; margin-top: 4px; }

.lm-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}
.lm-switch input { display: none; }
.lm-switch-slider {
    position: absolute;
    inset: 0;
    background: var(--lm-gray-300);
    border-radius: 28px;
    cursor: pointer;
    transition: var(--lm-transition);
}
.lm-switch-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
    background: var(--lm-white);
    border-radius: 50%;
    transition: var(--lm-transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.lm-switch input:checked + .lm-switch-slider {
    background: var(--lm-gradient);
}
.lm-switch input:checked + .lm-switch-slider::before {
    transform: translateX(22px);
}

.lm-profile-save-bar {
    position: sticky;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--lm-radius-full);
    box-shadow: var(--lm-shadow-lg);
    margin-top: 24px;
    z-index: 100;
}
.lm-profile-save-bar .lm-form-message {
    flex: 1;
    margin: 0;
}

/* ============================================
   18. PÁGINA "QUEM ME CURTIU" (/curtidas/)
   ============================================ */
.lm-admirers-header {
    text-align: center;
    margin-bottom: 40px;
}
.lm-admirers-header .lm-page-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.lm-admirers-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: var(--lm-gradient);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: var(--lm-shadow-primary);
}
.lm-admirers-sub {
    font-size: 15px;
    color: var(--lm-gray-500);
    max-width: 480px;
    margin: 0 auto;
}

.lm-admirers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.lm-admirer-card {
    position: relative;
    background: var(--lm-white);
    border-radius: var(--lm-radius-xl);
    overflow: hidden;
    box-shadow: var(--lm-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--lm-gray-200);
}
.lm-admirer-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(74, 26, 107, 0.18);
    border-color: transparent;
}
.lm-admirer-card.matched {
    border-color: rgba(227, 6, 19, 0.3);
}

.lm-admirer-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.lm-admirer-photo {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--lm-gradient-soft);
}
.lm-admirer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.lm-admirer-card:hover .lm-admirer-photo img {
    transform: scale(1.08);
}

.lm-admirer-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.lm-admirer-card:hover .lm-admirer-photo::after { opacity: 1; }

.lm-admirer-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background: var(--lm-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.4);
    z-index: 3;
    animation: lm-badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lm-badge-pop {
    from { transform: scale(0) rotate(-20deg); }
    to   { transform: scale(1) rotate(0); }
}

.lm-admirer-content { padding: 16px 18px 18px; }

.lm-admirer-name {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--lm-gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.lm-admirer-age {
    font-size: 16px;
    font-weight: 500;
    color: var(--lm-gray-500);
}

.lm-admirer-city {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--lm-gray-500);
    margin-bottom: 6px;
}
.lm-admirer-city svg {
    color: var(--lm-primary);
    flex-shrink: 0;
}

.lm-admirer-bio {
    font-size: 13px;
    color: var(--lm-gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.lm-admirer-actions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.lm-admirer-action {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lm-white);
    color: var(--lm-secondary);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.lm-admirer-action:hover {
    transform: scale(1.15);
    background: var(--lm-gradient);
    color: #fff;
    box-shadow: 0 12px 32px rgba(227, 6, 19, 0.45);
}
.lm-admirer-action:active { transform: scale(0.95); }

.lm-admirer-action.liked {
    background: var(--lm-success);
    color: #fff;
    pointer-events: none;
}

.lm-admirer-chat {
    background: var(--lm-gradient);
    color: #fff;
}
.lm-admirer-chat:hover {
    box-shadow: 0 12px 32px rgba(74, 26, 107, 0.5);
}

.lm-admirer-unread {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: var(--lm-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.45);
    z-index: 4;
    animation: lm-badge-pulse 1.5s ease-in-out infinite;
}

/* ============================================
   19. CHAT / MENSAGENS
   ============================================ */
.lm-chat-page {
    min-height: 100vh;
    padding-top: var(--lm-header-h);
    background: linear-gradient(180deg, #fff 0%, #F8F3FC 100%);
}

.lm-chat-container {
    display: grid;
    grid-template-columns: 360px 1fr;
    height: calc(100vh - var(--lm-header-h));
    max-width: 1200px;
    margin: 0 auto;
    background: var(--lm-white);
    box-shadow: var(--lm-shadow-lg);
}

.lm-chat-sidebar {
    border-right: 1px solid var(--lm-gray-200);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--lm-white);
}

.lm-chat-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--lm-gray-200);
    background: var(--lm-white);
}
.lm-chat-sidebar-header h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: var(--lm-gray-900);
}

.lm-chat-list {
    flex: 1;
    overflow-y: auto;
}

.lm-chat-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--lm-gray-500);
}
.lm-chat-empty p { margin-bottom: 16px; font-size: 14px; }

.lm-chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--lm-gray-100);
    transition: var(--lm-transition-fast);
}
.lm-chat-item:hover { background: var(--lm-gray-100); }
.lm-chat-item.active {
    background: rgba(74, 26, 107, 0.06);
    border-left: 3px solid var(--lm-primary);
    padding-left: 17px;
}
.lm-chat-item.unread { background: rgba(74, 26, 107, 0.03); }

.lm-chat-item.new-match {
    background: linear-gradient(90deg, rgba(227, 6, 19, 0.05) 0%, transparent 100%);
    border-left: 3px solid var(--lm-secondary);
    padding-left: 17px;
}
.lm-chat-item.new-match:hover {
    background: linear-gradient(90deg, rgba(227, 6, 19, 0.10) 0%, transparent 100%);
}

.lm-chat-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}
.lm-chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.lm-chat-unread-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--lm-secondary);
    border: 2px solid var(--lm-white);
    border-radius: 50%;
}

.lm-chat-new-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    background: var(--lm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--lm-white);
    animation: lm-badge-pulse 2s ease-in-out infinite;
}

.lm-chat-info {
    flex: 1;
    min-width: 0;
}
.lm-chat-name-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 3px;
}
.lm-chat-name-row strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--lm-gray-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lm-chat-time {
    font-size: 11px;
    color: var(--lm-gray-500);
    flex-shrink: 0;
}
.lm-chat-preview {
    font-size: 13px;
    color: var(--lm-gray-500);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}
.lm-chat-item.unread .lm-chat-preview {
    color: var(--lm-gray-900);
    font-weight: 600;
}
.lm-chat-preview-new {
    color: var(--lm-primary) !important;
    font-style: italic;
    font-weight: 500 !important;
}

.lm-chat-main {
    display: flex;
    flex-direction: column;
    background: #F8F3FC;
    overflow: hidden;
}

.lm-chat-welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: var(--lm-gray-500);
}
.lm-chat-welcome-icon {
    font-size: 72px;
    opacity: 0.4;
    margin-bottom: 16px;
}
.lm-chat-welcome h3 {
    font-size: 22px;
    color: var(--lm-gray-900);
    margin-bottom: 8px;
}
.lm-chat-welcome a {
    color: var(--lm-primary);
    font-weight: 600;
}

.lm-chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--lm-white);
    border-bottom: 1px solid var(--lm-gray-200);
    flex-shrink: 0;
}
.lm-chat-back {
    display: none;
    color: var(--lm-gray-700);
    padding: 4px;
}
.lm-chat-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.lm-chat-header-info {
    display: flex;
    flex-direction: column;
}
.lm-chat-header-info strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--lm-gray-900);
}
.lm-chat-status {
    font-size: 12px;
    color: var(--lm-success);
    font-weight: 500;
}

.lm-chat-report-btn {
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: transparent;
    color: var(--lm-gray-500);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.lm-chat-report-btn:hover {
    background: rgba(227, 6, 19, 0.1);
    color: var(--lm-error);
    transform: scale(1.1);
}
.lm-chat-report-btn:active { transform: scale(0.95); }

.lm-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
}

.lm-chat-greeting {
    text-align: center;
    padding: 40px 20px;
    margin: auto 0;
}
.lm-chat-greeting-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--lm-white);
    box-shadow: var(--lm-shadow);
}
.lm-chat-greeting h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--lm-gray-900);
}
.lm-chat-greeting p { color: var(--lm-gray-500); }

.lm-msg {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: lm-msg-in 0.3s ease;
}
@keyframes lm-msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lm-msg.mine   { align-self: flex-end;  align-items: flex-end; }
.lm-msg.theirs { align-self: flex-start; align-items: flex-start; }

.lm-msg-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.45;
    word-wrap: break-word;
    word-break: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.lm-msg.theirs .lm-msg-bubble {
    background: var(--lm-white);
    color: var(--lm-gray-900);
    border-bottom-left-radius: 6px;
}
.lm-msg.mine .lm-msg-bubble {
    background: var(--lm-gradient);
    color: #fff;
    border-bottom-right-radius: 6px;
}
.lm-msg-time {
    font-size: 11px;
    color: var(--lm-gray-500);
    padding: 0 6px;
}
.lm-msg.sending .lm-msg-bubble { opacity: 0.7; }
.lm-msg.error   .lm-msg-bubble { background: var(--lm-error) !important; color: #fff; }

.lm-chat-input {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 20px;
    background: var(--lm-white);
    border-top: 1px solid var(--lm-gray-200);
    flex-shrink: 0;
}
.lm-chat-input textarea {
    flex: 1;
    padding: 12px 16px;
    background: var(--lm-gray-100);
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--lm-gray-900);
    outline: none;
    resize: none;
    min-height: 44px;
    max-height: 120px;
    transition: var(--lm-transition-fast);
    font-family: inherit;
}
.lm-chat-input textarea:focus {
    background: var(--lm-white);
    border-color: var(--lm-primary);
    box-shadow: 0 0 0 4px rgba(74, 26, 107, 0.1);
}
.lm-chat-input button {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--lm-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--lm-transition);
    box-shadow: 0 4px 12px rgba(74, 26, 107, 0.3);
}
.lm-chat-input button:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(74, 26, 107, 0.4);
}
.lm-chat-input button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   20. PÁGINA DE NOTIFICAÇÕES (/notificacoes/)
   ============================================ */
.lm-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.lm-notif-header .lm-page-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    text-align: left;
    letter-spacing: -0.5px;
    color: var(--lm-gray-900);
}

.lm-notif-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 14px;
    background: var(--lm-gradient);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(74, 26, 107, 0.35);
    flex-shrink: 0;
}

.lm-notif-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
}

.lm-notif-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--lm-white);
    border-radius: 18px;
    border: 1px solid var(--lm-gray-200);
    text-decoration: none;
    color: var(--lm-gray-900);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(74, 26, 107, 0.04);
}

.lm-notif-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--lm-gradient);
    transition: width 0.3s ease;
}

.lm-notif-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(74, 26, 107, 0.12);
    border-color: transparent;
}

.lm-notif-item:hover::before {
    width: 4px;
}

.lm-notif-item.unread {
    background: linear-gradient(90deg, rgba(74, 26, 107, 0.05) 0%, var(--lm-white) 60%);
    border-color: rgba(74, 26, 107, 0.18);
}

.lm-notif-item.unread::before {
    width: 4px;
}

.lm-notif-item.unread:hover {
    background: linear-gradient(90deg, rgba(74, 26, 107, 0.08) 0%, var(--lm-white) 60%);
}

/* Avatar do card */
.lm-notif-item .lm-notif-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lm-notif-item .lm-notif-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--lm-white);
    box-shadow: 0 4px 12px rgba(74, 26, 107, 0.15);
    display: block;
}

.lm-notif-item .lm-notif-type-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 28px;
    height: 28px;
    background: var(--lm-white);
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--lm-white);
    z-index: 2;
}

.lm-notif-item .lm-notif-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.lm-notif-item .lm-notif-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--lm-gray-900);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.2px;
    margin: 0;
}

.lm-notif-item .lm-notif-from {
    font-size: 13px;
    color: var(--lm-primary);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-notif-item .lm-notif-time {
    font-size: 12px;
    color: var(--lm-gray-500);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lm-notif-item .lm-notif-time::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--lm-gray-400);
    border-radius: 50%;
}

/* Ponto DENTRO do item (sobrescreve o do header) */
.lm-notif-item .lm-notif-dot {
    position: static;
    width: 10px;
    height: 10px;
    background: var(--lm-secondary);
    border-radius: 50%;
    flex-shrink: 0;
    border: none;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.15);
    animation: lmNotifDotPulse 2s ease-in-out infinite;
}

@keyframes lmNotifDotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.15); }
    50%      { box-shadow: 0 0 0 8px rgba(227, 6, 19, 0); }
}

.lm-empty-notif {
    text-align: center;
    padding: 70px 30px;
    background: var(--lm-white);
    border-radius: var(--lm-radius-xl);
    box-shadow: var(--lm-shadow);
    max-width: 480px;
    margin: 40px auto;
    border: 1px solid var(--lm-gray-200);
}

.lm-empty-notif-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.6;
    display: block;
    animation: lmBellRing 3s ease-in-out infinite;
}

@keyframes lmBellRing {
    0%, 100%, 90% { transform: rotate(0); }
    92%           { transform: rotate(15deg); }
    94%           { transform: rotate(-15deg); }
    96%           { transform: rotate(10deg); }
    98%           { transform: rotate(-10deg); }
}

.lm-empty-notif h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--lm-gray-900);
    letter-spacing: -0.3px;
}

.lm-empty-notif p {
    color: var(--lm-gray-500);
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   21. LIGHTBOX SIMPLES
   ============================================ */
.lm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    cursor: zoom-out;
}
.lm-lightbox.active { opacity: 1; }

.lm-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--lm-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.25s ease;
}
.lm-lightbox.active img { transform: scale(1); }

.lm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.lm-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

/* ============================================
   22. LIGHTBOX DE FOTOS DO PERFIL
   ============================================ */
.lm-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding: 20px;
}
.lm-photo-lightbox.active { opacity: 1; }

.lm-photo-lightbox-stage {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lm-photo-lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--lm-radius);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.15s ease;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}
.lm-photo-lightbox.active .lm-photo-lightbox-img { transform: scale(1); }

.lm-photo-lightbox-counter {
    margin-top: 16px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.lm-photo-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
    z-index: 10;
}
.lm-photo-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lm-photo-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
    z-index: 10;
}
.lm-photo-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lm-photo-lightbox-prev { left: 24px; }
.lm-photo-lightbox-next { right: 24px; }

.lm-photo-lightbox-thumbs {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    max-width: 90vw;
    overflow-x: auto;
    scrollbar-width: none;
    z-index: 10;
}
.lm-photo-lightbox-thumbs::-webkit-scrollbar { display: none; }

.lm-photo-lightbox-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.55;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.lm-photo-lightbox-thumb:hover { opacity: 0.85; }
.lm-photo-lightbox-thumb.active {
    opacity: 1;
    border-color: #fff;
    transform: scale(1.08);
}

.lm-profile-main-photo,
.lm-profile-thumb {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lm-profile-main-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(74, 26, 107, 0.25);
}

/* ============================================
   23. SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--lm-gray-100); }
::-webkit-scrollbar-thumb {
    background: var(--lm-primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--lm-primary); }

/* ============================================
   24. SAFE AREAS (iOS PWA)
   ============================================ */
@supports (padding: env(safe-area-inset-top)) {
    .lm-header {
        padding-top: env(safe-area-inset-top);
        height: calc(var(--lm-header-h) + env(safe-area-inset-top));
    }
    body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ============================================
   25. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   26. RESPONSIVE (SEMPRE POR ÚLTIMO!)
   ============================================ */

@media (max-width: 992px) {
    .lm-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .lm-hero-content { max-width: 100%; margin: 0 auto; }
    .lm-hero-cta { justify-content: center; }
    .lm-hero-stats { justify-content: center; }
    .lm-hero-visual { min-height: 440px; }
    .lm-phone { width: 300px; height: 440px; }
    .lm-hero-card { width: 240px; height: 340px; }
    
    .lm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .lm-chat-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: calc(100vh - var(--lm-header-h));
        box-shadow: none;
    }
    .lm-chat-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--lm-gray-200);
    }
    .lm-chat-sidebar.has-active { display: none; }
    .lm-chat-main.has-active    { display: flex; }
    
    .lm-chat-back { display: flex; }
}

@media (max-width: 768px) {
    :root { --lm-header-h: 64px; }
    
    .lm-nav {
        position: fixed;
        top: var(--lm-header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        background: var(--lm-white);
        box-shadow: var(--lm-shadow);
        transform: translateY(-120%);
        transition: var(--lm-transition);
        gap: 6px;
    }
    .lm-nav.open { transform: translateY(0); }
    .lm-nav a { text-align: center; padding: 14px; }
    
    .lm-menu-toggle { display: flex; }
    .lm-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .lm-menu-toggle.open span:nth-child(2) { opacity: 0; }
    .lm-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .lm-logo-img {
        height: 40px !important;
        max-height: 40px !important;
        max-width: 180px !important;
    }
    
    .lm-notif-btn,
    .lm-notif-ring,
    .lm-thumbs-btn,
    .lm-chat-badge-btn {
        width: 46px;
        height: 46px;
    }
    .lm-notif-btn svg,
    .lm-notif-ring svg,
    .lm-thumbs-btn svg,
    .lm-chat-badge-btn svg {
        width: 22px;
        height: 22px;
    }
    .lm-notif-btn .lm-notif-dot,
    .lm-notif-ring .lm-notif-dot,
    .lm-thumbs-btn .lm-notif-dot {
        top: 6px;
        right: 6px;
        width: 12px;
        height: 12px;
    }
    .lm-notif-badge {
        top: 4px;
        right: 4px;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        line-height: 16px;
    }
    
    .lm-hero { padding: calc(var(--lm-header-h) + 40px) 0 60px; }
    .lm-hero-stats { gap: 24px; }
    .lm-hero-stats strong { font-size: 20px; }
    .lm-hero-stats span { font-size: 12px; }
    
    .lm-features { padding: 70px 0; }
    .lm-section-title { margin-bottom: 40px; }
    .lm-cta-section { padding: 70px 0; }
    
    .lm-auth-card { padding: 36px 24px; }
    .lm-auth-card h1 { font-size: 24px; }
    .lm-field-row { grid-template-columns: 1fr; }
    
    .lm-card { padding: 24px; }
    
    .lm-swipe-deck { height: 580px; }
    .lm-card-title h3 { font-size: 22px; }
    .lm-swipe-card-info { padding: 70px 20px 20px; }
    
    .lm-profile-hero { padding: 24px 16px; }
    .lm-profile-hero h1 { font-size: 26px; }
    .lm-avatar,
    .lm-avatar-lg { width: 130px; height: 130px; border-width: 4px; }
    .lm-avatar-edit { width: 38px; height: 38px; bottom: 0; right: 0; }
    .lm-photo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .lm-tab { padding: 10px 14px; font-size: 13px; min-width: 90px; }
    
    .lm-profile-save-bar {
        bottom: 10px;
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--lm-radius-xl);
    }
    .lm-profile-save-bar .lm-form-message { text-align: center; }
    
    .lm-profile-main-photo { height: 340px; }
    .lm-profile-thumb { width: 60px; height: 60px; }
    .lm-profile-modal-name { font-size: 20px; }
    
    /* Notificações */
    .lm-notif-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .lm-notif-header .lm-page-title { font-size: 22px; }
    .lm-notif-item {
        padding: 16px 18px;
        gap: 14px;
        border-radius: 16px;
    }
    .lm-notif-item .lm-notif-avatar { width: 52px; height: 52px; }
    .lm-notif-item .lm-notif-type-icon { width: 24px; height: 24px; font-size: 13px; }
    .lm-notif-item .lm-notif-title { font-size: 14px; }
    .lm-notif-item .lm-notif-from { font-size: 12px; }
    .lm-empty-notif { padding: 55px 20px; margin: 20px auto; }
    .lm-empty-notif-icon { font-size: 52px; }
    .lm-empty-notif h3 { font-size: 20px; }
    
    .lm-admirer-content { padding: 12px 14px; }
    .lm-admirer-name    { font-size: 15px; }
    .lm-admirer-age     { font-size: 14px; }
    .lm-admirer-action  { width: 42px; height: 42px; }
    .lm-admirer-bio     { display: none; }
    
    .lm-chat-messages { padding: 16px 12px; }
    .lm-msg { max-width: 85%; }
    .lm-chat-input { padding: 10px 12px; }
    .lm-chat-input textarea { font-size: 14px; padding: 10px 14px; }
    .lm-chat-input button { width: 40px; height: 40px; }
    
    .lm-photo-lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .lm-photo-lightbox-nav { width: 44px; height: 44px; }
    .lm-photo-lightbox-prev { left: 8px; }
    .lm-photo-lightbox-next { right: 8px; }
    .lm-photo-lightbox-thumb { width: 40px; height: 40px; }
    .lm-photo-lightbox-thumbs { bottom: 12px; padding: 6px 8px; }
    .lm-photo-lightbox-img { max-height: 70vh; }
    
    .lm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .lm-footer { padding: 50px 0 30px; }
}

@media (max-width: 480px) {
    .lm-container { padding: 0 16px; }
    
    .lm-logo-img {
        height: 34px !important;
        max-height: 34px !important;
        max-width: 150px !important;
    }
    .lm-logo { font-size: 18px; }
    
    .lm-notif-btn,
    .lm-notif-ring,
    .lm-thumbs-btn,
    .lm-chat-badge-btn {
        width: 42px;
        height: 42px;
    }
    .lm-notif-btn svg,
    .lm-notif-ring svg,
    .lm-thumbs-btn svg,
    .lm-chat-badge-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .lm-hero h1 { letter-spacing: -1px; }
    .lm-hero p { font-size: 16px; }
    .lm-hero-cta { flex-direction: column; }
    .lm-hero-cta .lm-btn { width: 100%; }
    .lm-hero-visual { min-height: 380px; }
    .lm-phone { width: 260px; height: 380px; }
    .lm-hero-card { width: 200px; height: 290px; }
    .lm-hero-card-info h4 { font-size: 18px; }
    
    .lm-card { padding: 20px; border-radius: var(--lm-radius-lg); }
    
    .lm-swipe-deck { height: 540px; }
    .lm-card-title h3 { font-size: 20px; }
    .lm-card-bio { font-size: 13px; }
    .lm-swipe-card-info { padding: 60px 16px 16px; }
    .lm-swipe-no, .lm-swipe-like { width: 58px; height: 58px; }
    .lm-swipe-info { width: 46px; height: 46px; }
    
    .lm-avatar,
    .lm-avatar-lg { width: 110px; height: 110px; border-width: 3px; }
    .lm-avatar-edit { width: 34px; height: 34px; }
    .lm-avatar-hint { font-size: 10px; }
    .lm-profile-hero h1 { font-size: 22px; }
    .lm-photo-grid { gap: 6px; }
    .lm-interest-tag { padding: 6px 12px; font-size: 13px; }
    .lm-radio { padding: 8px 14px; font-size: 13px; }
    .lm-radio-vertical .lm-radio { padding: 10px 14px; }
    
    .lm-profile-main-photo { height: 280px; }
    .lm-profile-thumb { width: 55px; height: 55px; }
    .lm-profile-modal-name { font-size: 18px; }
    .lm-profile-modal-actions { grid-template-columns: 1fr; }
    
    /* Notificações mobile */
    .lm-notif-item {
        padding: 14px 16px;
        gap: 12px;
        border-radius: 14px;
    }
    .lm-notif-item .lm-notif-avatar { width: 46px; height: 46px; }
    .lm-notif-item .lm-notif-type-icon { width: 22px; height: 22px; font-size: 12px; }
    .lm-notif-item .lm-notif-title { font-size: 13.5px; }
    .lm-notif-item .lm-notif-time { font-size: 11px; }
    .lm-notif-count {
        min-width: 30px;
        height: 30px;
        padding: 0 12px;
        font-size: 13px;
    }
    
    .lm-chat-report-btn { width: 36px; height: 36px; }
    
    .lm-admirers-grid { grid-template-columns: 1fr; }
    .lm-admirer-content { padding: 14px 16px; }
    .lm-admirer-name    { font-size: 17px; }
    
    .lm-photo-lightbox { padding: 10px; }
    .lm-photo-lightbox-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .lm-photo-lightbox-nav { width: 40px; height: 40px; }
    .lm-photo-lightbox-nav svg { width: 22px; height: 22px; }
    .lm-photo-lightbox-thumb { width: 36px; height: 36px; }
    .lm-photo-lightbox-img { max-height: 65vh; }
    
    .lm-footer-grid { grid-template-columns: 1fr; }
    .lm-footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ============================================
   27. EMOJI PICKER DO CHAT
   ============================================ */

/* Botão de emoji no input */
.lm-emoji-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--lm-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--lm-transition);
}
.lm-emoji-btn:hover {
    background: var(--lm-gray-100);
    color: var(--lm-primary);
    transform: scale(1.08);
}
.lm-emoji-btn:active {
    transform: scale(0.95);
}
.lm-emoji-btn.active {
    background: rgba(74, 26, 107, 0.1);
    color: var(--lm-primary);
}

/* Painel de emojis */
.lm-emoji-picker {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
    max-width: 380px;
    margin: 0 auto;
    background: var(--lm-white);
    border-radius: 20px;
    box-shadow: 0 -4px 24px rgba(74, 26, 107, 0.15), 
                0 8px 32px rgba(74, 26, 107, 0.2);
    z-index: 100;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    max-height: 420px;
    overflow: hidden;
}

.lm-emoji-picker.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header */
.lm-emoji-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lm-gray-200);
    gap: 10px;
    flex-shrink: 0;
}

.lm-emoji-categories {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.lm-emoji-categories::-webkit-scrollbar { display: none; }

.lm-emoji-cat {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--lm-transition-fast);
    opacity: 0.6;
}
.lm-emoji-cat:hover {
    background: var(--lm-gray-100);
    opacity: 1;
    transform: scale(1.1);
}
.lm-emoji-cat.active {
    background: var(--lm-gradient);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(74, 26, 107, 0.3);
}

.lm-emoji-close {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--lm-gray-100);
    border: none;
    color: var(--lm-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--lm-transition-fast);
}
.lm-emoji-close:hover {
    background: var(--lm-error);
    color: #fff;
    transform: scale(1.1);
}

/* Busca */
.lm-emoji-search {
    padding: 10px 16px;
    border-bottom: 1px solid var(--lm-gray-200);
    flex-shrink: 0;
}

.lm-emoji-search input {
    width: 100%;
    padding: 8px 14px;
    font-size: 14px;
    background: var(--lm-gray-100);
    border: 2px solid transparent;
    border-radius: 999px;
    outline: none;
    transition: var(--lm-transition-fast);
    color: var(--lm-gray-900);
    font-family: inherit;
}
.lm-emoji-search input:focus {
    background: var(--lm-white);
    border-color: var(--lm-primary);
    box-shadow: 0 0 0 4px rgba(74, 26, 107, 0.1);
}
.lm-emoji-search input::placeholder {
    color: var(--lm-gray-400);
}

/* Lista de emojis */
.lm-emoji-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    gap: 4px;
    scroll-behavior: smooth;
    min-height: 200px;
    max-height: 280px;
}

.lm-emoji-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--lm-transition-fast);
    padding: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.lm-emoji-item:hover {
    background: var(--lm-gradient-soft);
    transform: scale(1.25);
}
.lm-emoji-item:active {
    transform: scale(1.05);
}

.lm-emoji-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--lm-gray-500);
    font-size: 14px;
    margin: 0;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 768px) {
    .lm-emoji-picker {
        left: 10px;
        right: 10px;
        bottom: 76px;
        max-height: 380px;
        border-radius: 16px;
    }
    
    .lm-emoji-list {
        grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
        padding: 10px;
        gap: 3px;
        max-height: 240px;
    }
    
    .lm-emoji-item {
        font-size: 22px;
        border-radius: 8px;
    }
    
    .lm-emoji-cat {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .lm-emoji-close {
        width: 28px;
        height: 28px;
    }
    
    .lm-emoji-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .lm-emoji-picker {
        bottom: 70px;
        left: 8px;
        right: 8px;
        max-height: 340px;
    }
    
    .lm-emoji-list {
        max-height: 200px;
        grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
    }
    
    .lm-emoji-item {
        font-size: 20px;
    }
    
    .lm-emoji-header {
        padding: 8px 10px;
    }
    
    .lm-emoji-search {
        padding: 8px 10px;
    }
}

/* ============================================
   VERIFICAÇÃO DE E-MAIL/TELEFONE
   ============================================ */

.lm-verify-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--lm-white);
    border: 2px solid var(--lm-gray-200);
    border-radius: var(--lm-radius-lg);
    margin-bottom: 12px;
    transition: all 0.3s;
}

.lm-verify-item.verified {
    border-color: rgba(46, 125, 50, 0.3);
    background: rgba(46, 125, 50, 0.03);
}

.lm-verify-item.pending {
    border-color: var(--lm-gray-200);
}

.lm-verify-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--lm-gray-100);
    border-radius: 50%;
}

.lm-verify-item.verified .lm-verify-icon {
    background: rgba(46, 125, 50, 0.1);
}

.lm-verify-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lm-verify-content strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--lm-gray-900);
}

.lm-verify-content p {
    font-size: 14px;
    color: var(--lm-gray-600);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-verify-status {
    display: inline-block;
    padding: 3px 10px;
    background: var(--lm-gray-100);
    color: var(--lm-gray-500);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
    width: fit-content;
}

.lm-verify-status.verified {
    background: rgba(46, 125, 50, 0.1);
    color: var(--lm-success);
}

.lm-verify-action {
    flex-shrink: 0;
}

.lm-verify-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--lm-success);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50%;
}

/* Input de telefone com botão */
.lm-phone-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.lm-phone-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    background: var(--lm-gray-100);
    border: 2px solid transparent;
    border-radius: var(--lm-radius);
    outline: none;
    transition: var(--lm-transition-fast);
    font-family: inherit;
    min-width: 0;
}

.lm-phone-input:focus {
    background: var(--lm-white);
    border-color: var(--lm-primary);
    box-shadow: 0 0 0 4px rgba(74, 26, 107, 0.1);
}

/* Modal inline de código */
.lm-code-modal {
    margin-top: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #F3E9FA 0%, #FDE8EA 100%);
    border-radius: var(--lm-radius-lg);
    text-align: center;
}

.lm-code-modal h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--lm-gray-900);
}

.lm-code-modal > p {
    font-size: 14px;
    color: var(--lm-gray-600);
    margin-bottom: 20px;
}

.lm-code-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.lm-code-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--lm-gray-900);
    background: var(--lm-white);
    border: 2px solid var(--lm-gray-300);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.lm-code-digit:focus {
    border-color: var(--lm-primary);
    box-shadow: 0 0 0 4px rgba(74, 26, 107, 0.15);
    transform: scale(1.05);
}

.lm-code-digit.filled {
    border-color: var(--lm-primary);
    background: rgba(74, 26, 107, 0.05);
}

.lm-code-message {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    min-height: 20px;
}

.lm-code-message.error {
    color: var(--lm-error);
}

.lm-code-message.success {
    color: var(--lm-success);
}

.lm-code-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.lm-code-resend {
    background: transparent;
    border: none;
    color: var(--lm-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 999px;
    transition: var(--lm-transition-fast);
    font-family: inherit;
}

.lm-code-resend:hover:not(:disabled) {
    background: rgba(74, 26, 107, 0.06);
}

.lm-code-resend:disabled {
    color: var(--lm-gray-500);
    cursor: not-allowed;
}

/* Mobile */
@media (max-width: 480px) {
    .lm-verify-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .lm-verify-action {
        align-self: stretch;
    }
    
    .lm-verify-action .lm-btn {
        width: 100%;
    }
    
    .lm-code-digit {
        width: 42px;
        height: 50px;
        font-size: 20px;
    }
    
    .lm-phone-input-wrap {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   VERIFICAÇÃO POR SELFIE
   ============================================ */

.lm-verify-selfie-card {
    padding: 24px;
    background: var(--lm-white);
    border: 2px solid var(--lm-gray-200);
    border-radius: var(--lm-radius-lg);
    margin-top: 20px;
}

.lm-verify-selfie-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.lm-verify-selfie-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--lm-gradient-soft);
    border-radius: 50%;
}

.lm-verify-selfie-header h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--lm-gray-900);
}

/* Status */
.lm-selfie-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--lm-radius);
    margin-bottom: 16px;
}

.lm-selfie-status.verified {
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.lm-selfie-status.pending {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.lm-selfie-status.rejected {
    background: rgba(227, 6, 19, 0.08);
    border: 1px solid rgba(227, 6, 19, 0.2);
}

.lm-selfie-status-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    color: #fff;
}

.lm-selfie-status.verified .lm-selfie-status-icon { background: var(--lm-success); }
.lm-selfie-status.pending  .lm-selfie-status-icon { background: var(--lm-warning); }
.lm-selfie-status.rejected .lm-selfie-status-icon { background: var(--lm-error); }

.lm-selfie-status strong {
    font-size: 15px;
    color: var(--lm-gray-900);
}

.lm-selfie-status p {
    font-size: 13px;
    color: var(--lm-gray-600);
    margin: 2px 0 0;
}

.lm-selfie-status small {
    font-size: 11px;
    color: var(--lm-gray-500);
    display: block;
    margin-top: 2px;
}

/* Formulário */
.lm-selfie-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--lm-gray-200);
}

.lm-selfie-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.lm-selfie-step {
    display: flex;
    gap: 14px;
}

.lm-step-number {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lm-gradient);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 50%;
}

.lm-step-content {
    flex: 1;
    min-width: 0;
}

.lm-step-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--lm-gray-900);
}

/* Gesto demo */
.lm-gesture-demo {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #F3E9FA 0%, #FDE8EA 100%);
    border-radius: var(--lm-radius);
}

.lm-gesture-emoji {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 8px;
    animation: lm-wave 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes lm-wave {
    0%, 100% { transform: rotate(0); }
    25%      { transform: rotate(-15deg); }
    75%      { transform: rotate(15deg); }
}

.lm-gesture-demo p {
    font-size: 13px;
    color: var(--lm-gray-700);
    margin: 0;
}

/* Dicas */
.lm-selfie-tips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lm-selfie-tips li {
    font-size: 13px;
    color: var(--lm-gray-600);
    padding-left: 4px;
}

/* Upload */
.lm-selfie-upload-wrap {
    margin-top: 8px;
}

.lm-selfie-upload-wrap input[type="file"] {
    display: none;
}

.lm-selfie-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 20px;
    background: var(--lm-gray-100);
    border: 2px dashed var(--lm-gray-300);
    border-radius: var(--lm-radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.lm-selfie-upload-label:hover {
    border-color: var(--lm-primary);
    background: rgba(74, 26, 107, 0.04);
}

.lm-selfie-upload-icon {
    font-size: 36px;
}

.lm-selfie-upload-label span {
    font-size: 14px;
    font-weight: 600;
    color: var(--lm-gray-700);
}

.lm-selfie-upload-label small {
    font-size: 12px;
    color: var(--lm-gray-500);
}

/* Preview */
.lm-selfie-preview-wrap {
    position: relative;
    margin-top: 12px;
    border-radius: var(--lm-radius);
    overflow: hidden;
    box-shadow: var(--lm-shadow);
}

.lm-selfie-preview-wrap img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.lm-selfie-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(8px);
}

.lm-selfie-remove:hover {
    background: var(--lm-error);
}

/* Mensagem */
.lm-selfie-message {
    display: none;
    padding: 12px 16px;
    border-radius: var(--lm-radius);
    font-size: 14px;
    font-weight: 500;
    margin: 16px 0;
    text-align: center;
}

.lm-selfie-message.show { display: block; }
.lm-selfie-message.error {
    background: rgba(227, 6, 19, 0.08);
    color: var(--lm-error);
    border: 1px solid rgba(227, 6, 19, 0.2);
}
.lm-selfie-message.success {
    background: rgba(46, 125, 50, 0.08);
    color: var(--lm-success);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

/* Ações */
.lm-selfie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.lm-selfie-actions .lm-btn {
    flex: 1;
    max-width: 200px;
}

@media (max-width: 480px) {
    .lm-verify-selfie-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .lm-selfie-status {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lm-selfie-actions {
        flex-direction: column-reverse;
    }
    
    .lm-selfie-actions .lm-btn {
        max-width: 100%;
    }
}

/* ============================================
   LANDING PAGE — Seções extras
   ============================================ */

/* Cabeçalho de seção reutilizável */
.lm-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.lm-section-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(74, 26, 107, 0.08);
    color: var(--lm-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--lm-radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(74, 26, 107, 0.15);
}

.lm-section-subtitle {
    font-size: 17px;
    color: var(--lm-gray-600);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   COMO FUNCIONA
   ============================================ */
.lm-how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, #F8F3FC 100%);
}

.lm-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 60px;
}

.lm-step {
    position: relative;
    text-align: center;
    padding: 32px 20px;
    background: var(--lm-white);
    border-radius: var(--lm-radius-lg);
    box-shadow: var(--lm-shadow);
    transition: var(--lm-transition);
}

.lm-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--lm-shadow-lg);
}

.lm-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--lm-gradient);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(74, 26, 107, 0.3);
}

.lm-step-icon {
    font-size: 44px;
    margin-bottom: 16px;
    line-height: 1;
}

.lm-step h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--lm-gray-900);
}

.lm-step p {
    font-size: 14px;
    color: var(--lm-gray-600);
    line-height: 1.6;
    margin: 0;
}

.lm-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--lm-primary);
    opacity: 0.5;
    padding-top: 60px;
    font-weight: 800;
}

.lm-steps-cta {
    text-align: center;
}

/* ============================================
   CASais (SOCIAL PROOF)
   ============================================ */
.lm-couples {
    padding: 100px 0;
    background: var(--lm-white);
}

.lm-couples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.lm-couple {
    position: relative;
    border-radius: var(--lm-radius-xl);
    overflow: hidden;
    box-shadow: var(--lm-shadow);
    transition: var(--lm-transition);
    aspect-ratio: 4/5;
}

.lm-couple:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--lm-shadow-lg);
}

.lm-couple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lm-couple:hover img {
    transform: scale(1.08);
}

.lm-couple-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
}

.lm-couple-info strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.lm-couple-info span {
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   MANUAL DE USO
   ============================================ */
.lm-guide {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8F3FC 0%, #fff 100%);
}

.lm-guide-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.lm-guide-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lm-guide-block.lm-guide-reverse {
    direction: rtl;
}

.lm-guide-block.lm-guide-reverse > * {
    direction: ltr;
}

.lm-guide-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-guide-step {
    display: inline-block;
    padding: 6px 16px;
    background: var(--lm-gradient-soft);
    color: var(--lm-primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 4px;
}

.lm-guide-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--lm-gray-900);
    letter-spacing: -0.5px;
    margin: 0 0 8px;
}

.lm-guide-text p {
    font-size: 16px;
    color: var(--lm-gray-600);
    line-height: 1.7;
    margin: 0;
}

.lm-guide-list {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lm-guide-list li {
    font-size: 15px;
    color: var(--lm-gray-700);
    line-height: 1.6;
    padding-left: 4px;
}

.lm-guide-list strong {
    color: var(--lm-gray-900);
    font-weight: 700;
}

.lm-guide-tip {
    padding: 16px 20px;
    background: linear-gradient(135deg, #FFF5E5 0%, #FFE8E5 100%);
    border-left: 4px solid var(--lm-warning);
    border-radius: 0 var(--lm-radius) var(--lm-radius) 0;
    font-size: 14px !important;
    color: var(--lm-gray-800) !important;
    margin-top: 12px !important;
}

.lm-guide-visual {
    border-radius: var(--lm-radius-xl);
    overflow: hidden;
    box-shadow: var(--lm-shadow-lg);
    aspect-ratio: 4/3;
}

.lm-guide-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   SEGURANÇA
   ============================================ */
.lm-safety {
    padding: 100px 0;
    background: var(--lm-white);
}

.lm-safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.lm-safety-card {
    padding: 32px 24px;
    background: linear-gradient(180deg, #fff 0%, #F8F3FC 100%);
    border: 1px solid var(--lm-gray-200);
    border-radius: var(--lm-radius-lg);
    text-align: center;
    transition: var(--lm-transition);
}

.lm-safety-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lm-shadow);
    border-color: var(--lm-primary);
}

.lm-safety-icon {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1;
}

.lm-safety-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--lm-gray-900);
}

.lm-safety-card p {
    font-size: 14px;
    color: var(--lm-gray-600);
    line-height: 1.6;
    margin: 0;
}

.lm-safety-tips {
    background: linear-gradient(135deg, #FFF5F5 0%, #FDE8EA 100%);
    padding: 40px;
    border-radius: var(--lm-radius-xl);
    border: 1px solid rgba(227, 6, 19, 0.15);
}

.lm-safety-tips h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--lm-gray-900);
    margin: 0 0 24px;
    text-align: center;
}

.lm-safety-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.lm-safety-tips-grid > div {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--lm-radius);
    font-size: 14px;
    color: var(--lm-gray-800);
    font-weight: 500;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.lm-testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8F3FC 0%, #fff 100%);
}

.lm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.lm-testimonial {
    padding: 32px 28px;
    background: var(--lm-white);
    border-radius: var(--lm-radius-lg);
    box-shadow: var(--lm-shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--lm-transition);
}

.lm-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--lm-shadow-lg);
}

.lm-testimonial-stars {
    font-size: 16px;
    line-height: 1;
}

.lm-testimonial > p {
    font-size: 15px;
    color: var(--lm-gray-700);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    flex: 1;
}

.lm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--lm-gray-100);
}

.lm-testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.lm-testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--lm-gray-900);
    font-weight: 700;
}

.lm-testimonial-author span {
    font-size: 12px;
    color: var(--lm-gray-500);
}

/* ============================================
   FAQ
   ============================================ */
.lm-faq {
    padding: 100px 0;
    background: var(--lm-white);
}

.lm-faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lm-faq-item {
    background: var(--lm-white);
    border: 1px solid var(--lm-gray-200);
    border-radius: var(--lm-radius);
    overflow: hidden;
    transition: var(--lm-transition);
}

.lm-faq-item[open] {
    border-color: var(--lm-primary);
    box-shadow: var(--lm-shadow);
}

.lm-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--lm-gray-900);
    list-style: none;
    user-select: none;
    transition: var(--lm-transition-fast);
}

.lm-faq-item summary::-webkit-details-marker {
    display: none;
}

.lm-faq-item summary:hover {
    background: var(--lm-gray-100);
    color: var(--lm-primary);
}

.lm-faq-arrow {
    font-size: 12px;
    color: var(--lm-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lm-faq-item[open] .lm-faq-arrow {
    transform: rotate(180deg);
}

.lm-faq-answer {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--lm-gray-600);
    line-height: 1.7;
}

.lm-faq-answer p {
    margin: 0;
}

/* ============================================
   CTA FINAL
   ============================================ */
.lm-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.lm-cta-note {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.85;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 992px) {
    .lm-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .lm-step-arrow {
        display: none;
    }
    
    .lm-guide-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .lm-guide-block.lm-guide-reverse {
        direction: ltr;
    }
    
    .lm-guide-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .lm-how-it-works,
    .lm-couples,
    .lm-guide,
    .lm-safety,
    .lm-testimonials,
    .lm-faq {
        padding: 70px 0;
    }
    
    .lm-section-header {
        margin-bottom: 40px;
    }
    
    .lm-section-title {
        font-size: 26px;
    }
    
    .lm-section-subtitle {
        font-size: 15px;
    }
    
    .lm-guide-text h3 {
        font-size: 22px;
    }
    
    .lm-guide-content {
        gap: 60px;
    }
    
    .lm-safety-tips {
        padding: 24px 20px;
    }
    
    .lm-safety-tips h3 {
        font-size: 18px;
    }
    
    .lm-testimonial {
        padding: 24px 20px;
    }
    
    .lm-faq-item summary {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .lm-faq-answer {
        padding: 0 20px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .lm-step {
        padding: 24px 16px;
    }
    
    .lm-step-icon {
        font-size: 36px;
    }
    
    .lm-guide-text h3 {
        font-size: 20px;
    }
    
    .lm-guide-list li {
        font-size: 14px;
    }
    
    .lm-couples-grid {
        grid-template-columns: 1fr;
    }
}