/* Page /contact */
.ct-head p { max-width: 560px; margin: 0 auto; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; max-width: 980px; align-items: start; }
.ct-form { padding: clamp(20px, 4vw, 34px); }

/* Champ piège pour robots : hors écran, jamais vu ni lu */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; }
.ct-chip span { display: block; padding: .5em 1em; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; transition: .15s; }
.ct-chip:hover span { border-color: var(--green); }
.ct-chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.ct-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.ct-err { margin-top: 6px; font-size: .84rem; font-weight: 600; color: var(--danger); }
.ct-err::before { content: "⚠ "; }
.field.has-err .input, .field.has-err .select, .field.has-err .textarea { border-color: var(--danger); }

.ct-captcha { display: flex; justify-content: center; margin: 4px 0 14px; }
.ct-legal { margin: 12px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

/* Confirmation */
.ct-done { text-align: center; padding: clamp(28px, 5vw, 44px); }
.ct-done-ico { font-size: 2.6rem; line-height: 1; margin-bottom: 10px; }
.ct-done h2 { margin-bottom: .4em; }
.ct-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* Colonne d'aide */
.ct-aside { display: grid; gap: 14px; }
.ct-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ct-box h2 { font-size: 1.05rem; margin-bottom: .6em; }
.ct-box p { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.ct-box-soft { background: var(--green-soft); border-color: transparent; }
.ct-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ct-links a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.ct-links a:hover { background: var(--green-soft); color: var(--green); }
.ct-links span { width: 22px; text-align: center; }

@media (max-width: 820px) {
    .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .ct-form .field-row { grid-template-columns: 1fr; gap: 0; }
}
