/* ===== Global Styles — Guia da Beleza ===== */
body {
    background-color: #FAFAFA;
    color: #2D2D2D;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

html {
    scroll-behavior: smooth;
}

/* ===== Gradients ===== */
.text-primary-gradient {
    background: linear-gradient(135deg, #B76E79, #D4A0A7, #B76E79);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 6s linear infinite;
}

.text-accent-gradient {
    background: linear-gradient(135deg, #C9A96E, #E8D5A8, #C9A96E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* ===== Navigation Panel ===== */
.glass-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ===== Glows ===== */
.primary-glow {
    box-shadow: 0 4px 20px rgba(183, 110, 121, 0.2);
}

.accent-glow {
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}

/* ===== Inputs ===== */
.beauty-input {
    background: #FFFFFF;
    border: 1px solid #E5E0DC;
    color: #2D2D2D;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.beauty-input:focus {
    border-color: #B76E79;
    outline: none;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12);
}

/* ===== Search Input (FAQ) ===== */
.search-input {
    background: #FFFFFF;
    border: 1px solid #E5E0DC;
    color: #2D2D2D;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #B76E79;
    outline: none;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12);
}

/* ===== Badge pulsante ===== */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.pulse-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

/* ===== Counters ===== */
.vacancy-counter {
    font-variant-numeric: tabular-nums;
}

/* ===== Feature card hover ===== */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(183, 110, 121, 0.3);
    box-shadow: 0 12px 40px rgba(183, 110, 121, 0.08);
}

/* ===== Grid de Diferenciais ===== */

.diff-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.diff-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0.6) 100%);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.diff-card:hover::before {
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.5) 100%);
}

.diff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(183, 110, 121, 0.12), 0 0 30px rgba(183, 110, 121, 0.05);
    border-color: rgba(183, 110, 121, 0.3) !important;
}

.diff-card .card-content {
    position: relative;
    z-index: 2;
}

.diff-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(183, 110, 121, 0.1);
    border: 1px solid rgba(183, 110, 121, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.diff-card:hover .card-icon {
    background: rgba(183, 110, 121, 0.2);
    border-color: rgba(183, 110, 121, 0.4);
    box-shadow: 0 0 20px rgba(183, 110, 121, 0.15);
    transform: scale(1.1);
}

/* Gradient fallbacks */
.diff-card--gestao {
    background-image:
        radial-gradient(ellipse at 70% 20%, rgba(183, 110, 121, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
        linear-gradient(145deg, #FDF8F5 0%, #F5F0EB 50%, #FAFAFA 100%);
}

.diff-card--financeiro {
    background-image:
        radial-gradient(ellipse at 50% 30%, rgba(183, 110, 121, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(201, 169, 110, 0.08) 0%, transparent 40%),
        linear-gradient(145deg, #F5F0EB 0%, #FAFAFA 50%, #FDF8F5 100%);
}

.diff-card--juridico {
    background-image:
        radial-gradient(ellipse at 40% 40%, rgba(107, 143, 163, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(183, 110, 121, 0.06) 0%, transparent 40%),
        linear-gradient(145deg, #FAFAFA 0%, #F5F0EB 50%, #FDF8F5 100%);
}

/* ===== Lifestyle Banner ===== */
.lifestyle-banner {
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.lifestyle-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.88) 100%);
    z-index: 1;
}

.lifestyle-banner--fallback {
    background-image:
        radial-gradient(ellipse at 80% 50%, rgba(183, 110, 121, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 30%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #FDF8F5 0%, #F5F0EB 40%, #FAFAFA 100%);
}

/* ===== Mockup dashboard card ===== */
.mockup-card {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.mockup-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(250,250,250,0.95) 0%, rgba(250,250,250,0.5) 30%, rgba(250,250,250,0.5) 70%, rgba(250,250,250,0.95) 100%);
    z-index: 1;
}

/* ===== Subtle divider ===== */
.diff-divider {
    position: relative;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.diff-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(183, 110, 121, 0.3), transparent);
    animation: moveGlow 6s ease-in-out infinite;
}

@keyframes moveGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* ===== Tooltip Icon ===== */
.cursor-help::after {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    font-size: 10px;
    font-weight: 800;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #9CA3AF;
    border: 1.5px solid #D1D5DB;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.cursor-help:hover::after {
    color: #B76E79;
    border-color: #B76E79;
    background-color: rgba(183, 110, 121, 0.08);
}

/* ===== Utility: hidden by search ===== */
.hidden-by-search {
    display: none !important;
}
