/*
    Compléments au thème : ce que fournissaient les extensions WordPress
    (formulaire WPForms, grille de logos GS Logo Slider).
*/

/* Formulaire de contact, même rendu que le thème « modern » de WPForms */
.contactForm {
	margin-bottom: var(--space-xl);
	text-align: left;
}

.contactForm {
	margin-top: var(--space-xl);
}

.contactForm-row {
	border: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--space-lg);
	margin: 0 0 var(--space-xl);
	padding: 0;
}

.contactForm-label {
	display: block;
	float: left;
	font-weight: var(--font-weight-600);
	padding: 0;
	width: 100%;
}

.contactForm-half {
	flex: 0 1 182px;
}

.contactForm-sublabel {
	display: block;
	font-size: 13px;
}

.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm textarea {
	background-color: #fff;
	border: none;
	color: #000;
	font: 13px Arial, sans-serif;
	max-width: 100%;
	padding: 2px 4px;
	width: 100%;
}

.contactForm input[type="email"] {
	max-width: 385px;
}

.contactForm textarea {
	height: 120px;
	resize: vertical;
}

.contactForm-trap {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.contactForm-submit {
	cursor: pointer;
	font: 13px Arial, sans-serif;
	padding: 1px 6px;
}

.contactForm-submit:disabled {
	opacity: 0.6;
}

.contactForm-status {
	margin-top: var(--space-md);
	min-height: 1.5em;
}

/* Grille de logos partenaires (ex GS Logo Slider, logos centrés avec leur nom) */
.gs_logo_container_grid {
	display: flex;
	flex-wrap: wrap;
	margin: var(--space-xl) 0;
}

.gs_logo_single--wrapper {
	padding: var(--space-md);
	width: 130px;
}

.gs_logo_single {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.gs_logo_single a {
	align-items: center;
	border-top: none !important;
	display: flex;
	height: 110px;
	justify-content: center;
}

.gs_logo_single img {
	height: auto;
	max-height: 110px;
	max-width: 90px;
	object-fit: contain;
	width: auto;
}

article .gs_logo_title {
	font-size: var(--font-size-md);
	font-weight: var(--font-weight-300);
	margin: var(--space-md) 0 0;
	text-align: center;
}

/* Filtre vert des vignettes du blog (duotone WordPress) */
.wp-duotone-lecentre.wp-block-post-featured-image img {
	filter: url(#wp-duotone-lecentre);
}

/* Bannière de consentement (cookies statistiques), sur le modèle de l'ancienne bannière Complianz */
.consentement {
	background: #fff;
	border-radius: 12px;
	bottom: calc(var(--footer-height) + 12px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
	color: #1a1a1a;
	font-family: Inter, sans-serif;
	font-size: 13px;
	left: 12px;
	line-height: 1.5;
	max-width: 420px;
	padding: 20px;
	position: fixed;
	text-align: left;
	width: calc(100vw - 24px);
	z-index: 1000;
}

.consentement[hidden] {
	display: none;
}

.consentement-titre {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 8px;
}

.consentement-boutons {
	display: flex;
	gap: 8px;
	margin: 16px 0 10px;
}

.consentement-boutons button {
	background: #f2f2f2;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	color: #1a1a1a;
	cursor: pointer;
	flex: 1;
	font: inherit;
	font-size: 14px;
	padding: 10px;
}

.consentement-boutons .consentement-accepter {
	background: #5ef08f;
	border-color: #5ef08f;
	font-weight: 600;
}

.consentement-lien {
	color: #1a1a1a;
	font-size: 12px;
	text-decoration: underline;
}

.footer .footer-cookies {
	font-family: "Roboto Mono", monospace;
	font-size: 12px;
}
