/* ============================================
   ZAP SAÚDE v3.0 - SITE PÚBLICO PREMIUM CSS
   ============================================ */

:root {
    --primary: #4A90E2; --primary-dark: #357ABD; --primary-light: #EBF3FD;
    --success: #2ECC71; --warning: #F39C12; --danger: #E74C3C;
    --dark: #1a1d23; --text: #2d3748; --text-muted: #718096; --border: #e2e8f0;
    --radius: 16px; --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(0,0,0,0.06); --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --gradient: linear-gradient(135deg, #4A90E2 0%, #7B68EE 50%, #2ECC71 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); line-height: 1.7; }

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

/* Navbar */
.navbar { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); padding: 0 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--dark); text-decoration: none; }
.navbar-brand i { color: var(--primary); font-size: 1.6rem; }
.navbar-menu { display: flex; align-items: center; gap: 24px; }
.navbar-menu a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.navbar-menu a:hover { color: var(--primary); }
.navbar-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 100px 0 80px; overflow: hidden; background: linear-gradient(135deg, #0f1117 0%, #1a1d23 50%, #0f1117 100%); color: #fff; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(74,144,226,0.15) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(46,204,113,0.1) 0%, transparent 50%); }
.hero-content { position: relative; text-align: center; max-width: 700px; margin: 0 auto; }
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 48px; }
.hero-stat { text-align: center; }
.hero-stat-value { display: block; font-size: 2rem; font-weight: 800; }
.hero-stat span:last-child { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: #f8fafc; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--dark); }
.section-header p { color: var(--text-muted); font-size: 1.1rem; margin-top: 8px; }
.section-badge { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s; text-align: center; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; padding: 32px; }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; margin: 0 auto 16px; }
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Pricing */
.pricing-section { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; transition: all 0.3s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-featured { box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg); transform: scale(1.02); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; padding: 4px 20px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.pricing-header { text-align: center; margin-bottom: 16px; }
.pricing-header i { font-size: 2rem; margin-bottom: 8px; display: block; }
.pricing-header h3 { font-size: 1.3rem; }
.pricing-price { text-align: center; margin-bottom: 20px; }
.price-currency { font-size: 1.2rem; font-weight: 600; vertical-align: super; }
.price-value { font-size: 3rem; font-weight: 900; color: var(--dark); }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-desc { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
.pricing-features { list-style: none; margin-bottom: 24px; }
.pricing-features li { padding: 8px 0; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.pricing-features li i { color: var(--success); }
.pricing-features li.disabled { color: var(--text-muted); text-decoration: line-through; }
.pricing-features li.disabled i { color: var(--danger); }

/* CTA */
.cta-section { background: var(--gradient); padding: 80px 0; }
.cta-content { text-align: center; color: #fff; }
.cta-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: none; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; font-family: var(--font); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 24px rgba(74,144,226,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Cards (Site) */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 1rem; font-weight: 600; }
.card-body { padding: 24px; }

/* Forms (Site) */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; transition: all 0.3s; font-family: var(--font); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(74,144,226,0.15); }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.alert-success { background: #e8f8f0; color: #1a7a42; border: 1px solid #b7ebd0; }
.alert-danger { background: #fdedec; color: #922b21; border: 1px solid #f5c6cb; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Content Text */
.content-text { max-width: 800px; margin: 0 auto; }
.content-text h3 { margin: 24px 0 12px; font-size: 1.3rem; }
.content-text p { margin-bottom: 16px; color: var(--text); }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 8px; font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; margin-bottom: 6px; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-toggle { display: block; }
    .navbar-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .navbar-menu.active { display: flex; }
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .features-grid, .steps-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-featured { transform: none; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 1.6rem; }
}
