/* ============= CUSTOM HEADING FONTS ============= */
/* Nome app usa Momo Trust Display, resto usa Inter */

/* Font family per titoli - USA INTER (moderno e leggibile) */
h1,
h2,
h3,
h4,
h5,
h6,
.step-header h2,
.login-header h2,
.modal-header h3,
.section-title,
.detail-header h3,
.chart-card h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* SOLO IL NOME DELL'APP usa Momo Trust Display */
.logo-text {
    font-family: 'Momo Trust Display', 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Ottimizzazione per titoli grandi */
h1 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Titoli medi */
h2,
.step-header h2,
.login-header h2 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* Titoli piccoli */
h3,
h4,
.modal-header h3,
.detail-header h3,
.chart-card h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Titoli molto piccoli */
h5,
h6 {
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Step titles nella progress bar */
.step-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Radio card titles */
.radio-card-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600;
}

/* Toggle labels */
.toggle-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 500;
}

/* Summary card labels */
.summary-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Form labels */
.form-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Alert titles */
.alert-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600;
}

/* Miglioramento rendering font */
h1,
h2,
h3,
h4,
h5,
h6,
.logo-text,
.step-header h2,
.login-header h2 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}