/* Customizações para Bootstrap - Paleta de cores melhorada */
:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --info-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --dark-gradient: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    
    /* Cores adicionais */
    --bg-primary: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Body background já definido no global.css */
body {
    /* Removido background conflitante - usando global.css */
    color: #ffffff; /* Garantir texto branco para consistência */
    position: relative;
}

/* Adicionar padrão de fundo sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Hero Section */
.hero-section-wrapper {
    max-width: 1000px;
    padding: 0 15px;
    width: 100%;
    margin: 0 auto;
}

.hero-section {
    position: relative;
    border-radius: 24px !important;
    width: 100%;
    min-height: auto;
    height: auto;
    overflow: visible !important;
}

.hero-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 24px 24px 0 0;
    padding: 3rem 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.hero-badges {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-badges .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0;
}

.hero-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero-form {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 24px 24px;
    padding: 3rem 2rem 3.5rem 2rem;
    width: 100%;
    overflow: visible !important;
}

.hero-form .mx-auto {
    max-width: 700px;
    width: 100%;
    padding-bottom: 0.5rem;
}

.hero-form form {
    overflow: visible !important;
}

.hero-form .d-grid {
    overflow: visible !important;
    padding-bottom: 0.5rem;
}

/* Responsividade da Hero Section */
@media (max-width: 768px) {
    .hero-section-wrapper {
        padding: 0 10px;
    }
    
    .hero-section {
        border-radius: 20px !important;
    }
    
    .hero-content {
        padding: 2.5rem 1.5rem 2rem !important;
        border-radius: 20px 20px 0 0;
    }
    
    .hero-form {
        padding: 2.5rem 1.5rem 3rem 1.5rem !important;
        border-radius: 0 0 20px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-badges .badge {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section-wrapper {
        padding: 0 8px;
    }
    
    .hero-section {
        border-radius: 16px !important;
    }
    
    .hero-content {
        padding: 2rem 1rem 1.5rem !important;
        border-radius: 16px 16px 0 0;
    }
    
    .hero-form {
        padding: 2rem 1rem 2.5rem 1rem !important;
        border-radius: 0 0 16px 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.4;
    }
    
    .hero-title i {
        font-size: 1.5rem;
        display: block;
        margin-bottom: 0.75rem;
        margin-right: 0 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0 !important;
        padding: 0 0.5rem;
    }
    
    .hero-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-badges .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
        border-radius: 20px;
        margin: 0 !important;
    }
}

@media (max-width: 400px) {
    .hero-section-wrapper {
        padding: 0 5px;
    }
    
    .hero-section {
        border-radius: 12px !important;
    }
    
    .hero-content {
        padding: 1.5rem 0.75rem 1.25rem !important;
        border-radius: 12px 12px 0 0;
    }
    
    .hero-form {
        padding: 1.5rem 0.75rem 2rem 0.75rem !important;
        border-radius: 0 0 12px 12px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-title i {
        font-size: 1.35rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.25rem;
    }
    
    .hero-badges .badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }
}

@media (max-width: 340px) {
    .hero-section-wrapper {
        padding: 0 3px;
    }
    
    .hero-content {
        padding: 1.25rem 0.5rem 1rem !important;
    }
    
    .hero-form {
        padding: 1.25rem 0.5rem 1.75rem 0.5rem !important;
    }
    
    .hero-title {
        font-size: 1.35rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-badges .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
    }
}

/* ============================================
   RESULTADO IMC - DESIGN MODERNO E RESPONSIVO
   ============================================ */

/* Reset para garantir compatibilidade */
.resultado *,
.resultado *::before,
.resultado *::after {
    box-sizing: border-box;
}

.resultado .row {
    margin-left: 0;
    margin-right: 0;
}

.resultado .col-lg-5,
.resultado .col-lg-7,
.resultado .col-md-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Animação de entrada */
.resultado {
    animation: resultadoFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-margin-top: 120px;
    margin-top: 3rem;
}

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

/* Container principal */
.resultado-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px !important;
    overflow: visible;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
}

.resultado-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #10b981);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    z-index: 10;
    border-radius: 28px 28px 0 0;
}

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

/* Header do resultado */
.resultado-header {
    padding: 3rem 2rem 2.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 28px 28px 0 0;
    margin-top: 5px;
}

.resultado-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.2); }
}

.resultado-icon-main {
    font-size: 2.5rem;
    color: white;
}

.resultado-titulo {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Corpo do resultado */
.resultado-body {
    padding: 3rem 2.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
}

/* Card do valor IMC */
.imc-valor-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.imc-valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.imc-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.imc-numero-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.imc-numero {
    font-size: 5rem !important;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -4px;
    color: white !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.imc-unidade {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Medidor visual */
.imc-medidor {
    margin-top: 2rem;
    width: 100%;
    overflow: visible;
}

.medidor-barra {
    height: 14px;
    background: linear-gradient(90deg, 
        #3b82f6 0%, 
        #3b82f6 12.5%,
        #10b981 12.5%, 
        #10b981 50%, 
        #f59e0b 50%,
        #f59e0b 75%, 
        #ef4444 75%,
        #ef4444 100%
    );
    border-radius: 20px;
    position: relative;
    overflow: visible;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.75rem;
}

.medidor-indicador {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 10px;
    height: 34px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 0, 0, 0.15);
    z-index: 10;
    transform: translateX(-50%);
}

.medidor-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Informações do resultado */
.resultado-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}

.classificacao-badge-container {
    text-align: center;
    margin-bottom: 2rem;
}

.classificacao-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: white;
}

.classificacao-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.classificacao-icon {
    font-size: 1.75rem;
    margin-right: 0.75rem;
}

.classificacao-texto {
    font-weight: 800;
}

/* Descrição */
.descricao-container {
    background: rgba(255, 255, 255, 0.08);
    border-left: 5px solid rgba(255, 255, 255, 0.4);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.descricao-texto {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    margin: 0;
}

/* Grid de estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.stat-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    opacity: 1;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Botões de ação */
.resultado-acoes {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-resultado {
    flex: 1;
    min-width: 180px;
    padding: 1.125rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-resultado i {
    font-size: 1.25rem;
}

.btn-recalcular {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-recalcular:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-compartilhar {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-compartilhar:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.2) 100%);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Footer do resultado */
.resultado-footer {
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 28px 28px;
}

.dica-importante {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    justify-content: flex-start;
}

.dica-importante i {
    font-size: 1.5rem;
    color: #fbbf24;
    flex-shrink: 0;
}

/* ============================================
   CORES DINÂMICAS POR CLASSIFICAÇÃO
   ============================================ */

/* Baixo Peso - Azul */
.resultado-card.baixo-peso::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.resultado-card.baixo-peso .resultado-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
}

.resultado-card.baixo-peso .resultado-icon-main {
    color: #60a5fa;
}

.resultado-card.baixo-peso .classificacao-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.resultado-card.baixo-peso .descricao-container {
    border-left-color: #3b82f6;
}

.resultado-card.baixo-peso .stat-icon {
    color: #60a5fa;
}

/* Normal - Verde */
.resultado-card.normal::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.resultado-card.normal .resultado-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.1));
    border-color: rgba(16, 185, 129, 0.3);
}

.resultado-card.normal .resultado-icon-main {
    color: #34d399;
}

.resultado-card.normal .classificacao-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.resultado-card.normal .descricao-container {
    border-left-color: #10b981;
}

.resultado-card.normal .stat-icon {
    color: #34d399;
}

/* Sobrepeso - Amarelo/Laranja */
.resultado-card.sobrepeso::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.resultado-card.sobrepeso .resultado-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.1));
    border-color: rgba(245, 158, 11, 0.3);
}

.resultado-card.sobrepeso .resultado-icon-main {
    color: #fbbf24;
}

.resultado-card.sobrepeso .classificacao-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.resultado-card.sobrepeso .descricao-container {
    border-left-color: #f59e0b;
}

.resultado-card.sobrepeso .stat-icon {
    color: #fbbf24;
}

/* Obesidade Grau I - Laranja Escuro */
.resultado-card.obesidade-1::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.resultado-card.obesidade-1 .resultado-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(249, 115, 22, 0.1));
    border-color: rgba(249, 115, 22, 0.3);
}

.resultado-card.obesidade-1 .resultado-icon-main {
    color: #fb923c;
}

.resultado-card.obesidade-1 .classificacao-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

.resultado-card.obesidade-1 .descricao-container {
    border-left-color: #f97316;
}

.resultado-card.obesidade-1 .stat-icon {
    color: #fb923c;
}

/* Obesidade Grau II - Vermelho/Laranja */
.resultado-card.obesidade-2::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.resultado-card.obesidade-2 .resultado-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1));
    border-color: rgba(239, 68, 68, 0.3);
}

.resultado-card.obesidade-2 .resultado-icon-main {
    color: #f87171;
}

.resultado-card.obesidade-2 .classificacao-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.resultado-card.obesidade-2 .descricao-container {
    border-left-color: #ef4444;
}

.resultado-card.obesidade-2 .stat-icon {
    color: #f87171;
}

/* Obesidade Grau III - Vermelho Escuro */
.resultado-card.obesidade-3::before {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.resultado-card.obesidade-3 .resultado-icon {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(220, 38, 38, 0.1));
    border-color: rgba(220, 38, 38, 0.3);
}

.resultado-card.obesidade-3 .resultado-icon-main {
    color: #ef4444;
}

.resultado-card.obesidade-3 .classificacao-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.resultado-card.obesidade-3 .descricao-container {
    border-left-color: #dc2626;
}

.resultado-card.obesidade-3 .stat-icon {
    color: #ef4444;
}

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

@media (max-width: 991px) {
    .resultado-body {
        padding: 2rem 1.5rem;
    }
    
    .imc-valor-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .resultado {
        margin-top: 2.5rem;
    }
    
    .resultado-card {
        border-radius: 24px !important;
    }
    
    .resultado-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .resultado-icon {
        width: 70px;
        height: 70px;
    }
    
    .resultado-icon-main {
        font-size: 2rem;
    }
    
    .resultado-titulo {
        font-size: 1.5rem;
    }
    
    .resultado-body {
        padding: 2rem 1.5rem;
    }
    
    .imc-valor-card {
        padding: 2rem 1.75rem;
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }
    
    .imc-numero {
        font-size: 4rem !important;
        letter-spacing: -3px;
    }
    
    .imc-unidade {
        font-size: 1.25rem;
    }
    
    .classificacao-badge {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
    
    .classificacao-icon {
        font-size: 1.5rem;
    }
    
    .descricao-texto {
        font-size: 1rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1.25rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .btn-resultado {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .resultado-footer {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .resultado {
        margin-top: 2rem;
    }
    
    .resultado-card {
        border-radius: 20px !important;
    }
    
    .resultado-header {
        padding: 1.75rem 1.25rem 1.25rem;
    }
    
    .resultado-icon {
        width: 60px;
        height: 60px;
    }
    
    .resultado-icon-main {
        font-size: 1.75rem;
    }
    
    .resultado-titulo {
        font-size: 1.35rem;
    }
    
    .resultado-body {
        padding: 1.5rem 1.25rem;
    }
    
    .imc-valor-card {
        padding: 1.75rem 1.5rem;
        border-radius: 18px;
        margin-bottom: 1.25rem;
    }
    
    .imc-label {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .imc-numero-container {
        margin-bottom: 1.5rem;
    }
    
    .imc-numero {
        font-size: 3.5rem !important;
        letter-spacing: -2px;
    }
    
    .imc-unidade {
        font-size: 1.1rem;
    }
    
    .imc-medidor {
        margin-top: 1.5rem;
    }
    
    .medidor-barra {
        height: 12px;
    }
    
    .medidor-indicador {
        width: 8px;
        height: 30px;
        top: -9px;
    }
    
    .medidor-labels {
        font-size: 0.7rem;
        margin-top: 0.6rem;
    }
    
    .classificacao-badge-container {
        margin-bottom: 1.5rem;
    }
    
    .classificacao-badge {
        font-size: 1.1rem;
        padding: 0.875rem 1.75rem;
    }
    
    .classificacao-icon {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
    
    .descricao-container {
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .descricao-texto {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        padding: 1.25rem 1rem;
    }
    
    .stat-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .resultado-acoes {
        flex-direction: column;
        gap: 0.875rem;
    }
    
    .btn-resultado {
        width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-resultado i {
        font-size: 1.1rem;
    }
    
    .resultado-footer {
        padding: 1.125rem 1.25rem;
    }
    
    .dica-importante {
        font-size: 0.85rem;
        flex-direction: column;
        text-align: center;
        gap: 0.625rem;
    }
    
    .dica-importante i {
        font-size: 1.5rem;
    }
}

/* ============================================
   FIM DO CSS DO RESULTADO IMC
   ============================================ */

/* Melhorias no Botão de Calcular */
#btnCalcular {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: visible;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

#btnCalcular:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

#btnCalcular i {
    display: inline-block;
    margin-right: 0.5rem;
}

.d-grid {
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    #btnCalcular {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        border-radius: 25px;
    }
}

@media (max-width: 576px) {
    #btnCalcular {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 20px;
    }
    
    #btnCalcular i {
        margin-right: 0.4rem;
    }
}

@media (max-width: 400px) {
    #btnCalcular {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 340px) {
    #btnCalcular {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }
    
    #btnCalcular i {
        display: none;
    }
}

/* Melhorias nos Inputs */
.form-control {
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    text-align: left;
}

/* Remover setas do input number */
.form-control::-webkit-outer-spin-button,
.form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-control[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15);
    color: white;
    outline: none;
}

.form-control:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.form-label {
    margin-bottom: 0.625rem;
    font-size: 0.95rem;
    display: block;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.form-label i {
    opacity: 0.9;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: left;
}

/* Alinhamento dos campos no formulário */
.col-md-6 {
    display: flex;
    flex-direction: column;
}

/* Remover input-group styles que não são mais necessários */
.input-group {
    display: block;
}

.input-group-text {
    display: none;
}

.btn-clear {
    display: none;
}

/* Responsividade dos inputs */
@media (max-width: 768px) {
    .form-control {
        border-radius: 10px;
        padding: 0.875rem 1.125rem;
        font-size: 0.975rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .form-control {
        border-radius: 10px;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .form-label i {
        font-size: 0.875rem;
    }
    
    .form-text {
        font-size: 0.775rem;
        margin-top: 0.375rem;
    }
}

@media (max-width: 400px) {
    .form-control {
        border-radius: 8px;
        padding: 0.8rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .form-label i {
        font-size: 0.825rem;
    }
    
    .form-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 340px) {
    .form-control {
        padding: 0.75rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.375rem;
    }
    
    .form-text {
        font-size: 0.7rem;
    }
}

/* Glass Card Melhorado */
.glass-card {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
}

/* Garantir que row e col não causem overflow */
.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Estilo premium para inputs com efeito de profundidade */
.form-control.form-control-lg {
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    min-height: 56px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
}

.form-control.form-control-lg:focus {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 
                0 0 0 0.25rem rgba(255, 255, 255, 0.15);
}

/* Alinhamento consistente em desktop */
@media (min-width: 768px) {
    .row.g-3 {
        display: flex;
        align-items: flex-start;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .form-control.form-control-lg {
        padding: 0.95rem 1.25rem;
        font-size: 1rem;
        min-height: 54px;
    }
}

@media (max-width: 576px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .form-control.form-control-lg {
        padding: 0.875rem 1.125rem;
        font-size: 0.975rem;
        min-height: 52px;
    }
    
    .col-md-6 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .col-md-6:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 400px) {
    .form-control.form-control-lg {
        padding: 0.8rem 1rem;
        font-size: 0.925rem;
        min-height: 50px;
    }
}

@media (max-width: 340px) {
    .row {
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }
    
    .row > * {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
    
    .form-control.form-control-lg {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
}

/* Responsividade dos inputs */
@media (max-width: 768px) {
    #btnCalcular {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        border-radius: 25px;
    }
    
    .form-control {
        border-radius: 10px;
        padding: 0.65rem 0.875rem;
    }
    
    .input-group-text {
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    #btnCalcular {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1.05rem;
        border-radius: 20px;
    }
    
    .form-control {
        border-radius: 8px;
        padding: 0.625rem 0.75rem;
        font-size: 0.95rem;
    }
    
    .input-group-text {
        border-radius: 8px;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
}

/* Tabela IMC */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--primary-gradient);
}

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

/* Botões de limpeza dos inputs */
.btn-clear {
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-clear:hover {
    background: var(--danger-gradient);
    border-color: #dc2626;
    color: white;
    transform: scale(1.05);
}

.btn-clear:active {
    transform: scale(0.95);
}

/* Botão de recalcular */
.btn-success {
    background: var(--success-gradient);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--success-gradient);
}

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

/* Input Groups com botões de limpeza */
.input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.input-group .form-control {
    border-right: none;
    border-radius: 12px 0 0 12px;
}

.input-group .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    border-color: #6366f1;
    z-index: 3;
}

.input-group .btn-clear {
    border-left: none;
    z-index: 2;
}

.card {
    border: none;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

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

/* Espaços para Anúncios melhorados */
.ad-banner {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.ad-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border: 2px dashed rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: 15px;
    font-weight: 600;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ad-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ad-placeholder:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.ad-header .ad-placeholder {
    width: 728px;
    height: 90px;
}

.ad-sidebar .ad-placeholder {
    width: 300px;
    height: 250px;
}

.ad-footer .ad-placeholder {
    width: 728px;
    height: 90px;
}

/* Form Controls melhorados */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.15);
    background: white;
    transform: translateY(-1px);
}

.form-control-lg {
    font-size: 1.125rem;
    padding: 1rem 1.5rem;
    border-radius: 15px;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Card Headers melhorados */
.card-header {
    border-radius: 20px 20px 0 0 !important;
    border: none;
    padding: 1.5rem;
}

.card-header.bg-success {
    background: var(--success-gradient) !important;
    color: white;
}

.card-header.bg-primary {
    background: var(--primary-gradient) !important;
    color: white;
}

/* Icons melhorados */
.bi {
    vertical-align: -0.125em;
}

/* ============================================
   TABELA DE CLASSIFICAÇÃO IMC
   ============================================ */@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

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

/* Aplicar animações */
.hero-section {
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

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

.resultado {
    animation: bounce 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badges .badge {
    animation: float 3s ease-in-out infinite;
}

.hero-badges .badge:nth-child(1) { animation-delay: 0s; }
.hero-badges .badge:nth-child(2) { animation-delay: 1s; }
.hero-badges .badge:nth-child(3) { animation-delay: 2s; }

.btn-primary:active {
    animation: bounce 0.4s ease;
}

/* Efeito de loading no botão */
.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Cores das classificações IMC - Paleta otimizada para contraste */
.badge.baixo-peso,
.classificacao-texto.baixo-peso { 
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.normal,
.classificacao-texto.normal { 
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.sobrepeso,
.classificacao-texto.sobrepeso { 
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.obesidade-1,
.classificacao-texto.obesidade-1 { 
    background: linear-gradient(135deg, #ea580c, #c2410c) !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.obesidade-2,
.classificacao-texto.obesidade-2 { 
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.obesidade-3,
.classificacao-texto.obesidade-3 { 
    background: linear-gradient(135deg, #b91c1c, #991b1b) !important;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cores para texto na tabela */
.table .text-success { color: #10b981 !important; }
.table .text-warning { color: #f59e0b !important; }
.table .text-danger { color: #ef4444 !important; }
.table .text-info { color: #06b6d4 !important; }

/* Tabela melhorada */
.table {
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.table tbody td {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    transform: translateX(8px);
    transition: all 0.3s ease;
    box-shadow: inset 4px 0 0 #6366f1;
}

.table tbody tr.destaque {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15)) !important;
    border-left: 5px solid #f59e0b;
    transform: scale(1.02) translateX(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
}

.table tbody tr.destaque td {
    font-weight: 600;
}

/* Footer melhorado */
footer {
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1 !important;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Efeitos especiais */
.card-header.bg-primary {
    background: var(--primary-gradient) !important;
}

/* Imagens responsivas */
.img-fluid {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
}

.img-fluid:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: var(--shadow-medium);
}

/* Efeitos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados de foco melhorados */
*:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Melhorar aparência de seleção de texto */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
}

/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5b5fd1, #7c3aed);
}

/* Toast personalizado para notificações */
.toast-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    background: var(--primary-gradient);
    color: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.5s ease;
}

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

/* Responsividade melhorada */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-badges .badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
        margin: 0.25rem;
    }
    
    .ad-header .ad-placeholder,
    .ad-footer .ad-placeholder {
        width: 320px;
        height: 50px;
        font-size: 12px;
    }
    
    .ad-sidebar {
        display: none;
    }
    
    .resultado .row {
        text-align: center;
    }
    
    .resultado .col-md-4,
    .resultado .col-md-8 {
        margin-bottom: 1.5rem;
    }
    
    .imc-valor .display-3 {
        font-size: 3rem;
    }
    
    .card {
        margin: 1rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-title .bi {
        font-size: 1.5rem;
        margin-right: 0.5rem;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badges {
        margin-top: 1rem;
    }
    
    .hero-badges .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        margin: 0.2rem;
        display: inline-block;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .form-control-lg {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .imc-valor .display-3 {
        font-size: 2.5rem;
    }
    
    .badge.classificacao-texto {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .descricao-texto {
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .toast-custom {
        right: 10px;
        left: 10px;
        width: auto;
        font-size: 0.875rem;
    }
}

/* Estados de validação personalizados - Removidos para input-groups */
.form-control:invalid {
    border-color: #e2e8f0;
    background-image: none;
}

.form-control:valid {
    border-color: #e2e8f0;
    background-image: none;
}

/* Validação apenas quando focado e com erro real */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 7.2 1.4-1.4m0 0 1.4-1.4M7.2 5.8 5.8 4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(2.5rem + 0.375em) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.8-.77-.79-.79-.16-.16.79-.79c.78.85 2.32 2.32 2.32 2.32l-.79.79-.16-.16-.8.77z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(2.5rem + 0.375em) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Spinner customizado */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Hover effects melhorados */
.table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* ========== ESTILOS SEO E PERFORMANCE ========== */

/* Breadcrumb SEO otimizado */
.breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "➤";
    color: var(--text-secondary);
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #6366f1;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Header gradiente otimizado */
.card-header.bg-gradient {
    background: var(--primary-gradient) !important;
}

/* FAQ Accordion melhorado */
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-gradient);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.accordion-body {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
}

/* Call to Action otimizado */
.card.bg-primary {
    background: var(--primary-gradient) !important;
    border: none;
    box-shadow: var(--shadow-heavy);
}

.card.bg-primary .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Social Links otimizados */
.social-links a {
    display: inline-block;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
}

/* Trust signals */
.badge.fs-6 {
    font-size: 0.875rem !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* ========== MELHORIAS DE CONTRASTE E LEGIBILIDADE ========== */

/* Textos com melhor contraste */
.text-white-75 {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lead {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

/* Cards com fundo mais sólido para legibilidade */
.glass-card .card-body {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 0 20px 20px;
}

/* Botões com melhor contraste */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: white !important;
}

/* Labels com melhor visibilidade */
.form-label {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.75rem;
}

/* Placeholders mais visíveis */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400;
}

/* Headers de cards */
.card-header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(124, 58, 237, 0.9) 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
}

.card-header.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Tabela com melhor contraste */
.table {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.95);
}

.table thead th {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%) !important;
    color: var(--text-primary) !important;
    font-weight: 700;
    border-bottom: 2px solid rgba(79, 70, 229, 0.2);
}

.table tbody tr:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%) !important;
    transform: translateX(5px);
    box-shadow: inset 4px 0 0 var(--primary-color);
}

/* Performance otimizations */
.card, .btn, .badge {
    will-change: transform;
}

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

.card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Schema-friendly estrutura */
.hero-title {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Mobile SEO melhorias */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .badge.fs-6 {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }
}

/* ========== CORREÇÕES DE Z-INDEX E SOBREPOSIÇÃO ========== */

/* Hierarquia de Z-Index */
.navbar {
    z-index: 1050;
}

.modal {
    z-index: 1055;
}

.breadcrumb-container {
    z-index: 10;
    position: relative;
}

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

.glass-card {
    z-index: 2;
    position: relative;
}

.ad-banner {
    z-index: 1;
    position: relative;
}

/* Evitar sobreposição de elementos flutuantes */
.floating-card {
    z-index: 3;
    position: relative;
}

/* Corrigir elementos que podem ficar atrás */
.resultado {
    z-index: 4;
    position: relative;
}

/* Espaçamento adequado para navbar fixa */
.breadcrumb-container {
    padding-top: 100px;
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding-top: 80px;
    }
}

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

/* Hero Section Responsivo */
.hero-title {
    word-break: break-word;
    hyphens: auto;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-title i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-badges .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
        white-space: nowrap;
    }
}

/* Formulário Responsivo */
.form-control {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.btn-clear {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.btn-clear:hover {
    background: var(--danger-color) !important;
    border-color: var(--danger-color) !important;
    color: white !important;
}

/* Tabela Responsiva */
@media (max-width: 768px) {
    .imc-table {
        font-size: 0.875rem;
    }
    
    .imc-table td,
    .imc-table th {
        padding: 0.5rem 0.25rem;
        text-align: center;
    }
    
    .imc-table td i {
        display: none;
    }
    
    .sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .imc-table {
        font-size: 0.8rem;
    }
    
    .imc-table th:first-child,
    .imc-table td:first-child {
        width: 30%;
    }
    
    .card-header h5 {
        font-size: 1rem;
    }
}

/* ========== PADRONIZAÇÃO DE ESPAÇAMENTOS ========== */

/* Container principal */
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Seções principais */
main.container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Cards */
.glass-card {
    margin-bottom: 2rem;
}

.glass-card .card-body {
    padding: 2rem;
}

/* Sidebar */
.sidebar {
    padding-left: 1rem;
}

/* Responsividade dos espaçamentos */
@media (min-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    main.container {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    
    .glass-card {
        margin-bottom: 2.5rem;
    }
    
    .glass-card .card-body {
        padding: 2.5rem;
    }
    
    .sidebar {
        padding-left: 2rem;
    }
}

@media (min-width: 992px) {
    main.container {
        margin-top: 2rem;
        margin-bottom: 4rem;
    }
    
    .glass-card {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    main.container {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .glass-card .card-body {
        padding: 1.5rem;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
}

/* Espaçamentos internos dos elementos */
.hero-section {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

/* Forms */
.form-label {
    margin-bottom: 0.75rem;
}

.input-group {
    margin-bottom: 1rem;
}

.btn {
    margin-bottom: 0.5rem;
}

/* FAQ e outras seções */
section.row {
    margin-bottom: 3rem;
}

section.row:last-child {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    
    section.row {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    section.row {
        margin-bottom: 1.5rem;
    }
}

/* ========== MELHORIAS DE ACESSIBILIDADE ========== */

/* Foco visível para navegação por teclado */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid #4f46e5 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25) !important;
}

/* Melhoria na seleção de texto */
::selection {
    background: rgba(79, 70, 229, 0.3);
    color: white;
}

/* Contraste melhorado para links */
a {
    color: #60a5fa !important;
    text-decoration: none;
}

a:hover {
    color: #3b82f6 !important;
    text-decoration: underline;
}

/* ========== OTIMIZAÇÕES DE PERFORMANCE ========== */

/* Evitar reflow desnecessário */
.glass-card,
.btn,
.form-control {
    contain: layout style paint;
}

/* Otimização de animações */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== CORREÇÕES FINAIS ========== */

/* Overflow horizontal em mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Prevent zoom on input focus em iOS */
@media screen and (max-width: 768px) {
    .form-control {
        font-size: 16px;
    }
}

/* Melhorar performance do backdrop-filter */
.glass-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ========== CORREÇÕES ADICIONAIS DE VISIBILIDADE ========== */

/* Garantir que todos os cards tenham glassmorphism */
.card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Textos em cards */
.card-text,
.card-body p,
.card-body li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card-title,
.card-body h3,
.card-body h4,
.card-body h5,
.card-body h6 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Alertas com melhor visibilidade */
.alert {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-info {
    background: rgba(6, 182, 212, 0.9) !important;
    color: white !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.9) !important;
    color: white !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.9) !important;
    color: white !important;
}

/* Accordion melhorado */
.accordion-item {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    font-weight: 600;
    border: none !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: white !important;
    box-shadow: none !important;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

.accordion-body p,
.accordion-body li,
.accordion-body strong {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Imagens responsivas */
img.img-fluid {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Espaçamento entre seções melhorado */
@media (max-width: 768px) {
    section.row {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    .col-md-8,
    .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

/* Ajustes para telas pequenas */
@media (max-width: 576px) {
    .hero-section {
        padding: 1rem 0.5rem;
    }
    
    .breadcrumb-container {
        padding-top: 70px;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .glass-card {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Garantir que o footer fique bem posicionado */
.footer {
    margin-top: 4rem !important;
}

/* Fix para modais */
.modal-content {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-body {
    color: #1e293b !important;
}

.modal-body h6,
.modal-body p,
.modal-body li {
    color: #1e293b !important;
}

/* Cards dentro de modais */
.modal-body .card {
    background: rgba(248, 250, 252, 0.9) !important;
    color: #1e293b !important;
}

.modal-body .text-primary {
    color: #4f46e5 !important;
}

.modal-body .text-muted {
    color: #64748b !important;
}

/* ========== MELHORIAS ESPECÍFICAS PARA TABELA IMC ========== */

/* Tabela com contraste perfeito */
.table-responsive {
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.imc-table {
    margin-bottom: 0 !important;
    color: #1e293b !important;
    background: rgba(255, 255, 255, 0.98) !important;
}

.imc-table thead {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%) !important;
}

.imc-table thead th {
    color: #1e293b !important;
    font-weight: 700;
    border-bottom: 2px solid rgba(79, 70, 229, 0.3) !important;
    padding: 1rem !important;
    text-align: center;
}

.imc-table tbody td {
    color: #1e293b !important;
    padding: 0.875rem !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
    vertical-align: middle;
}

.imc-table tbody tr {
    background: white !important;
    transition: all 0.3s ease;
}

.imc-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%) !important;
    transform: translateX(5px);
    box-shadow: inset 4px 0 0 var(--primary-color);
}

/* Responsividade da tabela */
@media (max-width: 768px) {
    .imc-table {
        font-size: 0.875rem;
    }
    
    .imc-table thead th,
    .imc-table tbody td {
        padding: 0.75rem 0.5rem !important;
    }
    
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 576px) {
    .imc-table {
        font-size: 0.8125rem;
    }
    
    .imc-table thead th,
    .imc-table tbody td {
        padding: 0.625rem 0.4rem !important;
        font-size: 0.8125rem;
    }
    
    .imc-table td i {
        font-size: 0.875rem;
        margin-right: 0.25rem !important;
    }
}

/* ========== AJUSTES FINAIS DE ESPAÇAMENTO ========== */

/* Garantir espaçamento consistente */
.row + .row {
    margin-top: 2rem;
}

.mb-4, .my-4 {
    margin-bottom: 2rem !important;
}

.mt-5, .my-5 {
    margin-top: 3rem !important;
}

.mb-5, .my-5 {
    margin-bottom: 3rem !important;
}

@media (max-width: 768px) {
    .mt-5, .my-5 {
        margin-top: 2rem !important;
    }
    
    .mb-5, .my-5 {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .mt-5, .my-5 {
        margin-top: 1.5rem !important;
    }
    
    .mb-5, .my-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-4, .my-4 {
        margin-top: 1.25rem !important;
    }
    
    .mb-4, .my-4 {
        margin-bottom: 1.25rem !important;
    }
}

/* ========== ESTILOS DOS MODAIS ========== */

/* Modal headers com gradientes */
.modal-header.bg-gradient {
    background: var(--primary-gradient) !important;
}

.modal-header.bg-primary {
    background: var(--primary-gradient) !important;
}

.modal-header.bg-success {
    background: var(--success-gradient) !important;
}

.modal-header.bg-info {
    background: var(--info-gradient) !important;
}

/* Modal content com glassmorphism */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.modal-header {
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer {
    border-radius: 0 0 20px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(248, 250, 252, 0.95);
}

/* Modal body styling */
.modal-body {
    padding: 2rem;
}

.modal-body h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

/* Cards dentro dos modais */
.modal-body .card {
    transition: all 0.3s ease;
}

.modal-body .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Alertas nos modais */
.modal-body .alert {
    border: none;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Badges nos modais */
.modal-body .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    margin: 0.2rem;
}

/* Links sociais nos modais */
.modal-body .btn-outline-primary,
.modal-body .btn-outline-info,
.modal-body .btn-outline-danger {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-body .btn-outline-primary:hover,
.modal-body .btn-outline-info:hover,
.modal-body .btn-outline-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Estatísticas coloridas */
.modal-body .bg-primary,
.modal-body .bg-success,
.modal-body .bg-info,
.modal-body .bg-warning {
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-body .bg-primary:hover,
.modal-body .bg-success:hover,
.modal-body .bg-info:hover,
.modal-body .bg-warning:hover {
    transform: scale(1.05);
}

/* Responsividade dos modais */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h6 {
        font-size: 1rem;
    }
    
    .modal-body .card-body {
        padding: 1rem;
    }
    
    .modal-body .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}