/* Demande de devis — Ségrétier-Adémar & Associés */
.s2a-devis {
  --s2a-blue: #001d6c; --s2a-red: #B90000; --s2a-soft: #f3f5fa; --s2a-line: #e1e6ef;
  --s2a-text: #3b4557; --s2a-muted: #6b7385; --s2a-ok: #0a7a35;
  --s2a-ease: cubic-bezier(.2, .8, .2, 1);
  color: var(--s2a-text); font-size: 16px; line-height: 1.55; max-width: 1120px; margin: 0 auto; position: relative;
  container: s2a / inline-size; /* la mise en page suit la largeur réellement disponible (colonne Elementor, thème…) */
}
.s2a-devis *, .s2a-devis *::before, .s2a-devis *::after { box-sizing: border-box; }
.s2a-devis button { font: inherit; letter-spacing: normal; text-transform: none; }
.s2a-sr, .s2a-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s2a-hp { left: -9999px; }
.s2a-devis [hidden] { display: none !important; }

.s2a-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.s2a-shell:has(.s2a-aside[hidden]) { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
.s2a-main { display: grid; min-width: 0; container: s2amain / inline-size; }
.s2a-main > * { grid-area: 1 / 1; min-width: 0; }

.s2a-card {
  background: #fff; border: 1px solid var(--s2a-line); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 29, 108, .04), 0 18px 48px rgba(0, 29, 108, .08);
  padding: 36px 40px; position: relative; overflow: hidden;
}
.s2a-kicker { margin: 0 0 6px; color: var(--s2a-red); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Transitions entre étapes ---------- */
.s2a-in { animation: s2a-in .38s var(--s2a-ease) both; }
.s2a-in-back { animation: s2a-in-back .38s var(--s2a-ease) both; }
.s2a-out { animation: s2a-out .3s ease both; pointer-events: none; }
.s2a-out-back { animation: s2a-out-back .3s ease both; pointer-events: none; }
@keyframes s2a-in { from { opacity: 0; transform: translateX(36px); } }
@keyframes s2a-in-back { from { opacity: 0; transform: translateX(-36px); } }
@keyframes s2a-out { to { opacity: 0; transform: translateX(-28px); } }
@keyframes s2a-out-back { to { opacity: 0; transform: translateX(28px); } }

/* ---------- Accueil ---------- */
.s2a-intro { text-align: left; padding: 48px; background: linear-gradient(135deg, #fff 60%, var(--s2a-soft)); }
.s2a-intro::after {
  content: ""; position: absolute; right: -70px; top: -60px; width: 150px; height: 140%;
  background: var(--s2a-red); transform: rotate(20deg); opacity: .9;
}
.s2a-intro > * { position: relative; z-index: 1; max-width: 600px; }
.s2a-intro-title { margin: 0 0 14px; color: var(--s2a-blue); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; }
.s2a-intro-lead { margin: 0 0 22px; font-size: 1.08rem; color: var(--s2a-muted); }
.s2a-intro-points { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.s2a-intro-points li { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--s2a-blue); font-weight: 700; font-size: .95rem; }
.s2a-intro-points svg { color: var(--s2a-red); }
.s2a-intro-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.s2a-intro-note { margin: 14px 0 0; font-size: .85rem; color: var(--s2a-muted); }

/* ---------- Boutons ---------- */
.s2a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px;
  border: 0; border-radius: 999px; font-weight: 800; font-size: 1rem; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.s2a-btn:active { transform: scale(.97); }
.s2a-btn-red { background: var(--s2a-red); color: #fff; box-shadow: 0 8px 20px rgba(185, 0, 0, .22); }
.s2a-btn-red:hover { background: #9a0000; color: #fff; }
.s2a-btn-blue { background: var(--s2a-blue); color: #fff; }
.s2a-btn-blue:hover { background: #00145a; color: #fff; }
.s2a-btn-ghost { background: none; color: var(--s2a-blue); padding: 0 14px; }
.s2a-btn-ghost:hover { background: var(--s2a-soft); color: var(--s2a-blue); }
.s2a-btn:focus-visible, .s2a-opt:focus-visible, .s2a-step-btn:focus-visible, .s2a-rev-edit:focus-visible, .s2a-steps button:focus-visible {
  outline: 3px solid rgba(0, 29, 108, .35); outline-offset: 2px;
}
.s2a-btn:disabled { cursor: wait; }

/* ---------- Étape ---------- */
.s2a-bar { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--s2a-soft); }
.s2a-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--s2a-blue), var(--s2a-red)); border-radius: 0 99px 99px 0; transition: width .6s var(--s2a-ease); }
.s2a-step-head { display: flex; gap: 16px; align-items: flex-start; margin: 4px 0 26px; }
.s2a-step-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--s2a-blue); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0, 29, 108, .2); }
.s2a-in .s2a-step-icon { animation: s2a-icon .5s .1s var(--s2a-ease) both; }
@keyframes s2a-icon { from { transform: scale(.6) rotate(-12deg); opacity: 0; } }
.s2a-step-title { margin: 0; color: var(--s2a-blue); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; outline: none; }
.s2a-step-sub { margin: 6px 0 0; color: var(--s2a-muted); font-size: .98rem; }

.s2a-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.s2a-field { grid-column: 1 / -1; min-width: 0; }
.s2a-field.is-half { grid-column: span 1; }
.s2a-reveal { animation: s2a-reveal .45s var(--s2a-ease) both; }
@keyframes s2a-reveal { from { opacity: 0; transform: translateY(-8px); max-height: 0; } to { max-height: 600px; } }
.s2a-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; color: var(--s2a-blue); font-weight: 700; font-size: .95rem; }
.s2a-req { color: var(--s2a-red); }
.s2a-auto { font-size: .72rem; font-weight: 700; color: var(--s2a-ok); background: #e6f5ec; border-radius: 99px; padding: 2px 9px; }
.s2a-help { margin: 0; color: var(--s2a-muted); font-size: .92rem; }

/* Champs texte */
.s2a-input {
  width: 100%; min-height: 52px; padding: 12px 16px; margin: 0; border: 1.5px solid var(--s2a-line); border-radius: 12px;
  background: #fff; color: var(--s2a-text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea.s2a-input { min-height: 0; resize: vertical; line-height: 1.5; }
.s2a-input::placeholder { color: #a3abba; }
.s2a-input:hover { border-color: #c5cddb; }
.s2a-input:focus { outline: none; border-color: var(--s2a-blue); box-shadow: 0 0 0 4px rgba(0, 29, 108, .08); }
.s2a-money { position: relative; }
.s2a-money .s2a-input { padding-right: 64px; font-variant-numeric: tabular-nums; }
.s2a-unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--s2a-muted); font-size: .85rem; font-weight: 700; pointer-events: none; }

/* Choix */
.s2a-cards, .s2a-chips, .s2a-checks, .s2a-seg { display: flex; flex-wrap: wrap; gap: 10px; }
.s2a-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.s2a-cards.is-small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.s2a-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s2a-opt {
  position: relative; display: flex; align-items: center; gap: 12px; margin: 0; text-align: left; cursor: pointer;
  border: 1.5px solid var(--s2a-line); border-radius: 14px; background: #fff; color: var(--s2a-blue);
  font-weight: 700; font-size: .95rem; line-height: 1.3;
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s, transform .15s;
}
.s2a-opt:hover { border-color: var(--s2a-blue); box-shadow: 0 6px 16px rgba(0, 29, 108, .08); transform: translateY(-1px); }
.s2a-opt-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s2a-opt-desc { font-weight: 500; font-size: .86rem; color: var(--s2a-muted); }

.s2a-cards .s2a-opt { padding: 18px 18px 18px 54px; min-height: 76px; }
.s2a-cards.is-small .s2a-opt { min-height: 58px; padding: 12px 14px 12px 48px; }
.s2a-checks .s2a-opt { padding: 12px 14px 12px 48px; min-height: 52px; font-weight: 600; }
.s2a-tick {
  position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  border: 2px solid #c5cddb; display: grid; place-items: center; color: #fff; transition: all .2s;
}
.s2a-checks .s2a-tick { border-radius: 7px; left: 14px; width: 22px; height: 22px; margin-top: -11px; }
.s2a-tick svg { opacity: 0; transform: scale(.4); transition: all .25s var(--s2a-ease); }

.s2a-chips .s2a-opt, .s2a-seg .s2a-opt { min-height: 46px; padding: 0 18px; border-radius: 999px; font-size: .92rem; }
.s2a-seg { gap: 0; display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--s2a-line); border-radius: 999px; padding: 4px; background: var(--s2a-soft); }
.s2a-seg .s2a-opt { border: 0; background: transparent; min-height: 40px; }
.s2a-seg .s2a-opt:hover { transform: none; box-shadow: none; background: #fff; }

.s2a-opt[aria-checked="true"], .s2a-opt[aria-pressed="true"] { border-color: var(--s2a-blue); background: var(--s2a-blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 29, 108, .18); }
.s2a-opt[aria-checked="true"] .s2a-opt-desc, .s2a-opt[aria-pressed="true"] .s2a-opt-desc { color: rgba(255, 255, 255, .82); }
.s2a-opt[aria-checked="true"] .s2a-tick, .s2a-opt[aria-pressed="true"] .s2a-tick { border-color: #fff; background: var(--s2a-red); }
.s2a-opt[aria-checked="true"] .s2a-tick svg, .s2a-opt[aria-pressed="true"] .s2a-tick svg { opacity: 1; transform: scale(1); }
.s2a-checks .s2a-opt[aria-pressed="true"] { background: #eef2fb; color: var(--s2a-blue); box-shadow: none; }
.s2a-checks .s2a-opt[aria-pressed="true"] .s2a-tick { background: var(--s2a-blue); border-color: var(--s2a-blue); }
.s2a-pop { animation: s2a-pop .35s var(--s2a-ease); }
@keyframes s2a-pop { 40% { transform: scale(.95); } 100% { transform: scale(1); } }

.s2a-opt.is-suggested:not([aria-pressed="true"]) { border-style: dashed; border-color: #9fb0d6; }
.s2a-sug { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--s2a-red); background: #fdecec; border-radius: 99px; padding: 2px 7px; }
.s2a-opt[aria-pressed="true"] .s2a-sug { background: rgba(255, 255, 255, .2); color: #fff; }

/* Compteurs */
.s2a-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--s2a-line); border-radius: 14px; overflow: hidden; background: #fff; }
.s2a-step-btn { width: 50px; border: 0; background: var(--s2a-soft); color: var(--s2a-blue); font-size: 1.4rem; font-weight: 700; cursor: pointer; transition: background-color .15s; }
.s2a-step-btn:hover { background: #e3e9f6; }
.s2a-step-btn:active { background: var(--s2a-blue); color: #fff; }
.s2a-stepper input {
  width: 84px; min-height: 50px; border: 0; margin: 0; padding: 0; text-align: center; font: inherit; font-size: 1.15rem; font-weight: 800;
  color: var(--s2a-blue); background: #fff; font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.s2a-stepper input::-webkit-outer-spin-button, .s2a-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.s2a-stepper input:focus { outline: none; background: #f7f9fd; }
.s2a-stepper input::placeholder { color: #b6bdca; font-weight: 600; }
.s2a-stepper:focus-within { border-color: var(--s2a-blue); }
.s2a-bump { animation: s2a-bump .3s ease; }
@keyframes s2a-bump { 40% { transform: scale(1.18); color: var(--s2a-red); } }

/* Consentement */
.s2a-consent { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 16px 18px; border-radius: 14px; background: var(--s2a-soft); font-size: .93rem; }
.s2a-consent input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; left: 18px; top: 16px; }
.s2a-consent-box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #b4bdcc; background: #fff; display: grid; place-items: center; color: #fff; transition: all .2s; }
.s2a-consent-box svg { opacity: 0; transform: scale(.4); transition: all .25s var(--s2a-ease); }
.s2a-consent input:checked + .s2a-consent-box { background: var(--s2a-blue); border-color: var(--s2a-blue); }
.s2a-consent input:checked + .s2a-consent-box svg { opacity: 1; transform: scale(1); }
.s2a-consent input:focus-visible + .s2a-consent-box { outline: 3px solid rgba(0, 29, 108, .35); outline-offset: 2px; }
.s2a-consent a { color: var(--s2a-blue); font-weight: 700; }

/* Erreurs */
.s2a-err { margin: 6px 0 0; color: var(--s2a-red); font-size: .86rem; font-weight: 700; min-height: 0; }
.s2a-err:empty { display: none; }
.has-error .s2a-input, .has-error .s2a-stepper { border-color: var(--s2a-red); }
.has-error .s2a-opt, .has-error .s2a-seg { border-color: #e7a9a9; }
.has-error .s2a-consent { background: #fdeeee; }
.s2a-shake { animation: s2a-shake .4s ease; }
@keyframes s2a-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Navigation */
.s2a-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--s2a-line); }

/* ---------- Colonne « Votre dossier » ---------- */
.s2a-aside { position: sticky; top: 120px; animation: s2a-reveal-side .5s .1s var(--s2a-ease) both; }
@keyframes s2a-reveal-side { from { opacity: 0; transform: translateY(10px); } }
.s2a-aside-card { background: var(--s2a-blue); color: #fff; border-radius: 20px; padding: 22px; overflow: hidden; position: relative; }
.s2a-aside-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.s2a-aside-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.s2a-ring {
  --p: 0; flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, .16) 0); transition: --p .6s;
}
.s2a-ring span { width: 48px; height: 48px; border-radius: 50%; background: var(--s2a-blue); display: grid; place-items: center; font-size: .82rem; font-weight: 800; }
.s2a-aside-kicker { margin: 0; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; font-weight: 800; }
.s2a-aside-name { margin: 2px 0 0; font-weight: 800; font-size: 1.02rem; line-height: 1.25; word-break: break-word; }
.s2a-aside-who { margin: 2px 0 0; font-size: .85rem; opacity: .8; }
.s2a-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.s2a-fact { font-size: .74rem; font-weight: 700; background: rgba(255, 255, 255, .12); border-radius: 99px; padding: 4px 10px; animation: s2a-fact .35s var(--s2a-ease) both; }
@keyframes s2a-fact { from { opacity: 0; transform: scale(.85); } }
.s2a-steps { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); counter-reset: none; }
.s2a-steps li { margin: 0; padding: 0; }
.s2a-steps button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px 4px; border: 0; background: none; color: rgba(255, 255, 255, .62);
  font-size: .86rem; font-weight: 600; text-align: left; cursor: pointer; border-radius: 8px;
}
.s2a-steps button:disabled { cursor: default; }
.s2a-steps button:not(:disabled):hover { background: rgba(255, 255, 255, .08); color: #fff; }
.s2a-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.s2a-steps .is-done button { color: rgba(255, 255, 255, .9); }
.s2a-steps .is-done .s2a-dot { background: #fff; border-color: #fff; color: var(--s2a-blue); }
.s2a-steps .is-current button { color: #fff; font-weight: 800; }
.s2a-steps .is-current .s2a-dot { background: var(--s2a-red); border-color: var(--s2a-red); color: #fff; box-shadow: 0 0 0 4px rgba(185, 0, 0, .3); }
.s2a-aside-help { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; opacity: .92; }
.s2a-aside-help a { color: #fff; font-weight: 800; }

/* ---------- Récapitulatif ---------- */
.s2a-review .s2a-step-sub { margin-bottom: 22px; }
.s2a-rev-sec { border: 1px solid var(--s2a-line); border-radius: 14px; padding: 16px 20px; margin: 0 0 12px; }
.s2a-rev-sec.is-missing { border-color: #e7a9a9; background: #fffafa; }
.s2a-rev-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.s2a-rev-head h3 { margin: 0; color: var(--s2a-blue); font-size: 1rem; }
.s2a-rev-edit { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--s2a-soft); color: var(--s2a-blue); font-weight: 700; font-size: .82rem; border-radius: 99px; padding: 6px 12px; cursor: pointer; }
.s2a-rev-edit:hover { background: #e3e9f6; }
.is-missing .s2a-rev-edit { background: var(--s2a-red); color: #fff; }
.s2a-rev-sec dl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 16px; margin: 12px 0 0; font-size: .9rem; }
.s2a-rev-sec dt { color: var(--s2a-muted); margin: 0; }
.s2a-rev-sec dd { margin: 0; color: #1f2633; font-weight: 700; word-break: break-word; white-space: pre-line; }
.s2a-rev-empty { margin: 8px 0 0; color: var(--s2a-muted); font-size: .88rem; }
.is-missing .s2a-rev-empty { color: var(--s2a-red); font-weight: 700; }
.s2a-rev-consent { margin-top: 22px; }
.s2a-legal { margin: 16px 0 0; font-size: .78rem; line-height: 1.55; color: var(--s2a-muted); }
.s2a-send-msg { margin: 14px 0 0; color: var(--s2a-red); font-weight: 700; font-size: .92rem; }
.s2a-send-msg:empty { display: none; }
.s2a-send { position: relative; min-width: 230px; }
.s2a-spin { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: s2a-spin .8s linear infinite; }
.s2a-send.is-loading .s2a-spin { display: block; }
.s2a-send.is-loading .s2a-send-txt { opacity: .7; }
@keyframes s2a-spin { to { transform: rotate(360deg); } }

/* ---------- Confirmation ---------- */
.s2a-done { text-align: center; padding: 52px 40px; }
.s2a-done-check { width: 92px; height: 92px; color: var(--s2a-ok); margin: 0 auto 18px; display: block; }
.s2a-done-check circle { stroke-dasharray: 227; stroke-dashoffset: 227; animation: s2a-draw .6s .15s ease forwards; }
.s2a-done-check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: s2a-draw .4s .65s ease forwards; }
@keyframes s2a-draw { to { stroke-dashoffset: 0; } }
.s2a-done .s2a-step-sub { max-width: 520px; margin: 8px auto 0; }
.s2a-next { list-style: none; margin: 32px auto 0; padding: 0; max-width: 480px; text-align: left; }
.s2a-next li { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; animation: s2a-reveal-side .45s var(--d, .5s) var(--s2a-ease) both; }
.s2a-next-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--s2a-blue); color: #fff; display: grid; place-items: center; font-weight: 800; }
.s2a-next strong { display: block; color: var(--s2a-blue); }
.s2a-next span { color: var(--s2a-muted); font-size: .93rem; }
.s2a-done-help { margin: 24px 0 0; font-size: .93rem; }
.s2a-done-help a, .s2a-aside-help a { color: var(--s2a-red); font-weight: 800; white-space: nowrap; }
.s2a-aside-help a { color: #fff; }

/* ---------- Mobile ---------- */
@container s2a (max-width: 900px) {
  .s2a-shell { grid-template-columns: minmax(0, 1fr); }
  .s2a-aside { position: static; order: -1; animation: none; }
  .s2a-aside-card { padding: 14px 16px; border-radius: 16px; }
  .s2a-aside-top { margin: 0; }
  .s2a-ring { width: 46px; height: 46px; }
  .s2a-ring span { width: 36px; height: 36px; font-size: .7rem; }
  .s2a-facts, .s2a-steps, .s2a-aside-help { display: none; }
}
/* Carte étroite : une seule colonne */
@container s2amain (max-width: 600px) {
  .s2a-fields, .s2a-cards, .s2a-checks { grid-template-columns: minmax(0, 1fr); }
  .s2a-field.is-half { grid-column: 1 / -1; }
  .s2a-cards.is-small { grid-template-columns: minmax(0, 1fr); }
}
@container s2a (max-width: 640px) {
  .s2a-card { padding: 26px 18px; border-radius: 16px; }
  .s2a-intro { padding: 32px 20px; }
  .s2a-intro::after { right: -110px; }
  .s2a-step-head { gap: 12px; }
  .s2a-step-icon { width: 44px; height: 44px; border-radius: 13px; }
  .s2a-seg { display: flex; border-radius: 16px; }
  .s2a-seg .s2a-opt { flex: 1 1 auto; justify-content: center; border-radius: 12px; }
  .s2a-nav { position: sticky; bottom: 0; background: #fff; margin: 24px -18px -26px; padding: 14px 18px; box-shadow: 0 -8px 20px rgba(0, 29, 108, .06); z-index: 3; }
  .s2a-nav .s2a-btn-red { flex: 1; padding: 0 18px; }
  .s2a-nav .s2a-btn-ghost { padding: 0 8px; }
  .s2a-send { min-width: 0; }
  .s2a-rev-sec dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .s2a-rev-sec dd { margin-bottom: 8px; }
  .s2a-done { padding: 40px 20px; }
  .s2a-card { overflow: visible; }
  .s2a-intro { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .s2a-devis *, .s2a-devis *::before, .s2a-devis *::after { animation: none !important; transition: none !important; }
  .s2a-done-check circle, .s2a-done-check path { stroke-dashoffset: 0; }
}

/* ==========================================================
   v6.7.2 — Même typographie que la section Actualités
   Titres : Source Sans Pro (gras). Textes, libellés, boutons : Inter.
   Neutralise les styles du thème sur button / input (fond noir au survol, champs blancs en 24 px).
   ========================================================== */
.s2a-devis {
  --s2a-head: "Source Sans Pro", "Source Sans 3", sans-serif;
  --s2a-body: Inter, sans-serif;
  --s2a-tint: #f0f3fa;
  --s2a-radius: 12px;
  font-family: var(--s2a-body); font-size: 16px; color: var(--s2a-text);
}
.s2a-devis .s2a-card { border-radius: var(--s2a-radius); }

/* Titres : comme « Actualités » et les titres d'articles */
.s2a-devis .s2a-step-title, .s2a-devis .s2a-intro-title, .s2a-devis .s2a-rev-head h3, .s2a-devis .s2a-next strong, .s2a-devis .s2a-aside-name {
  font-family: var(--s2a-head); font-weight: 700; color: var(--s2a-blue); letter-spacing: -.01em; text-transform: none;
}
.s2a-devis .s2a-step-title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.12; }
.s2a-devis .s2a-intro-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.08; }
.s2a-devis .s2a-rev-head h3 { font-size: 1.15rem; }
.s2a-devis .s2a-aside-name { font-size: 1.15rem; color: #fff; }
.s2a-devis .s2a-step-sub, .s2a-devis .s2a-intro-lead { font-family: var(--s2a-body); font-weight: 400; color: var(--s2a-muted); font-size: 1.02rem; }

/* Sur-titre : comme l'étiquette rouge des articles (« Actualités ») */
.s2a-devis .s2a-kicker { font-family: var(--s2a-body); font-weight: 600; font-size: .82rem; letter-spacing: .02em; text-transform: none; color: var(--s2a-red); margin: 0 0 4px; }

.s2a-devis .s2a-step-icon { border-radius: 12px; }

/* Libellés */
.s2a-devis .s2a-label { font-family: var(--s2a-body); font-weight: 600; font-size: .95rem; color: var(--s2a-blue); }

/* ---- Boutons : on neutralise le thème ---- */
.s2a-devis button, .s2a-devis button:hover, .s2a-devis button:focus, .s2a-devis button:active {
  font-family: var(--s2a-body); text-shadow: none; background-image: none; line-height: 1.3; height: auto; letter-spacing: normal; text-transform: none;
}
/* Bouton principal : comme « Rechercher » (pilule bleue, Inter semi-gras) */
.s2a-devis .s2a-btn { font-family: var(--s2a-body) !important; font-weight: 600 !important; font-size: 15.5px !important; text-transform: none !important; min-height: 50px; padding: 0 28px; border-radius: 999px; }
.s2a-devis .s2a-btn-red, .s2a-devis .s2a-btn-red:focus, .s2a-devis .s2a-btn-blue, .s2a-devis .s2a-btn-blue:focus { background: var(--s2a-blue) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(0, 29, 108, .18); }
.s2a-devis .s2a-btn-red:hover, .s2a-devis .s2a-btn-red:active, .s2a-devis .s2a-btn-blue:hover, .s2a-devis .s2a-btn-blue:active { background: var(--s2a-red) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(185, 0, 0, .2); }
.s2a-devis .s2a-btn-ghost, .s2a-devis .s2a-btn-ghost:focus { background: transparent !important; color: var(--s2a-blue) !important; box-shadow: none; }
.s2a-devis .s2a-btn-ghost:hover, .s2a-devis .s2a-btn-ghost:active { background: var(--s2a-soft) !important; color: var(--s2a-blue) !important; }

/* ---- Choix ---- */
.s2a-devis .s2a-opt, .s2a-devis .s2a-opt:focus, .s2a-devis .s2a-opt:active {
  background: #fff !important; color: var(--s2a-text) !important; border: 1px solid var(--s2a-line); font-family: var(--s2a-body); font-weight: 500; box-shadow: none; transform: none;
}
.s2a-devis .s2a-opt:hover { background: #fff !important; color: var(--s2a-blue) !important; border-color: var(--s2a-blue); box-shadow: 0 6px 16px rgba(0, 29, 108, .07); }
/* Grandes cartes : titre en Source Sans Pro comme les cartes d'articles */
.s2a-devis .s2a-cards .s2a-opt { border-radius: 12px; }
.s2a-devis .s2a-cards .s2a-opt-label { font-family: var(--s2a-head); font-weight: 700; font-size: 1.12rem; color: var(--s2a-blue); letter-spacing: -.005em; }
.s2a-devis .s2a-cards.is-small .s2a-opt-label { font-size: 1.05rem; }
.s2a-devis .s2a-opt-desc { font-family: var(--s2a-body); font-weight: 400; color: var(--s2a-muted) !important; }
.s2a-devis .s2a-checks .s2a-opt { border-radius: 10px; }
/* Pastilles : comme les filtres de formats (« Tous les formats ») */
.s2a-devis .s2a-chips .s2a-opt, .s2a-devis .s2a-seg .s2a-opt { border-radius: 999px; font-size: .95rem; }

/* Sélection : grande carte = fond bleu clair + bordure bleue ; pastille = aplat bleu */
.s2a-devis .s2a-cards .s2a-opt[aria-checked="true"], .s2a-devis .s2a-checks .s2a-opt[aria-pressed="true"],
.s2a-devis .s2a-cards .s2a-opt[aria-checked="true"]:hover, .s2a-devis .s2a-checks .s2a-opt[aria-pressed="true"]:hover {
  background: var(--s2a-tint) !important; color: var(--s2a-blue) !important; border-color: var(--s2a-blue); box-shadow: inset 0 0 0 1px var(--s2a-blue);
}
.s2a-devis .s2a-cards .s2a-opt[aria-checked="true"] .s2a-opt-desc { color: #4a5a85 !important; }
.s2a-devis .s2a-cards .s2a-opt[aria-checked="true"] .s2a-tick { background: var(--s2a-red); border-color: var(--s2a-red); }
.s2a-devis .s2a-checks .s2a-opt[aria-pressed="true"] .s2a-tick { background: var(--s2a-blue); border-color: var(--s2a-blue); }
.s2a-devis .s2a-chips .s2a-opt[aria-checked="true"], .s2a-devis .s2a-chips .s2a-opt[aria-pressed="true"], .s2a-devis .s2a-seg .s2a-opt[aria-checked="true"],
.s2a-devis .s2a-chips .s2a-opt[aria-checked="true"]:hover, .s2a-devis .s2a-chips .s2a-opt[aria-pressed="true"]:hover, .s2a-devis .s2a-seg .s2a-opt[aria-checked="true"]:hover {
  background: var(--s2a-blue) !important; color: #fff !important; border-color: var(--s2a-blue); box-shadow: 0 4px 12px rgba(0, 29, 108, .18);
}
.s2a-devis .s2a-chips .s2a-opt[aria-pressed="true"] .s2a-sug { background: rgba(255, 255, 255, .2); color: #fff; }
.s2a-devis .s2a-seg { background: var(--s2a-soft); border: 1px solid var(--s2a-line); }
.s2a-devis .s2a-seg .s2a-opt { border: 0; background: transparent !important; }
.s2a-devis .s2a-seg .s2a-opt:hover { background: #fff !important; box-shadow: none; }
.s2a-devis .s2a-opt.is-suggested:not([aria-pressed="true"]) { border-style: dashed; border-color: #a9b7d6; }
.s2a-devis .s2a-sug { font-family: var(--s2a-body); }

/* ---- Champs : on neutralise le thème (texte blanc en 24 px) ---- */
.s2a-devis .s2a-input, .s2a-devis .s2a-input:focus {
  font-family: var(--s2a-body) !important; font-size: 16px !important; line-height: 1.4 !important; font-weight: 400 !important;
  color: var(--s2a-text) !important; background: #fff !important; border-radius: 10px; height: auto; min-height: 52px; box-shadow: none;
}
.s2a-devis textarea.s2a-input { min-height: 0; }
.s2a-devis .s2a-input:focus { border-color: var(--s2a-blue); box-shadow: 0 0 0 4px rgba(0, 29, 108, .08) !important; }
.s2a-devis .s2a-input::placeholder { color: #9aa3b2 !important; opacity: 1; }
.s2a-devis .s2a-stepper { border-radius: 10px; border-width: 1px; }
.s2a-devis .s2a-stepper input, .s2a-devis .s2a-stepper input:focus {
  font-family: var(--s2a-head) !important; font-size: 20px !important; font-weight: 700 !important; color: var(--s2a-blue) !important;
  background: #fff !important; border: 0 !important; height: 50px; line-height: 50px !important; padding: 0 !important; box-shadow: none !important;
}
.s2a-devis .s2a-step-btn, .s2a-devis .s2a-step-btn:focus { background: var(--s2a-soft) !important; color: var(--s2a-blue) !important; font-size: 22px; padding: 0; border-radius: 0; }
.s2a-devis .s2a-step-btn:hover { background: #e6ebf5 !important; }
.s2a-devis .s2a-step-btn:active { background: var(--s2a-blue) !important; color: #fff !important; }
.s2a-devis .s2a-consent { border-radius: 10px; font-size: .95rem; }

/* ---- Colonne « Votre dossier » ---- */
.s2a-devis .s2a-aside-card { border-radius: var(--s2a-radius); }
.s2a-devis .s2a-steps button, .s2a-devis .s2a-steps button:hover, .s2a-devis .s2a-steps button:focus, .s2a-devis .s2a-steps button:disabled {
  background: transparent !important; color: rgba(255, 255, 255, .62) !important; font-size: .88rem; padding: 6px 4px;
}
.s2a-devis .s2a-steps button:not(:disabled):hover { background: rgba(255, 255, 255, .08) !important; color: #fff !important; }
.s2a-devis .s2a-steps .is-done button { color: rgba(255, 255, 255, .92) !important; }
.s2a-devis .s2a-steps .is-current button { color: #fff !important; font-weight: 700; }

/* ---- Récapitulatif ---- */
.s2a-devis .s2a-rev-sec { border-radius: 12px; }
.s2a-devis .s2a-rev-edit, .s2a-devis .s2a-rev-edit:focus { background: var(--s2a-soft) !important; color: var(--s2a-blue) !important; border-radius: 999px; }
.s2a-devis .s2a-rev-edit:hover { background: var(--s2a-blue) !important; color: #fff !important; }
.s2a-devis .is-missing .s2a-rev-edit { background: var(--s2a-red) !important; color: #fff !important; }

/* ---- Accueil ---- */
.s2a-devis .s2a-intro { background: #fff; }
.s2a-devis .s2a-intro::after { width: 120px; opacity: 1; }
.s2a-devis .s2a-intro-points li { font-family: var(--s2a-body); font-weight: 600; color: var(--s2a-blue); }
