/* ================================
   FISIO - SISTEMA DE DESIGN GLOBAL
   ================================ */

/* Variáveis CSS Globais */
/* Variáveis CSS Globais - CORRIGIDAS */
:root {
    /* Cores Primárias */
    --primary-dark: #1a365d;
    --primary-medium: #2b77ad;
    --primary-light: #4da6d9;
    --primary-lighter: #6bb6ff;
    
    /* Cores Secundárias */
    --accent-orange: #f59e0b;
    --accent-orange-dark: #d97706;
    --success-green: #25D366;
    --success-green-dark: #128C7E;
    
    /* Cores Neutras */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Tipografia */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Tamanhos de Fonte - FIXOS E CONSISTENTES */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 2rem;      /* 32px */
    --text-4xl: 2.5rem;    /* 40px */
    
    /* Espaçamentos - CONSISTENTES */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */
    
    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.18);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-modal: 1050;
    --z-tooltip: 1100;
}

@media (max-width: 768px) {
    :root {
        /* Reduzir textos no mobile */
        --text-2xl: 1.375rem;  /* 22px */
        --text-3xl: 1.625rem;  /* 26px */
        --text-4xl: 2rem;      /* 32px */
        
        /* Reduzir espaçamentos no mobile */
        --space-xl: 1.5rem;    /* 24px */
        --space-2xl: 2rem;     /* 32px */
        --space-3xl: 2.5rem;   /* 40px */
    }
}

@media (max-width: 480px) {
    :root {
        /* Textos ainda menores */
        --text-2xl: 1.25rem;   /* 20px */
        --text-3xl: 1.5rem;    /* 24px */
        --text-4xl: 1.75rem;   /* 28px */
        
        /* Espaçamentos menores */
        --space-xl: 1.25rem;   /* 20px */
        --space-2xl: 1.75rem;  /* 28px */
        --space-3xl: 2rem;     /* 32px */
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 1rem;
}

/* Tipografia Global */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
    color: var(--gray-600);
}

a {
    color: var(--primary-medium);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

/* Container Global */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Header Global */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: var(--space-md) 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-dropdown);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-placeholder img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0;
    color: var(--white);
}

.logo-text p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: -5px 0 0 0;
    color: var(--white);
}

.nav {
    display: flex;
    gap: var(--space-lg);
}

.nav a {
    color: var(--white);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-normal);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition-normal);
}

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

.nav a:hover::after {
    width: 100%;
}

/* Container do dropdown */
.nav-item {
    position: relative;
    display: inline-block;
}

/* Dropdown menu */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-dropdown);
    border: 2px solid var(--gray-300);
    overflow: hidden;
}

/* Setinha do dropdown */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-right: none;
    border-bottom: none;
    transform: translateX(-50%) rotate(45deg);
}

/* Estados ativos */
.nav-item:hover .nav-dropdown,
.nav-item.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Items do dropdown */
.dropdown-item {
    display: block;
    padding: var(--space-lg) var(--space-xl);
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Textos dos items */
.unit-name {
    text-align: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-lg);
    display: block;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.unit-description {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--gray-600);
    display: block;
}


/* Seta do toggle */
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-dropdown-toggle::after,
.nav-item.active .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ================================
   MOBILE SUBMENU
   ================================ */

.mobile-submenu {
    margin: var(--space-md) 0;
    padding: 0;
    background: transparent;
     width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-submenu-title {
    color: var(--primary-light);
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-base);
    display: block;
    margin-bottom: var(--space-sm);
    text-align: left;
    padding: var(--space-sm) var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.9;
}

.mobile-submenu a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-sm) var(--space-lg);
    margin: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-align: left;
    font-size: var(--text-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid transparent;
    position: relative;
    padding-left: var(--space-xl);
}

.mobile-submenu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateX(-3px);
    border-left-color: var(--primary-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-submenu a::before {
    content: 'â†’';
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.mobile-submenu a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

.mobile-submenu-toggle {
    color: var(--white);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    margin: var(--space-xs) 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-align: left;
    width: 85%;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.mobile-submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-light);
    transform: translateX(-5px);
    border-left: 3px solid var(--primary-light);
}

.mobile-submenu-content {
    display: none;
    margin-top: var(--space-sm);
}

.mobile-submenu.active .mobile-submenu-content {
    display: block;
}


/* ADICIONAR NO GLOBAL.CSS - Menu Mobile Melhorado */

/* Estilo do botão hambúrguer */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-xs);
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all var(--transition-normal);
    border-radius: 2px;
    transform-origin: center;
}

/* Animação do X quando ativo */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu mobile */
/* Menu mobile - SLIDE LATERAL */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    z-index: 1002;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-2xl);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* backdrop-filter: blur(10px); */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    display: flex;
    transform: translateX(0);
}

.mobile-menu a {
    color: var(--white);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    margin: var(--space-xs) 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-align: left;
    width: 85%;
    max-width: 280px;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.mobile-menu a:hover::before {
    left: 0;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-light);
    transform: translateX(-5px);
    border-left: 3px solid var(--primary-light);
}

.mobile-menu .btn {
    margin-top: var(--space-lg);
    width: 80%;
    max-width: 300px;
}

/* Botão de fechar menu mobile */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* Previne scroll quando menu está aberto */
body.menu-open {
    overflow: hidden;
}

/* Esconder CTA do header em mobile */
.header-cta {
    display: inline-flex;
}



/* Sistema de Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: var(--text-base);
    position: relative;
    overflow: hidden;
}

.btn::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;
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-medium));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

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

.btn-accent {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-accent2 {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
    color: var(--white);
}

.btn-success {
    background: var(--success-green);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: var(--success-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

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

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

/* Tamanhos de Botões */
.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
}

/* Sistema de Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

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

.card-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
}

.card-body {
    padding: var(--space-xl);
}


.card-image {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-sm);
    position: relative;
}

.card-image i {
    font-size: var(--text-3xl);
    color: var(--gray-300);
}

.card-image::after {
    content: attr(data-placeholder);
    font-size: var(--text-xs);
    color: var(--gray-500);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Seções Globais */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.section-lg {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    margin-bottom: var(--space-md);
}

.section-title p {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin: 0;
}

/* LISTAS REUTILIZÁVEIS COM CHECK NA FRENTE */

/* =====================================
   LISTA DESTAQUE (REUTILIZÁVEL)
===================================== */

.lista-destaque {
    list-style: none;
    margin: var(--space-lg) 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.lista-destaque li {
    display: flex;
    align-items: center; /* ajuste principal */
    gap: var(--space-sm);
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.6;
}

.lista-destaque li i {
    color: var(--primary-medium);
    font-size: var(--text-base);
    flex-shrink: 0;     /* Ícone nunca reduz */
    margin-top: 0;      /* Corrige desalinhamento */
}

.highlight {
    font-weight: 700;
    /* white-space: nowrap; */
}

/* Ajuste extra para telas pequenas */
@media (max-width: 600px) {
    .lista-destaque li {
        align-items: flex-start; /* Melhora com textos longos */
    }

    .lista-destaque li i {
        margin-top: 4px; /* leve alinhamento estético */
    }
}


/* Backgrounds de Seção */
.bg-white { background: var(--white); }
.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }
.bg-primary { 
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    color: var(--white);
}
.bg-primary .section-title h2,
.bg-primary h2,
.bg-primary h3 { color: var(--white); }
.bg-primary .section-title p,
.bg-primary p { color: rgba(255, 255, 255, 0.9); }

/* Grids Responsivos */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

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

/* Badges e Tags */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-medium));
    color: var(--white);
}

.badge-accent {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--white);
}

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

/* Formas Decorativas */
.shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-floating {
    animation: float 6s ease-in-out infinite;
}

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

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--primary-light), var(--primary-medium));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Utilidades */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition-normal);
}

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

.nav a:hover::after {
    width: 100%;
}

/* Sistema de Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: var(--text-base);
    position: relative;
    overflow: hidden;
}

.btn::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;
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-medium));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

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

.btn-accent {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-accent-green {
    background: linear-gradient(45deg, var(--success-green), var(--success-green-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
    margin-top: 7px;
}

.btn-accent-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 221, 48, 0.4);
    color: var(--white);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
    color: var(--white);
}

.btn-success {
    background: var(--success-green);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: var(--success-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

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

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

/* Tamanhos de Botões */
.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-sm) var(--space-2xl);
    font-size: var(--text-lg);
}

/* Sistema de Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

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

.card-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
}

.card-body {
    padding: var(--space-xl);
}

.card-image {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-sm);
    position: relative;
}

.card-image i {
    font-size: var(--text-3xl);
    color: var(--gray-300);
}

.card-image::after {
    content: attr(data-placeholder);
    font-size: var(--text-xs);
    color: var(--gray-500);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Seções Globais */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.section-lg {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    margin-bottom: var(--space-md);
}

.section-title p {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin: 0;
}

/* Backgrounds de Seção */
.bg-white { background: var(--white); }
.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }
.bg-primary { 
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    color: var(--white);
}
.bg-primary .section-title h2,
.bg-primary h2,
.bg-primary h3 { color: var(--white); }
.bg-primary .section-title p,
.bg-primary p { color: rgba(255, 255, 255, 0.9); }

/* Grids Responsivos */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

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

/* Badges e Tags */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(45deg, var(--primary-light), var(--primary-medium));
    color: var(--white);
}

.badge-accent {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--white);
}

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

/* Formas Decorativas */
.shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-floating {
    animation: float 6s ease-in-out infinite;
}

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



/* Utilidades */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Mobile Menu (para uso futuro) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.no-click {
  pointer-events: none;
  cursor: not-allowed; /* Opcional: muda o cursor para indicar que a ação não é permitida */
  opacity: 0.6; /* Opcional: reduz a opacidade para um feedback visual de desativação */
}

/* Responsividade */
/* Responsividade */
@media (max-width: 768px) {

    .logo-placeholder img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

    .nav-item {
        display: none;
    }
    
    .container,
    .container-sm,
    .container-lg {
        padding: 0 var(--space-md);
    }
    
    .header {
        padding: var(--space-sm) 0;
    }
    
    .header-container {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .header-cta {
        display: none !important;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .grid {
        gap: var(--space-lg);
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .logo-text h1 {
        font-size: var(--text-xl);
    }
    
    .logo-text p {
        font-size: var(--text-xs);
    }
    
    .mobile-menu {
        padding-top: 80px;
        width: 280px;
    }
    
}

@media (max-width: 480px) {
    
    .logo-placeholder {
        width: 70px;
        height: 70px;
    }
}

@media (min-width: 769px) {
    .mobile-submenu {
        display: none;
    }
}

/* ======================
FIZ DOS BOTÕES EM MOBILE
=========================== */

/* ================================
   OTIMIZAÇÃO DE BOTÕES PARA MOBILE
   Adicione este bloco no final do global.css
   ================================ */

@media (max-width: 768px) {
    /* BOTÕES: Reduzir tamanho geral */
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-sm);
    }
    
    /* Botões grandes ficam médios */
    .btn-lg {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-base);
    }
    
    /* Botões pequenos ficam menores */
    .btn-sm {
        padding: 0.625rem var(--space-md);
        font-size: var(--text-xs);
    }
    
    /* Ícones dentro dos botões */
    .btn i {
        font-size: 1rem;
    }

    .btn {
        gap: 0.5rem;
    }
    
    /* HERO BUTTONS: Ajuste específico */
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-md);
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: var(--space-sm) var(--space-lg);
    }
    
    /* CTA BUTTONS: Botões de call-to-action */
    .cta-section .btn,
    .agendamento-btn,
    .tratamento-btn {
        width: 100%;
        max-width: 300px;
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-sm);
    }
    
    /* HEADER CTA: Manter escondido */
    .header-cta {
        display: none !important;
    }
    
    /* WHATSAPP FLOAT: Reduzir tamanho */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
    
    /* SECTION TITLES: Reduzir títulos */
    .section-title h2 {
        font-size: var(--text-2xl);
    }
    
    .section-title p {
        font-size: var(--text-base);
    }

    
    /* CARD BUTTONS: Botões dentro de cards */
    .card .btn,
    .tratamento-card .btn,
    .unidade-card .btn {
        width: 100%;
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    /* Mobile muito pequeno: ainda menor */
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
    
    .hero-buttons .btn {
        max-width: 260px;
        padding: 10px 20px;
    }
    
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        bottom: 12px;
        right: 12px;
    }
    
    /* Títulos ainda menores */
    .section-title h2 {
        font-size: 1.75rem;
    }
}

/* ================================
   SLIDESHOW REUTILIZÁVEL
   ================================ */

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.slideshow-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.slideshow-item.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slideshow-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.slideshow-dot.active {
    background: rgb(0, 110, 255);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.footer-new {
  background: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
  color: white;
  padding: var(--space-3xl, 60px) 0 var(--space-lg, 24px);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl, 60px);
  align-items: start;
  margin-bottom: var(--space-2xl, 48px);
}

/* ================================
   COLUNA ESQUERDA - LOGO & BRAND
   ================================ */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg, 24px);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md, 16px);
}

.footer-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo-text h3 {
  color: white;
  font-size: var(--text-2xl, 1.5rem);
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1;
}

.footer-logo-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm, 0.875rem);
  margin: 0;
  line-height: 1;
}

.footer-specialty {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-base, 1rem);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* ================================
   COLUNA CENTRO - UNIDADES
   ================================ */

.footer-units h4 {
  color: white;
  font-size: var(--text-lg, 1.125rem);
  font-weight: 600;
  margin: 0 0 var(--space-md, 16px) 0;
}

.footer-units ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm, 12px);
}

.footer-units li {
  margin: 0;
}

.footer-units a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--text-base, 1rem);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-units a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.footer-units a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-units a:hover::after {
  width: 100%;
}

/* ================================
   COLUNA DIREITA - SOCIAL
   ================================ */

.footer-social h4 {
  color: white;
  font-size: var(--text-lg, 1.125rem);
  font-weight: 600;
  margin: 0 0 var(--space-md, 16px) 0;
}

.footer-social-icons {
  display: flex;
  gap: var(--space-md, 16px);
}

.footer-social-icons a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-4px) scale(1.05);
}

/* ================================
   FOOTER BOTTOM
   ================================ */

.footer-bottom {
  padding-top: var(--space-lg, 24px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm, 0.875rem);
  margin: 0;
}

/* ================================
   WHATSAPP FLUTUANTE
   ================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid #25D366;
  border-radius: 50%;
  opacity: 0;
  animation: whatsappRipple 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

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

@keyframes whatsappRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ================================
   RESPONSIVIDADE
   ================================ */

/* Tablet */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-2xl, 40px);
  }

  .footer-logo img {
    width: 50px;
    height: 50px;
  }

  .footer-logo-text h3 {
    font-size: var(--text-xl, 1.25rem);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer-new {
    padding: var(--space-2xl, 48px) 0 var(--space-lg, 24px);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl, 32px);
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-logo {
    flex-direction: column;
    gap: var(--space-sm, 12px);
  }

  .footer-logo img {
    width: 60px;
    height: 60px;
  }

  .footer-specialty {
    font-size: var(--text-sm, 0.875rem);
  }

  .footer-units ul {
    align-items: center;
  }

  .footer-units a::after {
    display: none;
  }

  .footer-units a:hover {
    transform: translateX(0);
    transform: scale(1.05);
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-social-icons a {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
    font-size: 1.6rem;
  }
}

/* Mobile Pequeno */
@media (max-width: 480px) {
  .footer-new {
    padding: var(--space-xl, 40px) 0 var(--space-md, 16px);
  }

  .footer-content {
    gap: var(--space-lg, 24px);
  }

  .footer-logo img {
    width: 50px;
    height: 50px;
  }

  .footer-logo-text h3 {
    font-size: var(--text-lg, 1.125rem);
  }

  .footer-logo-text p {
    font-size: var(--text-xs, 0.75rem);
  }

  .footer-units h4,
  .footer-social h4 {
    font-size: var(--text-base, 1rem);
  }

  .footer-units a {
    font-size: var(--text-sm, 0.875rem);
  }

  .footer-social-icons a {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .footer-bottom p {
    font-size: var(--text-xs, 0.75rem);
  }
}