﻿/* Segwork Clinic Custom Styles */

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8faff 0%, #e8f5e8 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease;
}

    .benefit-card:hover {
        transform: translateY(-2px);
    }

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto;
}

.patient-badge {
    bottom: -24px;
    right: -24px;
    background: #0b6e4f;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

/* Testimonials */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    transition: transform 0.2s ease;
}

    .testimonial-card:hover {
        transform: translateY(-4px);
    }

/* Services */
.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    text-align: center;
}

/* Pills Navigation */
.nav-pills .nav-link {
    background: transparent;
    border: 2px solid #0b6e4f;
    color: #495057;
    font-weight: 500;
    padding: 0.75rem 2rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}

    .nav-pills .nav-link.active {
        background: #0b6e4f;
        border-color: #0d6efd;
        color: white;
    }

    .nav-pills .nav-link:hover {
        background: #0b6e4f;
        color: #fff;
    }

/* NR Section */
.nr-section {
    background-color: #f8f9fa;
}

.nr-benefits .list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.nr-benefits .list-icon {
    width: 32px;
    height: 32px;
    background: #d4edda;
    color: #155724;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Work Safety Cards */
.work-safety-card {
    transition: transform 0.2s ease;
}

    .work-safety-card:hover {
        transform: translateY(-4px);
    }

.work-safety-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

/* Medical Expertise */
.expertise-section {
    background-color: #f8f9fa;
}

.expertise-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

/* About Section */
.about-advantages .advantage-card {
    transition: transform 0.2s ease;
}

    .about-advantages .advantage-card:hover {
        transform: translateY(-2px);
    }

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

    .advantage-icon.bg-primary-subtle {
        background-color: rgba(13, 110, 253, 0.1) !important;
    }

    .advantage-icon.bg-success-subtle {
        background-color: rgba(25, 135, 84, 0.1) !important;
    }

    .advantage-icon.bg-warning-subtle {
        background-color: rgba(255, 193, 7, 0.1) !important;
    }

    .advantage-icon.bg-info-subtle {
        background-color: rgba(13, 202, 240, 0.1) !important;
    }

    .advantage-icon.bg-secondary-subtle {
        background-color: rgba(108, 117, 125, 0.1) !important;
    }

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

    .gallery-item:hover {
        transform: scale(1.05);
    }

    .gallery-item img {
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

/* Doctor Section */
.doctor-section {
    background-color: #f8f9fa;
}

.doctor-card {
    overflow: hidden;
    border-radius: 16px;
}

.doctor-credential {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.credential-icon {
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: #0b4f80;
    color: white;
}

/* Contact Section */
.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

    .contact-icon.bg-primary-subtle {
        background-color: rgba(13, 110, 253, 0.1) !important;
    }

    .contact-icon.bg-success-subtle {
        background-color: rgba(25, 135, 84, 0.1) !important;
    }

    .contact-icon.bg-warning-subtle {
        background-color: rgba(255, 193, 7, 0.1) !important;
    }

    .contact-icon.bg-info-subtle {
        background-color: rgba(13, 202, 240, 0.1) !important;
    }

/* FAQ */
.faq-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.faq-button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-weight: 500;
    color: #212529;
    transition: color 0.2s ease;
}

    .faq-button:hover {
        color: #0d6efd;
    }

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #212529;
    color: #adb5bd;
}

    .footer h5 {
        color: white;
    }

    .footer .btn-link {
        color: #adb5bd;
        text-decoration: none;
        padding: 0;
    }

        .footer .btn-link:hover {
            color: white;
        }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .patient-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }

    .service-icon,
    .work-safety-icon,
    .expertise-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}
.btn-meu {
    background-color: transparent;
    color: #FFC600;
    border: 2px solid #FFC600;
    border-radius: 0 30px 0 0;
}

    .btn-meu:hover {
        background: linear-gradient(90deg, #FFC600 0%, #EF3340 100%);
        color: #fff;
        border-color: #FFC600;
    }
.btn-meu-secundario {
    color: #0b6e4f;
    border-color: #0b6e4f;
}
    .btn-meu-secundario:hover {
        background-color: #0b6e4f;
        color: #fff;
    }
.text-primeiro {
    color: #0b6e4f;
}
.border-meu {
    border-color: #0b6e4f;
}
.card-teste {
    border: 2px solid #ede6e6;
    padding: 20px 20px 60px 20px;
    border-radius: 20px;
    border-left: 5px solid #0b6e4f;
}
.card-title {
    margin-bottom: 20px;
}
.card-text {
    color: #c1bdbd;
}
.card-ajuste{
    text-align: center;
}

/* Mesmo tamanho para todos os cards da galeria */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10; /* escolha a proporção (ex.: 16:10, 16:9, 4:3…) */
}

    /* A imagem preenche o contêiner sem distorcer */
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* (opcional) overlay fixo no rodapé */
.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.25rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.fundo-login{
    background-color: #474747;
}
/* Fallback para navegadores sem aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .gallery-item {
        height: 260px;
    }
    /* ajuste a altura que preferir */
}
