:root {
    --brand-green: #059669;       /* Verde moderno e médico */
    --brand-orange: #f97316;      /* Laranja vibrante para CTA */
    --hover-orange: #ea580c;
    --dark-text: #1e293b;
    --light-text: #64748b;
    --bg-color: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    scroll-behavior: smooth;
}

body { background-color: var(--bg-color); color: var(--dark-text); }

/* --- Navbar --- */
.navbar { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; color: var(--brand-green); }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--light-text); font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--brand-green); }
.btn-nav-outline { border: 2px solid var(--brand-orange); color: var(--brand-orange) !important; padding: 8px 16px; border-radius: 20px; }
.btn-nav-outline:hover { background: var(--brand-orange); color: var(--white) !important; }

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, rgba(5,150,105,0.1) 0%, rgba(249,115,22,0.05) 100%);
    padding: 80px 20px; text-align: center;
}
.hero-content h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--brand-green); }
.hero-content p { font-size: 1.1rem; color: var(--light-text); margin-bottom: 40px; }

/* Barra de Busca Moderna */
.search-blocks { max-width: 800px; margin: 0 auto; }
.search-card {
    background: var(--white); padding: 10px; border-radius: 50px;
    display: flex; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.search-card select {
    flex: 1; border: none; padding: 15px 20px; font-size: 1rem;
    color: var(--dark-text); background: transparent; outline: none; border-right: 1px solid #e2e8f0;
}
.btn-search {
    background: var(--brand-orange); color: var(--white); border: none;
    padding: 0 30px; border-radius: 40px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: 0.3s;
}
.btn-search:hover { background: var(--hover-orange); transform: scale(1.02); }

/* --- Títulos Globais --- */
.section-title { text-align: center; font-size: 2rem; color: var(--brand-green); margin: 60px 0 40px; }

/* --- Como Funciona --- */
.steps-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 0 20px; text-align: center; }
.step-card { background: var(--white); padding: 30px 20px; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.icon-wrapper { width: 60px; height: 60px; background: rgba(5,150,105,0.1); color: var(--brand-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 15px; }

/* --- Cards de Especialistas --- */
.cards-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 0 20px; }
.doctor-card { background: var(--white); border-radius: 20px; border: 1px solid #e2e8f0; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.doctor-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--brand-green); }
.image-container { height: 250px; position: relative; }
.doctor-photo { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.badge-status { position: absolute; top: 15px; right: 15px; background: var(--brand-green); color: var(--white); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

.card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.doctor-name { font-size: 1.3rem; color: var(--dark-text); }
.crm { font-size: 0.85rem; color: var(--light-text); display: block; margin-bottom: 5px; }
.doctor-specialty { color: var(--brand-green); font-weight: 600; margin-bottom: 15px; }

.procedures h4 { font-size: 0.9rem; color: var(--dark-text); margin-bottom: 8px; }
.procedures-list { list-style: none; margin-bottom: 15px; }
.procedures-list li { font-size: 0.85rem; color: var(--light-text); margin-bottom: 4px; }
.procedures-list li::before { content: "✓"; color: var(--brand-orange); margin-right: 5px; font-weight: bold; }

.health-plans { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.plan { background: #f1f5f9; color: var(--dark-text); padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }

.location-box { display: flex; gap: 10px; color: var(--light-text); font-size: 0.9rem; margin-top: auto; margin-bottom: 20px; }
.location-box i { color: var(--brand-orange); margin-top: 3px; }

.btn-contact { background: var(--brand-orange); color: var(--white); text-align: center; padding: 12px; border-radius: 12px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-contact:hover { background: var(--hover-orange); }

/* --- Cadastro Médico --- */
.register-section { background: var(--brand-green); padding: 80px 20px; margin-top: 60px; display: flex; justify-content: center; }
.register-content { background: var(--white); padding: 40px; border-radius: 20px; max-width: 500px; width: 100%; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.register-content h2 { color: var(--brand-green); margin-bottom: 10px; }
.register-content p { color: var(--light-text); margin-bottom: 25px; }
.input-group input { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 1rem; }
.input-group input:focus { border-color: var(--brand-orange); outline: none; }
.btn-submit { width: 100%; background: var(--brand-orange); color: var(--white); padding: 15px; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: 0.3s; }

.btn-submit:hover { 
    background: var(--hover-orange); }

.footer { 
    background: #0f172a; color: #94a3b8; text-align: center; padding: 20px; font-size: 0.9rem; 
}

@media (max-width: 768px) {
    .nav-links { display: none; } 
    .hero-content h2 { font-size: 2rem; }
    .search-card { flex-direction: column; border-radius: 20px; padding: 15px; }
    .search-card select { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .btn-search { padding: 15px; border-radius: 15px; margin-top: 10px; }
}