/* ==========================================================================
   Espace Bretagne Séminaire : landing
   Direction : « le plateau ». Anthracite et orange de la façade,
   formes en perspective reprises du logo.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans.woff2") format("woff2-variations"), url("../fonts/instrument-sans.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--ink: #18191c;
	--anth: #232427;
	--anth-2: #2e2f33;
	--steel: #3d4651;
	--orange: #e85b10;
	--orange-d: #c84a07;
	--orange-l: #fdeee5;
	--paper: #f4f2ee;
	--white: #fff;
	--grey: #6b6c72;
	--line: #dcd9d2;
	--line-dark: rgba(255, 255, 255, .12);
	--display: "Archivo", "Arial Narrow", sans-serif;
	--text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--topbar: 68px;
	--radius: 4px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--slant: 44px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--anth);
	font: 400 17px/1.6 var(--text);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0 0 1em; }
h1, h2, h3 {
	font-family: var(--display);
	font-stretch: 112%;
	font-weight: 760;
	line-height: 1.05;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); font-stretch: 105%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.ico { flex: none; }

/* ---------- Éléments récurrents ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font: 600 13px/1 var(--text);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--orange) !important;
}
.bars { display: inline-flex; flex-direction: column; gap: 3px; }
.bars i { display: block; width: 18px; height: 3px; background: currentColor; transform: skewY(-8deg); }
.bars i:nth-child(2) { width: 13px; }

.lead { font-size: 19px; color: var(--grey); max-width: 60ch; }
.dark .lead { color: rgba(255, 255, 255, .68); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: 650 16px/1 var(--text);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ico { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 20px -8px rgba(232, 91, 16, .7); }
.btn--primary:hover { background: var(--orange-d); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--anth-2); }
.btn--ghost { border-color: var(--anth); color: var(--anth); }
.btn--ghost:hover { background: var(--anth); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 18px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; }
.checks .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); stroke-width: 2.4; }

/* ---------- Barre haute ---------- */
.topbar {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--topbar);
	background: rgba(24, 25, 28, .86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--white);
	border-bottom: 1px solid var(--line-dark);
}
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__img { max-height: 44px; width: auto; }
.logo-mark { display: block; height: 46px; width: auto; flex: none; }
.brand__name { display: flex; flex-direction: column; gap: 2px; font: 600 10.5px/1.15 var(--text); letter-spacing: .34em; text-transform: uppercase; color: #e9e9ea; }
.brand__name b { color: #ff6a14; font-weight: 700; }
.topbar__actions { display: flex; align-items: center; gap: 20px; }
.topbar__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.topbar__tel .ico { width: 18px; height: 18px; color: var(--orange); }
.topbar__tel:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: var(--white);
	background: var(--ink);
	padding: calc(var(--topbar) + clamp(36px, 6vw, 80px)) 0 calc(clamp(48px, 7vw, 96px) + var(--slant));
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slant)));
	isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(24, 25, 28, .95) 0%, rgba(24, 25, 28, .8) 40%, rgba(24, 25, 28, .2) 100%),
		linear-gradient(0deg, rgba(24, 25, 28, .65), transparent 45%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 460px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(34px, 4.3vw, 60px); font-stretch: 112%; margin-bottom: 22px; }
.hero__text { font-size: clamp(18px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); max-width: 54ch; margin-bottom: 28px; }
.hero__atouts { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__atouts li {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	font-size: 15px; font-weight: 550;
}
.hero__atouts .ico { width: 18px; height: 18px; color: var(--orange); stroke-width: 2.4; }
.hero__tel { color: rgba(255, 255, 255, .72); font-size: 16px; }
.hero__tel a { color: var(--white); font-weight: 700; }

/* ---------- Carte formulaire ---------- */
.form-card {
	position: relative;
	background: var(--white);
	color: var(--anth);
	border-radius: var(--radius);
	padding: 28px 28px 22px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.form-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 6px;
	background: var(--orange);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
	border-radius: var(--radius) var(--radius) 0 0;
}
.form-card__title { font: 760 24px/1.1 var(--display); font-stretch: 110%; margin: 4px 0 6px; }
.form-card__text { color: var(--grey); font-size: 15px; margin-bottom: 18px; }
.form-card__foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 13px; color: var(--grey); }
.form-card__foot .ico { width: 16px; height: 16px; color: var(--orange); stroke-width: 2.4; }
.form-missing { padding: 16px; background: var(--orange-l); border-radius: var(--radius); }

/* ---------- Gravity Forms (CSS du plugin désactivé) ---------- */
.gform_wrapper form { margin: 0; }
.gform_validation_container,
.gfield--type-hidden,
.gfield--type-honeypot,
.gform_hidden,
.gform_required_legend,
.gfield_visibility_hidden,
.gform_ajax_spinner,
.gform_wrapper .gf_step_clear,
.gform_wrapper iframe[name^="gform_ajax_frame"] { display: none !important; }

.gf_page_steps { display: flex; gap: 6px; margin: 0 0 20px; counter-reset: s; }
.gf_step {
	flex: 1;
	display: flex; align-items: center; gap: 8px;
	padding-top: 10px;
	border-top: 3px solid var(--line);
	font-size: 12px; font-weight: 600; color: var(--grey);
	line-height: 1.2;
}
.gf_step_number {
	display: grid; place-items: center; flex: none;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--paper); font-size: 12px; font-weight: 700;
}
.gf_step_active { border-color: var(--orange); color: var(--anth); }
.gf_step_active .gf_step_number { background: var(--orange); color: var(--white); }
.gf_step_completed { border-color: var(--anth); color: var(--anth); }
.gf_step_completed .gf_step_number { background: var(--anth); color: var(--white); font-size: 0; }
.gf_step_completed .gf_step_number::before { content: "✓"; font-size: 12px; }

.gform_fields { display: grid; gap: 18px; }
.gfield { margin: 0; padding: 0; border: 0; min-width: 0; }
.gfield_label, .gfield legend {
	display: block; padding: 0;
	margin-bottom: 8px;
	font-weight: 650; font-size: 15px; color: var(--anth);
}
.gfield_required { color: var(--orange); margin-left: 3px; }
.gfield_description { font-size: 13px; color: var(--grey); margin-top: 6px; }

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper textarea,
.gform_wrapper select {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fbfaf8;
	font: 400 16px/1.4 var(--text);
	color: var(--anth);
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.gform_wrapper textarea { min-height: 96px; resize: vertical; }
.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus { outline: 0; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(232, 91, 16, .18); }

.ginput_complex { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ginput_complex > span { display: flex; flex-direction: column-reverse; }
.ginput_complex label, .gform-field-label--type-sub { font-size: 12px; color: var(--grey); margin: 0 0 5px; }

/* Choix en tuiles (type d'événement) */
.gfield_radio, .gfield_checkbox { display: grid; gap: 8px; }
.ebs-cards .gfield_radio { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.ebs-cards .gchoice label { height: 100%; }
.ebs-cards .gchoice:last-child:nth-child(odd) { grid-column: 1 / -1; }
.gchoice { position: relative; }
.gchoice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ebs-cards .gchoice label {
	display: flex; align-items: center;
	min-height: 64px; padding: 12px 14px 12px 42px;
	border: 1.5px solid var(--line); border-radius: var(--radius);
	background: #fbfaf8;
	font-weight: 600; font-size: 15px; line-height: 1.25;
	cursor: pointer; position: relative;
	transition: border-color .15s, background .15s, transform .15s var(--ease);
}
.ebs-cards .gchoice label::before {
	content: ""; position: absolute; left: 14px; top: 50%;
	width: 16px; height: 16px; margin-top: -8px;
	border: 1.5px solid #b9b6af; border-radius: 50%; background: var(--white);
	transition: border .15s;
}
.ebs-cards .gchoice label:hover { border-color: var(--orange); transform: translateY(-1px); }
.ebs-cards .gchoice input:checked + label { border-color: var(--orange); background: var(--orange-l); }
.ebs-cards .gchoice input:checked + label::before { border: 5px solid var(--orange); }
.ebs-cards .gchoice input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Pastilles (participants, durée, options) */
.ebs-pills .gfield_radio,
.ebs-pills .gfield_checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.ebs-pills .gchoice label {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 40px; padding: 8px 14px;
	border: 1.5px solid var(--line); border-radius: 999px;
	font-size: 14px; font-weight: 600; cursor: pointer; background: #fbfaf8;
	transition: border-color .15s, background .15s;
}
.ebs-pills .gchoice label:hover { border-color: var(--orange); }
.ebs-pills .gchoice input:checked + label { border-color: var(--anth); background: var(--anth); color: var(--white); }
.ebs-pills--check .gchoice input:checked + label::before { content: "✓"; color: var(--orange); }
.ebs-pills .gchoice input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Consentement */
.ginput_container_consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--grey); line-height: 1.45; }
.ginput_container_consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.gfield--type-consent .gfield_label, .gfield--type-consent legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Navigation entre étapes */
.gform_page_footer, .gform_footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.gform_page_footer .gform_next_button,
.gform_wrapper .gform_button {
	flex: 1; min-height: 54px; padding: 0 22px;
	border: 0; border-radius: var(--radius);
	background: var(--orange); color: var(--white);
	font: 650 16px/1 var(--text); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	box-shadow: 0 6px 20px -8px rgba(232, 91, 16, .7);
	transition: background .2s;
}
.gform_wrapper .gform_button .ico { width: 20px; height: 20px; }
.gform_page_footer .gform_next_button:hover, .gform_wrapper .gform_button:hover { background: var(--orange-d); }
.gform_previous_button {
	min-height: 54px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--radius);
	background: transparent; color: var(--anth); font: 600 15px/1 var(--text); cursor: pointer;
}
.gform_previous_button:hover { border-color: var(--anth); }
/* Étapes gérées par le script (le formulaire reste sur une seule page sans JavaScript) */
.ebs-stepper .gfield.ebs-hide { display: none; }
.ebs-nav { display: flex; gap: 10px; margin-top: 22px; }
.ebs-nav .gform_next_button { flex: 1; }
.ebs-stepper[data-step="1"] [data-prev],
.ebs-stepper[data-step="1"]:not(.has-choice) .ebs-nav { display: none; }
.ebs-stepper[data-step="3"] .ebs-nav { display: none; }
.ebs-stepper:not([data-step="3"]) .gform_footer { display: none; }
.gform_footer { flex-wrap: nowrap; }
.ebs-nav .gform_next_button { min-height: 54px; padding: 0 22px; border: 0; border-radius: var(--radius); background: var(--orange); color: var(--white); font: 650 16px/1 var(--text); cursor: pointer; }

/* Erreurs et confirmation */
.gform_validation_errors { padding: 12px 14px; margin-bottom: 16px; border-radius: var(--radius); background: #fdecea; color: #a1260d; font-size: 14px; }
.gform_validation_errors h2 { font: 600 14px/1.4 var(--text); margin: 0; }
.gfield_error input, .gfield_error textarea { border-color: #c8361d !important; }
.validation_message { margin-top: 6px; font-size: 13px; color: #c8361d; font-weight: 550; }
.gform_confirmation_message { padding: 8px 0; font-size: 16px; }
.ebs-merci strong { display: block; margin-bottom: 8px; font: 760 24px/1.15 var(--display); font-stretch: 110%; color: var(--anth); }
.ebs-merci a { color: var(--orange); font-weight: 700; }

/* Calendrier (jQuery UI) */
.ui-datepicker { z-index: 60 !important; width: 300px; padding: 12px; background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .35); font: 14px/1.2 var(--text); display: none; }
.ui-datepicker-header { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 700; }
.ui-datepicker-title { order: 2; text-align: center; flex: 1; }
.ui-datepicker-title select { min-height: 32px; padding: 2px 6px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.ui-datepicker-prev, .ui-datepicker-next { cursor: pointer; padding: 6px 10px; border-radius: var(--radius); font-size: 0; }
.ui-datepicker-prev { order: 1; } .ui-datepicker-next { order: 3; }
.ui-datepicker-prev::before { content: "‹"; font-size: 22px; } .ui-datepicker-next::before { content: "›"; font-size: 22px; }
.ui-datepicker-prev:hover, .ui-datepicker-next:hover { background: var(--paper); }
.ui-datepicker table { width: 100%; border-collapse: collapse; }
.ui-datepicker th { padding: 6px 0; font-size: 12px; color: var(--grey); font-weight: 600; }
.ui-datepicker td { padding: 1px; text-align: center; }
.ui-datepicker td a, .ui-datepicker td span { display: block; padding: 7px 0; border-radius: var(--radius); text-decoration: none; color: var(--anth); }
.ui-datepicker td a:hover { background: var(--orange-l); }
.ui-datepicker .ui-state-active { background: var(--orange); color: var(--white); }
.ui-datepicker .ui-state-disabled span { color: #c3c0b9; }

/* ---------- Chiffres ---------- */
.chiffres { background: var(--paper); margin-top: calc(var(--slant) * -1); padding-top: calc(var(--slant) + 30px); padding-bottom: 30px; }
.chiffres__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffre { padding: 18px 24px; border-left: 1px solid var(--line); }
.chiffre:first-child { border-left: 0; padding-left: 0; }
.chiffre__n { margin: 0; font: 800 clamp(40px, 5vw, 64px)/1 var(--display); font-stretch: 125%; letter-spacing: -.03em; color: var(--anth); }
.chiffre__n small { font-size: .42em; margin-left: 6px; color: var(--orange); letter-spacing: 0; }
.chiffre__l { margin: 8px 0 0; color: var(--grey); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.dark { background: var(--anth); color: var(--white); }

/* Formats */
.format { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(64px, 8vw, 110px); }
.format:last-child { margin-bottom: 0; }
.format--rev .format__media { order: 2; }
.format__media { position: relative; }
.format__media img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
}
.format--rev .format__media img { clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%); }
.format__num {
	position: absolute; bottom: -18px; left: -6px;
	font: 800 clamp(70px, 9vw, 120px)/.8 var(--display); font-stretch: 125%;
	color: var(--orange); letter-spacing: -.04em;
	mix-blend-mode: multiply;
}
.format--rev .format__num { left: auto; right: -6px; }
.format__body p { color: #4a4b50; }

/* Plan interactif */
.salles { background: var(--white); }
.plan { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.plan__map { position: sticky; top: calc(var(--topbar) + 20px); }
.plan__toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.plan__hint { font-size: 13px; color: var(--grey); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 6px 4px; border: 0; background: none; font: 650 15px/1 var(--text); color: var(--anth); cursor: pointer; }
.switch__track { width: 44px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.switch__dot { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.switch[aria-checked="true"] .switch__track { background: var(--orange); }
.switch[aria-checked="true"] .switch__dot { transform: translateX(20px); }

.plan svg { width: 100%; height: auto; display: block; color: var(--anth); }
.plan__floor { fill: var(--paper); stroke: var(--anth); stroke-width: 3; }
.room { cursor: pointer; outline: none; }
.room rect { fill: var(--white); stroke: var(--anth); stroke-width: 2; transition: fill .25s, stroke .25s; }
.room text { font: 760 17px var(--display); font-stretch: 112%; fill: var(--anth); text-anchor: middle; pointer-events: none; transition: fill .25s; }
.room text.m2 { font: 600 13px var(--text); fill: var(--grey); }
.room:hover rect, .room:focus-visible rect { fill: var(--orange-l); stroke: var(--orange); }
.room.is-active rect { fill: var(--orange); stroke: var(--orange-d); }
.room.is-active text, .room.is-active text.m2 { fill: var(--white); }
.room--merged { opacity: 0; pointer-events: none; transition: opacity .35s; }
.plan__cloison { stroke: var(--orange); stroke-width: 4; stroke-dasharray: 8 6; transition: opacity .3s, transform .45s var(--ease); transform-origin: 410px 95px; }
.plan.is-open .room--merged { opacity: 1; pointer-events: auto; }
.plan.is-open [data-room="merlin"], .plan.is-open [data-room="viviane"] { opacity: 0; pointer-events: none; }
.plan.is-open .plan__cloison { opacity: 0; transform: scaleY(.1); }
.plan__service text { font: 600 12px var(--text); fill: var(--grey); text-anchor: middle; letter-spacing: .04em; }
.plan__service rect { stroke: var(--line); stroke-width: 1; }
.plan__entree { stroke: var(--orange); stroke-width: 3; }
.plan__entree-t { font: 700 10px var(--text); fill: var(--orange); text-anchor: middle; letter-spacing: .1em; text-transform: uppercase; }

.fiche { animation: fiche .4s var(--ease); }
@keyframes fiche { from { opacity: 0; transform: translateY(12px); } }
.fiche__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.fiche__body { padding-top: 22px; }
.fiche__surface { margin: 0 0 4px; font: 800 56px/1 var(--display); font-stretch: 125%; color: var(--orange); letter-spacing: -.03em; }
.fiche__surface small { font-size: .4em; margin-left: 4px; }
.fiche__usage { color: var(--grey); font-size: 15px; }
.fiche__usage strong { color: var(--anth); }

/* Matériel */
.equip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.equip__item { background: var(--anth); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; transition: background .2s; }
.equip__item:hover { background: var(--anth-2); }
.equip__item .ico { width: 34px; height: 34px; color: var(--orange); margin-bottom: 14px; stroke-width: 1.4; }
.equip__item strong { font: 700 18px/1.2 var(--display); font-stretch: 108%; }
.equip__item span { color: rgba(255, 255, 255, .62); font-size: 15px; }
.equip__plus { margin: 32px 0 0; color: rgba(255, 255, 255, .72); max-width: 70ch; }

/* Repas */
.repas__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.repas__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: polygon(0 0, 100% 6%, 100% 94%, 0 100%); }
.repas__body p { color: #4a4b50; margin-bottom: 28px; }

/* Vidéo */
.video { background: var(--white); }
.yt {
	position: relative; display: block; width: 100%; max-width: 1000px; margin: 0 auto 28px;
	aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--ink); cursor: pointer; overflow: hidden; border-radius: var(--radius);
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s, transform .6s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--white); box-shadow: 0 0 0 10px rgba(232, 91, 16, .25); transition: transform .2s var(--ease); }
.yt__play .ico { width: 34px; height: 34px; margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.08); }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 1000px; margin: 0 auto; }
.galerie__item { margin: 0; overflow: hidden; border-radius: var(--radius); }
.galerie__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.galerie__item:hover img { transform: scale(1.05); }

/* Avis */
.avis__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.quote { margin: 0; padding: 30px 28px; background: var(--anth-2); border-radius: var(--radius); border-top: 3px solid var(--orange); display: flex; flex-direction: column; }
.quote p { font-size: 17px; color: rgba(255, 255, 255, .86); flex: 1; }
.quote cite { font-style: normal; font-weight: 700; color: var(--white); }
.quote--big { grid-row: span 2; }
.quote--big p { font: 600 clamp(21px, 2vw, 26px)/1.35 var(--display); font-stretch: 100%; color: var(--white); }

/* Accès */
.acces__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 72px); row-gap: 28px; align-items: start; }
.acces__body { grid-column: 1; grid-row: 1; }
.trajets { grid-column: 1; grid-row: 2; align-self: start; }
.acces__visuels { grid-column: 2; grid-row: 1 / span 2; }
.acces__body > p { color: #4a4b50; }
.acces h2 { font-size: clamp(30px, 3.4vw, 44px); }
.acces__adr { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.acces__adr .ico { color: var(--orange); }
.trajets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.trajets li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.trajets b { font: 760 17px/1 var(--display); font-stretch: 112%; color: var(--orange); white-space: nowrap; }
.acces__visuels { display: grid; gap: 14px; }
.acces__photo img { width: 100%; aspect-ratio: 16 / 6.2; object-fit: cover; object-position: 50% 0; border-radius: var(--radius); }

.carte { margin: 0; padding: clamp(14px, 2.4vw, 28px); background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(24, 25, 28, .35); }
.carte__stage { position: relative; }
.carte__svg { display: block; width: 100%; height: auto; overflow: visible; }
.carte__land { fill: #f6f4f0; stroke: #cfc9bf; stroke-width: 1.5; stroke-linejoin: round; }
.carte__rings circle { fill: none; stroke: var(--orange); stroke-width: 1.2; stroke-dasharray: 3 7; opacity: .45; }
.carte__route { fill: none; stroke: var(--anth); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.carte.is-in .carte__route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) var(--d, 0ms); }
.carte__pt { fill: var(--white); stroke: var(--anth); stroke-width: 3.5; }
.carte__hubpt { fill: var(--orange); stroke: var(--white); stroke-width: 4; }
.carte__pulse { fill: var(--orange); opacity: .5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(4.2); opacity: 0; } }
.carte__hub, .carte__ville { position: absolute; white-space: nowrap; pointer-events: none; }
.carte__hub { transform: translate(-50%, calc(-100% - 22px)); padding: 7px 12px; border-radius: var(--radius); background: var(--anth); color: var(--white); font: 800 14px/1 var(--display); font-stretch: 118%; letter-spacing: .02em; }
.carte__hub::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: var(--anth); transform: rotate(45deg); }
.carte__ville { display: inline-flex; align-items: center; gap: 6px; transform: translate(14px, -50%); font: 700 13px/1 var(--text); color: var(--anth); }
.carte__ville--g { transform: translate(calc(-100% - 14px), -50%); flex-direction: row-reverse; }
.carte__ville--h { transform: translate(-50%, calc(-100% - 12px)); }
.carte__ville--b { transform: translate(-50%, 12px); }
.carte__ville small { padding: 4px 7px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 11.5px; font-weight: 700; }
.carte__note { margin: 12px 0 0; font-size: 12px; color: #9b978f; }

/* Étapes */
.etapes { background: var(--white); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step__n { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; background: var(--anth); color: var(--white); font: 800 24px/1 var(--display); font-stretch: 120%; box-shadow: 0 0 0 8px var(--white); }
.step h3 { font-size: 21px; }
.step p { color: var(--grey); margin: 0; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--topbar) + 24px); }
.faq .section__head a { color: var(--orange); font-weight: 700; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 700 18px/1.3 var(--display); font-stretch: 104%; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--text); color: var(--orange); transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { color: #4a4b50; padding-right: 44px; margin-bottom: 22px; }

/* Appel final */
.final { background: var(--orange); color: var(--white); padding: calc(clamp(64px, 8vw, 110px) + var(--slant)) 0 clamp(64px, 8vw, 110px); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); position: relative; }
.final__in { text-align: center; max-width: 820px; }
.final h2 { font-size: clamp(34px, 5vw, 64px); font-stretch: 118%; }
.final p { font-size: 19px; color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.final__ctas { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.final__tel { display: inline-flex; align-items: center; gap: 10px; font: 800 24px/1 var(--display); font-stretch: 115%; text-decoration: none; }

/* Pied de page */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); font-size: 14px; padding: 28px 0; }
.footer__in { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer strong { color: var(--white); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }

/* ---------- Page de remerciement ---------- */
.merci { position: relative; min-height: calc(100vh - 80px); display: flex; align-items: center; padding: calc(var(--topbar) + 48px) 0 64px; background: var(--ink); isolation: isolate; }
.merci__bg { position: absolute; inset: 0; z-index: -1; }
.merci__bg img { width: 100%; height: 100%; object-fit: cover; }
.merci__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 25, 28, .88), rgba(24, 25, 28, .94)); }
.merci__card { position: relative; max-width: 640px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); background: var(--white); border-radius: var(--radius); text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.merci__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--orange); border-radius: var(--radius) var(--radius) 0 0; }
.merci__check { display: inline-block; width: 76px; height: 76px; margin-bottom: 20px; }
.merci__check svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.merci__check circle { fill: var(--orange); stroke: none; transform-origin: center; animation: merci-pop .5s var(--ease) both; }
.merci__check path { stroke: var(--white); stroke-width: 4.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: merci-draw .45s var(--ease) .35s forwards; }
@keyframes merci-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes merci-draw { to { stroke-dashoffset: 0; } }
.merci h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }
.merci__texte { font-size: 18px; color: #4a4b50; max-width: 48ch; margin: 0 auto 30px; }
.merci__etapes { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.merci__etapes li { display: flex; gap: 10px; padding: 14px; background: var(--paper); border-radius: var(--radius); }
.merci__etapes li > span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--anth); color: var(--white); font: 800 13px/1 var(--display); }
.merci__etapes li:first-child > span { background: var(--orange); }
.merci__etapes strong { display: block; font-size: 14px; line-height: 1.25; margin-bottom: 4px; }
.merci__etapes small { display: block; font-size: 13px; line-height: 1.4; color: var(--grey); }
.merci__tel { color: var(--grey); margin-bottom: 22px; }
.merci__tel a { color: var(--orange); font-weight: 700; }
body.ebs-merci-page { background: var(--ink); padding-bottom: 0; }
@media (max-width: 640px) { .merci__etapes { grid-template-columns: 1fr; } .merci { padding-top: calc(var(--topbar) + 24px); } }

/* Barre d'administration WordPress (utilisateur connecté) */
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .topbar { top: 0; } }

/* Barre mobile */
.mobilebar { display: none; }
.show-xs { display: none; }
@media (max-width: 480px) { .hide-xs { display: none; } .show-xs { display: inline; } .brand__name { font-size: 9.5px; letter-spacing: .28em; } .logo-mark { height: 40px; } .topbar__actions { gap: 10px; } }

/* Apparitions */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Mise en avant du formulaire après un clic sur un bouton */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 91, 16, .7), 0 30px 60px -20px rgba(0, 0, 0, .55); } 100% { box-shadow: 0 0 0 18px rgba(232, 91, 16, 0), 0 30px 60px -20px rgba(0, 0, 0, .55); } }
.form-card.is-flash { animation: pulse .9s var(--ease) 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 36px; }
	.form-card { padding: 24px 20px 18px; }
	.equip { grid-template-columns: repeat(2, 1fr); }
	.avis__grid { grid-template-columns: 1fr 1fr; }
	.quote--big { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 940px) {
	.hero__grid { grid-template-columns: 1fr; }
	.form-card { max-width: 620px; padding: 28px 28px 22px; }
}
@media (max-width: 860px) {
	:root { --slant: 28px; --topbar: 60px; }
	.format, .repas__grid, .acces__grid, .faq__grid, .plan { grid-template-columns: 1fr; }
	.trajets { grid-template-columns: 1fr 1fr; }
	.format--rev .format__media { order: 0; }
	.plan__map, .faq .section__head { position: static; }
	.acces__body, .trajets, .acces__visuels { grid-column: 1; grid-row: auto; }
	.acces__visuels { order: 2; }
	.trajets { order: 3; }
	.chiffres__grid { grid-template-columns: 1fr 1fr; }
	.chiffre { padding: 18px 16px; }
	.chiffre:nth-child(odd) { border-left: 0; padding-left: 0; }
	.chiffre:nth-child(n+3) { border-top: 1px solid var(--line); }
	.galerie { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 72px; }
	.topbar__tel span { display: none; }
	.topbar__tel { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line-dark); border-radius: var(--radius); }
	.hero { padding-top: calc(var(--topbar) + 28px); }
	.hero__title { font-size: 34px; font-stretch: 108%; }
	.hero__text { font-size: 16px; margin-bottom: 20px; }
	.hero__atouts { margin-bottom: 4px; gap: 8px; }
	.hero__atouts li { font-size: 13px; padding: 6px 11px; }
	.hero__tel { display: none; }
	.hero__grid { gap: 28px; }
	.form-card { padding: 22px 16px 18px; margin: 0 -4px; }
	.ebs-cards .gfield_radio { grid-template-columns: 1fr; }
	.ebs-cards .gchoice label { min-height: 52px; }
	.gf_step_label { display: none; }
	.gf_step_active .gf_step_label { display: inline; }
	.equip { grid-template-columns: 1fr 1fr; }
	.equip__item { padding: 20px 16px; }
	.steps { grid-template-columns: 1fr; gap: 36px; }
	.steps::before { display: none; }
	.room text { font-size: 26px; }
	.room text.m2 { font-size: 20px; }
	.plan__service text { font-size: 17px; }
	.plan__entree-t { font-size: 15px; }
	.carte { padding: 10px 8px 12px; }
	.carte__note { padding: 0 6px; font-size: 11px; }
	.avis__grid { grid-template-columns: 1fr; }
	.ginput_complex { grid-template-columns: 1fr; }
	.carte__ville { font-size: 11px; }
	.carte__ville small { display: none; }
	.carte__hub { font-size: 12px; padding: 6px 9px; transform: translate(-50%, calc(-100% - 14px)); }
	.trajets { grid-template-columns: 1fr; }
	.mobilebar {
		display: grid; grid-template-columns: auto 1fr; gap: 8px;
		position: fixed; inset: auto 0 0; z-index: 60;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(24, 25, 28, .95); backdrop-filter: blur(8px);
		transform: translateY(110%); transition: transform .3s var(--ease);
	}
	.mobilebar.is-visible { transform: none; }
	.mobilebar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
	.mobilebar__tel { border: 1.5px solid rgba(255, 255, 255, .35); color: var(--white); }
	.mobilebar__tel .ico { width: 18px; height: 18px; }
	.mobilebar__cta { background: var(--orange); color: var(--white); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
