/**
 * Mi CIMA — portal del paciente (SPA aislada)
 * Archivo  : app/style/fonts.css
 * Función  : Fuentes AUTO-ALOJADAS (TTF en repo, sin dependencias externas).
 *            Portado íntegro desde cima/app/style/fonts.css (mismas @font-face,
 *            para quedar sync-able con el sistema si Mi CIMA suma un selector
 *            de fuente en el futuro).
 * 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.
 *
 * DECISIÓN DE PORTADO (2026-08-16): este portal NO tiene selector de fuente de
 * documentos (no hay procesador de documentos aquí), así que SOLO se copiaron a
 * app/style/fonts/ los .ttf de 'Roboto' y 'Roboto Condensed' (los defaults reales
 * usados por la UI). Las demás @font-face (Arimo, Archivo Narrow, PT Serif,
 * Cousine, Montserrat, Playfair Display, Oswald, Great Vibes, Caveat, Happy
 * Monkey) se dejan declaradas tal cual para que este archivo siga siendo
 * comparable byte-a-byte con el original — sus .ttf NO están en este repo, así
 * que esas fuentes simplemente no cargan (404 silencioso) y el navegador cae al
 * siguiente en la pila. Si Mi CIMA necesita alguna, copia su .ttf desde
 * cima/app/style/fonts/ y ya funciona sin tocar este CSS.
 */

/* ── 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;
}
