/* ==========================================================================
   Invassist — page Contact
   Réutilise base.css (variables, grille, .section, .seg, .eyebrow, flèches,
   révélations [data-rv]). Seuls les styles propres à la page sont ici.
   ========================================================================== */

.ct-main, .ct-map, .ct-end { --err: #A81E26; --panel: #171716; }
.ct-eyebrow { margin-bottom: 24px; }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.ct-hero { position: relative; background: var(--bg-dark); color: var(--text-light); overflow: hidden; }
.ct-hero__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ct-hero__line { position: absolute; top: 0; bottom: 0; left: var(--line-x); width: 2px; background: var(--accent-red); transform-origin: 50% 0; }
.ct-hero__copy { padding: calc(clamp(116px, 16vh, 158px) + var(--admin-offset)) 0 clamp(52px, 8vh, 88px) var(--indent); }
.ct-hero__eyebrow {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 clamp(20px, 3vh, 30px);
	font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-soft);
}
.ct-hero__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-red-on-dark); box-shadow: 0 0 0 4px rgba(239, 74, 78, .18); }
.ct-hero__eyebrow-k { color: var(--text-light); }
.ct-hero__eyebrow-rule { width: 24px; height: 1px; background: #3A3734; }
.ct-hero__title { margin: 0; max-width: 11.5em; font-weight: 600; font-size: clamp(44px, 6.2vw, 100px); line-height: .96; letter-spacing: -.052em; color: var(--white); }
.ct-hero__row { display: block; overflow: hidden; padding-bottom: .04em; }
.ct-hero__row--last { padding-bottom: .1em; }
.ct-hero__row > span { display: block; }
.ct-hero__u { position: relative; white-space: nowrap; }
.ct-hero__rule { position: absolute; left: .02em; right: .24em; bottom: .02em; height: .06em; background: var(--accent-red); transform-origin: 0 50%; }
.ct-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; gap: clamp(28px, 4vh, 40px) clamp(40px, 6vw, 96px); margin-top: clamp(28px, 4.4vh, 44px); }
.ct-hero__lead { margin: 0; max-width: 31em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: #CFC9C3; text-wrap: pretty; }
.ct-thread {
	display: grid; grid-template-columns: auto minmax(56px, 1fr) auto; align-items: center; gap: 18px; max-width: 560px; padding-bottom: 6px;
	font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-soft);
}
.ct-thread__to { color: var(--accent-red-on-dark); }
.ct-thread__bar { position: relative; display: block; height: 2px; background: #2A2826; }
.ct-thread__fill { position: absolute; inset: 0; background: var(--accent-red); transform-origin: 0 50%; }
.ct-thread__a { position: absolute; left: -6px; top: -5px; width: 12px; height: 12px; border: 2px solid var(--accent-red); background: var(--bg-dark); }
.ct-thread__b { position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; background: var(--accent-red); }
.ct-thread__pulse { position: absolute; left: 0; top: -3px; width: 8px; height: 8px; margin-left: -4px; background: var(--white); opacity: 0; }

@media (max-width: 899px) {
	.ct-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.ct-hero__title { font-size: clamp(36px, 11vw, 44px); }
}

/* ---------------------------------------------------------------------------
   01 Votre demande : formulaire + coordonnées
   --------------------------------------------------------------------------- */
.ct-main__inner { padding-top: clamp(56px, 9vh, 104px); padding-bottom: clamp(80px, 12vh, 136px); }
.ct-kicker {
	display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(24px, 3.6vh, 36px);
	font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.ct-kicker span:first-child { color: var(--accent-red); }
.ct-kicker span:nth-child(2) { width: 24px; height: 1px; background: var(--line-strong); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(48px, 5vw, 88px); align-items: start; }

.ct-card { position: relative; min-width: 0; background: var(--plate); border: 1px solid #DDD8D0; box-shadow: 0 40px 80px -64px rgba(23, 23, 22, .45); }
.ct-card__thread { position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: rgba(23, 23, 22, .1); }
.ct-card__thread > span:first-child { position: absolute; inset: 0; background: var(--accent-red); transform-origin: 50% 0; transform: scaleY(0); transition: transform .8s var(--ease-io); }
.ct-card__node { position: absolute; left: -5px; bottom: -6px; width: 12px; height: 12px; background: var(--accent-red); transform: scale(0); transition: transform .5s var(--ease-out) .6s; }
.ct-card.is-done .ct-card__thread > span:first-child { transform: scaleY(1); }
.ct-card.is-done .ct-card__node { transform: scale(1); }

.cf { padding: clamp(24px, 3.6vw, 52px); }
.cf[hidden], .cf-done[hidden] { display: none; }
.cf__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf__title {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 0 0 clamp(28px, 4vh, 40px);
	font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.cf-ctx {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: -8px 0 clamp(28px, 4vh, 36px);
	padding: 14px 16px 14px 18px; background: var(--surface); border: 1px solid #DDD8D0; border-left: 2px solid var(--accent-red);
}
.cf-ctx[hidden] { display: none; }
.cf-ctx p { margin: 0; flex: 1 1 260px; font-size: 15px; line-height: 1.5; color: var(--text-body); }
.cf-ctx strong { color: var(--text-dark); }
.cf-ctx__clear {
	min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
	font-size: 13px; font-weight: 500; color: var(--text-dark); cursor: pointer; transition: border-color .3s;
}
.cf-ctx__clear:hover { border-color: var(--text-dark); }
.cf-ctx__clear:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 2px; }

.cf__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(28px, 4vh, 36px) clamp(24px, 3vw, 40px); }
.cf__pair--contact { margin-top: clamp(16px, 2.4vh, 24px); }
.cf__hint { display: flex; align-items: baseline; gap: 10px; margin: clamp(36px, 5vh, 48px) 0 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.cf__hint > span { flex: none; width: 12px; height: 2px; background: var(--accent-red); transform: translateY(-4px); }

/* Champ : étiquette mono + trait qui s'allonge au focus */
.cf-field { min-width: 0; }
.cf-field__label {
	display: flex; align-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
	color: var(--text-muted); transition: color .3s;
}
.cf-field__tick { display: block; height: 2px; width: 0; margin-right: 0; background: currentColor; transition: width .4s var(--ease-out), margin .4s var(--ease-out); }
.cf-field.is-focus .cf-field__label { color: var(--accent-red); }
.cf-field.is-focus .cf-field__tick, .cf-field.is-filled .cf-field__tick { width: 14px; margin-right: 10px; }
.cf-field__wrap { position: relative; }
.cf-field__input {
	display: block; width: 100%; height: 56px; padding: 0; border: 0; border-bottom: 1px solid #C9C4BC; border-radius: 0; background: transparent;
	font-size: 20px; font-weight: 500; color: var(--text-dark); outline: none; transition: border-color .3s;
}
.cf-field__input::placeholder, .cf-msg__input::placeholder { color: var(--text-soft); opacity: .7; }
.cf-field.is-filled .cf-field__input, .cf-msg.is-filled .cf-msg__input { border-bottom-color: #8A857F; }
.cf-field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(0); transition: transform .55s var(--ease-out); pointer-events: none; }
.cf-field.is-focus .cf-field__line, .cf-msg.is-focus .cf-field__line { transform: scaleX(1); }
.cf-field.has-error .cf-field__label { color: var(--err); }
.cf-field.has-error .cf-field__input, .cf-msg.has-error .cf-msg__input { border-bottom-color: var(--err); }
.cf-field.has-error .cf-field__line, .cf-msg.has-error .cf-field__line { transform: scaleX(1); background: var(--err); }
.cf-field.has-error.is-focus .cf-field__line, .cf-msg.has-error.is-focus .cf-field__line { background: var(--accent-red); }
.cf-err { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; font-size: 14px; font-weight: 500; color: var(--err); }
.cf-err[hidden] { display: none; }
.cf-err > span:first-child { flex: none; width: 8px; height: 8px; background: var(--err); }

/* Message */
.cf-msg { margin-top: clamp(44px, 6vh, 60px); min-width: 0; }
.cf-msg__label { display: flex; align-items: center; font-size: clamp(24px, 2.3vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; color: var(--text-dark); }
.cf-msg__tick { display: block; height: 3px; width: 0; margin-right: 0; background: var(--accent-red); transition: width .45s var(--ease-out), margin .45s var(--ease-out); }
.cf-msg.is-focus .cf-msg__tick, .cf-msg.is-filled .cf-msg__tick { width: 18px; margin-right: 14px; }
.cf-msg__help { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.cf-msg__wrap { margin-top: 14px; }
.cf-msg__input {
	display: block; width: 100%; min-height: 168px; padding: 16px 0 18px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid #C9C4BC; border-radius: 0;
	background: transparent; font-size: 20px; line-height: 1.55; font-weight: 500; color: var(--text-dark); outline: none; resize: vertical; transition: border-color .3s;
}

/* Accord (jamais pré-coché) */
.cf-consent { margin-top: 32px; }
.cf-consent__label { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.cf-consent__input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.cf-consent__box { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 2px solid var(--text-dark); transition: background-color .25s, border-color .25s; }
.cf-consent__box::after {
	content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white);
	transform: rotate(45deg) scale(0); transition: transform .3s var(--ease-out);
}
.cf-consent__input:checked + .cf-consent__box { background: var(--accent-red); border-color: var(--accent-red); }
.cf-consent__input:checked + .cf-consent__box::after { transform: rotate(45deg) scale(1); }
.cf-consent__input:focus-visible + .cf-consent__box { outline: 2px solid var(--accent-red); outline-offset: 3px; }
.cf-consent.has-error .cf-consent__box { border-color: var(--err); }
.cf-consent__text { font-size: 15px; line-height: 1.5; color: var(--text-body); }
.cf-consent__text a { color: var(--text-dark); text-decoration: underline; text-decoration-color: var(--accent-red); text-underline-offset: 3px; }
.cf-consent .cf-err { padding-left: 36px; }

/* Récapitulatif d'erreurs / échec d'envoi */
.cf-sum { margin-top: 32px; padding: 16px 18px; border: 1px solid #D9B7B4; background: #EFE3E0; color: var(--err); }
.cf-sum[hidden], .cf-fail[hidden] { display: none; }
.cf-sum__t { margin: 0; font-size: 15px; font-weight: 600; }
.cf-sum__list { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.cf-sum__list a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 500; color: var(--err); text-decoration: underline; text-underline-offset: 3px; }
.cf-sum__list a:focus-visible { outline: 2px solid var(--err); outline-offset: 2px; }
.cf-fail { margin-top: 32px; padding: 18px 20px; background: var(--panel); color: var(--text-light); }
.cf-fail__t { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 600; }
.cf-fail__t span { width: 8px; height: 8px; background: var(--accent-red-on-dark); }
.cf-fail__d { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: #CFC9C3; }
.cf-fail__d a { font-weight: 600; color: var(--white); text-decoration: underline; text-decoration-color: var(--accent-red-on-dark); text-underline-offset: 4px; }

/* Envoi */
.cf__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: clamp(32px, 5vh, 44px); }
.cf-submit {
	--bh: 0; --arrow-c: var(--accent-red-on-dark); position: relative; display: inline-flex; align-items: center; gap: 16px; height: 64px; padding: 0 26px 0 30px;
	border: 0; border-radius: 999px; background-color: var(--panel); color: var(--white); font-size: 17px; font-weight: 600; cursor: pointer; overflow: hidden;
	transition: transform .3s var(--ease-out), background-color .3s, box-shadow .4s;
}
.cf-submit:hover { --bh: 1; background-color: var(--black-deep); box-shadow: 0 20px 40px -18px rgba(23, 23, 22, .6); }
.cf-submit:active { transform: scale(.97); }
.cf-submit:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 3px; }
.cf-submit__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(0); }
.cf-submit.is-busy { cursor: progress; }
.cf-submit.is-busy .arrow { display: none; }
.cf-submit.is-busy .cf-submit__bar { transform: scaleX(1); transition: transform 1.7s cubic-bezier(.4, 0, .2, 1); }
.cf__note { flex: 1 1 220px; margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* Confirmation */
.cf-done { padding: clamp(28px, 4.4vw, 60px); outline: none; }
.cf-done__k { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-red); }
.cf-done__k span { width: 8px; height: 8px; background: var(--accent-red); }
.cf-done__title { margin: clamp(20px, 3vh, 28px) 0 0; font-size: clamp(40px, 5vw, 76px); font-weight: 600; line-height: .98; letter-spacing: -.05em; color: var(--text-dark); text-wrap: balance; }
.cf-done__text { margin: clamp(18px, 2.6vh, 24px) 0 0; max-width: 30em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.cf-done__line {
	display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 16px; margin-top: clamp(32px, 5vh, 48px);
	font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.cf-done__line > span:last-child { color: var(--text-dark); }
.cf-done__bar { position: relative; height: 2px; background: rgba(23, 23, 22, .12); }
.cf-done__bar span:first-child { position: absolute; inset: 0; background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease-io) .2s; }
.cf-done__bar span:last-child { position: absolute; right: -5px; top: -5px; width: 12px; height: 12px; background: var(--accent-red); transform: scale(0); transition: transform .4s var(--ease-out) 1.3s; }
.cf-done.is-on .cf-done__bar span { transform: none; }
.no-anim .cf-done__bar span, .cf-done.is-static .cf-done__bar span { transform: none; transition: none; }
.cf-done__recap { margin-top: clamp(28px, 4vh, 40px); padding: 20px 22px; background: var(--surface); border: 1px solid #DDD8D0; }
.cf-done__recap[hidden] { display: none; }
.cf-done__recap-k { margin: 0; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.cf-done__recap-msg { margin: 10px 0 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; color: var(--text-dark); white-space: pre-line; overflow-wrap: anywhere; }
.cf-done__recap-who { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-body); }
.cf-done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(28px, 4vh, 40px); }
.cf-done__again {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px;
	font-size: 15px; font-weight: 600; color: var(--text-dark); transition: background-color .3s, border-color .3s, color .3s;
}
.cf-done__again:hover { background-color: var(--panel); border-color: var(--panel); color: var(--white); }
.cf-done__again:focus-visible, .cf-done__link:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 2px; }
.cf-done__link { font-size: 15px; font-weight: 500; color: var(--text-dark); text-decoration: underline; text-decoration-color: var(--accent-red); text-underline-offset: 5px; transition: color .3s; }
.cf-done__link:hover { color: var(--accent-red); }

/* Coordonnées */
.ct-aside { min-width: 0; position: sticky; top: calc(var(--admin-offset) + var(--header-h) + 16px); }
.ct-aside__block { padding: clamp(24px, 3.4vh, 32px) 0; border-top: 1px solid #C9C4BC; }
.ct-aside__block--tel { padding-top: 0; padding-bottom: clamp(28px, 4vh, 40px); border-top: 0; }
.ct-aside__block--mail { border-top: 2px solid var(--text-dark); }
.ct-aside__block--addr { padding-bottom: 0; }
.ct-aside__k { margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.ct-aside__tel {
	--sh: 0; position: relative; display: inline-block; margin-top: 14px; font-size: clamp(40px, 4vw, 60px); font-weight: 600; line-height: 1;
	letter-spacing: -.05em; color: var(--text-dark); white-space: nowrap;
}
.ct-aside__tel:hover { --sh: 1; color: var(--text-dark); }
.ct-aside__tel:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 4px; }
.ct-aside__tel > span { position: absolute; left: 0; right: 0; bottom: -10px; height: 3px; background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(calc(.18 + var(--sh) * .82)); transition: transform .5s var(--ease-out); }
.ct-aside__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ct-aside__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 10px; }
.ct-aside__row--end { align-items: flex-end; gap: 12px 20px; margin-top: 12px; }
.ct-aside__mail {
	--mh: 0; display: inline-flex; align-items: baseline; gap: 10px; min-width: 0; max-width: 100%; padding: 6px 0;
	font-family: var(--font-serif); font-style: italic; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; color: var(--text-dark); overflow-wrap: anywhere;
}
.ct-aside__mail > span:first-child { min-width: 0; }
.ct-aside__mail:hover { --mh: 1; color: var(--text-dark); }
.ct-aside__mail:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 3px; }
.ct-aside__mail > span:last-child { font-family: var(--font-sans); font-style: normal; font-size: 18px; color: var(--accent-red); transform: translate(calc(var(--mh) * 3px), calc(var(--mh) * -3px)); transition: transform .4s var(--ease-out); }
.ct-aside__hours { margin: 0; font-size: clamp(34px, 3vw, 44px); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--text-dark); }
.ct-aside__days { margin: 0; font-size: 16px; line-height: 1.4; color: var(--text-body); }
.ct-aside__days span { color: var(--text-muted); }
.ct-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 18px; }
.ct-week__d { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-week__d span:first-child { display: block; height: 8px; background: repeating-linear-gradient(135deg, #D3CEC6 0 3px, #E2DED7 3px 6px); }
.ct-week__d.is-open span:first-child { background: var(--accent-red); }
.ct-week__d span:last-child { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-align: center; color: #8A857F; }
.ct-week__d.is-open span:last-child { color: var(--text-dark); }
.ct-aside__addr { margin: 0; font-style: normal; font-size: 18px; line-height: 1.45; color: var(--text-dark); }
.ct-aside__addr span { display: block; font-weight: 600; }
.ct-pill {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px;
	background: transparent; font-size: 14px; font-weight: 500; color: var(--text-dark); cursor: pointer; transition: border-color .3s, transform .3s var(--ease-out);
}
.ct-pill:hover { border-color: var(--text-dark); color: var(--text-dark); }
.ct-pill:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 2px; }
.ct-pill--sm { padding: 0 14px; font-size: 13px; }
.ct-pill--dark { --bh: 0; --arrow-c: var(--accent-red-on-dark); padding: 0 16px 0 18px; border: 0; background: var(--panel); color: var(--white); font-weight: 600; }
.ct-pill--dark:hover { --bh: 1; color: var(--white); }
.ct-pill--dark:active { transform: scale(.97); }
.ct-pill.is-copied { border-color: var(--accent-red); }
.ct-down { --dh: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--text-dark); }
.ct-down:hover { --dh: 1; color: var(--text-dark); }
.ct-down:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 3px; }
.ct-down__arrow { position: relative; display: block; width: 10px; height: 16px; }
.ct-down__arrow span:first-child { position: absolute; top: 0; bottom: 0; left: 4px; width: 2px; background: var(--accent-red); transform-origin: 50% 0; transform: scaleY(calc(.55 + var(--dh) * .45)); transition: transform .45s var(--ease-out); }
.ct-down__arrow span:last-child { position: absolute; left: 1px; bottom: 1px; width: 8px; height: 8px; border-right: 2px solid var(--accent-red); border-bottom: 2px solid var(--accent-red); transform: translateY(calc((var(--dh) - 1) * 5px)) rotate(45deg); transition: transform .45s var(--ease-out); }

@media (max-width: 1099px) {
	.ct-grid { grid-template-columns: minmax(0, 1fr); }
	.ct-aside { position: static; }
	.ct-aside__block--addr { display: none; }
}

/* ---------------------------------------------------------------------------
   02 Nous trouver : carte
   --------------------------------------------------------------------------- */
.ct-map__inner { padding-top: clamp(80px, 12vh, 136px); padding-bottom: clamp(80px, 12vh, 136px); }
.ct-map__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(32px, 5vh, 52px); }
.ct-map__title { margin: 0; font-size: clamp(40px, 5vw, 76px); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--white); }
.ct-map__area { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-soft); }
.ct-map__addr-m { display: none; margin: 0 0 22px; font-style: normal; font-size: 21px; line-height: 1.4; color: var(--white); }
.ct-map__addr-m > span { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-red-on-dark); }
.ct-map__addr-m > span span { width: 8px; height: 8px; background: var(--accent-red); }

.ct-mapbox { position: relative; z-index: 1; isolation: isolate; height: clamp(480px, 64vh, 640px); overflow: hidden; background: #1D1C1B; box-shadow: 0 0 0 1px #2A2826; }
.ct-mapbox__map { position: absolute; inset: 0; background: #CFCAC1; }
.ct-mapbox__map .leaflet-tile-pane { transition: filter .7s ease; filter: grayscale(.78) sepia(.24) brightness(.82) contrast(.92); }
.ct-mapbox.is-live .ct-mapbox__map .leaflet-tile-pane { filter: grayscale(.4) sepia(.16) brightness(.92) contrast(1); }
.ct-mapbox__vig {
	position: absolute; inset: 0; z-index: 900; pointer-events: none; transition: opacity .6s ease;
	box-shadow: inset 0 0 0 1px rgba(14, 13, 13, .6), inset 0 -140px 120px -80px rgba(14, 13, 13, .45), inset 0 80px 90px -70px rgba(14, 13, 13, .4);
}
.ct-mapbox.is-live .ct-mapbox__vig { opacity: .35; }
.ct-mapbox__ctrl { position: absolute; top: clamp(12px, 1.6vw, 20px); right: clamp(12px, 1.6vw, 20px); z-index: 1000; display: flex; flex-direction: column; gap: 1px; background: #2A2826; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
.ct-mapbox__ctrl button { position: relative; width: 44px; height: 44px; border: 0; background: var(--panel); color: var(--text-light); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color .25s; }
.ct-mapbox__ctrl button:hover { background-color: #262422; }
.ct-mapbox__ctrl button:focus-visible { outline: 2px solid var(--accent-red-on-dark); outline-offset: -2px; }
.ct-mapbox__ctrl [data-map-center] span:first-child { position: absolute; left: 15px; top: 15px; width: 14px; height: 14px; border: 2px solid var(--text-light); }
.ct-mapbox__ctrl [data-map-center] span:last-child { position: absolute; left: 20px; top: 20px; width: 4px; height: 4px; background: var(--accent-red-on-dark); }
.ct-mapbox__touch {
	position: absolute; top: 12px; left: 12px; z-index: 1000; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
	border: 0; border-radius: 999px; background: var(--panel); color: var(--text-light); font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); cursor: pointer;
}
.ct-mapbox__touch[hidden] { display: none; }
.ct-mapbox__touch[aria-pressed="true"] { background: var(--text-light); color: var(--bg-dark); }
.ct-mapbox__touch span:first-child { width: 8px; height: 8px; background: var(--accent-red); }
.ct-mapbox__touch:focus-visible { outline: 2px solid var(--accent-red-on-dark); outline-offset: 2px; }
.ct-mapbox__hint {
	position: absolute; left: 50%; top: 50%; z-index: 950; margin: 0; padding: 12px 18px; transform: translate(-50%, -50%); background: rgba(23, 23, 22, .92);
	color: var(--text-light); font-size: 14px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .35s ease;
}
.ct-mapbox__hint.is-on { opacity: 1; }
.ct-mapbox__load {
	position: absolute; inset: 0; z-index: 960; display: flex; align-items: center; justify-content: center; background: #1D1C1B; color: var(--dark-soft);
	font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; transition: opacity .6s ease;
}
.ct-mapbox__load.is-gone { opacity: 0; }
.ct-mapbox__fail { position: absolute; inset: 0; z-index: 960; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: #1D1C1B; color: var(--text-light); text-align: center; }
.ct-mapbox__fail[hidden] { display: none; }
.ct-mapbox__fail p { margin: 0; font-size: 17px; line-height: 1.5; }
.ct-mapbox__fail a { font-size: 15px; font-weight: 600; color: var(--white); text-decoration: underline; text-decoration-color: var(--accent-red-on-dark); text-underline-offset: 5px; }
.ct-mapbox__attr { position: absolute; left: 0; bottom: 0; z-index: 1000; margin: 0; padding: 5px 10px; background: rgba(23, 23, 22, .82); color: #CFC9C3; font-size: 11px; line-height: 1.3; }
.ct-mapbox__attr a { color: #CFC9C3; text-decoration: underline; }
.ct-mapbox__attr a:hover { color: var(--white); }
.ct-mapbox__card {
	position: absolute; right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 36px); z-index: 1000; width: min(392px, calc(100% - 40px));
	padding: clamp(24px, 2.4vw, 34px); background: var(--panel); color: var(--text-light); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .75);
}
.ct-mapbox__card-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent-red); }
.ct-mapbox__card-k { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-red-on-dark); }
.ct-mapbox__card-k span { width: 8px; height: 8px; background: var(--accent-red); }
.ct-mapbox__card-addr { margin: 14px 0 0; font-style: normal; font-size: clamp(22px, 1.8vw, 26px); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; color: var(--white); }
.ct-mapbox__card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #2A2826; }
.ct-mapbox__card-note { margin: 12px 0 0; font-size: 13px; color: var(--dark-muted); }
.ct-route {
	--bh: 0; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px 0 24px; border-radius: 999px;
	background: var(--text-light); color: var(--bg-dark); font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .3s var(--ease-out);
}
.ct-route:hover { --bh: 1; color: var(--bg-dark); }
.ct-route:active { transform: scale(.97); }
.ct-route:focus-visible { outline: 2px solid var(--accent-red-on-dark); outline-offset: 3px; }
.ct-copyaddr {
	min-height: 44px; padding: 0; border: 0; background: transparent; font-size: 14px; font-weight: 500; color: #CFC9C3; cursor: pointer;
	text-decoration: underline; text-decoration-color: #3A3734; text-underline-offset: 5px; transition: color .3s, text-decoration-color .3s;
}
.ct-copyaddr:hover { color: var(--white); text-decoration-color: var(--accent-red-on-dark); }
.ct-copyaddr:focus-visible { outline: 2px solid var(--accent-red-on-dark); outline-offset: 2px; }
.ct-map__btns-m { display: none; flex-direction: column; gap: 10px; margin-top: 16px; }
.ct-route--block { justify-content: center; height: 58px; font-size: 16px; }
.ct-copyaddr--block { min-height: 48px; border: 1px solid #3A3734; border-radius: 999px; font-size: 15px; color: var(--text-light); text-decoration: none; }

/* Marqueur (DOM injecté par Leaflet) */
.ct-marker { position: relative; width: 18px; height: 18px; }
.ct-marker__ring { position: absolute; left: -11px; top: -11px; width: 40px; height: 40px; border: 2px solid rgba(212, 42, 47, .55); border-radius: 50%; opacity: 0; }
.ct-marker__dot { position: absolute; inset: 0; background: #D42A2F; border: 3px solid #F3F0EA; box-shadow: 0 6px 16px -4px rgba(14, 13, 13, .65); }
.ct-marker__label {
	position: absolute; left: 28px; top: -4px; white-space: nowrap; padding: 6px 10px; background: #171716; color: #EEEBE6;
	font: 500 11px/1.2 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px -8px rgba(14, 13, 13, .6);
}

@media (max-width: 1099px) {
	.ct-mapbox { height: 420px; }
	.ct-mapbox__card { display: none; }
	.ct-map__addr-m { display: block; }
	.ct-map__btns-m { display: flex; }
}
@media (max-width: 599px) {
	.ct-mapbox { height: 340px; }
}

/* ---------------------------------------------------------------------------
   Conclusion
   --------------------------------------------------------------------------- */
.ct-end { background: var(--plate); color: var(--text-dark); }
.ct-end__inner { padding-top: clamp(64px, 10vh, 112px); padding-bottom: clamp(64px, 10vh, 112px); }
.ct-end__grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 64px; }
.ct-end__text { flex: 1 1 520px; min-width: 0; max-width: 760px; }
.ct-end__title { margin: 0; font-size: clamp(30px, 3.4vw, 50px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.ct-end__sub { margin: 16px 0 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; color: var(--text-body); }
.ct-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.ct-up { --bh: 0; display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 22px 0 26px; border-radius: 999px; background: var(--panel); color: var(--white); font-size: 16px; font-weight: 600; transition: transform .3s var(--ease-out); }
.ct-up:hover { --bh: 1; color: var(--white); }
.ct-up:active { transform: scale(.97); }
.ct-up:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 3px; }
.ct-up__arrow { position: relative; display: block; width: 12px; height: 20px; }
.ct-up__arrow span:first-child { position: absolute; top: 0; bottom: 0; left: 5px; width: 2px; background: var(--accent-red-on-dark); transform-origin: 50% 100%; transform: scaleY(calc(.55 + var(--bh) * .45)); transition: transform .45s var(--ease-out); }
.ct-up__arrow span:last-child { position: absolute; left: 1px; top: 2px; width: 10px; height: 10px; border-left: 2px solid var(--accent-red-on-dark); border-top: 2px solid var(--accent-red-on-dark); transform: translateY(calc((1 - var(--bh)) * 6px)) rotate(45deg); transition: transform .45s var(--ease-out); }
.ct-under { --sh: 0; position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--text-dark); }
.ct-under:hover { --sh: 1; color: var(--text-dark); }
.ct-under:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 3px; }
.ct-under > span { position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent-red); transform-origin: 0 50%; transform: scaleX(calc(.25 + var(--sh) * .75)); transition: transform .45s var(--ease-out); }

@media (max-width: 559px) {
	.cf-submit { width: 100%; justify-content: center; }
	.ct-end__actions .ct-up { flex: 1 1 100%; justify-content: center; }
}
