/* =============================================================================
 * at-page.css — mise en page des pages de contenu simple (non construites avec
 * Elementor) : CGV, mentions légales, et toute page éditée au bloc Gutenberg.
 * Chargée par hello_aerotech_page_assets() dans functions.php.
 * Namespace : on cible le markup de hello-elementor (.site-main > .page-content)
 * restreint par la classe at-simple-page posée sur <body>.
 * ========================================================================== */

.at-simple-page .site-main {
	max-width: 820px;
	margin: 0 auto;
	padding: 64px 24px 96px;
	color: #101820;
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

@media (max-width: 1024px) {
	.at-simple-page .site-main { padding: 48px 20px 72px; }
}

@media (max-width: 767px) {
	.at-simple-page .site-main { padding: 32px 14px 56px; }
}

/* ---- Titre de page ---- */
.at-simple-page .page-header {
	margin: 0 0 40px;
	padding: 0 0 28px;
	border-bottom: 1px solid #D8D4CD;
}

.at-simple-page .page-header .entry-title {
	margin: 0;
	font-family: "Rubik", system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(30px, 4.2vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #101820;
}

/* ---- Titres de section ---- */
.at-simple-page .page-content h2 {
	margin: 48px 0 14px;
	font-family: "Rubik", system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(20px, 2.4vw, 25px);
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #101820;
}

.at-simple-page .page-content h2:first-child { margin-top: 0; }

.at-simple-page .page-content h3 {
	margin: 30px 0 10px;
	font-family: "Rubik", system-ui, sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
	color: #504634;
}

/* ---- Corps ---- */
.at-simple-page .page-content p { margin: 0 0 18px; }

.at-simple-page .page-content ul,
.at-simple-page .page-content ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.at-simple-page .page-content li { margin: 0 0 7px; }

.at-simple-page .page-content a {
	color: #EC672C;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.at-simple-page .page-content a:hover { color: #D9551B; }

/* Chapô / mentions « à compléter » : encadré discret plutôt qu'une ligne perdue */
.at-simple-page .page-content > p:first-child em,
.at-simple-page .page-content > p:first-child i {
	font-style: normal;
}

.at-simple-page .page-content > p:first-child {
	margin: 0 0 34px;
	padding: 14px 18px;
	background: #F5F7F8;
	border-left: 3px solid #9F8F73;
	border-radius: 0 12px 12px 0;
	font-size: 15px;
	color: #504634;
}

.at-simple-page .page-content strong { font-weight: 700; }

.at-simple-page .page-content hr {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid #D8D4CD;
}

/* Pas de débordement horizontal sur les longues URLs des textes juridiques */
.at-simple-page .page-content { overflow-wrap: anywhere; }
