/**
 * CIMA — Coordinador Inteligente de Monitoreo Avanzado
 * Archivo  : app/style/fonts.css
 * Función  : Fuentes AUTO-ALOJADAS (TTF en repo, sin dependencias externas).
 *            Las usa el selector de "Fuente" del procesador de documentos
 *            (Consulta > Docs, Archivos, Plantillas) y la UI del sistema.
 *            Todas con licencia OFL / Apache 2.0 → self-host + uso comercial + embebido OK.
 * Default  : 'Roboto Condensed' (UI) y 'Roboto' (cuerpo) — fallback final de todo.
 * Autores  : CIMA Development Group
 * Copyright: © 2024–2026 CIMA Development Group. Todos los derechos reservados.
 *
 * NOTA: 'Arimo' es métrica-idéntica a Arial/Helvetica; 'Archivo Narrow' a Arial Narrow;
 *       'PT Serif' a Times; 'Cousine' a Courier New — clones OFL legales para SaaS.
 */

/* ── Roboto — fuente del SISTEMA y default de documentos (variable 100–900) ── */
@font-face {
    font-family: 'Roboto';
    src: url('/app/style/fonts/Roboto.ttf') format('truetype');
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('/app/style/fonts/Roboto-Italic.ttf') format('truetype');
    font-weight: 100 900; font-style: italic; font-display: swap;
}

/* ── Roboto Condensed — fuente de la UI (reemplaza el import de googleapis) ── */
@font-face {
    font-family: 'Roboto Condensed';
    src: url('/app/style/fonts/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Roboto Condensed';
    src: url('/app/style/fonts/RobotoCondensed-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Roboto Condensed';
    src: url('/app/style/fonts/RobotoCondensed-Italic.ttf') format('truetype');
    font-weight: 400; font-style: italic; font-display: swap;
}

/* ── Arimo — métrica Arial / Helvetica (variable 100–900) ── */
@font-face {
    font-family: 'Arimo';
    src: url('/app/style/fonts/Arimo.ttf') format('truetype');
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Arimo';
    src: url('/app/style/fonts/Arimo-Italic.ttf') format('truetype');
    font-weight: 100 900; font-style: italic; font-display: swap;
}

/* ── Archivo Narrow — métrica Arial Narrow (variable 400–700) ── */
@font-face {
    font-family: 'Archivo Narrow';
    src: url('/app/style/fonts/ArchivoNarrow.ttf') format('truetype');
    font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ── PT Serif — métrica Times / serif clásico ── */
@font-face {
    font-family: 'PT Serif';
    src: url('/app/style/fonts/PTSerif-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'PT Serif';
    src: url('/app/style/fonts/PTSerif-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Cousine — métrica Courier New / monoespaciada ── */
@font-face {
    font-family: 'Cousine';
    src: url('/app/style/fonts/Cousine-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Cousine';
    src: url('/app/style/fonts/Cousine-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Montserrat — sans geométrica (variable 100–900) ── */
@font-face {
    font-family: 'Montserrat';
    src: url('/app/style/fonts/Montserrat.ttf') format('truetype');
    font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ── Playfair Display — serif elegante (membretes / títulos) ── */
@font-face {
    font-family: 'Playfair Display';
    src: url('/app/style/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/app/style/fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/app/style/fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400; font-style: italic; font-display: swap;
}

/* ── Oswald — sans condensada display (títulos) ── */
@font-face {
    font-family: 'Oswald';
    src: url('/app/style/fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Oswald';
    src: url('/app/style/fonts/Oswald-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Great Vibes — script formal (firmas / encabezados) ── */
@font-face {
    font-family: 'Great Vibes';
    src: url('/app/style/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}

/* ── Caveat — manuscrita (uso de sistema / notas) ── */
@font-face {
    font-family: 'Caveat';
    src: url('/app/style/fonts/Caveat.ttf') format('truetype');
    font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ── Happy Monkey — casual redondeada (uso de sistema, no clínico) ── */
@font-face {
    font-family: 'Happy Monkey';
    src: url('/app/style/fonts/HappyMonkey-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
