/* =========================================================
   TIPOGRAFÍAS AUTOALOJADAS — Atelier de Beauté
   =========================================================

   Cormorant Garamond y Jost servidas desde /fonts del propio
   dominio, NO desde fonts.googleapis.com / fonts.gstatic.com.

   Por qué:
   · RGPD — cargar las fuentes desde Google transmite la IP del
     visitante a un tercero antes de cualquier consentimiento.
     Autoalojarlas elimina el problema de raíz (ver
     [[PENDIENTE: DECISIÓN SOBRE GOOGLE FONTS]] en cookies.html:
     esta implementación corresponde a la opción (b)).
   · Rendimiento — se eliminan 2 peticiones a terceros y la
     cadena DNS+TLS+CSS que bloqueaba el render, lo que mejora
     el LCP del <h1>.

   Origen de los ficheros: Google Fonts (SIL Open Font License
   1.1), subsets `latin` y `latin-ext`. El latin-ext es
   necesario para caracteres que el sitio usa de verdad
   (p. ej. la «é» de Beauté está en latin, pero el latin-ext
   cubre el resto del repertorio europeo por si se amplía el
   texto). NO se descargan cyrillic ni vietnamese: no se usan.

   Ambas familias son fuentes variables, de modo que un único
   fichero por subset cubre todo el rango de pesos declarado.
   Por eso los `font-weight` van en formato rango:
   · Cormorant Garamond normal  → 400 500 600
   · Cormorant Garamond itálica → 400
   · Jost                       → 300 400 500

   `font-display:swap` mantiene el texto visible durante la
   carga (evita FOIT y no penaliza el LCP).
   ========================================================= */


/* ---------- Cormorant Garamond · normal · 400–600 ---------- */

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------- Cormorant Garamond · itálica · 400 ---------- */

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------- Jost · normal · 300–500 ---------- */

/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
