/* ==============================================
   LabClinico Brisa - Estilos Principais
   Baseado no visual campeonatodigital.com.br
   ============================================== */

/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Variáveis */
:root {
    --primary: #0066cc;
    --primary-dark: #004c99;
    --secondary: #00b4d8;
    --dark: #1e2a3e;
    --light: #f8f9fa;
    --whatsapp: #25d366;
    --whatsapp-dark: #128C7E;
    --gray-100: #f8f9fc;
    --gray-200: #eef2ff;
    --shadow-sm: 0 2px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 30px rgba(0,0,0,0.1);
    --border-radius-card: 24px;
    --border-radius-sm: 20px;
}

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ========== NAVBAR ========== */
.navbar {
    background-color: white !important;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary) !important;
}

.navbar-brand i {
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    color: #2c3e50 !important;
    margin: 0 0.5rem;
    transition: 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.text-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Botões */
.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    color: white;
    transform: scale(1.02);
}

.btn-outline-light {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    background-color: transparent;
    transition: all 0.3s;
}

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

/* ========== CARDS DE EXAMES ========== */
.card-exame {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 2rem 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
    height: 100%;
    text-align: center;
}

.card-exame:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-exame i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card-exame h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-exame p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ========== DIFERENCIAIS ========== */
.diferencial-card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.diferencial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.diferencial-card i {
    margin-bottom: 1rem;
}

.diferencial-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ========== DEPOIMENTOS ========== */
.depoimento-card {
    background: var(--gray-100);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    border-left: 5px solid var(--primary);
    height: 100%;
    transition: 0.2s;
}

.depoimento-card i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.depoimento-card p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
}

.depoimento-card h6 {
    font-weight: 700;
    margin-top: 1rem;
    color: var(--primary);
}

/* ========== CONVÊNIOS / PARCEIROS ========== */
.parceiros img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
    max-height: 50px;
    width: auto;
    margin: 0 auto;
}

.parceiros img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--dark);
    color: #b0c4de;
}

footer a {
    color: #b0c4de;
    text-decoration: none;
    transition: 0.2s;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* ========== BOTÃO WHATSAPP FLUTUANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    background-color: var(--whatsapp-dark);
}

/* ========== FAQ (ACORDION) ========== */
.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-item {
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

/* ========== DASHBOARD DO PACIENTE ========== */
.dashboard-card {
    border-radius: 25px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    border: none;
}

.dashboard-card:hover {
    box-shadow: var(--shadow-md);
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .hero-section .col-lg-6:last-child {
        display: none;
    }
}

@media (max-width: 768px) {
    .card-exame, .diferencial-card, .depoimento-card {
        margin-bottom: 1rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .btn-whatsapp, .btn-outline-light {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
}

/* ========== UTILITÁRIOS ========== */
.text-primary-custom {
    color: var(--primary);
}

.bg-primary-custom {
    background-color: var(--primary);
}

.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-hover {
    transition: 0.3s;
}
.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}