/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden; /* Remover scrollbar do html - apenas body terá scrollbar */
    height: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #059669;
    --accent-color: #dc2626;
    --danger-color: #ef4444;
    --success-color: #059669;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Cores específicas do Diagnósticos do Brasil */
    --db-blue: #1e40af;
    --db-blue-dark: #1e3a8a;
    --db-blue-light: #3b82f6;
    --db-green: #059669;
    --db-red: #dc2626;
    --db-orange: #f59e0b;
    --db-gray: #64748b;
    --db-gray-light: #94a3b8;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: auto; /* ÚNICA scrollbar visível - apenas no body */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    position: relative;
}

/* ============================================
   SCROLLBAR ÚNICA - Apenas no body
   ============================================ */

/* Remover scrollbar de TODOS os elementos exceto body */
.header,
.header-content,
.nav,
.nav-list,
.container,
.section,
.orders-list,
.order-card,
.order-items,
.order-footer,
header,
header *,
.receipt-modal-overlay,
.receipt-modal-container,
.receipt-modal-box,
.receipt-modal-body,
.receipt-modal-body iframe,
.modal-overlay,
.modal-content,
.dropdown-menu,
.user-dropdown-menu,
div,
section,
article,
aside,
main,
footer,
iframe {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE e Edge */
}

.header::-webkit-scrollbar,
.header-content::-webkit-scrollbar,
.nav::-webkit-scrollbar,
.nav-list::-webkit-scrollbar,
.container::-webkit-scrollbar,
.section::-webkit-scrollbar,
.orders-list::-webkit-scrollbar,
.order-card::-webkit-scrollbar,
.order-items::-webkit-scrollbar,
.order-footer::-webkit-scrollbar,
header::-webkit-scrollbar,
header *::-webkit-scrollbar,
.receipt-modal-overlay::-webkit-scrollbar,
.receipt-modal-container::-webkit-scrollbar,
.receipt-modal-box::-webkit-scrollbar,
.receipt-modal-body::-webkit-scrollbar,
.receipt-modal-body iframe::-webkit-scrollbar,
.modal-overlay::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar,
.user-dropdown-menu::-webkit-scrollbar,
div::-webkit-scrollbar,
section::-webkit-scrollbar,
article::-webkit-scrollbar,
aside::-webkit-scrollbar,
main::-webkit-scrollbar,
footer::-webkit-scrollbar,
iframe::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Permitir scroll interno mas sem scrollbar visível */
.receipt-modal-body,
.modal-content,
.dropdown-menu,
.user-dropdown-menu {
    overflow-y: auto !important; /* Scroll funcional mas sem scrollbar */
}

/* Garantir que o header não tenha scrollbar */
header.header {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

/* Garantir que container não ultrapasse a tela em mobile */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
    }
}

/* Header */
.header {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow-x: visible;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0;
    gap: 0.75rem;
    min-width: 0;
    overflow: visible;
    width: 100%;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-color);
}

.logo-image {
    height: 2.65rem;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.nav-item {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.3rem 0.45rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.75rem;
    white-space: nowrap;
    min-height: 34px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

.nav-link.btn-results {
    background: linear-gradient(135deg, #00bcd4, #0288d1);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    margin-left: 0.5rem;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    min-width: fit-content;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: visible;
    min-height: 40px;
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.4);
}


.nav-link.btn-results:hover {
    background: linear-gradient(135deg, #0288d1, #00bcd4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1000;
    position: relative;
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero Section Moderno */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(16, 185, 129, 0.1) 25%, 
        rgba(245, 158, 11, 0.1) 50%, 
        rgba(239, 68, 68, 0.1) 75%, 
        rgba(139, 92, 246, 0.1) 100%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
    background: linear-gradient(135deg, #3b82f6, #10b981, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    user-select: none;
    min-width: fit-content;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto !important;
}

/* Garantir que o elemento <a> seja totalmente clicável */
a.btn-modern {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

/* Garantir que elementos filhos não bloqueiem cliques */
.btn-modern * {
    pointer-events: none;
}

/* Garantir que pseudo-elementos não bloqueiem cliques */
.btn-modern::before,
.btn-modern::after {
    pointer-events: none !important;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
    pointer-events: none;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern span,
.btn-modern i {
    position: relative;
    z-index: 1;
    pointer-events: none !important;
    display: inline-block;
}

.btn-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -2;
    pointer-events: none !important;
}

.btn-modern:hover::after {
    width: 400px;
    height: 400px;
    z-index: -2;
    pointer-events: none !important;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.btn-primary-modern:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary-modern {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary-modern:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary-modern:active {
    transform: translateY(-1px);
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

.floating-icon.icon-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 40%;
    right: 10%;
    animation-delay: 1.5s;
}

.floating-icon.icon-3 {
    top: 60%;
    right: 30%;
    animation-delay: 3s;
}

.floating-icon.icon-4 {
    top: 80%;
    right: 15%;
    animation-delay: 4.5s;
}

/* Seção Sobre Moderna */
.about-modern {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.about-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out 0.5s forwards;
}

.section-title {
    margin-bottom: 2rem;
}

.title-accent {
    display: block;
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.title-main {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.about-visual {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.7s forwards;
}

.visual-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.visual-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.visual-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Serviços Modernos */
.services-modern {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.section-title-center {
    text-align: center;
    margin-bottom: 4rem;
}

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

.service-card-modern {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out forwards;
}

.service-card-modern:nth-child(1) { animation-delay: 0.1s; }
.service-card-modern:nth-child(2) { animation-delay: 0.2s; }
.service-card-modern:nth-child(3) { animation-delay: 0.3s; }
.service-card-modern:nth-child(4) { animation-delay: 0.4s; }

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.service-icon-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Remover background quando tiver imagem - usando classe específica */
.service-icon-modern.with-image {
    background: transparent;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Aumentar tamanho do container quando tiver logo (imagem) */
.service-icon-modern:has(img) {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-modern:has(img) img {
    object-fit: contain;
    border-radius: 12px;
    width: 180px;
    height: 180px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.service-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card-modern p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Unidades Modernas */
.units-modern {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.units-content-modern {
    max-width: 600px;
    margin: 0 auto;
}

.unit-card-modern {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 0.5s forwards;
}

.unit-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
}

.unit-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.unit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.unit-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

.unit-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.info-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    width: 20px;
}

.info-item span {
    color: #475569;
    font-weight: 500;
}

.btn-outline-modern {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.btn-outline-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #3b82f6;
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-outline-modern:hover::before {
    left: 0;
}

.btn-outline-modern > * {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-outline-modern:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border-color: #2563eb;
}

.btn-outline-modern:active {
    transform: translateY(0);
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--success-color), #047857);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern > * {
    position: relative;
    z-index: 1;
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-primary-modern:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(5, 150, 105, 0.3);
}

.add-to-cart-form {
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Formulário Moderno */
.contact-form-modern {
    margin-top: 2rem;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-label-modern {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input-modern,
.form-select-modern,
.form-textarea-modern {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input-modern:focus,
.form-select-modern:focus,
.form-textarea-modern:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea-modern {
    resize: vertical;
    min-height: 120px;
}

.contact-info-modern {
    margin-top: 1.5rem;
}

.info-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item-modern:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.info-item-modern i {
    color: #3b82f6;
    font-size: 1.2rem;
    width: 20px;
    margin-top: 0.2rem;
}

.info-item-modern strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.info-item-modern p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Check-up Price */
.checkup-price {
    margin: 1rem 0;
    text-align: center;
}

.checkup-price .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--db-blue);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* About Section - Estilo WordPress */
.about-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.about-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    text-align: left;
}

/* Units Section - Estilo WordPress */
.units-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.units-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: left;
}

.units-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.unit-info {
    flex: 1;
}

.unit-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.unit-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.units-btn {
    flex-shrink: 0;
}

.btn-units {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-units:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Publications Section - Estilo WordPress */
.publications-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.publications-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: left;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.publication-item {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.publication-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.publication-thumbnail {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-thumbnail i {
    font-size: 2.5rem;
}

.publication-content {
    padding: 1.5rem;
}

.publication-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.publication-meta {
    margin-bottom: 1rem;
}

.publication-meta .date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.publication-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Testimonials Section - Estilo WordPress */
.testimonials-section {
    margin-bottom: 0;
}

.testimonials-section h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: left;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: #f8f9fa;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.testimonial-text p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.testimonial-author {
    padding-left: 2rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}


/* Cards */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

/* Container de botões com overflow visível para permitir animações */
.text-center.mt-6,
.card > div:last-child {
    overflow: visible;
    position: relative;
    z-index: 1;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    z-index: 2;
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), #b91c1c);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c, var(--accent-color));
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #047857);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    background: linear-gradient(135deg, #047857, var(--success-color));
}

.btn-success:active {
    transform: translateY(0);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #b91c1c);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #b91c1c, var(--danger-color));
}

.btn-danger:active {
    transform: translateY(0);
}

.btn-outline-danger {
    background: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.btn-outline-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-outline-danger:hover::before {
    left: 0;
}

.btn-outline-danger > * {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    border-color: #dc2626;
}

.btn-outline-danger:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    overflow: hidden;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
}

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

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

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #ecfdf5;
    border-color: var(--success-color);
    color: #065f46;
}

.alert-error {
    background-color: #fef2f2;
    border-color: var(--danger-color);
    color: #991b1b;
}

.alert-warning {
    background-color: #fffbeb;
    border-color: var(--warning-color);
    color: #92400e;
}

.alert-info {
    background-color: #eff6ff;
    border-color: var(--info-color);
    color: #1e40af;
}

/* Tables */
.table-container {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.table th {
    background-color: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.table tbody tr:hover {
    background-color: var(--bg-secondary);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,100 1000,0 1000,100"/></svg>') no-repeat top;
    background-size: cover;
}

.stats-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stats-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stats-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Footer - visual inovador */
.footer {
    background: linear-gradient(160deg, #0c1222 0%, #151d32 35%, #1a2332 70%, #1e293b 100%);
    color: white;
    padding: 3.5rem 0 1.25rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35), 0 -6px 20px rgba(0, 0, 0, 0.2);
    animation: footerShadowPulse 5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes footerShadowPulse {
    0%, 100% {
        box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35), 0 -6px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 -20px 64px rgba(0, 0, 0, 0.45), 0 -10px 32px rgba(0, 0, 0, 0.25), 0 0 100px rgba(255, 255, 255, 0.03);
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 25%, rgba(126, 200, 227, 0.4) 50%, rgba(255, 255, 255, 0.12) 75%, transparent 100%);
    animation: footerShimmer 2.5s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes footerShimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .footer { animation: none; box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35); }
    .footer::before { animation: none; opacity: 0.9; }
    .footer-app-card { animation: none; box-shadow: 0 0 20px rgba(126, 200, 227, 0.15); }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

/* Animação de entrada das seções do footer */
.footer-section-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.footer-section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-section-animate[data-delay="0"].visible { transition-delay: 0.1s; }
.footer-section-animate[data-delay="1"].visible { transition-delay: 0.2s; }
.footer-section-animate[data-delay="2"].visible { transition-delay: 0.3s; }
.footer-section-animate[data-delay="3"].visible { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .footer-section-animate { opacity: 1; transform: none; }
}

.footer-tagline {
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-section:hover .footer-tagline {
    color: rgba(255, 255, 255, 0.95);
}

/* ===== ATALHOS RÁPIDOS (4 cards) ===== */
.atalhos-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1929 0%, #0d2137 50%, #0a2744 100%);
    padding: 3rem 1.5rem;
}

.atalhos-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card base — mesma paleta azul do resultado */
.atalho-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1.5rem 1.75rem;
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(0,188,212,0.2);
    background: rgba(0,188,212,0.06);
    backdrop-filter: blur(12px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
    animation: resultadoFadeUp 0.6s ease both;
    text-align: center;
    min-height: 175px;
}
.atalho-card:nth-child(1) { animation-delay: 0.05s; }
.atalho-card:nth-child(2) { animation-delay: 0.15s; }
.atalho-card:nth-child(3) { animation-delay: 0.25s; }
.atalho-card:nth-child(4) { animation-delay: 0.35s; }

.atalho-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0,188,212,0.55);
    background: rgba(0,188,212,0.12);
    box-shadow: 0 16px 40px rgba(0,188,212,0.25);
    text-decoration: none;
}

/* Brilho deslizante */
.atalho-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
    transform: translateX(-100%);
}
.atalho-card:hover .atalho-glow {
    animation: resultadoGlow 0.7s ease forwards;
}

/* Ícone — círculo azul igual ao de resultado */
.atalho-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: white;
    z-index: 1;
    background: linear-gradient(135deg, #00bcd4, #0288d1);
    box-shadow: 0 6px 20px rgba(0,188,212,0.4);
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}
.atalho-card:hover .atalho-icon-wrap {
    box-shadow: 0 10px 30px rgba(0,188,212,0.6);
    transform: scale(1.08);
}

/* Anéis animados — só no card de resultado */
.atalho-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(0,188,212,0.5);
    animation: resultadoRing 2s ease-out infinite;
}
.atalho-ring-2 { animation-delay: 1s; }

/* Textos */
.atalho-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 1;
}
.atalho-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0,188,212,0.8);
}
.atalho-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

/* Seta */
.atalho-arrow {
    font-size: 0.8rem;
    color: rgba(0,188,212,0.6);
    z-index: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}
.atalho-card:hover .atalho-arrow {
    transform: translateY(3px);
    color: #4dd0e1;
}

/* Todos os cards usam o mesmo azul — sem cores individuais */
.atalho-resultado { box-shadow: 0 4px 20px rgba(0,188,212,0.15); }
.atalho-exames    { box-shadow: 0 4px 20px rgba(0,188,212,0.1); }
.atalho-convenios { box-shadow: 0 4px 20px rgba(0,188,212,0.1); }
.atalho-sobre     { box-shadow: 0 4px 20px rgba(0,188,212,0.1); }

/* Partículas */
.atalhos-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.atalhos-particles span {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(0,188,212,0.45);
    animation: particleFloat 4s ease-in-out infinite;
}
.atalhos-particles span:nth-child(1) { left:5%;  top:60%; animation-delay:0s;   animation-duration:4s; }
.atalhos-particles span:nth-child(2) { left:15%; top:40%; animation-delay:0.8s; animation-duration:5s;   width:3px;height:3px; }
.atalhos-particles span:nth-child(3) { left:25%; top:75%; animation-delay:1.4s; animation-duration:3.5s; }
.atalhos-particles span:nth-child(4) { left:60%; top:55%; animation-delay:0.4s; animation-duration:4.5s; width:4px;height:4px; }
.atalhos-particles span:nth-child(5) { left:72%; top:70%; animation-delay:1.6s; animation-duration:3.8s; }
.atalhos-particles span:nth-child(6) { left:82%; top:35%; animation-delay:1s;   animation-duration:5.2s; width:3px;height:3px; }
.atalhos-particles span:nth-child(7) { left:90%; top:60%; animation-delay:2.2s; animation-duration:4.2s; }
.atalhos-particles span:nth-child(8) { left:45%; top:80%; animation-delay:2s;   animation-duration:3.2s; width:3px;height:3px; }

/* Responsivo */
@media (max-width: 900px) {
    .atalhos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .atalhos-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .atalho-card  { padding: 1.5rem 1rem; min-height: 150px; }
    .atalho-icon-wrap { width: 54px; height: 54px; font-size: 1.4rem; }
    .atalho-title { font-size: 0.9rem; }
}
/* ===== FIM ATALHOS ===== */

/* ===== BOTÃO RESULTADO DE EXAMES - HERO ===== */
@keyframes resultadoFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes resultadoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.5); }
    50%       { box-shadow: 0 0 0 18px rgba(0, 188, 212, 0); }
}
@keyframes resultadoGlow {
    0%, 100% { opacity: 0.4; transform: translateX(-100%); }
    50%       { opacity: 1;   transform: translateX(100%); }
}
@keyframes resultadoRing {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}
@keyframes resultadoFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes particleFloat {
    0%   { transform: translateY(0)     translateX(0)    scale(1);   opacity: 0.7; }
    50%  { transform: translateY(-30px) translateX(15px) scale(1.2); opacity: 1; }
    100% { transform: translateY(-60px) translateX(-10px) scale(0.8); opacity: 0; }
}
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(5px); }
}

.resultado-hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1929 0%, #0d2137 40%, #0a2744 100%);
    padding: 3.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: resultadoFadeUp 0.8s ease both;
}
.resultado-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 188, 212, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.resultado-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
}
.resultado-icon-ring {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: resultadoFloat 3s ease-in-out infinite;
}
.resultado-icon-ring::before,
.resultado-icon-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 188, 212, 0.5);
    animation: resultadoRing 2s ease-out infinite;
}
.resultado-icon-ring::after { animation-delay: 1s; }
.resultado-icon-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bcd4, #0288d1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 188, 212, 0.45);
    animation: resultadoPulse 2.5s ease-in-out infinite;
}
.resultado-hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 188, 212, 0.85);
    margin: 0;
}
.resultado-hero-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
}
.resultado-hero-title span {
    background: linear-gradient(90deg, #00bcd4, #4dd0e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.resultado-hero-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.5;
}
.resultado-hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00bcd4 0%, #0288d1 100%);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: resultadoFadeUp 0.9s 0.3s ease both;
    margin-top: 0.25rem;
}
.resultado-hero-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(0, 188, 212, 0.6);
    color: white;
    text-decoration: none;
}
.resultado-btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
    animation: resultadoGlow 2.5s ease-in-out infinite;
}
.resultado-btn-text,
.resultado-hero-btn i { position: relative; z-index: 1; }
.resultado-hero-btn > i { font-size: 1rem; }
.resultado-btn-arrow { animation: arrowBounce 1.2s ease-in-out infinite; }
.resultado-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.resultado-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 188, 212, 0.6);
    animation: particleFloat 4s ease-in-out infinite;
}
.resultado-particles span:nth-child(1) { left: 8%;  top: 70%; animation-delay: 0s;   animation-duration: 4s; }
.resultado-particles span:nth-child(2) { left: 18%; top: 50%; animation-delay: 0.6s; animation-duration: 5s;   width:4px;height:4px; }
.resultado-particles span:nth-child(3) { left: 30%; top: 80%; animation-delay: 1.2s; animation-duration: 3.5s; }
.resultado-particles span:nth-child(4) { left: 55%; top: 60%; animation-delay: 0.3s; animation-duration: 4.5s; width:5px;height:5px; }
.resultado-particles span:nth-child(5) { left: 70%; top: 75%; animation-delay: 1.5s; animation-duration: 3.8s; }
.resultado-particles span:nth-child(6) { left: 80%; top: 45%; animation-delay: 0.9s; animation-duration: 5.2s; width:4px;height:4px; }
.resultado-particles span:nth-child(7) { left: 88%; top: 65%; animation-delay: 2s;   animation-duration: 4.2s; }
.resultado-particles span:nth-child(8) { left: 45%; top: 85%; animation-delay: 1.8s; animation-duration: 3.2s; width:3px;height:3px; }
@media (max-width: 600px) {
    .resultado-hero-section { padding: 2.5rem 1rem; }
    .resultado-hero-btn { font-size: 0.95rem; padding: 0.9rem 1.5rem; width: 100%; justify-content: center; }
}
/* ===== FIM RESULTADO EXAMES ===== */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: white;
}

.footer-logo-image {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
}

.footer-section {
    transition: transform 0.35s ease, background 0.35s ease;
    border-radius: 12px;
    padding: 0.75rem;
    position: relative;
    min-width: 0;
}

.footer-section:first-child {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem 1rem 1rem;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section:hover::before {
    opacity: 1;
}

.footer-section:hover {
    transform: translateY(-4px);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section:nth-child(2) h4,
.footer-section:nth-child(3) h4,
.footer-section:nth-child(4) h4 {
    text-align: left;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

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

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -1rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: white;
    padding-left: 1rem;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-links li {
    transition: transform 0.25s ease;
}
.footer-links li:hover {
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.social-link:active {
    transform: translateY(-3px) scale(0.95);
}

/* Facebook - Azul original */
.social-facebook {
    background: #1877F2;
    border-color: #1877F2;
}

.social-facebook:hover {
    background: #166FE5;
    border-color: #166FE5;
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5);
}

/* Instagram - Gradiente rosa/roxo original */
.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.5);
    filter: brightness(1.1);
}

/* LinkedIn - Azul original */
.social-linkedin {
    background: #0077B5;
    border-color: #0077B5;
}

.social-linkedin:hover {
    background: #006399;
    border-color: #006399;
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 24px rgba(0, 119, 181, 0.5);
}

/* WhatsApp - Verde original */
.social-whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.social-whatsapp:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.social-link i {
    font-size: 1.1rem;
    color: white;
}

/* Card "Use como app" - sempre visível e em destaque */
.footer-app-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.25rem 1.75rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(126, 200, 227, 0.25);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    width: fit-content;
    min-width: 240px;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    position: relative;
    overflow: hidden;
    animation: footerAppCardGlow 4s ease-in-out infinite;
}

.footer-app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.3), transparent 40%, transparent 60%, rgba(126, 200, 227, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes footerAppCardGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(126, 200, 227, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
    50% { box-shadow: 0 0 32px rgba(126, 200, 227, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

.footer-app-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(126, 200, 227, 0.45);
    box-shadow: 0 0 36px rgba(126, 200, 227, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.footer-app-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #7ec8e3;
    letter-spacing: 0.02em;
    display: block;
    text-shadow: 0 0 20px rgba(126, 200, 227, 0.3);
}

.footer-app-card-icons {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.app-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.app-icon-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.03em;
    text-align: center;
}

.app-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.5rem;
    color: white;
    border: none;
}

.app-icon-btn:hover {
    transform: translateY(-3px) scale(1.08);
}

.app-icon-android {
    background: #3DDC84;
    box-shadow: 0 4px 12px rgba(61, 220, 132, 0.35);
}

.app-icon-android:hover {
    box-shadow: 0 6px 18px rgba(61, 220, 132, 0.5);
}

.app-icon-apple {
    background: #2c2c2e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.app-icon-apple:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.app-icon-btn i {
    color: white;
}

.footer-app-card-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.4;
}

/* Android - verde */
.social-android {
    background: #3DDC84;
    border-color: #3DDC84;
}

.social-android:hover {
    background: #2ecc71;
    border-color: #2ecc71;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(61, 220, 132, 0.4);
}

/* Apple / iOS - cinza escuro */
.social-apple {
    background: #555;
    border-color: #555;
}

.social-apple:hover {
    background: #666;
    border-color: #666;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info i {
    color: white;
    width: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.schedule p {
    margin-bottom: 0.75rem;
}

.schedule-note {
    font-size: 0.85rem;
    color: white;
    font-style: italic;
    margin-top: 1rem;
}

.schedule-note i {
    color: white;
}

.certifications p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.certifications p:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.certifications p {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.certifications i {
    color: white;
    width: 1.2rem;
    font-size: 1.1rem;
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.8;
    z-index: 1;
}


.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom p:first-child {
    font-weight: 500;
    color: #d1d5db;
}

.footer-legal-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-links a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Footer Responsive - desktop 4 colunas iguais */
@media (min-width: 1025px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive */
@media (min-width: 1400px) {
    .nav-list {
        gap: 0.5rem;
        justify-content: flex-end;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .nav-list {
        gap: 0.4rem;
        justify-content: flex-end;
    }
}

@media (max-width: 1200px) {
    .nav-list {
        gap: 0.3rem;
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 0.2rem;
        justify-content: flex-end;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop - Menu sempre visível */
@media (min-width: 769px) {
    .nav {
        display: flex !important;
        flex-direction: row;
        position: relative;
        background: transparent;
        box-shadow: none;
        padding: 0;
        z-index: 1000;
        pointer-events: auto;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Tablet e Mobile (até 900px) */
@media (max-width: 900px) {
    .hero-visual {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .title-main {
        font-size: 2.2rem;
    }
    
    .section-title-center .title-main {
        font-size: 2.5rem;
    }
    
    .unit-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .unit-header h3 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 300px;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2.5rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-section {
        width: 100%;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .footer-section:first-child {
        text-align: center;
        background: rgba(255, 255, 255, 0.08);
        align-items: center;
    }
    
    .footer-section:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .footer-section h4 {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
        text-align: left;
    }
    
    .footer-section:first-child h4 {
        text-align: center;
    }
    
    .footer-section h4::after {
        width: 50px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-image {
        height: 3.25rem;
    }
    
    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
    
    .footer-links {
        padding-left: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        display: block;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0.5rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
    }
    
    .contact-info p:hover {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .schedule p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        border-left: 3px solid white;
    }
    
    .schedule-note {
        font-size: 0.85rem;
        padding: 0.75rem;
        background: rgba(255, 193, 7, 0.1);
        border-radius: 8px;
        border-left: 3px solid white;
    }
    
    .certifications p {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
    
    .logo-image {
        height: 2.45rem;
    }
}

@media (max-width: 480px) {
    .hero-modern {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-modern,
    .services-modern,
    .units-modern {
        padding: 3rem 0;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
    
    .section-title-center .title-main {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card-modern {
        padding: 2rem 1.5rem;
    }
    
    .unit-card-modern {
        padding: 2rem 1.5rem;
    }
    
    .visual-card {
        padding: 1.5rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .logo-image {
        height: 2.1rem;
    }
    
    .footer-logo-image {
        height: 1.75rem;
    }
}

/* Garantir que elementos interativos fiquem na frente das animações */
.btn, .btn-modern, button, a, input, select, textarea, .form-input, .nav-link, .dropdown-item {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* Garantir que animações fiquem sempre atrás */
.hero-background, .hero-particles, .hero-gradient, .floating-icon, .about-modern::before, .services-modern::before, .units-modern::before {
    z-index: -1;
    pointer-events: none;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }

/* Animações Modernas */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Efeitos de Hover */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner */
.spinner {
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Additional responsive adjustments for contact page */
@media (max-width: 480px) {
    .contact-info {
        font-size: 0.8rem;
    }
    
    .contact-info p {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-info strong {
        font-size: 0.85rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Force word breaking for long strings */
.contact-info p {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
}

/* Specific fixes for email addresses */
.contact-info p:has-text("@") {
    font-size: 0.75rem !important;
    word-break: break-all !important;
}

/* Specific fixes for phone numbers */
.contact-info p:has-text("(") {
    font-size: 0.8rem !important;
    word-break: break-word !important;
}

/* Medium screen adjustments */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .contact-info {
        font-size: 0.8rem;
    }
    
    .contact-email {
        font-size: 0.7rem !important;
    }
    
    .contact-phone {
        font-size: 0.75rem !important;
    }
}

/* Estilos para o menu de usuário */
.user-menu {
    position: relative;
    flex-shrink: 0;
    min-width: 0;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-button {
    background: linear-gradient(135deg, #00bcd4, #0288d1);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0;
    min-height: 40px;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
}

.user-button .user-initials {
    white-space: nowrap;
    display: inline-block;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.user-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
}

.user-button i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-button i.fa-user {
    flex-shrink: 0;
}

.user-button i.fa-chevron-down {
    flex-shrink: 0;
    margin-left: 0.2rem;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    min-width: 220px;
    max-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    overflow: hidden;
}

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

/* No mobile, usar classe active ao invés de hover */
@media (max-width: 1024px) {
    .user-dropdown:hover .user-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
    
    .user-dropdown.active .user-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-item:first-child {
    border-radius: 10px 10px 0 0;
}

/* Configuração (submenu) no dropdown do usuário */
.config-submenu-wrapper {
    border-bottom: 1px solid var(--border-light);
}
.config-submenu-trigger {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 500;
}
.config-submenu-trigger .config-chevron {
    margin-left: auto;
    transition: transform 0.25s ease;
}
.config-submenu-wrapper.open .config-submenu-trigger .config-chevron {
    transform: rotate(90deg);
}
.config-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary, #f8f9fa);
}
.config-submenu.open {
    max-height: 420px;
    overflow-y: auto;
}
.user-dropdown-menu .config-submenu .dropdown-item {
    padding-left: 2.25rem;
    border-bottom: 1px solid var(--border-light);
}
.user-dropdown-menu .config-submenu .dropdown-item:last-child {
    border-radius: 0;
}
.user-dropdown-menu .config-submenu .dropdown-item:first-child {
    border-radius: 0;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    text-decoration: none;
}

.dropdown-item i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-item span,
.dropdown-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Overlay "Processando..." com logo do laboratório (igual ao Totem) */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 41, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.loading-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.loading-spinner {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loadingPulse 2s ease-in-out infinite;
}
.loading-spinner-logo {
    position: absolute;
    width: 70px;
    height: 70px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    animation: loadingLogoPulse 2s ease-in-out infinite;
}
@keyframes loadingPulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.35); }
    50% { transform: scale(1.05); opacity: 0.9; box-shadow: 0 0 0 12px rgba(30, 64, 175, 0); }
}
@keyframes loadingLogoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}
.loading-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}
.loading-progress-container {
    width: 280px;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.loading-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}
.loading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}
.loading-progress-text {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    min-height: 1.4rem;
}

/* Mobile: mesmo padrão do desktop para o overlay "Processando..." */
@media (max-width: 768px) {
    #loadingOverlay.loading-overlay,
    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        background: rgba(10, 25, 41, 0.92);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 100000;
        padding: 1rem;
        box-sizing: border-box;
    }
    #loadingOverlay .loading-spinner,
    .loading-overlay .loading-spinner {
        width: 120px;
        height: 120px;
        border: 4px solid rgba(255, 255, 255, 0.15);
        border-top-color: var(--primary-color);
        border-radius: 50%;
        margin-bottom: 1.5rem;
        flex-shrink: 0;
    }
    #loadingOverlay .loading-spinner-logo,
    .loading-overlay .loading-spinner-logo {
        width: 70px;
        height: 70px;
    }
    #loadingOverlay .loading-text,
    .loading-overlay .loading-text {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
    }
    #loadingOverlay .loading-progress-container,
    .loading-overlay .loading-progress-container {
        width: 280px;
        max-width: 90vw;
    }
}

.btn-login {
    background: linear-gradient(135deg, #00bcd4, #0288d1);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.35);
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
    color: white !important;
    text-decoration: none;
}

.btn-login i {
    font-size: 0.8rem;
}

.btn-cart {
    background: linear-gradient(135deg, #00bcd4, #0288d1);
    color: white !important;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    min-width: 44px;
    min-height: 40px;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
    color: white !important;
    text-decoration: none;
}

.btn-cart .cart-icon-wrap i {
    font-size: 1rem;
    display: block;
    line-height: 1;
    position: relative;
    z-index: 0;
}

/* Wrapper do ícone do carrinho — tamanho fixo igual ao ícone */
.cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 1rem; /* herda do botão */
}

/* ===== BOTÃO CARRINHO PREMIUM ===== */
@keyframes bcfFloat {
    0%,100% { transform: translateY(0px) rotate(0deg); }
    25%      { transform: translateY(-2px) rotate(-3deg); }
    75%      { transform: translateY(2px) rotate(3deg); }
}
@keyframes bcfShine {
    0%   { transform: translateX(-120%) skewX(-20deg); opacity: 0; }
    40%  { opacity: 1; }
    100% { transform: translateX(220%) skewX(-20deg); opacity: 0; }
}
@keyframes bcfRipple {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}
@keyframes bcfBadgePop {
    0%   { transform: scale(0) rotate(-30deg); opacity: 0; }
    60%  { transform: scale(1.4) rotate(8deg); opacity: 1; }
    80%  { transform: scale(0.9) rotate(-4deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes bcfBadgeRing {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}
@keyframes bcfBadgePulse {
    0%,100% { transform: scale(1); filter: brightness(1); }
    50%      { transform: scale(1.3); filter: brightness(1.4); }
}
@keyframes bcfBadgeBounce {
    0%,20%,50%,80%,100% { transform: scale(1) rotate(0deg); }
    10%  { transform: scale(1.35) rotate(-15deg); }
    30%  { transform: scale(1.2) rotate(12deg); }
    40%  { transform: scale(1.1) rotate(-6deg); }
    60%  { transform: scale(1.05) rotate(4deg); }
}

.btn-cart-fancy {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #00bcd4 0%, #0288d1 100%);
    box-shadow: 0 4px 15px rgba(0,188,212,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    text-decoration: none;
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.btn-cart-fancy:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 28px rgba(0,188,212,0.65), inset 0 1px 0 rgba(255,255,255,0.3);
    text-decoration: none;
}
.btn-cart-fancy:active {
    transform: scale(0.94);
}

/* Camada interna com overflow hidden para conter o brilho */
.btn-cart-fancy::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    overflow: hidden;
    z-index: 0;
}

/* Brilho deslizante no hover */
.bcf-shine {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-120%) skewX(-20deg);
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.btn-cart-fancy:hover .bcf-shine {
    animation: bcfShine 0.55s ease forwards;
}

/* Onda ao clicar */
.bcf-ripple {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.25);
    transform: scale(1);
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.btn-cart-fancy:active .bcf-ripple {
    animation: bcfRipple 0.4s ease-out forwards;
}

/* Ícone flutuante */
.bcf-icon {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.1rem;
    line-height: 1;
    animation: bcfFloat 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Badge de quantidade — fora do botão no canto superior direito */
.bcf-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}
.bcf-badge-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 55, 55, 0.5);
    animation: bcfBadgeRing 1.8s ease-out infinite;
}
.bcf-badge-num {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(211,47,47,0.7), inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1.5px solid rgba(255,255,255,0.5);
    animation: bcfBadgePop    0.6s cubic-bezier(0.175,0.885,0.32,1.275) both,
               bcfBadgeBounce 3s   1s ease-in-out infinite,
               bcfBadgePulse  2s   0.5s ease-in-out infinite;
}

/* Mobile — mesmo tamanho do botão Resultado de Exames */
@media (max-width: 1024px) {
    .btn-cart-fancy {
        width: 40px;
        height: 40px;
        min-height: 40px;
        border-radius: 12px;
    }
    .bcf-icon { font-size: 1.05rem; }
}
@media (max-width: 768px) {
    .btn-cart-fancy {
        width: 40px;
        height: 40px;
        min-height: 40px;
        border-radius: 12px;
    }
}
/* Menu mobile aberto — expandir igual ao btn-results */
@media (max-width: 768px) {
    .nav.mobile-open .btn-cart-fancy {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        border-radius: 8px !important;
        justify-content: center;
        margin: 0.5rem 0;
    }
    .nav.mobile-open .bcf-icon { font-size: 1.1rem; }
}
/* ===== FIM CARRINHO PREMIUM ===== */

/* Manter compatibilidade com cart-count antigo (não usado mais) */
.cart-count { display: none; }
.cart-count-inner { display: none; }
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
}


/* Responsividade para o menu de usuário - usando iniciais */
@media (max-width: 1024px) {
    .user-button {
        padding: 0.4rem 0.7rem;
        font-size: 0.7rem;
        min-height: 40px;
        flex-shrink: 0;
    }
    
    .user-button .user-initials {
        font-size: 0.7rem;
    }
    
    .user-button i.fa-chevron-down {
        font-size: 0.7rem;
    }
    
    .user-dropdown-menu {
        right: 0;
        min-width: 220px;
        max-width: 280px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo-image {
        height: 2.5rem;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .user-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.65rem;
        flex-shrink: 0;
    }
    
    .user-button .user-initials {
        font-size: 0.65rem;
    }
    
    .user-button i.fa-user {
        flex-shrink: 0;
        font-size: 0.7rem;
    }
    
    .user-button i.fa-chevron-down {
        display: none;
    }
    
    .btn-login span {
        display: none;
    }
    
    .btn-login {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .logo {
        font-size: 0.9rem;
    }
    
    .logo-image {
        height: 2rem;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 0.2rem 0.3rem;
    }
}

/* ============================================
   RESPONSIVIDADE COMPLETA PARA MOBILE
   ============================================ */

/* Tablet e Mobile (até 1024px) - Mesmo padrão de estilo */
@media (max-width: 1024px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Header Mobile */
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        padding: 0.45rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
        position: relative;
    }
    
    .logo {
        flex: 0 0 auto;
        order: 1;
    }
    
    .logo-image {
        height: 2.2rem;
        max-width: 150px;
    }
    
    .nav {
        flex: 1 1 100%;
        min-width: 0;
        order: 3;
        width: 100%;
    }
    
    .user-menu {
        flex-shrink: 0;
        order: 2;
        margin-left: auto;
    }
    
    .mobile-menu-toggle {
        order: 2;
        margin-left: auto;
    }
    
    /* Menu Mobile */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 3;
        margin-left: auto;
        font-size: 1.5rem;
        padding: 0.5rem;
        background: var(--bg-tertiary);
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 44px;
        min-height: 44px;
        z-index: 1001;
        position: relative;
    }
    
    /* Ajustar ordem dos elementos no header mobile */
    .header-content {
        display: flex;
        align-items: center;
    }
    
    .header-content .logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-content .user-menu,
    .header-content .nav-item.user-menu {
        order: 2;
        margin-left: auto;
        margin-right: 0.5rem;
    }
    
    .header-content .mobile-menu-toggle {
        order: 3;
    }
    
    .mobile-menu-toggle i {
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-toggle.active {
        background: var(--primary-color);
        color: white;
    }
    
    .mobile-menu-toggle.active i.fa-bars {
        transform: rotate(90deg);
    }
    
    .mobile-menu-toggle:hover {
        background: var(--border-color);
    }
    
    .mobile-menu-toggle.active:hover {
        background: var(--primary-dark);
    }
    
    .nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        padding: 1rem;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav.mobile-open {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .nav-item {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav-item.user-menu {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        justify-content: flex-start;
        border-radius: 8px;
        min-height: auto;
    }
    
    .nav-link.btn-results,
    .nav-link.btn-cart,
    .nav-link.btn-login {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        justify-content: center;
        margin: 0.5rem 0;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        display: flex !important;
        align-items: center;
        flex-shrink: 1 !important;
    }
    
    /* Garantir que o botão do carrinho dentro do nav-link tenha o mesmo tamanho */
    .nav-link.btn-cart {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        border-radius: 8px !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .user-menu {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .user-dropdown {
        position: relative;
        display: block;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .user-button {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        justify-content: center;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        margin: 0.5rem 0;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center;
        flex-shrink: 0 !important;
        white-space: nowrap;
        overflow: hidden;
    }
    
    /* Garantir que o botão do carrinho também tenha border-radius igual no menu mobile */
    .nav-link.btn-cart {
        border-radius: 8px !important;
    }
    
    .user-button .user-initials {
        display: inline-block;
    }
    
    .user-button i.fa-chevron-down {
        flex-shrink: 0;
    }
    
    .user-dropdown-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border: 1px solid var(--border-color);
        background: white;
        min-width: 200px;
        max-width: calc(100vw - 2rem);
        width: max-content;
        border-radius: 10px;
        z-index: 1001;
        margin-top: 0;
    }
    
    .user-dropdown.active .user-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Ajustar posição se sair da tela */
    @media (max-width: 480px) {
        .user-dropdown-menu {
            right: auto;
            left: 0;
            max-width: calc(100vw - 1rem);
        }
    }
    
    /* Hero Section Mobile */
    .hero-modern,
    .hero-login {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    /* Cards Mobile */
    .service-card-modern,
    .unit-card-modern,
    .card {
        padding: 1.5rem;
    }
    
    .service-card-modern h3,
    .unit-card-modern h3 {
        font-size: 1.25rem;
    }
    
    /* Formulários Mobile */
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* Login/Cart Cards Mobile */
    .login-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    /* Carrinho Mobile */
    .cart-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .cart-items {
        order: 2;
    }
    
    .cart-summary {
        order: 1;
        position: static !important;
        top: auto !important;
    }
    
    .summary-card {
        position: static;
    }
    
    .cart-item {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .cart-item-info {
        width: 100%;
        order: 1;
    }
    
    .cart-item-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .cart-item-info p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
        order: 2;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .quantity-controls {
        flex: 1;
        min-width: 120px;
    }
    
    .btn-quantity {
        min-width: 40px;
        min-height: 40px;
    }
    
    .cart-item-total {
        width: 100%;
        text-align: left !important;
        order: 3;
        font-size: 1.25rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .btn-remove {
        min-width: 40px;
        min-height: 40px;
    }
    
    /* Botões Mobile */
    .btn,
    .btn-primary,
    .btn-modern {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-full {
        width: 100%;
    }
    
    /* Tabelas Mobile */
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Footer Mobile Pequeno */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .footer-section h4 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h4::after {
        width: 40px;
    }
    
    .footer-logo-image {
        height: 2.75rem;
    }
    
    .footer-section p {
        font-size: 0.875rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 2.75rem;
        height: 2.75rem;
    }
    
    .footer-links a {
        font-size: 0.875rem;
        padding: 0.4rem 0;
    }
    
    .contact-info p,
    .schedule p,
    .certifications p {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.25rem;
    }
    
    /* Seções Mobile */
    .about-modern,
    .services-modern,
    .units-modern {
        padding: 2rem 0;
    }
    
    .section-title-center {
        margin-bottom: 2rem;
    }
    
    .title-main {
        font-size: 1.75rem;
    }
    
    /* Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-modern {
        padding: 1.5rem;
    }
    
    .service-card-modern h3 {
        font-size: 1.25rem;
    }
    
    .add-to-cart-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-modern {
        width: 100%;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    /* Cards de Exames Mobile */
    .service-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Alertas Mobile */
    .alert {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Espaçamentos Mobile */
    .main-content {
        padding: 1rem 0;
    }
    
    /* Seção Mobile */
    .section {
        padding: 2rem 0;
    }
    
    /* Empty States Mobile */
    .empty-cart {
        padding: 3rem 1.5rem;
    }
    
    .empty-cart-icon {
        font-size: 3rem;
    }
    
    .empty-cart h2 {
        font-size: 1.5rem;
    }
    
    /* Login Info Mobile */
    .login-info {
        display: none;
    }
    
    /* Form Row Mobile */
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile Pequeno (até 480px) */
@media (max-width: 480px) {
    /* Header Mobile Pequeno */
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo-image {
        height: 2rem;
        max-width: 120px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.25rem;
        padding: 0.4rem;
    }
    
    /* Navegação Mobile Pequeno */
    .nav-link {
        font-size: 0.85rem;
        padding: 0.625rem 0.875rem;
    }
    
    /* No menu mobile aberto, manter mesmo tamanho */
    .nav.mobile-open .nav-link.btn-results,
    .nav.mobile-open .nav-link.btn-cart {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav-link.btn-results,
    .nav-link.btn-cart {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .btn-cart {
        padding: 0.4rem 0.7rem;
    }
    
    /* Garantir que no menu mobile, o botão do carrinho tenha o mesmo tamanho */
    .nav.mobile-open .btn-cart {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .btn-login span {
        display: none;
    }
    
    .user-button span {
        display: none;
    }
    
    /* Hero Mobile Pequeno */
    .hero-modern,
    .hero-login {
        min-height: 40vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Cards Mobile Pequeno */
    .service-card-modern,
    .unit-card-modern,
    .card,
    .login-card {
        padding: 1.25rem 1rem;
    }
    
    .service-card-modern h3,
    .unit-card-modern h3 {
        font-size: 1.1rem;
    }
    
    /* Formulários Mobile Pequeno */
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem;
        font-size: 16px;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    /* Botões Mobile Pequeno */
    .btn,
    .btn-primary,
    .btn-modern {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Títulos Mobile Pequeno */
    .title-main {
        font-size: 1.5rem;
    }
    
    .section-title-center .title-main {
        font-size: 1.75rem;
    }
    
    .login-header h2 {
        font-size: 1.25rem;
    }
    
    /* Carrinho Mobile Pequeno */
    .cart-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .cart-item-info h3 {
        font-size: 0.95rem;
    }
    
    .cart-item-info p {
        font-size: 0.8rem;
    }
    
    .cart-item-total {
        font-size: 1.1rem;
    }
    
    .summary-card {
        padding: 1.25rem 1rem;
    }
    
    .summary-card h3 {
        font-size: 1.1rem;
    }
    
    .summary-row {
        font-size: 0.9rem;
    }
    
    /* Tabelas Mobile Pequeno - Scroll Horizontal */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.375rem;
    }
    
    /* Footer Mobile Pequeno */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    /* Espaçamentos Mobile Pequeno */
    .main-content {
        padding: 0.75rem 0;
    }
    
    .about-modern,
    .services-modern,
    .units-modern {
        padding: 1.5rem 0;
    }
    
    /* Estatísticas Mobile Pequeno */
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Grid Mobile Pequeno */
    .services-grid {
        gap: 1rem;
    }
}

/* Mobile Extra Pequeno (até 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .logo-image {
        height: 1.75rem;
        max-width: 100px;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .title-main {
        font-size: 1.25rem;
    }
    
    .btn,
    .btn-primary {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    .service-card-modern,
    .login-card {
        padding: 1rem 0.75rem;
    }
}

/* ============================================
   MELHORIAS ADICIONAIS DE RESPONSIVIDADE
   ============================================ */

/* Ajustes para tabelas em mobile */
@media (max-width: 1024px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        min-width: 600px;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* Ajustes para mapas em mobile */
@media (max-width: 1024px) {
    .map-container {
        height: 300px !important;
    }
    
    .map-overlay {
        padding: 1rem;
        max-width: 95%;
    }
    
    .map-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
}

/* Ajustes para FAQ em mobile */
@media (max-width: 1024px) {
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
}

/* Ajustes para unidades em mobile */
@media (max-width: 1024px) {
    .units-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .unit-info {
        width: 100%;
    }
    
    .units-btn {
        width: 100%;
    }
    
    .btn-units {
        width: 100%;
        text-align: center;
    }
}

/* Ajustes para publicações em mobile */
@media (max-width: 1024px) {
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .publication-item {
        margin-bottom: 1rem;
    }
}

/* Ajustes para depoimentos em mobile */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
}

/* Ajustes para seção sobre em mobile */
@media (max-width: 1024px) {
    .about-section h2 {
        font-size: 1.75rem;
    }
    
    .about-section p {
        font-size: 1rem;
    }
}

/* Ajustes para formulários de contato em mobile */
@media (max-width: 1024px) {
    .contact-form-modern {
        margin-top: 1.5rem;
    }
    
    .info-item-modern {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .info-item-modern i {
        margin: 0 auto 0.5rem;
    }
}

/* Ajustes para visual-card em mobile */
@media (max-width: 1024px) {
    .visual-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .visual-card h3 {
        font-size: 1.25rem;
    }
}

/* Ajustes para stats em mobile */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Ajustes para hero buttons em mobile */
@media (max-width: 1024px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 100%;
    }
}

/* Ajustes para service features em mobile */
@media (max-width: 1024px) {
    .service-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Ajustes para info-item em mobile */
@media (max-width: 1024px) {
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .info-item i {
        margin-bottom: 0.5rem;
    }
}

/* Ajustes para unit-header em mobile */
@media (max-width: 1024px) {
    .unit-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .unit-header h3 {
        font-size: 1.5rem;
        text-align: center;
    }
}

/* Ajustes para section-title em mobile */
@media (max-width: 1024px) {
    .section-title {
        text-align: center;
    }
    
    .title-accent {
        font-size: 1rem;
    }
    
    .title-main {
        font-size: 1.75rem;
    }
}

/* Ajustes para about-description em mobile */
@media (max-width: 1024px) {
    .about-description {
        font-size: 1rem;
        text-align: center;
    }
}

/* Ajustes para hero-text em mobile */
@media (max-width: 1024px) {
    .hero-text {
        padding: 1.5rem 1rem;
    }
}

/* Ajustes para header em mobile pequeno */
@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem 0;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .nav-list {
        gap: 0.25rem;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* No menu mobile aberto, manter o mesmo padrão do carrinho */
    .nav.mobile-open .user-menu {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav.mobile-open .user-dropdown {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: block;
    }
    
    .nav.mobile-open .user-button {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        margin: 0.5rem 0;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center;
        flex-shrink: 0 !important;
        white-space: nowrap;
        overflow: hidden;
    }
    
    /* Garantir que o botão do carrinho também tenha altura fixa no menu mobile */
    .nav.mobile-open .nav-link.btn-cart {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
    }
    
    /* Quando o menu não está aberto, manter estilo compacto no header */
    .user-menu {
        flex-shrink: 0;
    }
    
    .user-button {
        width: auto;
        flex-shrink: 0;
    }
}

/* Ajustes para cards de serviço em mobile */
@media (max-width: 1024px) {
    .service-card-modern {
        margin-bottom: 1rem;
    }
    
    .service-card-modern p {
        font-size: 0.9rem;
    }
}

/* Ajustes para unit-card em mobile */
@media (max-width: 1024px) {
    .unit-card-modern {
        margin: 0 auto;
        max-width: 100%;
    }
}

/* Ajustes para form-row em mobile */
@media (max-width: 1024px) {
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ajustes para about-content em mobile */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-visual {
        order: -1;
    }
}

/* Ajustes para publications em mobile */
@media (max-width: 1024px) {
    .publications-section h2 {
        font-size: 1.75rem;
        text-align: center;
    }
}

/* Ajustes para testimonials em mobile */
@media (max-width: 1024px) {
    .testimonials-section h2 {
        font-size: 1.75rem;
        text-align: center;
    }
}

/* Ajustes para units-section em mobile */
@media (max-width: 1024px) {
    .units-section h2 {
        font-size: 1.75rem;
        text-align: center;
    }
}

/* Ajustes para hero-visual em mobile */
@media (max-width: 900px) {
    .hero-visual {
        display: none;
    }
}

/* Ajustes para floating-elements em mobile */
@media (max-width: 900px) {
    .floating-elements {
        display: none;
    }
}

/* Ajustes para hero-particles em mobile */
@media (max-width: 1024px) {
    .hero-particles {
        opacity: 0.5;
    }
}

/* Ajustes para hero-gradient em mobile */
@media (max-width: 1024px) {
    .hero-gradient {
        opacity: 0.7;
    }
}

/* Ajustes para main-content em mobile */
@media (max-width: 1024px) {
    .main-content {
        padding: 1rem 0;
    }
}

/* Ajustes para container em mobile */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
}

/* Ajustes para section-title-center em mobile */
@media (max-width: 1024px) {
    .section-title-center {
        margin-bottom: 2rem;
    }
}

/* Ajustes para about-stats em mobile */
@media (max-width: 1024px) {
    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Ajustes para stat-item em mobile */
@media (max-width: 1024px) {
    .stat-item {
        min-width: 120px;
    }
}

/* Ajustes para btn-outline-modern em mobile */
@media (max-width: 1024px) {
    .btn-outline-modern {
        width: 100%;
        text-align: center;
    }
}

/* Ajustes para contact-info-modern em mobile */
@media (max-width: 1024px) {
    .contact-info-modern {
        margin-top: 1rem;
    }
}

/* Ajustes para visual-card em mobile */
@media (max-width: 1024px) {
    .visual-card ul {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
}

/* Ajustes para grid-2, grid-3, grid-4 em mobile */
@media (max-width: 1024px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ajustes para services-grid em mobile */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Ajustes para units-content-modern em mobile */
@media (max-width: 1024px) {
    .units-content-modern {
        max-width: 100%;
    }
}

/* Ajustes para hero-modern em mobile */
@media (max-width: 1024px) {
    .hero-modern {
        min-height: 60vh;
        padding: 2rem 0;
    }
}

/* Ajustes para about-modern em mobile */
@media (max-width: 1024px) {
    .about-modern {
        padding: 3rem 0;
    }
}

/* Ajustes para services-modern em mobile */
@media (max-width: 1024px) {
    .services-modern {
        padding: 3rem 0;
    }
}

/* Ajustes para units-modern em mobile */
@media (max-width: 1024px) {
    .units-modern {
        padding: 3rem 0;
    }
}

/* Ajustes para card em mobile */
@media (max-width: 1024px) {
    .card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Ajustes para card-header em mobile */
@media (max-width: 1024px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Ajustes para card-title em mobile */
@media (max-width: 1024px) {
    .card-title {
        font-size: 1.25rem;
    }
}

/* Ajustes para card-icon em mobile */
@media (max-width: 1024px) {
    .card-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
}

/* Ajustes para form-group em mobile */
@media (max-width: 1024px) {
    .form-group {
        margin-bottom: 1.25rem;
    }
}

/* Ajustes para form-label em mobile */
@media (max-width: 1024px) {
    .form-label {
        font-size: 0.9rem;
    }
}

/* Ajustes para form-input, form-select, form-textarea em mobile */
@media (max-width: 1024px) {
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Previne zoom no iOS */
        padding: 0.875rem;
    }
}

/* Ajustes para btn em mobile */
@media (max-width: 1024px) {
    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Ajustes para alert em mobile */
@media (max-width: 1024px) {
    .alert {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Ajustes para table em mobile */
@media (max-width: 1024px) {
    .table {
        font-size: 0.875rem;
    }
}

/* Ajustes para stats-section em mobile */
@media (max-width: 1024px) {
    .stats-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }
    
    .stats-content h2 {
        font-size: 2rem;
    }
    
    .stats-content p {
        font-size: 1rem;
    }
}

/* Ajustes para footer em mobile */
@media (max-width: 1024px) {
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
}

/* Ajustes para footer-content em mobile */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Ajustes para footer-section em mobile */
@media (max-width: 1024px) {
    .footer-section {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
}

/* Ajustes para footer-links em mobile */
@media (max-width: 1024px) {
    .footer-links {
        padding-left: 0;
    }
}

/* Ajustes para social-links em mobile */
@media (max-width: 1024px) {
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
}

/* Ajustes para contact-info em mobile */
@media (max-width: 1024px) {
    .contact-info p {
        font-size: 0.9rem;
        word-break: break-word;
    }
}

/* Ajustes para schedule em mobile */
@media (max-width: 1024px) {
    .schedule p {
        font-size: 0.9rem;
    }
}

/* Ajustes para certifications em mobile */
@media (max-width: 1024px) {
    .certifications p {
        font-size: 0.9rem;
    }
}

/* Ajustes para footer-bottom em mobile */
@media (max-width: 1024px) {
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1.5rem;
    }
}

/* Ajustes para logo em mobile */
@media (max-width: 1024px) {
    .logo {
        font-size: 1rem;
    }
}

/* Ajustes para nav em mobile */
@media (max-width: 1024px) {
    .nav {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* Ajustes para nav-list em mobile */
@media (max-width: 1024px) {
    .nav-list {
        padding: 0.5rem 0;
    }
}

/* Ajustes para nav-item em mobile */
@media (max-width: 1024px) {
    .nav-item {
        margin-bottom: 0.25rem;
    }
}

/* Ajustes para nav-link em mobile */
@media (max-width: 1024px) {
    .nav-link {
        border-radius: 8px;
        margin: 0.25rem 0;
    }
}

/* Ajustes para mobile-menu-toggle em mobile */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* Ajustes para user-button em mobile */
@media (max-width: 1024px) {
    /* Quando o menu mobile está fechado, manter estilo compacto */
    .user-button {
        width: auto;
        flex-shrink: 0;
    }
    
    /* Quando o menu mobile está aberto, usar mesmo estilo do carrinho */
    .nav.mobile-open .user-menu {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav.mobile-open .user-dropdown {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: block;
    }
    
    .nav.mobile-open .user-button {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        margin: 0.5rem 0;
        display: flex !important;
        align-items: center;
        flex-shrink: 0 !important;
    }
    
    .nav.mobile-open .nav-link.btn-cart {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
    }
    
    .user-button .user-initials {
        display: inline-block;
    }
}

/* Ajustes para header-content para acomodar o botão do usuário */
@media (max-width: 1400px) {
    .header-content {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .nav-list {
        flex-wrap: nowrap;
        gap: 0.2rem;
    }
}

@media (max-width: 1200px) {
    .header-content {
        gap: 0.5rem;
    }
    
    .nav-list {
        gap: 0.2rem;
    }
    
    .user-button {
        padding: 0.4rem 0.7rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 1024px) {
    .header-content {
        gap: 0.4rem;
    }
    
    .nav-list {
        gap: 0.15rem;
    }
    
    .user-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 900px) {
    .nav-link {
        font-size: 0.7rem;
        padding: 0.35rem 0.45rem;
    }
}

/* Ajustes para user-dropdown-menu em mobile */
@media (max-width: 1024px) {
    .user-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Ajustes para dropdown-item em mobile */
@media (max-width: 1024px) {
    .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Ajustes para btn-login em mobile */
@media (max-width: 480px) {
    .btn-login span {
        display: none;
    }
}

/* Ajustes para btn-cart em mobile */
@media (max-width: 480px) {
    /* No menu mobile aberto, manter mesmo tamanho do botão do usuário */
    .nav.mobile-open .btn-cart {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .btn-cart {
        padding: 0.4rem 0.6rem;
    }
    
    .btn-cart i {
        font-size: 0.9rem;
    }
}

/* cart-count mobile — mantém centralizado */
@media (max-width: 1024px) {
    .cart-count {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Ajustes para btn-results em mobile */
@media (max-width: 1024px) {
    .nav-link.btn-results {
        width: 100%;
        margin: 0.5rem 0;
        justify-content: center;
    }
}

/* Ajustes para hero-title em mobile */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
}

/* Ajustes para hero-subtitle em mobile */
@media (max-width: 1024px) {
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Ajustes para title-line em mobile */
@media (max-width: 1024px) {
    .title-line {
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Ajustes para service-icon-modern em mobile */
@media (max-width: 1024px) {
    .service-icon-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Ajustes para unit-icon em mobile */
@media (max-width: 1024px) {
    .unit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Ajustes para info-item i em mobile */
@media (max-width: 1024px) {
    .info-item i {
        font-size: 1rem;
        width: 18px;
    }
}

/* Ajustes para info-item-modern i em mobile */
@media (max-width: 1024px) {
    .info-item-modern i {
        font-size: 1rem;
        width: 20px;
    }
}

/* Ajustes para form-label-modern em mobile */
@media (max-width: 1024px) {
    .form-label-modern {
        font-size: 0.9rem;
    }
}

/* Ajustes para form-input-modern, form-select-modern, form-textarea-modern em mobile */
@media (max-width: 1024px) {
    .form-input-modern,
    .form-select-modern,
    .form-textarea-modern {
        font-size: 16px; /* Previne zoom no iOS */
        padding: 0.875rem;
    }
}

/* Ajustes para btn-primary-modern em mobile */
@media (max-width: 1024px) {
    .btn-primary-modern {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* Ajustes para btn-secondary-modern em mobile */
@media (max-width: 1024px) {
    .btn-secondary-modern {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* Ajustes para add-to-cart-form em mobile */
@media (max-width: 1024px) {
    .add-to-cart-form {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Ajustes para checkup-price em mobile */
@media (max-width: 1024px) {
    .checkup-price .price {
        font-size: 1.5rem;
    }
}

/* Ajustes para about-section em mobile */
@media (max-width: 1024px) {
    .about-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* Ajustes para units-section em mobile */
@media (max-width: 1024px) {
    .units-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* Ajustes para publications-section em mobile */
@media (max-width: 1024px) {
    .publications-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* Ajustes para testimonials-section em mobile */
@media (max-width: 1024px) {
    .testimonials-section {
        margin-bottom: 0;
    }
}

/* Ajustes para publication-thumbnail em mobile */
@media (max-width: 1024px) {
    .publication-thumbnail {
        height: 100px;
        padding: 1rem;
    }
    
    .publication-thumbnail i {
        font-size: 2rem;
    }
}

/* Ajustes para publication-content em mobile */
@media (max-width: 1024px) {
    .publication-content {
        padding: 1rem;
    }
    
    .publication-content h3 {
        font-size: 1.1rem;
    }
}

/* Ajustes para publication-meta em mobile */
@media (max-width: 1024px) {
    .publication-meta {
        margin-bottom: 0.75rem;
    }
    
    .publication-meta .date {
        font-size: 0.85rem;
    }
}

/* Ajustes para testimonial-item em mobile */
@media (max-width: 1024px) {
    .testimonial-item {
        padding: 1.5rem;
    }
}

/* Ajustes para testimonial-text em mobile */
@media (max-width: 1024px) {
    .testimonial-text {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-text p {
        font-size: 0.95rem;
    }
}

/* Ajustes para testimonial-author em mobile */
@media (max-width: 1024px) {
    .testimonial-author {
        padding-left: 1.5rem;
        padding-top: 0.75rem;
    }
}

/* Ajustes para testimonial-item::before em mobile */
@media (max-width: 1024px) {
    .testimonial-item::before {
        font-size: 3rem;
        top: 0.75rem;
        left: 1rem;
    }
}

/* Ajustes para read-more em mobile */
@media (max-width: 1024px) {
    .read-more {
        font-size: 0.85rem;
    }
}

/* Ajustes para empty-cart em mobile */
@media (max-width: 1024px) {
    .empty-cart {
        padding: 2rem 1rem;
    }
    
    .empty-cart-icon {
        font-size: 3rem;
    }
    
    .empty-cart h2 {
        font-size: 1.5rem;
    }
}

/* Ajustes para login-container em mobile */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* Ajustes para login-card em mobile */
@media (max-width: 1024px) {
    .login-card {
        padding: 2rem 1.5rem;
    }
}

/* Ajustes para login-header em mobile */
@media (max-width: 1024px) {
    .login-header h2 {
        font-size: 1.5rem;
    }
}

/* Ajustes para cart-container em mobile */
@media (max-width: 1024px) {
    .cart-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Ajustes para cart-items em mobile */
@media (max-width: 1024px) {
    .cart-items {
        order: 2;
    }
}

/* Ajustes para cart-summary em mobile */
@media (max-width: 1024px) {
    .cart-summary {
        order: 1;
        position: static !important;
    }
}

/* Ajustes para summary-card em mobile */
@media (max-width: 1024px) {
    .summary-card {
        position: static;
    }
}

/* Ajustes para cart-item em mobile */
@media (max-width: 1024px) {
    .cart-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}

/* Ajustes para cart-item-info em mobile */
@media (max-width: 1024px) {
    .cart-item-info {
        width: 100%;
    }
}

/* Ajustes para cart-item-controls em mobile */
@media (max-width: 1024px) {
    .cart-item-controls {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

/* Ajustes para quantity-controls em mobile */
@media (max-width: 1024px) {
    .quantity-controls {
        flex: 1;
        min-width: 120px;
    }
}

/* Ajustes para cart-item-total em mobile */
@media (max-width: 1024px) {
    .cart-item-total {
        width: 100%;
        text-align: left;
        font-size: 1.25rem;
    }
}

/* Ajustes para btn-quantity em mobile */
@media (max-width: 1024px) {
    .btn-quantity {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Ajustes para btn-remove em mobile */
@media (max-width: 1024px) {
    .btn-remove {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Ajustes para login-info em mobile */
@media (max-width: 1024px) {
    .login-info {
        display: none;
    }
}

/* Ajustes gerais para melhorar a experiência mobile */
@media (max-width: 1024px) {
    /* Prevenir zoom em inputs no iOS */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Melhorar scroll suave */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Otimizar imagens */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Melhorar legibilidade */
    p, span, div, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ajustar larguras fixas */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }
    
    /* Melhorar área de toque */
    button,
    a,
    .btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Ajustes para imagens de convênios */
    .service-icon-modern img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    /* Remover background quando tiver imagem */
    .service-icon-modern:has(img) {
        background: transparent;
        padding: 0;
    }
    
    /* Ajustes para cards de exames */
    .exame-card {
        padding: 1.5rem;
    }
    
    /* Ajustes para filtros de exames */
    .exame-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Ajustes para grid de exames */
    .exames-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Ajustes para cards de convênios */
    .convenio-card {
        padding: 1.5rem;
    }
    
    /* Ajustes para grid de convênios */
    .convenios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ajustes para tablets (768px - 1024px) - Removido: agora usa o mesmo padrão de celular */
/* Media query de tablet removida - agora usa o mesmo padrão de celular (max-width: 1024px) */

/* Ajustes para telas médias (1024px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ajustes para orientação landscape em mobile */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-modern {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .nav {
        max-height: calc(100vh - 60px);
    }
}

/* Ajustes para impressão */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .nav,
    .btn,
    .btn-modern {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   MELHORIAS GLOBAIS DE RESPONSIVIDADE
   ============================================ */

/* Garantir que imagens sejam responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Garantir que tabelas sejam scrolláveis em mobile */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Melhorias para formulários em mobile */
@media (max-width: 1024px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px; /* Previne zoom automático no iOS */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    /* Garantir que botões sejam clicáveis */
    button,
    .btn,
    .btn-modern,
    a.btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1rem;
    }
    
    /* Melhorar espaçamento em cards */
    .card {
        margin-bottom: 1.5rem;
    }
    
    /* Garantir que modais sejam responsivos */
    .modal,
    .modal-content {
        max-width: 95vw;
        margin: 1rem auto;
    }
    
    /* Ajustar grids para uma coluna */
    .grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Melhorar legibilidade de textos */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    
    /* Garantir que containers não ultrapassem a tela */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
}

/* Melhorias para tablets (768px - 1024px) - Removido: agora usa o mesmo padrão de celular */

/* Melhorias para telas pequenas (até 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Reduzir tamanhos de fonte */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Ajustar padding de cards */
    .card {
        padding: 1rem;
    }
    
    /* Garantir que botões ocupem largura total quando necessário */
    .btn-full,
    button[type="submit"] {
        width: 100%;
    }
    
    /* Melhorar espaçamento */
    .mt-6 { margin-top: 1rem; }
    .mb-6 { margin-bottom: 1rem; }
    .p-4 { padding: 1rem; }
    
    /* Garantir que modais sejam totalmente responsivos */
    .modal-content,
    .receipt-modal-box,
    .cookie-modal-content {
        width: 95vw;
        max-width: 95vw;
        margin: 0.5rem auto;
        padding: 1rem;
    }
    
    /* Ajustar tamanhos de fonte em mobile pequeno */
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    /* Garantir que imagens não quebrem layout */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Melhorar scroll em mobile */
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* Orientação Landscape Mobile */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-modern,
    .hero-login {
        min-height: 60vh;
    }
    
    .nav {
        max-height: calc(100vh - 60px);
    }
}

/* Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Melhorar área de toque em dispositivos touch */
    .nav-link,
    .btn,
    .btn-modern,
    .btn-quantity,
    .btn-remove {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        min-height: 44px;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    /* Remover hover effects em touch */
    .nav-link:hover,
    .btn:hover,
    .btn-modern:hover {
        transform: none;
    }
    
    /* Melhorar scroll em mobile */
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* Melhorias Gerais Mobile */
@media (max-width: 1024px) {
    /* Prevenir zoom em inputs no iOS */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Melhorar scroll suave */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Otimizar imagens */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Melhorar legibilidade */
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ajustar larguras fixas */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }
}

/* ========================================
   BANNER DE COOKIES
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid var(--primary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.cookie-banner-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: var(--primary-dark);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

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

.btn-cookie-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cookie-reject {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-cookie-reject:hover {
    background: var(--border-color);
}

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

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

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

.btn-cookie-primary:hover {
    background: var(--primary-dark);
}

.btn-cookie-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-cookie-secondary:hover {
    background: var(--border-color);
}

/* Modal de Configurações de Cookies */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
}

.cookie-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-modal-intro {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category-header h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.cookie-category-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Switch de Cookies */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

.cookie-switch input:focus + .cookie-slider {
    box-shadow: 0 0 1px var(--primary-color);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Responsivo - Banner de Cookies */
@media (max-width: 1024px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-text i {
        font-size: 1.5rem;
    }
    
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-switch {
        align-self: flex-start;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .btn-cookie {
        width: 100%;
    }
}

/* ============================================
   MELHORIAS ADICIONAIS DE RESPONSIVIDADE
   ============================================ */

/* Garantir que todos os elementos sejam responsivos */
* {
    box-sizing: border-box;
}

/* Prevenir overflow horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Melhorias para tablets em modo retrato (768px - 1024px) - Removido: agora usa o mesmo padrão de celular */
/* Media query de tablet removida - agora usa o mesmo padrão de celular (max-width: 1024px) */

/* Melhorias para tablets em modo paisagem (1024px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Garantir que iframes sejam responsivos */
iframe {
    max-width: 100%;
    width: 100%;
}

/* Melhorias para elementos de vídeo */
video {
    max-width: 100%;
    height: auto;
}

/* Garantir que elementos com position fixed não quebrem em mobile */
@media (max-width: 1024px) {
    .sticky,
    [style*="position: fixed"],
    [style*="position:sticky"] {
        position: relative !important;
    }
    
    /* Exceção para header que deve ficar sticky */
    .header {
        position: sticky !important;
    }
}

/* Melhorias para scroll suave em mobile */
@media (max-width: 1024px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Melhorar performance de scroll */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Garantir que elementos não saiam da tela */
@media (max-width: 1024px) {
    .container,
    .card,
    .modal-content,
    .receipt-modal-box {
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Melhorias para touch targets em mobile */
@media (max-width: 1024px) {
    a,
    button,
    input[type="button"],
    input[type="submit"],
    .btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
}

/* Garantir que textos não sejam muito pequenos */
@media (max-width: 1024px) {
    body,
    p,
    span,
    div {
        font-size: clamp(14px, 4vw, 16px);
    }
    
    small {
        font-size: clamp(12px, 3.5vw, 14px);
    }
}

/* Melhorias para formulários em tablets */
/* Media query de tablet removida - agora usa o mesmo padrão de celular (max-width: 1024px) */

/* Garantir que elementos flex não quebrem */
@media (max-width: 1024px) {
    .flex,
    [style*="display: flex"] {
        flex-wrap: wrap;
    }
}

/* Melhorias para carrinho em mobile */
@media (max-width: 1024px) {
    .cart-item,
    .cart-summary {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cart-actions .btn {
        width: 100%;
    }
}

/* Melhorias para tabelas em mobile */
@media (max-width: 1024px) {
    table {
        font-size: 0.85rem;
    }
    
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Garantir que modais sejam totalmente responsivos */
@media (max-width: 1024px) {
    .modal,
    .modal-overlay,
    .receipt-modal-overlay,
    .cookie-modal {
        padding: 0.5rem;
    }
    
    .modal-content,
    .receipt-modal-box,
    .cookie-modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 10px 10px 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ============================================
   MELHORIAS FINAIS DE RESPONSIVIDADE
   ============================================ */

/* Prevenir zoom automático em inputs no iOS */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 1024px) {
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="date"],
        input[type="number"],
        input[type="password"],
        select,
        textarea {
            font-size: 16px !important;
        }
    }
}

/* Garantir que todos os elementos sejam responsivos */
@media (max-width: 1024px) {
    /* Prevenir overflow horizontal */
    * {
        max-width: 100%;
    }
    
    /* Garantir que elementos com largura fixa sejam responsivos */
    [style*="width:"] {
        max-width: 100% !important;
    }
    
    /* Melhorar legibilidade */
    body {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Garantir que elementos absolutos não saiam da tela */
    [style*="position: absolute"] {
        position: relative !important;
    }
    
    /* Melhorar performance em mobile */
    * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Melhorias específicas para tablets */
/* Media query de tablet removida - agora usa o mesmo padrão de celular (max-width: 1024px) */

/* Garantir que elementos de navegação sejam acessíveis em mobile */
@media (max-width: 1024px) {
    .nav-link,
    .dropdown-item,
    .btn,
    button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Melhorias para elementos de lista em mobile */
@media (max-width: 1024px) {
    ul,
    ol {
        padding-left: 1.5rem;
    }
    
    li {
        margin-bottom: 0.5rem;
    }
}

/* Garantir que elementos de formulário sejam acessíveis */
@media (max-width: 1024px) {
    label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }
    
    input,
    select,
    textarea {
        width: 100%;
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
}

/* Melhorias para elementos de tabela em mobile */
@media (max-width: 1024px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border-color);
    }
    
    table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
    }
    
    th,
    td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Garantir que elementos de carrinho sejam responsivos */
@media (max-width: 1024px) {
    .cart-item,
    .cart-summary,
    .cart-actions {
        width: 100%;
    }
    
    .cart-item-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cart-item-actions {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

/* Melhorias para elementos de pedido em mobile */
@media (max-width: 1024px) {
    .order-item,
    .order-summary {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Garantir que elementos de administração sejam responsivos */
@media (max-width: 1024px) {
    .admin-container {
        padding: 1rem 0.5rem;
    }
    
    .admin-header {
        padding: 1.5rem 1rem;
    }
    
    .form-card {
        padding: 1.5rem 1rem;
    }
    
    .bioquimicos-grid,
    .unidades-grid {
        grid-template-columns: 1fr;
    }
}

/* Melhorias para elementos de contato em mobile */
@media (max-width: 1024px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-item-modern {
        flex-direction: column;
        text-align: center;
    }
}

/* Garantir que elementos de unidades sejam responsivos */
@media (max-width: 1024px) {
    .unidades-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .unidade-card {
        padding: 1.5rem;
    }
    
    .unidade-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Melhorias para elementos de serviços em mobile */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-modern {
        padding: 2rem 1.5rem;
    }
    
    .service-features {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Garantir que elementos de sobre sejam responsivos */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .visual-card {
        padding: 1.5rem;
    }
}

/* Melhorias para elementos de orçamento em mobile */
@media (max-width: 1024px) {
    .orcamento-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
}

/* Garantir que elementos de login sejam responsivos */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .login-info {
        margin-top: 2rem;
    }
}

/* Melhorias para elementos de cadastro em mobile */
@media (max-width: 1024px) {
    .registration-form {
        padding: 1.5rem 1rem;
    }
    
    .form-row {
        flex-direction: column;
    }
}

/* Garantir que elementos de exames sejam responsivos */
@media (max-width: 1024px) {
    .exames-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exame-card {
        padding: 1.5rem;
    }
}

/* Melhorias para elementos de convênios em mobile */
@media (max-width: 1024px) {
    .convenios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .convenio-card {
        padding: 1.5rem;
    }
}

/* Garantir que elementos de footer sejam responsivos */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100%;
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Melhorias para elementos de header em mobile */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .nav {
        order: 3;
        width: 100%;
    }
    
    .user-menu {
        order: 2;
        margin-left: auto;
    }
}

/* Garantir que elementos de hero sejam responsivos */
@media (max-width: 1024px) {
    .hero-modern {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-content-modern {
        padding: 1rem;
    }
    
    .hero-text {
        text-align: center;
        padding: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 100%;
    }
}

/* Garantir que elementos com larguras fixas sejam responsivos */
@media (max-width: 1024px) {
    /* Converter larguras fixas em max-width */
    [style*="width: 400px"],
    [style*="width: 300px"],
    [style*="width: 200px"] {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Ajustar elementos com min-width */
    [style*="min-width:"] {
        min-width: auto !important;
    }
    
    /* Garantir que elementos não ultrapassem a tela */
    * {
        max-width: 100vw;
    }
}

/* Melhorias para touch em mobile */
@media (max-width: 1024px) {
    /* Aumentar área de toque */
    a,
    button,
    input[type="button"],
    input[type="submit"],
    .btn,
    .nav-link,
    .dropdown-item {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    /* Melhorar feedback visual em toque */
    button:active,
    .btn:active,
    a:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Garantir que elementos de formulário sejam totalmente responsivos */
@media (max-width: 1024px) {
    form {
        width: 100%;
        max-width: 100%;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    input,
    select,
    textarea {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Melhorias para elementos de carrinho em mobile */
@media (max-width: 1024px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-items,
    .cart-summary {
        width: 100%;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 100%;
        max-width: 100%;
    }
    
    .cart-item-info {
        width: 100%;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Melhorias para elementos de pedido em mobile */
@media (max-width: 1024px) {
    .order-container {
        grid-template-columns: 1fr;
    }
    
    .order-details,
    .order-items {
        width: 100%;
    }
    
    .order-item {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Garantir que elementos de administração sejam totalmente responsivos */
@media (max-width: 1024px) {
    .admin-container {
        padding: 1rem 0.5rem;
    }
    
    .admin-header {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .form-card {
        padding: 1.5rem 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .bioquimicos-grid,
    .unidades-grid {
        grid-template-columns: 1fr;
    }
    
    .bioquimico-card,
    .unidade-card {
        width: 100%;
    }
    
    .bioquimico-actions,
    .unidade-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .bioquimico-actions .btn,
    .unidade-actions .btn {
        width: 100%;
    }
}

/* Melhorias para elementos de contato em mobile */
@media (max-width: 1024px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        width: 100%;
    }
    
    .contact-info-modern {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .info-item-modern {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
}

/* Garantir que elementos de unidades sejam totalmente responsivos */
@media (max-width: 1024px) {
    .unidades-section {
        padding: 3rem 0;
    }
    
    .unidades-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .unidade-card {
        width: 100%;
        padding: 1.5rem;
    }
    
    .unidade-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .unidade-icon {
        margin: 0 auto 0.5rem;
    }
    
    .unidade-info {
        width: 100%;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .unidade-actions {
        width: 100%;
    }
    
    .btn-mapa {
        width: 100%;
        justify-content: center;
    }
}

/* Melhorias para elementos de serviços em mobile */
@media (max-width: 1024px) {
    .services-modern {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card-modern {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .service-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Garantir que elementos de sobre sejam totalmente responsivos */
@media (max-width: 1024px) {
    .about-modern {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
        order: 2;
    }
    
    .about-visual {
        order: 1;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .visual-card {
        width: 100%;
        padding: 2rem 1.5rem;
    }
}

/* Melhorias para elementos de orçamento em mobile */
@media (max-width: 1024px) {
    .orcamento-section {
        padding: 3rem 0;
    }
    
    .card {
        width: 100%;
        padding: 1.5rem 1rem;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Garantir que elementos de login sejam totalmente responsivos */
@media (max-width: 1024px) {
    .login-section {
        padding: 3rem 0;
    }
    
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .login-card {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .login-info {
        display: none;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .forgot-password {
        text-align: center;
        width: 100%;
    }
}

/* Melhorias para elementos de cadastro em mobile */
@media (max-width: 1024px) {
    .registration-section {
        padding: 3rem 0;
    }
    
    .card {
        width: 100%;
        padding: 1.5rem 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Garantir que elementos de exames sejam totalmente responsivos */
@media (max-width: 1024px) {
    .exames-section {
        padding: 3rem 0;
    }
    
    .exames-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .exame-card {
        width: 100%;
        padding: 1.5rem;
    }
}

/* Melhorias para elementos de convênios em mobile */
@media (max-width: 1024px) {
    .convenios-section {
        padding: 3rem 0;
    }
    
    .convenios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .convenio-card {
        width: 100%;
        padding: 1.5rem;
    }
}

/* Garantir que elementos de footer sejam totalmente responsivos */
@media (max-width: 1024px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Melhorias para elementos de header em mobile */
@media (max-width: 1024px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        position: relative;
    }
    
    .logo {
        flex: 0 0 auto;
        order: 1;
    }
    
    .logo-image {
        height: 2.2rem;
        max-width: 150px;
    }
    
    .user-menu,
    .nav-item.user-menu {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle {
        order: 3;
        margin-left: auto;
    }
    
    .nav {
        order: 4;
        width: 100%;
    }
}

/* Garantir que elementos de hero sejam totalmente responsivos */
@media (max-width: 1024px) {
    .hero-modern {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-content-modern {
        padding: 1rem;
        width: 100%;
    }
    
    .hero-text {
        text-align: center;
        padding: 1rem;
        width: 100%;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: stretch;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}

/* Melhorias para elementos de recibo em mobile */
@media (max-width: 1024px) {
    .receipt-page {
        padding: 1rem 0.5rem;
    }
    
    .receipt-wrapper {
        max-width: 100%;
        padding: 0;
    }
    
    .receipt {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .receipt-header h1 {
        font-size: 1.2rem;
    }
    
    .ticket-number {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-receipt {
        width: 100%;
    }
}

/* Garantir que elementos de modal sejam totalmente responsivos */
@media (max-width: 1024px) {
    .modal-overlay,
    .receipt-modal-overlay,
    .cookie-modal {
        padding: 0.5rem;
        align-items: flex-end;
    }
    
    .modal-content,
    .receipt-modal-box,
    .cookie-modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 15px 15px 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header,
    .receipt-modal-header,
    .cookie-modal-header {
        padding: 1rem;
    }
    
    .modal-body,
    .receipt-modal-body,
    .cookie-modal-body {
        padding: 1rem;
    }
    
    .modal-footer,
    .receipt-modal-footer,
    .cookie-modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn,
    .receipt-modal-footer .btn,
    .cookie-modal-footer .btn {
        width: 100%;
    }
}

/* ============================================
   REGRAS GLOBAIS DE RESPONSIVIDADE
   ============================================ */

/* Garantir que todos os elementos sejam responsivos por padrão */
@media (max-width: 1024px) {
    /* Prevenir overflow horizontal */
    * {
        max-width: 100vw;
    }
    
    /* Garantir que elementos com position absolute não quebrem */
    [style*="position: absolute"]:not(.header):not(.nav):not(.user-dropdown-menu) {
        position: relative !important;
    }
    
    /* Garantir que elementos com largura fixa sejam responsivos */
    [style*="width:"]:not([style*="max-width"]):not([style*="min-width"]) {
        max-width: 100% !important;
        width: auto !important;
    }
    
    /* Melhorar performance de scroll */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: auto;
    }
    
    /* Garantir que textos não quebrem layout */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Melhorar legibilidade */
    body {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Melhorias para tablets */
/* Media query de tablet removida - agora usa o mesmo padrão de celular (max-width: 1024px) */

/* Garantir que elementos sejam acessíveis em touch */
@media (max-width: 1024px) {
    a,
    button,
    input[type="button"],
    input[type="submit"],
    .btn,
    .nav-link,
    .dropdown-item,
    label {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        cursor: pointer;
    }
    
    /* Melhorar feedback visual */
    button:active,
    .btn:active,
    a:active {
        opacity: 0.8;
    }
}

/* Melhorias para orientação landscape em mobile */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-modern {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .nav {
        max-height: calc(100vh - 60px);
    }
}

/* Garantir que elementos de impressão sejam responsivos */
@media print {
    * {
        max-width: 100%;
    }
    
    .header,
    .footer,
    .mobile-menu-toggle,
    .nav,
    .btn,
    .btn-modern,
    .action-buttons {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    .card,
    .receipt {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ============================================
   GARANTIAS FINAIS DE RESPONSIVIDADE
   ============================================ */

/* Garantir que nenhum elemento ultrapasse a tela */
@media (max-width: 1024px) {
    /* Prevenir overflow horizontal em todos os elementos */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Garantir que elementos com position fixed sejam responsivos */
    .header {
        width: 100%;
        left: 0;
        right: 0;
    }
    
    /* Garantir que modais sejam totalmente responsivos */
    .modal-overlay,
    .receipt-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    /* Garantir que elementos de formulário sejam responsivos */
    form {
        width: 100%;
        max-width: 100%;
    }
    
    /* Garantir que elementos de tabela sejam scrolláveis */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Garantir que elementos de lista sejam responsivos */
    ul,
    ol {
        padding-left: 1.25rem;
    }
    
    /* Melhorar espaçamento em mobile */
    section {
        padding: 2rem 0;
    }
    
    /* Garantir que elementos de grid sejam responsivos */
    [class*="grid"],
    [class*="Grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* Melhorias para tablets */
/* Media query de tablet removida - agora usa o mesmo padrão de celular (max-width: 1024px) */

/* ============================================
   ESTILOS RESPONSIVOS PARA PÁGINAS ADMINISTRATIVAS
   ============================================ */

/* Hero Compacto - Estilos Globais */
.hero-compact {
    background: rgb(12, 40, 85);
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-compact-content {
    text-align: center;
}

.hero-compact-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hero-compact-title i {
    font-size: 1.5rem;
}

.hero-compact-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Hero Compacto Responsivo */
@media (max-width: 1024px) {
    .hero-compact {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .hero-compact-title {
        font-size: 1.25rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .hero-compact-title i {
        font-size: 1.25rem;
    }
    
    .hero-compact-subtitle {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

/* Tabelas Responsivas - Páginas Administrativas */
@media (max-width: 1024px) {
    /* Tabela de Pacientes */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .table {
        font-size: 0.8rem;
        min-width: 800px;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.4rem;
        white-space: nowrap;
    }
    
    .table td:last-child {
        position: sticky;
        right: 0;
        background: white;
        box-shadow: -2px 0 4px rgba(0,0,0,0.1);
    }
    
    /* Tabela de Formas de Pagamento e Exames */
    .data-table {
        font-size: 0.8rem;
        min-width: 600px;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .data-table td {
        white-space: nowrap;
    }
    
    /* Ações em tabelas */
    .action-buttons {
        flex-wrap: nowrap;
        gap: 0.25rem;
    }
    
    .btn-sm {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
        min-width: 36px;
    }
    
    .btn-sm i {
        font-size: 0.875rem;
    }
    
    /* Ocultar texto em botões pequenos no mobile */
    .btn-sm span {
        display: none;
    }
}

/* Formulários Responsivos - Páginas Administrativas */
@media (max-width: 1024px) {
    /* Form Grid */
    .form-grid {
        padding: 1rem;
        gap: 1rem;
    }
    
    .form-grid-unidade {
        padding: 1rem;
    }
    
    /* Form Section */
    .form-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-section-title {
        font-size: 1rem;
    }
    
    /* Form Row */
    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-group {
        min-width: 100%;
        margin-bottom: 0.75rem;
    }
    
    /* Form Input */
    .form-input {
        font-size: 0.9rem;
        padding: 0.625rem;
    }
    
    /* Form Actions */
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Card Header */
    .card-header {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem;
    }
    
    .card-header form {
        width: 100%;
        max-width: 100% !important;
        min-width: 100% !important;
    }
    
    /* Card */
    .card {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* Tabelas em Mobile - Layout de Cards */
@media (max-width: 480px) {
    /* Converter tabela em cards para mobile muito pequeno */
    .table-container,
    .table-responsive {
        margin: 0;
        padding: 0;
    }
    
    .table,
    .data-table {
        display: block;
        width: 100%;
        min-width: 100%;
    }
    
    .table thead,
    .data-table thead {
        display: none;
    }
    
    .table tbody,
    .data-table tbody {
        display: block;
        width: 100%;
    }
    
    .table tr,
    .data-table tr {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .table td,
    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-light);
        white-space: normal;
        text-align: right;
    }
    
    .table td:last-child,
    .data-table td:last-child {
        border-bottom: none;
        padding-top: 0.75rem;
        position: static;
        box-shadow: none;
    }
    
    .table td::before,
    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-primary);
        text-align: left;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    /* Ajustar ações em cards */
    .table td:last-child .action-buttons,
    .data-table td:last-child .action-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    /* Badge em mobile */
    .badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Empty State Responsivo */
@media (max-width: 1024px) {
    .empty-state {
        padding: 2rem 1rem;
        font-size: 0.9rem;
    }
    
    .empty-state i {
        font-size: 2rem !important;
    }
}

/* Paginação Responsiva */
@media (max-width: 1024px) {
    /* Paginação em lista de pacientes */
    .table-container + div[style*="display: flex"] {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem !important;
    }
    
    .table-container + div[style*="display: flex"] > * {
        width: 100%;
        justify-content: center;
    }
    
    .table-container + div[style*="display: flex"] span {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        text-align: center;
    }
}

/* Imagens em Tabelas Responsivas */
@media (max-width: 1024px) {
    .data-table img {
        max-width: 60px;
        max-height: 45px;
    }
}

/* Ajustes específicos para admin_exames.php */
@media (max-width: 1024px) {
    #imagemPreviewImg {
        max-width: 150px !important;
        max-height: 112px !important;
    }
    
    .file-input + label.btn {
        width: 100%;
        justify-content: center;
    }
}

/* Ajustes específicos para admin_unidades_coleta.php */
@media (max-width: 1024px) {
    .form-group[style*="flex: 0 0 150px"] {
        flex: 1 !important;
        min-width: 100% !important;
    }
}