/* ==========================================================================
   1. VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================================================== */
:root {
    --primary: #0066cc;    /* Azul Laboratorial */
    --success: #28a745;    /* Verde para sucessos/confirmações */
    --dark-blue: #0a2540;  /* Azul Marinho Profundo (Textos e Footer) */
    --light-bg: #f8faff;   /* Fundo leve para seções */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-blue);
    overflow-x: hidden; /* Evita scroll horizontal indesejado */
}

/* ==========================================================================
   2. NAVEGAÇÃO (NAVBAR)
   ========================================================================== */
.navbar-brand span {
    color: var(--primary);
}

/* ==========================================================================
   3. SEÇÃO HERO (DESTAQUE INICIAL)
   ========================================================================== */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 100px 0;
}

/* ==========================================================================
   4. COMPONENTES REUTILIZÁVEIS (CARDS E ÍCONES)
   ========================================================================== */
/* Container dos ícones das especialidades */
.icon-shape {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

/* Efeito de levitação nos cards ao passar o mouse */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Estilização personalizada do botão primário */
.btn-primary {
    background-color: var(--primary);
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. SEÇÃO DE UNIDADES
   ========================================================================== */
.unidade-item {
    transition: all 0.3s ease;
    cursor: default;
    background-color: #fff;
}

.unidade-item:hover {
    border-color: var(--primary) !important;
    background-color: #f8fbff;
}

/* ==========================================================================
   6. FORMULÁRIO DE AGENDAMENTO
   ========================================================================== */
/* Efeito de foco nos campos do formulário */
#formAgendamento .form-control:focus, 
#formAgendamento .form-select:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.15);
    border-color: var(--primary) !important;
}

/* Gradient para fundos primários */
.bg-primary {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%) !important;
}

/* Estilização dos rótulos (labels) do formulário */
.form-label {
    color: #4b5563;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ==========================================================================
   7. RODAPÉ (FOOTER)
   ========================================================================== */
.footer-lab {
    background-color: var(--dark-blue);
    color: #ffffff;
}

/* Logo no footer com cor diferenciada */
.footer-lab .navbar-brand span {
    color: #38bdf8; 
}

.footer-links li {
    margin-bottom: 12px;
}

/* Links de navegação do rodapé */
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 5px;
}

/* Ícones das redes sociais */
.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
}

/* Selos de certificação */
.cert-badge {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
    min-width: 80px;
}

/* Cores de utilitário (Override) */
.text-primary {
    color: #38bdf8 !important;
}

/* Efeito global de hover para links no footer */
.footer-lab a:hover {
    color: var(--primary) !important;
    transition: 0.3s;
}


/* ==========================================================================
   8. FAIXA DE CONVÊNIO
   ========================================================================== */
.convenio-img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 50px;
    object-fit: contain;
}
.convenio-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
/* Ajuste suave para o FAQ */
.accordion-button:not(.collapsed) {
    background-color: #f0f7ff;
    color: #0d6efd;
}