/* Reset Básico */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: #f8fafc; color: #333; overflow-x: hidden; }

/* Cores Estilo Johns Hopkins */
:root {
    --azul-medico: #004B87;
    --azul-claro: #0072CE;
    --branco: #ffffff;
    --cinza-fundo: #f4f7f6;
}

/* --- CABEÇALHO --- */
.header-clinica { background-color: var(--branco); display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: fixed; width: 100%; top: 0; z-index: 100; }
.menu-btn { background: none; border: none; font-size: 1.5rem; color: var(--azul-medico); cursor: pointer; }
.logo-clinica { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 800; color: var(--azul-medico); }
.logo-clinica i { color: #e63946; }

/* --- MENU LATERAL (SIDEBAR) --- */
.sidebar { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background-color: var(--branco); box-shadow: 2px 0 15px rgba(0,0,0,0.1); z-index: 1000; transition: left 0.3s ease; padding: 20px; }
.sidebar.active { left: 0; }
.close-btn { background: none; border: none; font-size: 1.5rem; color: #666; margin-bottom: 30px; cursor: pointer; }
.sidebar ul { list-style: none; }
.sidebar ul li { margin-bottom: 20px; }
.sidebar ul li a { text-decoration: none; color: var(--azul-medico); font-weight: 600; font-size: 1.1rem; display: flex; align-items: center; gap: 15px; }
.sidebar ul li a i { width: 20px; color: var(--azul-claro); }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
.overlay.active { display: block; }

/* --- BANNER PRINCIPAL --- */
.hero-clinica { margin-top: 60px; height: 60vh; background-image: url('https://images.unsplash.com/photo-1538108149393-cebb47acddb2?q=80&w=1080&auto=format&fit=crop'); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 75, 135, 0.8), rgba(0, 114, 206, 0.6)); }
.hero-content { position: relative; z-index: 2; color: var(--branco); }
.hero-content h1 { font-size: 2rem; margin-bottom: 15px; font-weight: 800; line-height: 1.2; }
.hero-content p { font-size: 1rem; margin-bottom: 25px; font-weight: 300; }
.btn-agendar { background-color: var(--branco); color: var(--azul-medico); padding: 15px 30px; border-radius: 30px; text-decoration: none; font-weight: 800; display: inline-block; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.3s; }
.btn-agendar:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* --- ESPECIALIDADES (2 COLUNAS) --- */
.especialidades { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.especialidades h2 { color: var(--azul-medico); text-align: center; margin-bottom: 30px; font-size: 1.5rem; }
.grid-2-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.card-especialidade { background-color: var(--branco); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: center; border: 1px solid #e2e8f0; }
.card-especialidade img { width: 100%; height: 110px; object-fit: cover; }
.card-especialidade h3 { font-size: 0.9rem; color: var(--azul-medico); padding: 12px 5px; font-weight: 600; }

/* --- PÁGINA DE AGENDAMENTO E FORMULÁRIO --- */
.agendamento-container { padding: 100px 20px 40px; max-width: 600px; margin: 0 auto; min-height: 80vh; }
.agendamento-container h2 { color: var(--azul-medico); text-align: center; margin-bottom: 20px; font-size: 1.6rem; }
.tabela-precos { background: var(--branco); border-radius: 12px; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid #e2e8f0; }
.tabela-precos h3 { color: var(--azul-claro); margin-bottom: 15px; font-size: 1.1rem; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.linha-preco { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; color: #555; }
.linha-preco span:last-child { color: var(--azul-medico); }

.form-agendamento { display: flex; flex-direction: column; gap: 15px; }
.form-agendamento label { font-weight: 600; color: var(--azul-medico); font-size: 0.9rem; margin-bottom: -5px; }
.form-agendamento input, .form-agendamento select { padding: 15px; border: 1px solid #ccc; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem; }
.form-agendamento input:focus, .form-agendamento select:focus { outline: none; border-color: var(--azul-claro); box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.1); }
.btn-enviar-form { background-color: var(--azul-claro); color: white; padding: 18px; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 800; cursor: pointer; margin-top: 10px; box-shadow: 0 4px 15px rgba(0, 114, 206, 0.3); transition: 0.3s; }
.btn-enviar-form:hover { background-color: var(--azul-medico); }

/* --- RODAPÉ COM ASSINATURA DA NEXU --- */
.footer-clinica { background-color: var(--azul-medico); color: rgba(255,255,255,0.8); text-align: center; padding: 40px 20px; margin-top: 40px; font-size: 0.9rem; }
.creditos-agencia { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.creditos-agencia p { font-size: 0.8rem; margin-bottom: 5px; }
.logo-nexu-footer { color: #00d2ff; text-decoration: none; font-weight: 300; font-size: 1.1rem; letter-spacing: 2px; }
.logo-nexu-footer strong { font-weight: 900; }
/* --- ESTILOS DAS NOVAS PÁGINAS (CORPO CLÍNICO E SUPORTE) --- */
.medico-card {
    display: flex;
    background: var(--branco);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    align-items: center;
    gap: 15px;
}
.medico-card img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--azul-claro);
}
.medico-card h3 { color: var(--azul-medico); font-size: 1.1rem; }
.medico-card .esp { color: var(--azul-claro); font-size: 0.8rem; font-weight: 700; margin-bottom: 5px; display: block;}
.medico-card p { font-size: 0.85rem; color: #666; line-height: 1.4; }

.info-bloco {
    background: var(--branco);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}
.info-bloco h3 { color: var(--azul-medico); margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.info-bloco h3 i { color: var(--azul-claro); margin-right: 5px; }
.info-bloco ul { margin-left: 20px; color: #555; font-size: 0.95rem; }
.info-bloco ul li { margin-bottom: 8px; }
.info-bloco p { color: #555; font-size: 0.95rem; line-height: 1.5; }
/* --- BOTÃO NEXU VERTICAL --- */
.btn-voltar-nexu {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #2E5CFF; /* O seu Azul Nexu */
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 4px;
    padding: 15px 6px;
    /* Faz o texto ficar em pé (N-E-X-U) */
    writing-mode: vertical-rl;
    text-orientation: upright;
    border-radius: 0 8px 8px 0;
    box-shadow: 3px 0 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s ease;
}
.btn-voltar-nexu:hover {
    background-color: #1a40c9;
    padding-left: 10px; /* Dá um leve efeito de puxão ao passar o dedo */
}
