/* polices.css */
/* POLICES HEBERGEES SUR LE SERVEUR
   Remplace les @import vers fonts.cdnfonts.com qui figuraient en tete de
   style_commun.css et de page_agence.css : un @import distant ajoute une
   resolution DNS et deux allers-retours avant le moindre rendu, et fait
   dependre l'affichage du site d'un tiers.
   Les declarations reprennent exactement celles servies par le CDN (meme
   familles, memes graisses, memes fichiers .woff), avec local() en premier
   pour eviter le telechargement quand la police est deja installee.
   font-display: swap : le texte s'affiche tout de suite dans la police de
   secours plutot que de rester invisible le temps du chargement. */

/* PALATINO LT */
@font-face {
	font-family: 'Palatino LT';
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: local('Palatino LT'), url('../fonts/Palatino-LT-Italic.woff') format('woff');
}

/* CORMORANT */
@font-face {
	font-family: 'Cormorant';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local('Cormorant'), url('../fonts/Cormorant-Regular.woff') format('woff');
}
@font-face {
	font-family: 'Cormorant';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: local('Cormorant'), url('../fonts/Cormorant-RegularItalic.woff') format('woff');
}
@font-face {
	font-family: 'Cormorant';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: local('Cormorant'), url('../fonts/Cormorant-Medium.woff') format('woff');
}
@font-face {
	font-family: 'Cormorant';
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: local('Cormorant'), url('../fonts/Cormorant-MediumItalic.woff') format('woff');
}
@font-face {
	font-family: 'Cormorant';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local('Cormorant'), url('../fonts/Cormorant-Bold.woff') format('woff');
}
@font-face {
	font-family: 'Cormorant';
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: local('Cormorant'), url('../fonts/Cormorant-BoldItalic.woff') format('woff');
}

/* MERRIWEATHER */
@font-face {
	font-family: 'Merriweather';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local('Merriweather'), url('../fonts/Merriweather-Regular.woff') format('woff');
}
@font-face {
	font-family: 'Merriweather';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: local('Merriweather'), url('../fonts/Merriweather-Italic.woff') format('woff');
}
@font-face {
	font-family: 'Merriweather';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: local('Merriweather'), url('../fonts/Merriweather-Light.woff') format('woff');
}
@font-face {
	font-family: 'Merriweather';
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: local('Merriweather'), url('../fonts/Merriweather-LightItalic.woff') format('woff');
}
@font-face {
	font-family: 'Merriweather';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local('Merriweather'), url('../fonts/Merriweather-Bold.woff') format('woff');
}
@font-face {
	font-family: 'Merriweather';
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: local('Merriweather'), url('../fonts/Merriweather-BoldItalic.woff') format('woff');
}

/* OPEN SANS */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local('Open Sans'), url('../fonts/OpenSans-Regular.woff') format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: local('Open Sans'), url('../fonts/OpenSans-Italic.woff') format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: local('Open Sans'), url('../fonts/OpenSans-SemiBold.woff') format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local('Open Sans'), url('../fonts/OpenSans-Bold.woff') format('woff');
}

/* ------------------------------------------------------------------
   POLICES DE SECOURS METRIQUEMENT COMPATIBLES
   font-display: swap affiche d'abord une police systeme puis bascule :
   si ses proportions different, le texte se reflow et tout ce qui suit
   se decale. Ces familles pointent sur une police locale a laquelle on
   impose les metriques de la police web (largeur moyenne des bas de
   casse via size-adjust, hauteurs via les *-override), de sorte que le
   bloc de texte occupe deja la bonne place avant la bascule.
   Valeurs calculees sur les fichiers .woff de ce dossier ; a recalculer
   si une police est remplacee. Elles s'emploient juste apres la police
   web : font-family: Merriweather, 'Merriweather secours', serif;
   ------------------------------------------------------------------ */
@font-face {
	font-family: 'Merriweather secours';
	src: local('Georgia');
	size-adjust: 113.50%;
	ascent-override: 86.70%;
	descent-override: 24.05%;
	line-gap-override: 0.00%;
}
@font-face {
	font-family: 'Cormorant secours';
	src: local('Times New Roman');
	size-adjust: 95.79%;
	ascent-override: 96.46%;
	descent-override: 29.96%;
	line-gap-override: 0.00%;
}
@font-face {
	font-family: 'Open Sans secours';
	src: local('Arial');
	size-adjust: 106.87%;
	ascent-override: 100.01%;
	descent-override: 27.41%;
	line-gap-override: 0.00%;
}
