@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% 35%;
    --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 --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: hsl(var(--color-primary-light));
    color: hsl(var(--text-primary));
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: hsl(var(--color-primary));
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* --- 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: sticky;
    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));
    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: 56px;
        justify-content: space-between;
    }

    .logo img {
        height: 36px;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: hsl(var(--color-secondary));
    color: hsl(var(--text-light));
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    background-color: hsl(217 91% 50%);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid hsl(var(--color-primary));
    color: hsl(var(--color-primary));
}

.btn-outline:hover {
    background-color: hsl(var(--color-primary));
    color: hsl(var(--text-light));
    transform: translateY(-2px);
}

/* --- HOME SELECTOR PAGE --- */
.home-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.123), rgba(255, 255, 255, 0.884)), url('capa-index.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.home-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    animation: blob-pulse 15s infinite alternate ease-in-out;
}

.home-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(142,76,36,0.04) 0%, rgba(255,255,255,0) 70%);
    bottom: -150px;
    left: -150px;
    z-index: -1;
    animation: blob-pulse 18s infinite alternate-reverse ease-in-out;
}

@keyframes blob-pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    33% { transform: scale(1.1) translate(30px, -20px); opacity: 1; }
    66% { transform: scale(0.9) translate(-20px, 20px); opacity: 0.6; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.8; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: hsl(var(--color-secondary));
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 0, 0, 0.2);
}



.hero-subtitle {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.8;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-block;
}

.selector-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.selector-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 225, 235, 0.6);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.selector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: var(--transition-normal);
}

.card-desemprego::before {
    background-color: hsl(var(--color-accent-green));
}

.card-maternidade::before {
    background-color: hsl(var(--color-accent-pink));
}

.selector-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(220, 225, 235, 0.9);
}

.selector-card:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: var(--shadow-md);
}

.card-desemprego:hover::before {
    width: 8px;
    box-shadow: 4px 0 15px rgba(22, 163, 74, 0.4);
}

.card-maternidade:hover::before {
    width: 8px;
    box-shadow: 4px 0 15px rgba(236, 72, 153, 0.4);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
    transition: var(--transition-normal);
}

.card-desemprego .card-icon {
    background-color: rgba(22, 163, 74, 0.1);
    color: hsl(var(--color-accent-green));
}

.card-maternidade .card-icon {
    background-color: rgba(236, 72, 153, 0.1);
    color: hsl(var(--color-accent-pink));
}

.selector-card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-description {
    color: hsl(var(--text-secondary));
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.card-footer {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: hsl(var(--color-primary));
    gap: 8px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.card-footer svg {
    transition: var(--transition-fast);
}

.selector-card:hover .card-footer {
    color: hsl(var(--color-secondary));
}

.selector-card:hover .card-footer svg {
    transform: translateX(4px);
}

/* --- FOOTER --- */
.footer {
    background-color: hsl(var(--color-primary));
    color: hsl(var(--text-light));
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: hsl(var(--text-light));
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: hsl(var(--text-light-muted));
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
    color: hsl(var(--text-light));
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: hsl(var(--text-light-muted));
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: hsl(var(--text-light));
    transform: translateX(6px);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    color: hsl(var(--text-light-muted));
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: hsl(var(--text-light-muted));
    font-size: 0.85rem;
}

/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .selector-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 64px;
    }
}
