:root {
    --brand-primary: #070a2b;
    --brand-primary-hover: #1f2bb7;
    --brand-on-primary: #ffffff;
}

.btn-brand {
    background-color: var(--brand-primary) !important;
    color: var(--brand-on-primary) !important;
    border-color: var(--brand-primary) !important;
    box-shadow: none;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
    background-color: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
    color: var(--brand-on-primary) !important;
}

/* 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: var(--brand-primary);
    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 var(--brand-primary);
    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: var(--brand-primary);
        border-color: #0d6efd;
        color: white;
    }

    .nav-pills .nav-link:hover {
        background: var(--brand-primary);
        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;
    }

/* Admin Notifications */
.admin-notification-wrapper {
    position: relative;
}

.notification-bell {
    position: relative;
    color: #495057;
    border: none;
    background: transparent;
    line-height: 1;
}

.notification-bell:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.notification-bell .bell-icon {
    font-size: 1.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.notification-bell.has-unread .bell-icon {
    color: #dc3545;
    animation: bell-ring 1.2s ease-in-out infinite;
}

.notification-count {
    display: none;
    position: absolute;
    top: 0.35rem;
    right: 0;
    transform: translate(50%, 0);
    background: #dc3545;
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    min-width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell.has-unread .notification-count {
    display: flex;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    display: none;
    z-index: 1050;
}

.notification-dropdown.show {
    display: block;
}

.notification-dropdown__header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.notification-dropdown__body {
    max-height: 320px;
    overflow-y: auto;
}

.notification-empty {
    text-align: center;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.notification-item:hover,
.notification-item:focus {
    background: #e9f5ff;
    border-color: rgba(13, 110, 253, 0.4);
}

.notification-item__student {
    display: block;
    font-weight: 600;
    color: #212529;
}

.notification-item__course {
    display: block;
    color: #495057;
    font-size: 0.9rem;
}

.notification-item__time {
    display: block;
    font-size: 0.75rem;
}

@keyframes bell-ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(-18deg); }
    20% { transform: rotate(14deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(6deg); }
    50% { transform: rotate(-4deg); }
    60% { transform: rotate(2deg); }
    70% { transform: rotate(-1deg); }
    100% { transform: rotate(0); }
}

    .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;
    }
}
.text-primeiro {
    color: var(--brand-primary);
}
.border-meu {
    border-color: var(--brand-primary);
}
.card-teste {
    border: 2px solid #ede6e6;
    padding: 20px 20px 60px 20px;
    border-radius: 20px;
    border-left: 5px solid var(--brand-primary);
}
.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));
}

/* Fallback para navegadores sem aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .gallery-item {
        height: 260px;
    }
    /* ajuste a altura que preferir */
}

/* =======================
   ZOOM EMBED – layout
   ======================= */

.zoom-meeting-card .card-body { padding: 0 !important; }

.zoom-meeting-wrapper {
  height: 80vh;          /* ajuste se quiser outra altura */
  min-height: 520px;
  display: flex;
}

#zoomMeetingRoot,
.zoom-meeting-root {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

/* Cadeia de alturas para browsers teimosos (Safari) */
html, body { height: 100%; }
@supports (-webkit-touch-callout: none) {
  .zoom-meeting-wrapper { height: -webkit-fill-available; }
}
