/* ==========================================================================
   Page contact Pulse IA (s'appuie sur case-premium.css)
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-hp { position: absolute; left: -9999px; }

.ct {
  background:
    radial-gradient(ellipse 50% 60% at 15% 10%, rgba(255, 75, 54, .12) 0%, rgba(255, 75, 54, 0) 60%),
    var(--bg);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}
.ct-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 960px) { .ct-grid { grid-template-columns: 1fr; } }

/* ---------- Colonne de gauche ---------- */
.ct-intro { position: sticky; top: 6.5rem; }
@media (max-width: 960px) { .ct-intro { position: static; } }
.ct .cs-eyebrow { color: var(--orange); }
.ct-title { margin: 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase; line-height: 1; font-size: clamp(2.75rem, 6vw, 5rem); }
.ct-title span { color: var(--orange); text-shadow: 0 0 30px rgba(255, 75, 54, .25); }
.ct-lead { margin: 1.5rem 0 0; color: #c7cbd1; font-size: 1.1rem; max-width: 30rem; }
.ct-steps { margin: 2.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
.ct-steps li { display: flex; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ct-steps li > span { font-family: var(--mono); font-size: .8rem; color: var(--orange); padding-top: .2rem; }
.ct-steps strong { display: block; font-size: 1.05rem; }
.ct-steps p { margin: .25rem 0 0; color: #8b929c; font-size: .95rem; }
.ct-direct { margin-top: 2rem; display: grid; gap: .5rem; }
.ct-direct__title { margin: 0 0 .25rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8b929c; }
.ct-direct a { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem; width: fit-content; border-bottom: 1px solid rgba(255, 75, 54, .8); }
.ct-direct a:hover { color: var(--orange); }

/* ---------- Carte formulaire ---------- */
.ct-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: 0 0 0 1.5px rgba(255, 75, 54, .5), 0 40px 100px rgba(0, 0, 0, .45);
}
.ct-card__title { margin: 0; font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; }
.ct-card__hint { margin: .5rem 0 1.5rem; color: var(--muted); font-size: .9rem; }

.ct-step { margin: 0 0 1.75rem; padding: 0 0 1.75rem; border: 0; border-bottom: 1px solid var(--line); display: grid; gap: 1.1rem; min-width: 0; }
.ct-step legend { padding: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); }
.ct-step legend span { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: 0; }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .ct-row { grid-template-columns: 1fr; } }
.ct-field { display: grid; gap: .45rem; min-width: 0; }
.ct-field[hidden] { display: none; }
.ct-field > span { font-size: .9rem; font-weight: 600; }
.ct-field input, .ct-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: .7rem;
  border: 1px solid rgba(20, 23, 26, .16);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.ct-field textarea { resize: vertical; min-height: 6rem; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 75, 54, .2); }

/* Choix sous forme de pastilles */
.ct-chips, .ct-budget { display: flex; flex-wrap: wrap; gap: .5rem; }
.ct-chips label, .ct-budget label { position: relative; cursor: pointer; }
.ct-chips input, .ct-budget input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ct-chips span, .ct-budget span {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 23, 26, .16);
  background: #fff;
  font-size: .92rem;
  transition: border-color .2s, background-color .2s, color .2s;
}
.ct-chips label:hover span, .ct-budget label:hover span { border-color: rgba(255, 75, 54, .6); }
.ct-chips input:checked + span, .ct-budget input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--orange); }
.ct-chips input:focus-visible + span, .ct-budget input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Budget mis en valeur : grandes cases */
.ct-budget { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-budget span { display: block; text-align: center; padding: .95rem .75rem; border-radius: .8rem; font-weight: 600; }
.ct-budget .is-wide { grid-column: 1 / -1; }
.ct-budget .is-wide span { font-weight: 500; }
.ct-budget-note { margin: .25rem 0 0; padding: .85rem 1rem; border-radius: .7rem; background: rgba(255, 75, 54, .08); border: 1px solid rgba(255, 75, 54, .4); font-size: .9rem; color: var(--ink); }
.ct-help { margin: 0; font-size: .85rem; color: var(--muted); }

.ct-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.ct-consent input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--orange); flex: none; }

.ct-error { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: .7rem; background: #fff1ef; border: 1px solid var(--orange); color: var(--orange-deep); font-size: .92rem; font-weight: 600; }
.ct-submit { margin-top: 1.5rem; width: 100%; justify-content: center; border: 0; cursor: pointer; font-family: inherit; background: var(--ink); color: #fff !important; padding: 1.2rem 1.5rem; font-size: 1rem; }
.ct-submit:disabled { opacity: .7; cursor: wait; }
.ct-reassure { margin: .9rem 0 0; text-align: center; font-size: .82rem; color: var(--muted); }

.ct-success p { color: var(--muted); }
.ct-success a { color: var(--orange-deep); font-weight: 600; }
.ct-success:focus { outline: none; }
