/*
 * Static pages styling — Knewledge × Kleyr Grasso
 * Préfixe `.kg-static-` pour éviter les collisions avec le thème Astra.
 *
 * Volontairement minimal et défensif : la prod utilisera des designs
 * Elementor par-dessus. Ces règles ne s'appliquent qu'au fallback.
 */

.kg-static-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
	color: #1a1a1a;
}

.kg-static-page__header {
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 1rem;
}

.kg-static-page__title {
	font-size: 2.25rem;
	line-height: 1.2;
	font-weight: 700;
	color: #000087;
	margin: 0;
}

.kg-static-page__content {
	font-size: 1rem;
	line-height: 1.6;
}

.kg-static-page__pdf {
	margin: 1rem 0 2rem;
}

.kg-static-page__pdf a {
	display: inline-block;
	padding: 0.6rem 1.2rem;
	background: #000087;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 2px;
}

.kg-static-page__pdf a:hover,
.kg-static-page__pdf a:focus {
	background: #0000b3;
}

/* ─── Contact ──────────────────────────────────────────────────── */

.kg-static-contact {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.kg-static-contact__hero img {
	width: 100%;
	height: auto;
	display: block;
}

.kg-static-contact__intro {
	font-size: 1.1rem;
	line-height: 1.5;
	max-width: 800px;
}

.kg-static-contact__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 900px) {
	.kg-static-contact__layout {
		grid-template-columns: 2fr 1fr;
	}
}

.kg-static-contact__main {
	min-width: 0;
}

.kg-static-contact__map-image {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1rem;
	border: 1px solid #e5e5e5;
}

.kg-static-contact__map-link {
	display: block;
	text-decoration: none;
}

.kg-static-contact__map-embed iframe {
	display: block;
	width: 100%;
	border: 0;
}

.kg-static-contact__form {
	margin-top: 2rem;
	padding: 1.5rem;
	background: #f6f6f9;
	border-left: 4px solid #000087;
}

.kg-static-contact__form h2 {
	margin-top: 0;
	color: #000087;
}

.kg-static-contact__sidebar {
	background: #f6f6f9;
	padding: 1.5rem;
	border-top: 4px solid #000087;
	font-size: 0.95rem;
	line-height: 1.55;
}

.kg-static-contact__sidebar h3 {
	margin-top: 0;
	color: #000087;
	letter-spacing: 0.05em;
}

.kg-static-contact__address {
	font-style: normal;
	margin: 0 0 1rem;
}

.kg-static-contact__pobox {
	display: inline-block;
	margin-top: 0.4rem;
	color: #555;
	font-size: 0.9em;
}

.kg-static-contact__legal {
	margin-top: 1rem;
	color: #777;
	font-size: 0.85rem;
}

.kg-static-form-missing {
	padding: 0.75rem;
	background: #fff5d6;
	border-left: 4px solid #d99a00;
	font-style: italic;
	color: #5b3e00;
}

/* ─── Legal ────────────────────────────────────────────────────── */

.kg-static-page--legal .kg-static-page__content {
	max-width: 820px;
}

.kg-static-legal__body {
	overflow-wrap: break-word;
}

.kg-static-legal__body h1,
.kg-static-legal__body h2,
.kg-static-legal__body h3 {
	color: #000087;
}

.kg-static-legal__body img {
	max-width: 100%;
	height: auto;
}
