/* -------------------------------------------------------------
   Orthomed Center - Stylesheet
   Design moderno, responsivo e limpo para o setor de saúde.
   Cores dominantes: Tons de Vermelho, Branco, Cinza e Slate.
   ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Cores do Design System */
    --color-primary: #dd3333;       /* Vermelho Identidade */
    --color-primary-hover: #c22525; /* Vermelho escuro */
    --color-primary-light: #ffebee; /* Fundo vermelho suave */
    --color-secondary: #0f172a;     /* Slate escuro (texto principal) */
    --color-muted: #64748b;         /* Cinza slate médio */
    --color-light: #f8fafc;         /* Fundo cinza ultra-claro */
    --color-white: #ffffff;
    --color-success: #10b981;
    --color-warning: #f59e0b;

    /* Sombra & Efeitos */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Fontes */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset Geral */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-secondary);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 51, 51, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Common */
.section {
    padding: 5rem 0;
}

.section-bg {
    background-color: var(--color-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-muted);
    font-size: 1.05rem;
}

/* -------------------------------------------------------------
   1. Barra de Topo & Header
   ------------------------------------------------------------- */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-contacts, .top-socials {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item img {
    height: 18px;
    width: auto;
}

.social-link {
    display: flex;
    align-items: center;
}

.social-link img {
    height: 20px;
    opacity: 0.9;
    transition: var(--transition);
}

.social-link:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Main Header */
.main-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

/* Dropdown */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 1rem 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.dropdown-link:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

/* -------------------------------------------------------------
   2. Hero Section (Split Hero com Vídeo do YouTube)
   ------------------------------------------------------------- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a0808 0%, #0f172a 100%);
    color: var(--color-white);
    padding: 8rem 0 11rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(221, 51, 51, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(221, 51, 51, 0.2);
    border: 1px solid rgba(221, 51, 51, 0.4);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ff8a8a;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(221, 51, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0); }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-video-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(circle, rgba(221, 51, 51, 0.3) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 10px 40px rgba(221, 51, 51, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    transition: var(--transition);
}

.video-container:hover {
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* -------------------------------------------------------------
   3. Cards em Destaque (Highlights Overlapping)
   ------------------------------------------------------------- */
.highlights-section {
    position: relative;
    margin-top: -4.5rem; /* Descido ~20px para não tapar informações dos banners */
    z-index: 5;
    padding-bottom: 4rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background-color: var(--color-white);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 45px rgba(15, 23, 42, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-link:hover {
    color: var(--color-primary-hover);
}

/* Card Pronto Atendimento Cor Destaque */
.highlight-card.dark-theme {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
}

.highlight-card.dark-theme .card-icon {
    background-color: rgba(255,255,255,0.2);
}

.highlight-card.dark-theme .card-icon svg {
    color: var(--color-white);
}

.highlight-card.dark-theme .card-title {
    color: var(--color-white);
}

.highlight-card.dark-theme .card-desc {
    color: rgba(255,255,255,0.85);
}

.highlight-card.dark-theme .card-link {
    color: var(--color-white);
}

/* -------------------------------------------------------------
   4. Sobre Nós
   ------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-single {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    display: block;
}

.about-img-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 45px rgba(15, 23, 42, 0.15);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.about-text .section-tag {
    margin-bottom: 0.5rem;
}

.about-text p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------
   5. Especialidades
   ------------------------------------------------------------- */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(221, 51, 51, 0.1);
}

.spec-icon {
    width: 50px;
    height: 50px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.spec-icon svg {
    width: 100%;
    height: 100%;
}

.spec-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.spec-desc {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.spec-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.spec-list li {
    font-size: 0.9rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.spec-list li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
}

/* -------------------------------------------------------------
   6. Equipe Médica
   ------------------------------------------------------------- */
.team-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.team-slider-viewport {
    overflow-x: auto;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    container-type: inline-size; /* Ativar Container Queries */
}

.team-slider-viewport::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.team-slider-viewport.active-dragging {
    cursor: grabbing;
    user-select: none;
}

.team-slider-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 0.5rem;
    width: max-content;
}

/* Tamanho responsivo dos cards: 4 por tela no desktop */
.team-slider-track .team-card {
    width: calc((100cqw - 6rem) / 4);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .team-slider-track .team-card {
        width: calc((100cqw - 4rem) / 3); /* 3 por tela */
    }
}

@media (max-width: 768px) {
    .team-slider-track .team-card {
        width: calc((100cqw - 2rem) / 2); /* 2 por tela */
    }
}

@media (max-width: 480px) {
    .team-slider-track .team-card {
        width: calc(100cqw - 0.5rem); /* 1 por tela com leve recuo do próximo */
    }
}

.team-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    background-color: #e2e8f0;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.team-crm {
    color: var(--color-muted);
    font-size: 0.8rem;
}

/* -------------------------------------------------------------
   7. Convênios
   ------------------------------------------------------------- */
#convenios {
    padding-bottom: calc(5rem + 40px); /* 40px a mais no bottom */
}

.partners-slider {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: scroll-partners 30s linear infinite;
}

.partner-logo {
    height: 60px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-secondary);
    transition: var(--transition);
    z-index: 10;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 16px rgba(221, 51, 51, 0.2);
}

.slider-arrow.prev {
    left: -24px;
}

.slider-arrow.next {
    right: -24px;
}

@media (max-width: 1240px) {
    .slider-arrow.prev {
        left: -12px;
    }
    .slider-arrow.next {
        right: -12px;
    }
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 38px;
        height: 38px;
    }
    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }
    .slider-arrow.prev {
        left: -8px;
    }
    .slider-arrow.next {
        right: -8px;
    }
}

/* Seção do Mapa */
.map-section {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-section {
        height: 300px;
    }
}

/* -------------------------------------------------------------
   8. Notícias
   ------------------------------------------------------------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.news-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--color-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
}

.news-title {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-title a:hover {
    color: var(--color-primary);
}

.news-card .card-desc {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -------------------------------------------------------------
   9. Footer
   ------------------------------------------------------------- */
.footer {
    background-color: var(--color-secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.25rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 0.25rem;
}

.footer-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-info strong {
    color: var(--color-white);
}

.footer-map iframe {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-credit img {
    height: 25px;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-credit img:hover {
    opacity: 1;
}

/* -------------------------------------------------------------
   10. Responsividade
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-info {
        grid-column: span 2;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Oculta topbar em mobile para focar no header */
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0.5rem 0 0 1.5rem;
        transform: none;
        display: none;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .hero-section {
        padding: 5rem 0 8rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-info {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Ajuste para mobile: cartões de destaque ficam abaixo do hero sem cobrir o banner */
    .highlights-section {
        margin-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .highlights-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0.5rem 0.25rem 1.5rem;
        gap: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .highlight-card {
        min-width: 85%;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

/* -------------------------------------------------------------
   Hero Slider (3 Banners Originais)
   ------------------------------------------------------------- */
.main-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0f172a;
}

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
}

.hero-slides-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.hero-slide-link {
    display: block;
    width: 100%;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .hero-slide-img {
        max-height: 380px;
    }
}

@media (max-width: 768px) {
    .hero-slide-img {
        max-height: 280px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .hero-slide-img {
        max-height: 200px;
    }
}

/* Setas de Navegação */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.hero-arrow svg {
    width: 22px;
    height: 22px;
}

.hero-arrow:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 1.5rem;
}

.hero-next {
    right: 1.5rem;
}

@media (max-width: 600px) {
    .hero-arrow {
        width: 36px;
        height: 36px;
    }
    .hero-arrow svg {
        width: 16px;
        height: 16px;
    }
    .hero-prev {
        left: 0.5rem;
    }
    .hero-next {
        right: 0.5rem;
    }
}

/* Indicadores (Dots) */
.hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active {
    width: 32px;
    border-radius: 10px;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* -------------------------------------------------------------
   Seção Cirurgia Robótica de Joelho (Antes do Blog)
   ------------------------------------------------------------- */
.robotic-feature-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--color-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.robotic-feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(221, 51, 51, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.robotic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.robotic-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(221, 51, 51, 0.18);
    border: 1px solid rgba(221, 51, 51, 0.4);
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ff8a8a;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.robotic-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.robotic-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.robotic-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.robotic-video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.robotic-video-wrapper .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-color: #000000;
}

.robotic-video-wrapper .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 992px) {
    .robotic-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .robotic-title {
        font-size: 2rem;
    }
}
