@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM --- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Colors (HSL) */
    --color-primary: 220 80% 18%; /* Deep Navy */
    --color-primary-light: 220 60% 98%;
    --color-secondary: 217 91% 56%; /* Electric Blue */
    --color-accent-green: 142 76% 36%; /* Emerald green for trust/desemprego */
    --color-accent-pink: 335 78% 65%; /* Soft pink/coral for maternity */
    --color-accent-gold: 38 92% 50%; /* Amber gold for badges/warnings */
    
    --color-dark: 224 71% 4%;
    --color-dark-card: 222 47% 11%;
    --color-light: 0 0% 100%;
    
    /* Text */
    --text-primary: 220 40% 12%;
    --text-secondary: 220 20% 45%;
    --text-light: 0 0% 100%;
    --text-light-muted: 220 20% 80%;

    /* Layout & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-width: 1200px;
}

/* --- RESET & BODY --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f7f9fb;
    color: #191c1e;
    font-family: 'Work Sans', sans-serif;
    min-height: max(884px, 100dvh);
}

/* Hero entrance animation */
@keyframes hero-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#inicio {
    animation: hero-slide-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.desemprego-hero {
    background-image: url('desemprego_hero.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.desemprego-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 30, 60, 0.82) 0%, rgba(10, 30, 60, 0.6) 100%);
    z-index: 1;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- LAYOUT UTILITIES --- */
.fw-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- HEADER & NAVIGATION --- */
.header {
    font-family: var(--font-heading);
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(220, 225, 235, 0.5);
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    height: 80px;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: hsl(var(--text-secondary));
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: hsl(var(--color-secondary)); /* Navy/blue accent for Seguro Desemprego */
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: hsl(var(--color-primary));
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: hsl(var(--color-primary));
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.mobile-menu-btn .hamburger-line {
    width: 100%;
    height: 2px;
    background-color: hsl(var(--color-primary));
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Active Hamburger State (animation to X) */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 105;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }

    .header-container {
        height: 63px;
        justify-content: space-between;
    }

    .logo img {
        height: 36px;
    }
}

/* --- SEGURO DESEMPREGO CUSTOM LAYOUT --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s ease;
}

.bento-item:hover {
    box-shadow: 0px 4px 12px rgba(15, 23, 42, 0.05);
}

.step-line {
    position: absolute;
    top: 24px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}
