/* 
 * Boa Gestão Salarial - Elite Modern & Robust Site Styles
 * Professional Balanced Scaling (Normalized)
 * Inspired by Humand.co | Colors: #667eea, #764ba2
 */

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

:root {
    --brand-primary: #667eea;
    --brand-secondary: #764ba2;
    --brand-accent: #10b981;
    --brand-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg-body: #f8fafc;
    --bg-light: #f1f5f9;
    --border: #e2e8f0;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-brand: 0 10px 15px -3px rgba(102, 126, 234, 0.2);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Section Header */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Header & Navigation */
.topbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--brand-primary);
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--white);
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: #475569;
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(102, 126, 234, 0.05);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-tags {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.hero-tags span {
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.08);
    color: var(--brand-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
}

.hero-panel {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

.hero-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.hero-panel ul {
    list-style: none;
}

.hero-panel li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
}

/* Slider Section */
.slider-3d {
    margin: 60px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.slider-wrapper {
    position: relative;
    height: 500px;
    background: #0f172a;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: block !important;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s linear;
}

.slide.active img {
    transform: scale(1.1);
}

/* Slide Legend (Modern Reveal Restore) */
.slide-info, .slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.slide:hover .slide-info, .slide:hover .slide-text {
    transform: translateY(0);
}

.slide-info h3, .slide-text h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 12px;
}

.slide-info p, .slide-text p {
    font-size: 1rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.slide-info ul, .slide-info ol {
    margin: 12px 0;
    padding-left: 20px;
}

.slide-info li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.slide-extra {
    margin-top: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.tag-tabela {
    display: inline-block;
    padding: 4px 12px;
    background: var(--brand-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 16px;
    color: white;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: white;
    color: var(--brand-primary);
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.indicator.active {
    width: 24px;
    border-radius: 10px;
    background: white;
}

/* Banner Section */
.banner-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin: 80px 0;
    border-radius: var(--radius-lg);
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 24px;
}

.banner-text h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
}

.banner-text p {
    font-size: 1.25rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-item {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--brand-primary);
    transform: translateY(-8px);
    border-color: transparent;
}

.feature-item:hover * {
    color: var(--white);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.95rem;
}

/* Packages Grid (Restore Styles) */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.package-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.package-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    transform: scale(1.02);
    border: none;
    z-index: 2;
}

.package-card.featured h3, 
.package-card.featured .amount,
.package-card.featured .package-kicker,
.package-card.featured .currency,
.package-card.featured .period {
    color: var(--white);
}

.package-card.featured .package-subtitle,
.package-card.featured .package-note {
    color: rgba(255,255,255,0.7);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand-accent);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.package-header {
    text-align: center;
    margin-bottom: 32px;
}

.package-kicker {
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.package-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

.package-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.pill {
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pill-soft {
    background: rgba(102, 126, 234, 0.1);
    color: var(--brand-primary);
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 24px 0;
}

.package-price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.package-price .currency {
    font-size: 1.25rem;
    font-weight: 700;
}

.package-price .period {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.package-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.package-features {
    list-style: none;
    margin: 32px 0;
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.package-features li::before {
    content: '→';
    color: var(--brand-primary);
    font-weight: 800;
}

/* Comparison Table */
.comparison-table-wrap {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 16px;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-weight: 800;
    color: var(--brand-primary);
}

/* Angola Section */
.highlight {
    background: var(--bg-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.box-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.box h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.box ul {
    list-style: none;
}

.box li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.box li::before {
    content: '•';
    color: var(--brand-primary);
    font-weight: 800;
}

/* Benefits Section */
.beneficios h2 {
    font-size: 2.5rem;
}

.beneficios ul {
    list-style: none;
    margin-top: 32px;
}

.beneficios li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    font-size: 1rem;
    font-weight: 600;
}

.beneficios li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

.callout {
    background: var(--brand-gradient);
    padding: 48px;
    border-radius: var(--radius-lg);
    color: white;
}

.callout h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 20px;
}

.callout-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.callout ol {
    padding-left: 20px;
    margin: 20px 0;
}

.callout li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #0f172a;
    color: var(--white);
    text-align: center;
}

.footer p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.float-btn.whatsapp {
    background: #25d366;
    color: white;
}

.float-btn.email {
    background: var(--brand-gradient);
    color: white;
}

.float-label {
    position: absolute;
    right: 70px;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 700;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.85rem;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn:hover .float-label {
    opacity: 1;
    visibility: visible;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    padding: 24px;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 700px;
    margin: 40px auto;
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-small {
    max-width: 450px;
}

.close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.modal-features {
    list-style: none;
    margin: 24px 0;
}

.modal-features li {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1rem;
}

/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Links - Professional Style */
.hero-links {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-professional {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(102, 126, 234, 0.05);
    transition: var(--transition);
}

.link-professional:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
}

.separator {
    color: var(--text-muted);
    font-weight: 300;
    opacity: 0.5;
}

/* Modern Package Header */
.title-modern {
    font-size: 3rem !important;
    margin-bottom: 8px !important;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle-modern {
    font-size: 1.5rem !important;
    color: var(--text-muted);
    font-weight: 600;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--brand-gradient);
    margin: 20px auto 0;
    border-radius: 10px;
}

/* Professional Package Cards - Refined */
.package-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.package-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
    border-color: var(--brand-primary);
}

.package-card:hover::after {
    transform: scaleX(1);
}

/* Animations for icons */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
    display: inline-block;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--brand-primary);
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pricing-toggle-container {
    background: #f1f5f9;
    padding: 6px;
    border-radius: 100px;
    display: inline-flex;
    gap: 4px;
    border: 1px solid rgba(0,0,0,0.05);
}

.toggle-btn {
    padding: 10px 24px;
    border-radius: 100px;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: #64748b;
}

.toggle-btn.active {
    background: white;
    color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.badge-discount {
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.75rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-tags { justify-content: center; }
}

@media (max-width: 768px) {
    .topbar { height: 70px; }
    .nav { display: none; }
    .hero-text h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 2rem; }
    .banner-text h2 { font-size: 2rem; }
    .package-card.featured { transform: none; }
    .grid-2 { grid-template-columns: 1fr; }
    .modal-content { padding: 32px 24px; }
}
