/* ============================================
   CARTÃO BLACK SAÚDE - PADRÕES GLOBAIS
   Unificação de Design em Todo o Aplicativo
   ============================================ */

/* ========== BACKGROUND PADRÃO ========== */
body {
    background: linear-gradient(135deg, #0d3d2f 0%, #1a5c47 50%, #0d3d2f 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    color: #ffffff;
}

/* Forçar fundo em todas as páginas */
html {
    background: #0d3d2f !important;
}

.page-container,
.main-content,
.content-wrapper,
.specialties-page,
.contact-page,
.form-page,
.documents-page {
    background: transparent !important;
}

/* Páginas com fundo alternativo */
.page-container,
.main-content,
.content-wrapper {
    background: transparent;
}

/* ========== BOTÕES PADRONIZADOS ========== */
.btn {
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f0d875 100%);
    color: #000000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #00b347 0%, #009639 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 179, 71, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 179, 71, 0.6);
}

/* Botões Pequenos */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Botões Grandes */
.btn-lg,
.btn-large {
    padding: 0.875rem 1.75rem !important;
    font-size: 1rem !important;
}

/* Botão de Navegação */
.btn-nav {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem !important;
}

/* ========== CARDS PADRONIZADOS ========== */
.card {
    background: rgba(15, 74, 56, 0.95) !important;
    padding: 1.25rem !important;
    border-radius: 15px !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.card:hover {
    transform: translateY(-5px) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
}

.card-title {
    color: #d4af37 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
}

.card-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

.card-icon {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
    color: #d4af37 !important;
}

/* Cards Especiais */
.specialty-card,
.benefit-card,
.quick-card,
.feature-card {
    background: rgba(15, 74, 56, 0.95) !important;
    padding: 1.25rem !important;
    border-radius: 15px !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
}

.specialty-card:hover,
.benefit-card:hover,
.quick-card:hover,
.feature-card:hover {
    transform: translateY(-5px) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
}

/* Plan Cards */
.plan-card {
    background: rgba(15, 74, 56, 0.95) !important;
    padding: 1.5rem !important;
    border-radius: 18px !important;
    border: 2px solid rgba(212, 175, 55, 0.4) !important;
}

.plan-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: #d4af37 !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5) !important;
}

/* ========== RODAPÉ PADRONIZADO ========== */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #d4af37;
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4af37;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #d4af37;
    padding-left: 5px;
    transition: all 0.3s ease;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* ========== SEÇÕES PADRONIZADAS ========== */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    color: #d4af37;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CONTAINERS PADRONIZADOS ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

/* ========== FORMS PADRONIZADOS ========== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* ========== GRIDS PADRONIZADOS ========== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

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

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

/* ========== ALERTS E NOTIFICAÇÕES ========== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(0, 179, 71, 0.1);
    border-color: #00b347;
    color: #00ff7f;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #ffd54f;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
    color: #ff6b6b;
}

.alert-info {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    color: #f0d875;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
    .section {
        padding: 2rem 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========== UTILITÁRIOS ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
