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

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

:root {
    --color-primary: #0ea5e9;
    --color-secondary: #10b981;
    --color-accent: #8b5cf6;
    --color-warning: #f59e0b;
    --color-dark: #1e293b;
    --color-light: #f8fafc;
    --color-gray: #64748b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #334155;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

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

.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 24px;
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(5deg);
}

.logo-text h1 {
    font-size: 24px;
    color: var(--color-primary);
    margin: 0;
}

.logo-text p {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 500;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 15px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #0284c7);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary), #059669);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 85px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #10b981 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-enfermagem.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.badge {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fbbf24;
}

.stat-label {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 14px;
    padding: 8px 20px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin: 20px 0;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 650px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 36px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-text h2 {
    font-size: 2.8rem;
    margin: 20px 0 24px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    line-height: 2;
    font-size: 14px;
}

.footer-section a:hover {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse-glow 2s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

/* Contact Page */
.contact-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 80px 0;
    color: white;
    text-align: center;
    margin-top: 85px;
}

.contact-content {
    padding: 100px 0;
}

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

.contact-form {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    height: fit-content;
}

.contact-info-card h3 {
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.contact-details p {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Legal Pages */
.legal-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    padding: 80px 0;
    color: white;
    text-align: center;
    margin-top: 85px;
}

.legal-content {
    padding: 100px 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2rem;
    margin: 48px 0 24px;
}

.legal-content h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #475569;
}

.legal-content ul {
    margin: 16px 0 16px 24px;
    line-height: 2;
}

.legal-content li {
    color: #475569;
}

.info-box {
    background: linear-gradient(to right, #dbeafe, #d1fae5);
    border-left: 4px solid var(--color-primary);
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
}

.info-box p {
    margin: 0;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.8); }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
