/* Styles communs du site public : reset/base, liens, typographie, composants partages
   (banniere, menu, pied de page, fiche fournisseur, formulaires). */

:root {
	/* Couleurs */
	--couleur-texte: #000000;
	--couleur-lien: #CC0000;
	--couleur-menu: #5890A9;
	--couleur-survol: #FFC000;
	--couleur-fond: #DFD6C5;
	--couleur-gris: #AAAAAA;
	--couleur-bordure-champ: #CCCCCC;
	--couleur-fond-champ: #ECECEC;
	--couleur-bordure-menu: #7b0c26;
	--couleur-bordure-image: #ededed;
	--blanc: #FFFFFF;

	/* Polices et tailles */
	--police: Arial, Helvetica, sans-serif;
	--taille-base: 12px;
	--taille-petit: 11px;
	--taille-titre: 15px;
	--taille-champ-large: 16px;
	--taille-pied: 1px;

	/* Espacements */
	--espace-xs: 5px;
	--espace-m: 10px;

	/* Largeurs et hauteurs */
	--hauteur-pied: 17px;
	--largeur-photo-max: 133px;
	--largeur-carrousel: 425px;
	--hauteur-carrousel: 275px;

	/* ==========================================================
	   Design system CHR.fr (design.md) : tokens pour le nouveau design.
	   Les variables ci-dessus restent celles du design historique,
	   encore utilisees par les regles de ce fichier.
	   ========================================================== */

	/* Primary */
	--chr-primary: #13406E;
	--chr-primary-dark: #0B2545;

	/* Secondary (conversion uniquement ; texte Encre dessus, jamais du blanc) */
	--chr-secondary: #F5B335;
	--chr-secondary-dark: #D9921A;
	--chr-secondary-light: #FCD56B;

	/* Textes */
	--chr-encre: #141C2B;
	--chr-ardoise: #4A5568;
	--chr-etain: #6B7689;

	/* Surfaces et bordures */
	--chr-blanc: #FFFFFF;
	--chr-givre: #EEF3F9;
	--chr-brume: #E6ECF3;
	--chr-nappe: #DCE3EC;

	/* Typographie */
	--font-sans: "Inter", system-ui, sans-serif;
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-extrabold: 800;

	--fs-display: 40px;
	--fs-h1: 32px;
	--fs-stat: 28px;
	--fs-h2: 24px;
	--fs-h3: 18px;
	--fs-body: 16px;
	--fs-body-s: 14px;
	--fs-caption: 13px;
	--fs-caption-s: 12px;

	--lh-display: 1.15;
	--lh-h1: 1.2;
	--lh-h2: 1.25;
	--lh-h3: 1.3;
	--lh-body: 1.5;
	--lh-body-s: 1.45;
	--lh-caption: 1.4;
	--lh-stat: 1.1;

	/* Espacements (base 4 px) */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;

	/* Rayons */
	--radius-sm: 6px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-pill: 999px;

	/* Ombres */
	--shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
	--shadow-md: 0 4px 12px rgba(11, 37, 69, 0.10);

	/* Mise en page (breakpoints : sm 640 / md 768 / lg 1024 / xl 1280, a ecrire en dur dans les @media) */
	--container-max: 1280px;
	--gutter: 24px;
	--gutter-mobile: 16px;
	--grid-gap: 24px;

	/* Composants */
	--header-height: 72px;
	--search-height: 56px;
	--tap-target: 44px;
	--focus-ring: 2px solid var(--chr-secondary);
	--focus-offset: 2px;
	--hero-overlay: linear-gradient(90deg, rgba(11, 37, 69, 0.85), rgba(11, 37, 69, 0));
	--overlay: rgba(11, 37, 69, 0.5);
}

* {
	font-family: var(--police);
	font-size: var(--taille-base);
	color: var(--couleur-texte);
}

/* Mots recherchés surlignés (components/carte_prestataire.php, components/rubriques_correspondantes.php) */
mark {
	padding: 0 2px;
	border-radius: 3px;
	background: var(--chr-secondary-light);
	font: inherit;
	color: var(--chr-encre);
}

body {
	margin: 0;
	margin-left: var(--espace-m);
	margin-right: var(--espace-m);
	background-color: var(--couleur-fond);
}

/* Liens */
a {
	color: var(--couleur-lien);
	text-decoration: none;
}

a:hover {
	color: var(--couleur-lien);
	text-decoration: underline;
}

a.menu {
	font-size: var(--taille-petit);
	color: var(--couleur-menu);
	text-decoration: none;
}

a:hover.menu {
	font-size: var(--taille-petit);
	color: var(--couleur-survol);
	text-decoration: none;
}

a.annonce {
	color: var(--couleur-lien);
	text-decoration: none;
}

a:hover.annonce {
	color: var(--couleur-lien);
	text-decoration: underline;
}

/* Typographie */
.texte_titre {
	font-size: var(--taille-titre);
}

.texte_petit {
	font-size: var(--taille-petit);
}

.texte_petit_gris {
	font-size: var(--taille-petit);
	color: var(--couleur-gris);
}

.titre_annonce {
	font-size: var(--taille-titre);
	color: var(--couleur-lien);
}

/* Menu */
.texte_menu {
	color: var(--blanc);
}

.texte_menu_selected {
	font-size: var(--taille-petit);
	font-weight: bold;
	color: var(--couleur-lien);
}

.decale {
	padding-left: var(--espace-m);
}

.bordure1 {
	border: 1px solid var(--couleur-bordure-menu);
}

.bordure2 {
	border: 1px solid var(--couleur-bordure-image);
}

/* Fond de page et pied de page */
.fond_site {
	background: var(--couleur-fond) url(/images/fond_site.gif);
	background-repeat: repeat-y;
	background-position: center;
}

.footer_site {
	background: var(--couleur-fond) url(/images/footer_site.gif);
	background-repeat: no-repeat;
	background-position: center;
	font-size: var(--taille-pied);
	height: var(--hauteur-pied);
}

/* Fiche fournisseur */
.bloc_annonce {
	background: var(--blanc) url(/images/fond_annonce2.gif);
	background-repeat: no-repeat;
}

.fiche_visuels {
	text-align: right;
	float: right;
	margin-left: var(--espace-xs);
}

.fiche_photo {
	max-width: var(--largeur-photo-max);
}

/* Formulaires */
.input {
	font-size: var(--taille-base);
	color: var(--couleur-texte);
	border: 1px solid var(--couleur-bordure-champ);
	background-color: var(--couleur-fond-champ);
}

.input_big {
	font-size: var(--taille-champ-large);
	color: var(--couleur-texte);
}

/* galerie photos */
.highslide {
	cursor: url(/lib/highslide/graphics/zoomin.cur), pointer;
	outline: none;
}
.highslide img {
	border: 3px solid var(--blanc);
}
.highslide:hover img {
	border: 3px solid var(--blanc);
}

.highslide-image {
	border: 0;
}
.highslide-caption {
    display: none;
    border: 5px solid white;
    border-top: none;
    padding: 5px;
    background-color: white;
}

.highslide-outline { 
	background-color: white; 
}

.highslide-loading {
    display: block;
	color: white;
	font-size: 9px;
	font-weight: bold;
	text-transform: uppercase;
    text-decoration: none;
	padding: 3px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
    background-color: black;
    padding-left: 22px;
    background-image: url(/lib/highslide/graphics/loader.gif);
    background-repeat: no-repeat;
    background-position: 3px 1px;
}
a.highslide-credits,
a.highslide-credits i {
    padding: 2px;
    color: silver;
    text-decoration: none;
	font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
    color: white;
    background-color: gray;
}

.highslide-move {
    cursor: move;
}
.highslide-overlay {
	display: none;
}

.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}

.highslide-controls {
	width: 195px;
	height: 40px;
	background: url(/lib/highslide/graphics/controlbar-black-border.gif) 0 -90px no-repeat;
	margin-right: 15px;
	margin-bottom: 10px;
	margin-top: 20px;
}
.highslide-controls ul {
	position: relative;
	left: 15px;
	height: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
	background: url(/lib/highslide/graphics/controlbar-black-border.gif) right -90px no-repeat;
}
.highslide-controls li {
	float: left;
	padding: 5px 0;
}
.highslide-controls a {
	background: url(/lib/highslide/graphics/controlbar-black-border.gif);
	display: block;
	float: left;
	height: 30px;
	width: 30px;
	outline: none;
}
.highslide-controls a.disabled {
	cursor: default;
}
.highslide-controls a span {
	/* hide the text for these graphic buttons */
	display: none;
}

/* The CSS sprites for the controlbar */
.highslide-controls .highslide-previous a {
	background-position: 0 0;
}
.highslide-controls .highslide-previous a:hover {
	background-position: 0 -30px;
}
.highslide-controls .highslide-previous a.disabled {
	background-position: 0 -60px !important;
}
.highslide-controls .highslide-play a {
	background-position: -30px 0;
}
.highslide-controls .highslide-play a:hover {
	background-position: -30px -30px;
}
.highslide-controls .highslide-play a.disabled {
	background-position: -30px -60px !important;
}
.highslide-controls .highslide-pause a {
	background-position: -60px 0;
}
.highslide-controls .highslide-pause a:hover {
	background-position: -60px -30px;
}
.highslide-controls .highslide-next a {
	background-position: -90px 0;
}
.highslide-controls .highslide-next a:hover {
	background-position: -90px -30px;
}
.highslide-controls .highslide-next a.disabled {
	background-position: -90px -60px !important;
}
.highslide-controls .highslide-move a {
	background-position: -120px 0;
}
.highslide-controls .highslide-move a:hover {
	background-position: -120px -30px;
}
.highslide-controls .highslide-full-expand a {
	background-position: -150px 0;
}
.highslide-controls .highslide-full-expand a:hover {
	background-position: -150px -30px;
}
.highslide-controls .highslide-full-expand a.disabled {
	background-position: -150px -60px !important;
}
.highslide-controls .highslide-close a {
	background-position: -180px 0;
}
.highslide-controls .highslide-close a:hover {
	background-position: -180px -30px;
}

.highslide-dimming {
	background: black;
}

.highslide-maincontent {
	display: none;
}
.highslide-html {
	background-color: white;
}
.highslide-html-content {
	display: none;
	width: 400px;
	padding: 0 5px 5px 5px;
}
.highslide-header {
	padding-bottom: 5px;
}
.highslide-header ul {
	margin: 0;
	padding: 0;
	text-align: right;
}
.highslide-header ul li {
	display: inline;
	padding-left: 1em;
}
.highslide-header ul li.highslide-previous, .highslide-header ul li.highslide-next {
	display: none;
}
.highslide-header a {
	font-weight: bold;
	color: gray;
	text-transform: uppercase;
	text-decoration: none;
}
.highslide-header a:hover {
	color: black;
}
.highslide-header .highslide-move a {
	cursor: move;
}
.highslide-footer {
	height: 11px;
}
.highslide-footer .highslide-resize {
   display: none;
/*
	float: right;
	height: 11px;
	width: 11px;
	background: url(https://www.cybevasion.fr/javascript/highslide/graphics/resize.gif);
*/
}
.highslide-resize {
	cursor: nw-resize;
}

.highslide-header .highslide-move {
   display: none;
}

.highslide-header ul li.highslide-previous, .highslide-header ul li.highslide-next {
   display: none;
}
