/* Page Contact (mobile first) */

/* Héro typographique + photo pleine largeur */
.ct-hero { padding-top: calc(var(--nav-h) + clamp(36px, 7vw, 110px)); padding-bottom: clamp(56px, 8vw, 120px); }
.ct-hero__title { font-size: min(clamp(3rem, 17vw, 16rem), 17cqi); line-height: .88; letter-spacing: -.04em; }
.ct-hero__row { display: grid; gap: 22px; margin-top: clamp(24px, 4vw, 48px); }
@media (max-width: 599px) { .ct-hero__row .btn { flex: 1 1 100%; } }
@media (min-width: 961px) { .ct-hero__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; } }
.ct-hero__media { position: relative; margin: clamp(36px, 6vw, 80px) var(--gutter) 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-dd); }
.ct-hero__img { position: absolute; inset: -8% 0; }
.ct-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 721px) { .ct-hero__media { aspect-ratio: 21 / 9; } }
.ct-badge { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 16px; background: rgba(246, 243, 238, .94); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.ct-badge b { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--green); white-space: nowrap; }
.ct-badge span { font-size: .9rem; font-weight: 600; line-height: 1.25; max-width: 13ch; }
@media (min-width: 721px) { .ct-badge { left: 24px; bottom: 24px; padding: 16px 24px 16px 20px; } }

/* Interlocuteurs */
.ct-people { display: grid; gap: 14px; }
.ct-person { border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: grid; container-type: inline-size; }
.ct-person--pub { background: var(--green); }
.ct-person--priv { background: var(--ink); }
.ct-person__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ct-person__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ct-person__body { padding: clamp(22px, 4vw, 44px); display: grid; gap: 14px; align-content: start; min-width: 0; container-type: inline-size; }
.ct-person__role { font-size: var(--fs-small); font-weight: 700; color: #cfe6d5; }
.ct-person--priv .ct-person__role { color: #9fd2ac; }
.ct-person h3 { font-size: min(clamp(2rem, 9vw, 4.2rem), 11.5cqi); letter-spacing: -.03em; line-height: .92; font-variation-settings: "wdth" 100; }
.ct-person p { opacity: .85; max-width: 40ch; }
.ct-person__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ct-person__acts .btn { flex: 1 1 auto; padding: 0 20px; }
.ct-person__acts .btn svg { width: 18px; height: 18px; }
.ct-person__acts .btn:hover svg { transform: none; }
.ct-person__mail { font-size: .88rem; opacity: .7; white-space: nowrap; }
@media (min-width: 600px) {
  .ct-person { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .ct-person__img { aspect-ratio: auto; min-height: 340px; }
}
@media (min-width: 1081px) { .ct-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Formulaire en étapes */
.ct-form { display: grid; gap: clamp(36px, 5vw, 80px); }
.ct-form > * { min-width: 0; }
.ct-aside { display: grid; gap: 28px; align-content: start; container-type: inline-size; }
.ct-steps { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.ct-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ct-steps li > b { font-size: var(--fs-small); font-weight: 800; color: var(--green); padding-top: .35em; }
.ct-steps h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.1; }
.ct-steps p { color: var(--muted); margin-top: 4px; }
.ct-pdf { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.ct-pdf:hover { border-color: var(--green); }
.ct-pdf:active { transform: scale(.98); }
.ct-pdf__ico { width: 56px; height: 56px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; }
.ct-pdf__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-pdf b { display: block; font-size: 1.1rem; }
.ct-pdf small { display: block; color: var(--muted); font-size: .88rem; }

.ct-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 52px); border: 1px solid var(--line); gap: 0; box-shadow: 0 30px 60px -40px rgba(23,24,26,.35); }
.ct-prog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 26px; }
.ct-prog i { height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.ct-prog i::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.ct-prog i.is-done::after { transform: scaleX(1); }
.ct-fs { border: 0; margin: 0; padding: 0 0 28px; min-width: 0; display: grid; gap: 16px; }
.ct-fs + .ct-fs { padding-top: 28px; border-top: 1px solid var(--line); }
.ct-fs legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 4px; font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.015em; }
.ct-fs legend + * { clear: both; }
.ct-fs__n { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--green-l); color: var(--green); display: grid; place-items: center; font-size: .9rem; transition: background-color .25s, color .25s; }
.ct-fs.is-done .ct-fs__n { background: var(--green); color: #fff; }
.ct-pills .opt span { min-height: 48px; background: #fff; }
.ct-pills .opt:hover span { border-color: var(--green); }
.ct-pills .opt input:checked + span { box-shadow: 0 8px 20px -10px rgba(56,114,75,.7); }
.ct-req { font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 4px; }
.js .ct-form [data-ct-select].is-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-submit { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.ct-submit .btn { width: 100%; }
@media (min-width: 721px) { .ct-submit { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; } .ct-submit .btn { width: auto; } }
@media (min-width: 1081px) {
  .ct-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; }
  .ct-aside { position: sticky; top: calc(var(--nav-h) + 28px); }
  .ct-aside .d2 { font-size: min(clamp(2.3rem, 10vw, 9rem), 13cqi); }
}

/* Coordonnées */
.ct-mail { display: block; width: fit-content; max-width: 100%; font-size: min(clamp(1.6rem, 8vw, 9rem), 8.4cqi); font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; text-decoration: none; padding-bottom: .12em; border-bottom: 3px solid #9fd2ac; transition: color .2s; font-variation-settings: "wdth" 100; }
.ct-mail:hover { color: #9fd2ac; }
.ct-coords { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-l); }
.ct-coords > div { display: grid; gap: 10px; align-content: start; }
.ct-coords__k { font-size: var(--fs-small); font-weight: 700; color: #9fd2ac; }
.ct-coords p { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.4; font-weight: 600; }
.ct-coords p a { text-decoration: none; }
.ct-coords p a:hover { text-decoration: underline; }
.ct-coords .link { width: fit-content; }
@media (min-width: 761px) { .ct-coords { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
