/* Elite Signature : mise en page libre des sections. Les couleurs et polices viennent de theme.json. */

:root,
body {
	--es-gutter: clamp(20px, 5vw, 72px);
	--es-or: var(--wp--preset--color--or, #d6b977);
	--es-hairline: rgba(214, 185, 119, 0.35);
	--es-display: var(--wp--preset--font-family--display);
	--es-sans: var(--wp--preset--font-family--sans);
	--es-italique: var(--wp--preset--font-family--italique);
}

body { overflow-x: hidden; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.es-section :where(h1, h2, h3, p, figure) { margin-block: 0; }

/* Éléments communs */
.es-caps {
	font-family: var(--es-sans);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--es-or);
}
.es-accroche {
	font-family: var(--es-italique);
	font-style: italic;
	font-size: 20px;
	line-height: 1.4;
	color: var(--es-or);
}
.es-sous-titre { font-size: 22px; font-weight: 400; line-height: 1.4; }
hr.wp-block-separator.es-filet,
hr.wp-block-separator.es-filet:not(.is-style-wide):not(.is-style-dots) {
	width: 36px;
	max-width: 36px;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--es-or);
	opacity: 1;
}
.es-section { position: relative; padding-inline: var(--es-gutter); }
.es-ivoire { background: var(--wp--preset--color--ivoire); color: var(--wp--preset--color--noir); }
.es-ivoire .es-accroche, .es-ivoire .es-caps { color: var(--wp--preset--color--bronze-fonce); }
.es-section img { display: block; width: 100%; }

/* En-tête */
.es-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 20px var(--es-gutter) 0;
	position: relative;
	z-index: 3;
}
.es-header > * { margin: 0 !important; }
.es-header .es-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.es-header .es-logo img { width: clamp(96px, 9vw, 128px); height: auto; }
.es-header .wp-block-button__link { padding: 14px 20px; border-color: rgba(214, 185, 119, 0.6); }

/* Ouverture */
.es-hero__title {
	position: relative;
	z-index: 2;
	margin-top: clamp(56px, 8vw, 120px) !important;
	font-size: clamp(52px, 11.4vw, 176px) !important;
	line-height: 0.95 !important;
	letter-spacing: -0.01em;
	padding-left: clamp(0px, 14vw - 50px, 220px);
	text-indent: calc(-1 * clamp(0px, 14vw - 50px, 220px));
}
.es-hero__image {
	position: relative;
	z-index: 1;
	margin: clamp(-120px, -7vw, -24px) calc(-1 * var(--es-gutter)) 0 clamp(0px, 16vw - 60px, 240px) !important;
}
.es-hero__image img { height: clamp(320px, 46vw, 660px); object-fit: cover; }
.es-hero__image::before,
.es-hero__image::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.es-hero__image::before { background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 55%); z-index: 1; }
.es-hero__image::after { background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 30%); z-index: 1; }
.es-hero__intro {
	position: relative;
	z-index: 2;
	max-width: 360px;
	margin-top: clamp(-150px, -9vw, 24px) !important;
	padding-bottom: 56px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.es-hero__intro > * { margin: 0 !important; }
.es-hero__intro p:not(.es-caps) { font-size: 18px; font-weight: 400; line-height: 1.5; }

/* Manifeste */
.es-manifeste { padding-block: clamp(72px, 11vw, 180px) clamp(72px, 9vw, 140px); }
.es-manifeste > .es-filet { margin-left: clamp(0px, 8vw - 30px, 110px) !important; }
.es-manifeste__title {
	margin: 32px 0 0 clamp(0px, 8vw - 30px, 110px) !important;
	font-size: clamp(34px, 5.6vw, 88px) !important;
	line-height: 1.08 !important;
	max-width: 13em;
}
.es-manifeste__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: flex-end;
	gap: 40px clamp(32px, 6vw, 96px);
	margin-top: clamp(40px, 5vw, 72px) !important;
}
.es-manifeste__texte {
	flex: 0 1 380px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-bottom: clamp(0px, 5vw, 72px);
}
.es-manifeste__texte > * { margin: 0 !important; }
.es-manifeste__image { flex: 0 1 400px; min-width: 0; margin: 0 clamp(0px, 9vw - 40px, 110px) 0 0 !important; }
.es-manifeste__image img { height: clamp(420px, 44vw, 620px); object-fit: cover; }

/* 10 ans */
.es-experience { padding-block: clamp(64px, 8vw, 120px) clamp(72px, 9vw, 140px); }
.es-experience__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px clamp(0px, 3vw - 12px, 32px);
}
.es-experience__chiffre-bloc { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }
.es-experience__chiffre-bloc > * { margin: 0 !important; }
.es-chiffre {
	font-family: var(--es-display);
	font-size: clamp(190px, 37vw, 560px) !important;
	line-height: 0.8;
	letter-spacing: -0.03em;
	margin-left: clamp(-60px, -3vw, -8px) !important;
	margin-bottom: 0.08em !important;
}
.es-chiffre mark { font-size: 0.4em; vertical-align: top; background: none; }
.es-experience__chiffre-bloc h2 { font-size: clamp(36px, 4.6vw, 68px) !important; }
.es-cadre {
	position: relative;
	flex: 0 1 330px;
	border: 1px solid var(--es-or);
	padding: 5px;
	margin: clamp(0px, 5vw - 20px, 56px) 0 0 !important;
}
.es-cadre img { height: clamp(360px, 36vw, 520px); object-fit: cover; }
.es-experience__texte {
	margin: clamp(32px, 4vw, 56px) 0 0 clamp(0px, 46vw - 180px, 620px) !important;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.es-experience__texte > * { margin: 0 !important; }

/* Ce que nous prenons en charge */
.es-charge { padding-block: clamp(72px, 10vw, 160px); }
.es-charge__liste { margin-top: clamp(40px, 5vw, 72px) !important; }
.es-charge__liste > * { margin: 0 !important; }
.es-ligne {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 28px;
	padding: 24px 0;
	border-top: 1px solid var(--es-hairline);
}
.es-ligne:last-child { border-bottom: 1px solid var(--es-hairline); }
.es-ligne > * { margin: 0 !important; }
.es-ligne:nth-child(2), .es-ligne:nth-child(4) { margin-left: clamp(0px, 9vw - 34px, 120px) !important; }
.es-ligne:nth-child(3) { margin-left: clamp(0px, 18vw - 68px, 240px) !important; }
.es-ligne__num { font-family: var(--es-display); font-size: 14px; color: var(--es-or); }
.es-ligne h3 { font-size: clamp(38px, 6.2vw, 96px) !important; line-height: 1.05; }
.es-ligne p:last-child { flex: 1 1 240px; max-width: 320px; margin-left: auto !important; font-size: 15px; }

/* Engagements */
.es-engagements { padding-block: clamp(40px, 6vw, 96px) clamp(88px, 11vw, 180px); }
.es-engagements__entete { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.es-engagements__entete > * { margin: 0 !important; }
.es-engagements__title {
	margin-top: clamp(40px, 5vw, 72px) !important;
	font-size: clamp(44px, 9.4vw, 148px) !important;
	line-height: 1 !important;
	padding-left: clamp(0px, 20vw - 76px, 300px);
	text-indent: calc(-1 * clamp(0px, 20vw - 76px, 300px));
}
.es-valeurs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: clamp(48px, 6vw, 96px) !important;
}
.es-valeurs > * { margin: 0 !important; }
.es-valeur { display: flex; align-items: center; gap: 10px; }
.es-valeur > * { margin: 0 !important; }
.es-valeur h3 { font-size: clamp(30px, 4.6vw, 72px) !important; line-height: 1.35; }
.es-valeur:nth-child(1) h3, .es-valeur:nth-child(4) h3 { color: var(--es-or); }
.es-valeur p { max-width: 190px; font-size: 13px; line-height: 1.5; }

/* Équipe */
.es-equipe { padding-block: clamp(72px, 9vw, 140px) clamp(88px, 11vw, 170px); }
.es-equipe__entete { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.es-equipe__entete > * { margin: 0 !important; }
.es-equipe__entete .es-accroche { font-size: clamp(20px, 2.2vw, 30px); max-width: 620px; }
.es-equipe__roles { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); margin-top: clamp(48px, 6vw, 88px) !important; }
.es-equipe__roles > * { margin: 0 !important; }
.es-role { max-width: 520px; display: flex; flex-direction: column; gap: 16px; margin-left: clamp(0px, 12vw - 46px, 160px) !important; }
.es-role + .es-role { max-width: 620px; margin-left: clamp(0px, 52vw - 200px, 640px) !important; }
.es-role > * { margin: 0 !important; }
.es-role h3 { font-size: clamp(48px, 7vw, 104px) !important; line-height: 1; }
.es-role p { max-width: 400px; }

/* Prestations */
.es-prestations { padding-block: clamp(72px, 10vw, 160px); }
.es-prestations__title { margin-top: 28px !important; font-size: clamp(40px, 6.6vw, 104px) !important; line-height: 1.02 !important; }
.es-offre {
	max-width: 780px;
	padding: clamp(24px, 4vw, 56px);
	margin-top: clamp(48px, 6vw, 88px) !important;
	border: 1px solid rgba(214, 185, 119, 0.45);
}
.es-offre > * { margin: 0 !important; }
.es-offre + .es-offre {
	position: relative;
	margin: clamp(-48px, 40px - 6vw, 24px) 0 0 auto !important;
	background: var(--wp--preset--color--sable);
	color: var(--wp--preset--color--noir);
	border: 0;
}
.es-offre + .es-offre .es-accroche { color: #6b5229; }
.es-offre__entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.es-offre__entete > * { margin: 0 !important; }
.es-offre__entete h3 { font-size: clamp(40px, 5vw, 72px) !important; line-height: 1; }
.es-offre ul {
	list-style: none;
	margin: 32px 0 0 !important;
	padding: 0 0 0 24px;
	border-left: 1px solid var(--es-or);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.es-offre + .es-offre ul { border-left-color: var(--wp--preset--color--bronze); }
.es-prestations__sur-mesure { margin-top: clamp(40px, 5vw, 72px) !important; text-align: center; font-size: 22px; }

/* Contact */
.es-contact { padding-block: clamp(72px, 9vw, 140px) 0; border-top: 1px solid var(--es-hairline); }
.es-contact__title {
	font-size: clamp(46px, 11vw, 172px) !important;
	line-height: 0.95 !important;
	letter-spacing: -0.01em;
	padding-left: clamp(0px, 24vw - 90px, 380px);
	text-indent: calc(-1 * clamp(0px, 24vw - 90px, 380px));
}
.es-contact__intro { max-width: 480px; margin-top: clamp(40px, 5vw, 72px) !important; display: flex; flex-direction: column; gap: 16px; }
.es-contact__intro > * { margin: 0 !important; }
.es-contact__form { max-width: 640px; margin: clamp(40px, 5vw, 72px) 0 0 clamp(0px, 30vw - 116px, 460px) !important; }

/* Formulaire (Contact Form 7, WPForms ou tout formulaire standard) */
.es-contact__form form p { margin: 0 0 32px; }
.es-contact__form label {
	display: block;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--es-or);
}
.es-contact__form input[type="text"],
.es-contact__form input[type="email"],
.es-contact__form input[type="tel"],
.es-contact__form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	margin-top: 4px;
	padding: 10px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(214, 185, 119, 0.6);
	border-radius: 0;
	color: #fff;
	font-family: var(--es-sans);
	font-weight: 300;
	font-size: 18px;
	line-height: 1.5;
}
.es-contact__form textarea { height: 140px; resize: vertical; }
.es-contact__form input:focus,
.es-contact__form textarea:focus { outline: none; border-bottom-color: var(--es-or); box-shadow: 0 1px 0 var(--es-or); }
.es-contact__form input[type="submit"],
.es-contact__form button[type="submit"] {
	min-height: 52px;
	padding: 0 36px;
	background: transparent;
	border: 1px solid var(--es-or);
	border-radius: 0;
	color: var(--es-or);
	font-family: var(--es-sans);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	cursor: pointer;
}
.es-contact__form input[type="submit"]:hover,
.es-contact__form button[type="submit"]:hover { background: var(--es-or); color: #000; }
.es-contact__form .wpcf7-not-valid-tip { color: #f0e8d4; font-size: 13px; }
.es-contact__form .wpcf7-response-output { border-color: var(--es-or) !important; margin: 24px 0 0 !important; }

/* Pied de page */
.es-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	padding: clamp(72px, 9vw, 140px) var(--es-gutter) 40px;
}
.es-footer > * { margin: 0 !important; }
.es-footer .es-logo img { width: 150px; height: auto; }
.es-signature-filets {
	position: relative;
	width: min(468px, 80vw);
	height: 6px;
	background:
		linear-gradient(rgba(214, 185, 119, 0.6), rgba(214, 185, 119, 0.6)) left center / calc(50% - 14px) 1px no-repeat,
		linear-gradient(rgba(214, 185, 119, 0.6), rgba(214, 185, 119, 0.6)) right center / calc(50% - 14px) 1px no-repeat;
}
.es-signature-filets::before {
	content: "";
	position: absolute;
	left: calc(50% - 3px);
	top: 0;
	width: 6px;
	height: 6px;
	background: var(--es-or);
	transform: rotate(45deg);
}
.es-footer .es-caps { font-size: 10px; text-align: center; }

/* Pages intérieures */
.es-page { padding: clamp(56px, 8vw, 120px) var(--es-gutter); }

/* Téléphone */
@media (max-width: 600px) {
	.es-header .es-nav { display: none; }
	.es-engagements__entete { align-items: flex-start; text-align: left; }
	.es-valeur { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
	.es-valeur p { max-width: none; }
}
