/*
Theme Name: Elementor Child Plateformance
Template: hello-elementor
Version: 1.0.0
Description: Footer Plateformance pour Codex-projet1.
*/

:root {
	--plt-navy: #0c1b2d;
	--plt-orange: #ffb545;
	--plt-orange-strong: #ff9f00;
	--plt-white: #ffffff;
}

.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-footer {
	display: none;
}

/* Hover menu bleu → orange */
a:hover,
nav a:hover {
	color: var(--plt-orange-strong) !important;
}

/* Bleu → Orange : règle globale charte */
.text-secondary,
.text-secondary * {
	color: var(--plt-orange-strong) !important;
}
.bg-secondary {
	background-color: var(--plt-orange-strong) !important;
}
.border-secondary {
	border-color: var(--plt-orange-strong) !important;
}
.border-l-4.border-secondary {
	border-color: var(--plt-orange-strong) !important;
}

/* Espacement sections — override Tailwind */
.py-section-gap-lg,
.\[--section-gap\:theme\(spacing\.section-gap-lg\)\],
.md\:py-section-gap-lg {
	padding-top: 60px !important;
	padding-bottom: 60px !important;
}

@media (max-width: 768px) {
	.py-section-gap-lg,
	.md\:py-section-gap-lg {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}
}

/* Blocs schéma placeholder */
.schema-block {
	background-color: #E5E7EB;
	border: 1px solid #CBD5E1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #64748B;
	font-weight: 500;
	min-height: 240px;
}

/* Menu mobile : overlay plein ecran opaque garanti quand ouvert */
#plt-mobile-menu:not([hidden]) {
	position: fixed !important;
	top: 96px;
	left: 0;
	right: 0;
	bottom: 0;
	height: calc(100dvh - 96px);
	z-index: 100;
	background-color: #fcf8fa;
	overflow-y: auto;
}

/* CTA boutons principaux — orange charte */
button[style*="#F59E08"],
a[style*="#F59E08"] {
	background-color: var(--plt-orange-strong) !important;
}

.plt-hero-primary-cta:hover,
.plt-hero-primary-cta:focus-visible {
	background-color: var(--plt-navy) !important;
	border-color: var(--plt-navy) !important;
	color: var(--plt-orange-strong) !important;
	opacity: 1 !important;
}

/* Bouton menu nav */
a.bg-primary {
	background-color: var(--plt-orange-strong) !important;
	color: var(--plt-white) !important;
}

.plt-prefooter,
.plt-footer {
	font-family: Inter, Arial, sans-serif;
}

.plt-prefooter {
	background: var(--plt-orange);
	color: #06172a;
	padding: 46px 24px;
}

.plt-prefooter__inner,
.plt-footer__inner {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.plt-prefooter__inner {
	display: grid;
	grid-template-columns: 1fr 180px;
	gap: 56px;
	align-items: center;
}

.plt-prefooter h2 {
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 24px;
	font-weight: 800;
}

.plt-prefooter p {
	max-width: 880px;
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
}

.plt-prefooter__badge {
	justify-self: end;
	width: 180px;
	max-width: 100%;
	border: 3px solid #20345c;
	background: #fff;
}

.plt-footer {
	background: var(--plt-navy);
	color: var(--plt-white);
	padding: 58px 24px 28px;
}

.plt-footer__title {
	color: var(--plt-orange);
	font-size: 46px;
	line-height: 1.1;
	font-weight: 800;
	max-width: 70%;
	margin: 0 0 70px;
}

.plt-footer__nav {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 30px;
	padding: 28px 0 42px;
}

.plt-footer__column h3 {
	color: var(--plt-orange-strong);
	font-size: 16px;
	line-height: 1.35;
	margin: 0 0 18px;
	font-weight: 800;
}

.plt-footer__column a {
	color: var(--plt-white);
	display: block;
	font-size: 14px;
	line-height: 1.45;
	margin-bottom: 12px;
	text-decoration: none;
}

.plt-footer__column a:hover,
.plt-footer__legal a:hover {
	color: var(--plt-orange);
}

.plt-footer__bottom {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: center;
	padding-top: 36px;
}

.plt-footer__logo {
	width: 250px;
	max-width: 100%;
	height: auto;
}

.plt-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: flex-end;
	align-items: center;
	font-size: 14px;
}

.plt-footer__legal p {
	margin: 0;
}

.plt-footer__legal a {
	color: var(--plt-white);
	text-decoration: none;
}

@media (max-width: 1024px) {
	.plt-footer__nav {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.plt-prefooter,
	.plt-footer {
		padding-left: 20px;
		padding-right: 20px;
	}

	.plt-prefooter__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.plt-prefooter__badge {
		justify-self: start;
		width: 150px;
	}

	.plt-prefooter h2 {
		font-size: 28px;
	}

	.plt-prefooter p {
		font-size: 16px;
	}

	.plt-footer__title {
		font-size: 30px;
		max-width: 100%;
		margin-bottom: 38px;
	}

	.plt-footer__nav {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.plt-footer__bottom {
		grid-template-columns: 1fr;
	}

	.plt-footer__legal {
		justify-content: flex-start;
		gap: 14px 20px;
	}
}
/* Neutralisation des fonds roses/oranges tres pales des utilitaires de surface. */
.bg-surface {
	background-color: #ffffff !important;
}

.bg-surface-container-low {
	background-color: #f3f4f6 !important;
}
/* Header stable sur tous les gabarits. */
header > div {
	width: 100%;
	height: 96px !important;
}

header a:has(img) {
	flex: 0 0 auto;
}

header a:has(img) img {
	height: 72px !important;
	width: auto !important;
	max-width: none !important;
}

header nav.hidden.md\:flex {
	flex: 0 0 auto;
	white-space: nowrap;
}

header nav.hidden.md\:flex > * {
	flex: 0 0 auto;
}

header a.hidden.md\:inline-flex {
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	height: 41px;
}
/* Reserve la gouttiere de scrollbar pour garder le header cale entre les pages. */
html {
	overflow-y: scroll;
	scrollbar-gutter: stable;
}
@media (min-width: 768px) {
	header > div {
		display: grid !important;
		height: 96px !important;
		grid-template-columns: auto 1fr auto;
		grid-template-rows: 72px;
		column-gap: 24px;
		align-items: center;
		align-content: center;
	}

	header nav.hidden.md\:flex {
		justify-self: center;
	}

	header a.hidden.md\:inline-flex {
		justify-self: end;
	}

	header button[data-mobile-menu-toggle] {
		display: none !important;
	}
}
/* Le menu mobile ne doit jamais apparaitre en desktop. */
#plt-mobile-menu[hidden] {
	display: none !important;
}

@media (min-width: 768px) {
	#plt-mobile-menu,
	header button[data-mobile-menu-toggle] {
		display: none !important;
	}
}
/* Supprime l'ecart automatique WordPress entre le header fixe et le contenu. */
.wp-site-blocks > main,
body > main {
	margin-top: 0 !important;
}

