/* Courtin Hervouet : éléments communs à tout le site (bandeau cookies, accessibilité, accueil). */

/* Bandeau cookies */
.chact-cookies {
	position: fixed;
	z-index: 100000;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	width: min(860px, calc(100% - 32px));
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 22px;
	background: #0e1015;
	color: #fff;
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
	font-family: "Montserrat", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.chact-cookies[hidden] { display: none; }
.chact-cookies .chact-cookies__text { margin: 0; padding: 0; color: #e6e6e8; }
.chact-cookies .chact-cookies__text a { color: #fff; text-decoration: underline; }
.chact-cookies__actions { display: flex; gap: 10px; flex-shrink: 0; }
.chact-cookies .chact-cookies__btn {
	min-width: 110px;
	padding: 11px 18px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: 700 14px/1.2 "Montserrat", Helvetica, Arial, sans-serif;
	cursor: pointer;
}
.chact-cookies .chact-cookies__btn:hover,
.chact-cookies .chact-cookies__btn:focus-visible { background: #fff; color: #0e1015; }
@media (max-width: 720px) {
	.chact-cookies { flex-direction: column; align-items: stretch; gap: 14px; bottom: 10px; padding: 16px; }
	.chact-cookies__actions .chact-cookies__btn { flex: 1; }
}

/* Lien « Gestion des cookies » en bas de page */
.chact-cookies-manage { margin: 0; padding: 10px 0 14px; text-align: center; background: inherit; }
.chact-cookies-manage button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	opacity: .75;
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}
.chact-cookies-manage button:hover { opacity: 1; }

/* Titre réservé à Google et aux lecteurs d'écran (anciens articles Divi) */
.chact-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Téléphones rendus cliquables : même aspect que le texte d'origine */
a.chact-tel { color: inherit; text-decoration: none; }
a.chact-tel:hover { text-decoration: underline; }

/* Animation de chargement du thème : retardait l'affichage sans rien apporter */
.preloader { display: none !important; }

/* Accueil : titre principal (H1), même apparence que les deux lignes d'origine */
.et_pb_text h1.chact-home-h1 {
	margin: 0;
	padding: 0;
	font-family: "Bovino", sans-serif;
	font-size: 52px;
	font-weight: 500;
	line-height: .8em;
	color: #e30614;
	text-align: center;
}
.et_pb_text h1.chact-home-h1 > span { display: block; padding-bottom: 10px; }
.et_pb_text h1.chact-home-h1 > span:first-child { color: #000; }
@media (max-width: 767px) {
	.et_pb_text h1.chact-home-h1 { font-size: 38px; }
}

/* Accueil, « L'offre » : familles de produits cliquables */
.et_pb_text a.chact-offer-link { color: inherit; text-decoration: none; border-bottom: 2px solid #e30614; }
.et_pb_text a.chact-offer-link:hover { color: #e30614; }
