/* Convaincre — Retours bêta */
.cv-feedback-wrap{
  --cvf-bg:var(--paper,#f7f4f7);
  --cvf-surface:#fff;
  --cvf-surface-2:#f1edf3;
  --cvf-text:var(--ink,#18121f);
  --cvf-muted:#6f6674;
  --cvf-line:var(--line,#ded7e2);
  --cvf-purple:var(--purple,#73509a);
  --cvf-blue:var(--blue,#5f7cf5);
  --cvf-red:var(--red,#e94d47);
  color:var(--cvf-text);
  max-width:980px;
  margin:0 auto;
}
.cv-feedback-intro{max-width:790px;margin-bottom:34px}
.cv-feedback-kicker{margin:0 0 14px!important;font-size:.75rem!important;font-weight:900!important;letter-spacing:.13em!important;text-transform:uppercase;color:var(--cvf-purple)!important}
.cv-feedback-intro h2{margin:0 0 16px!important;font-size:clamp(2.1rem,4.2vw,4.1rem)!important;line-height:1!important;letter-spacing:-.05em!important;color:var(--cvf-text)!important}
.cv-feedback-intro>p:last-child{margin:0;color:var(--cvf-muted);font-size:1.05rem;line-height:1.7;max-width:760px}

.cv-feedback-alert{display:flex;align-items:flex-start;gap:10px;padding:16px 18px;margin:0 0 22px;border:1px solid var(--cvf-line);border-radius:16px;background:var(--cvf-surface)}
.cv-feedback-alert strong{white-space:nowrap}
.cv-feedback-alert-success{border-color:rgba(78,160,108,.32);background:rgba(78,160,108,.09)}
.cv-feedback-alert-error{border-color:rgba(233,77,71,.32);background:rgba(233,77,71,.09)}

.cv-feedback-form{display:grid;gap:16px}
.cv-feedback-form-section{background:var(--cvf-surface);border:1px solid var(--cvf-line);border-radius:24px;padding:28px;box-shadow:0 16px 45px rgba(20,12,25,.04)}
.cv-feedback-section-head{display:grid;grid-template-columns:46px 1fr;gap:16px;align-items:start;margin-bottom:26px}
.cv-feedback-section-head>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(115,80,154,.11);border:1px solid rgba(115,80,154,.2);color:var(--cvf-purple);font-size:.72rem;font-weight:900;letter-spacing:.08em}
.cv-feedback-section-head h3{margin:1px 0 6px!important;font-size:1.35rem!important;letter-spacing:-.03em!important;color:var(--cvf-text)!important}
.cv-feedback-section-head p{margin:0!important;font-size:.91rem!important;line-height:1.55!important;color:var(--cvf-muted)!important}

.cv-feedback-grid{display:grid;gap:16px}
.cv-feedback-grid-2{grid-template-columns:1fr 1fr}
.cv-feedback-field{margin-top:18px}
.cv-feedback-grid>.cv-feedback-field{margin-top:0}
.cv-feedback-field label,.cv-feedback-fieldset legend{display:block;margin:0 0 8px;font-size:.86rem;font-weight:850;color:var(--cvf-text)}
.cv-feedback-field label span,.cv-feedback-fieldset legend span{color:var(--cvf-red)}
.cv-feedback-help{margin:-2px 0 10px!important;font-size:.82rem!important;line-height:1.45!important;color:var(--cvf-muted)!important}
.cv-feedback-field input[type="text"],
.cv-feedback-field input[type="email"],
.cv-feedback-field select,
.cv-feedback-field textarea{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--cvf-line);
  border-radius:14px;
  background:var(--cvf-bg);
  color:var(--cvf-text);
  font:inherit;
  line-height:1.45;
  box-shadow:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.cv-feedback-field textarea{min-height:118px;resize:vertical}
.cv-feedback-field input::placeholder,.cv-feedback-field textarea::placeholder{color:#9a919f}
.cv-feedback-field input:focus,.cv-feedback-field select:focus,.cv-feedback-field textarea:focus{outline:none;border-color:var(--cvf-blue);box-shadow:0 0 0 3px rgba(95,124,245,.14)}

.cv-feedback-fieldset{border:0;padding:0;margin:24px 0 0;min-width:0}
.cv-feedback-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cv-feedback-choice{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:13px 14px;border:1px solid var(--cvf-line);border-radius:14px;background:var(--cvf-bg);cursor:pointer;transition:.16s ease}
.cv-feedback-choice:hover{border-color:rgba(115,80,154,.45);transform:translateY(-1px)}
.cv-feedback-choice input{margin:0;accent-color:var(--cvf-purple)}
.cv-feedback-choice span{font-size:.86rem;font-weight:750;color:var(--cvf-text)!important}

.cv-feedback-rating{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.cv-feedback-rating label{position:relative;display:block!important;margin:0!important;cursor:pointer}
.cv-feedback-rating input{position:absolute;opacity:0;pointer-events:none}
.cv-feedback-rating span{display:grid;place-items:center;min-height:54px;border:1px solid var(--cvf-line);border-radius:14px;background:var(--cvf-bg);color:var(--cvf-text)!important;font-size:1.05rem;font-weight:900;transition:.16s ease}
.cv-feedback-rating small{display:block;min-height:20px;margin-top:5px;text-align:center;font-size:.68rem;color:var(--cvf-muted)}
.cv-feedback-rating input:checked+span{background:var(--cvf-purple);border-color:var(--cvf-purple);color:#fff!important;box-shadow:0 8px 18px rgba(115,80,154,.2)}
.cv-feedback-rating input:focus-visible+span{outline:3px solid rgba(95,124,245,.28);outline-offset:2px}

.cv-feedback-consent{display:flex!important;align-items:flex-start;gap:10px;margin:20px 0 0!important;padding:14px 16px;border:1px solid var(--cvf-line);border-radius:14px;background:var(--cvf-bg);cursor:pointer}
.cv-feedback-consent input{margin-top:3px;accent-color:var(--cvf-purple)}
.cv-feedback-consent span{font-size:.86rem;line-height:1.45;color:var(--cvf-text)!important}
.cv-feedback-privacy{margin:10px 2px 0!important;font-size:.76rem!important;line-height:1.5!important;color:var(--cvf-muted)!important}

.cv-feedback-submit-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 2px 0}
.cv-feedback-submit-row p{margin:0!important;font-size:.76rem!important;color:var(--cvf-muted)!important}
.cv-feedback-submit{min-height:48px;padding:0 20px;border:0!important;border-radius:14px!important;background:var(--cvf-purple)!important;color:#fff!important;font:inherit!important;font-size:.86rem!important;font-weight:900!important;cursor:pointer;box-shadow:0 10px 24px rgba(115,80,154,.22);transition:transform .16s ease,background .16s ease}
.cv-feedback-submit:hover{transform:translateY(-1px);background:var(--purple2,#9369bc)!important}
.cv-feedback-submit:focus-visible{outline:3px solid rgba(95,124,245,.35);outline-offset:3px}
.cv-feedback-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

html[data-cv-theme="dark"] .cv-feedback-wrap{
  --cvf-bg:#1d1723;
  --cvf-surface:#241d2b;
  --cvf-surface-2:#2b2232;
  --cvf-text:#f7f2f9;
  --cvf-muted:#c2b8c7;
  --cvf-line:#3b3045;
}
html[data-cv-theme="dark"] .cv-feedback-form-section{box-shadow:0 16px 48px rgba(5,3,7,.17)}
html[data-cv-theme="dark"] .cv-feedback-field input[type="text"],
html[data-cv-theme="dark"] .cv-feedback-field input[type="email"],
html[data-cv-theme="dark"] .cv-feedback-field select,
html[data-cv-theme="dark"] .cv-feedback-field textarea{background:#1d1723!important;color:#f9f5fa!important;border-color:#493a56!important}
html[data-cv-theme="dark"] .cv-feedback-field input::placeholder,
html[data-cv-theme="dark"] .cv-feedback-field textarea::placeholder{color:#8f8396}
html[data-cv-theme="dark"] .cv-feedback-choice,
html[data-cv-theme="dark"] .cv-feedback-rating span,
html[data-cv-theme="dark"] .cv-feedback-consent{background:#1d1723!important;border-color:#493a56!important}
html[data-cv-theme="dark"] .cv-feedback-rating input:checked+span{background:#7650a0!important;border-color:#7650a0!important;color:#fff!important}
html[data-cv-theme="dark"] .cv-feedback-alert{background:#241d2b;color:#f7f2f9}
html[data-cv-theme="dark"] .cv-feedback-alert-success{background:rgba(78,160,108,.10)}
html[data-cv-theme="dark"] .cv-feedback-alert-error{background:rgba(233,77,71,.10)}

@media(max-width:700px){
  .cv-feedback-form-section{padding:20px;border-radius:20px}
  .cv-feedback-grid-2,.cv-feedback-choice-grid{grid-template-columns:1fr}
  .cv-feedback-section-head{grid-template-columns:38px 1fr;gap:12px}
  .cv-feedback-section-head>span{width:38px;height:38px;border-radius:12px}
  .cv-feedback-rating{gap:6px}
  .cv-feedback-rating span{min-height:48px}
  .cv-feedback-submit-row{align-items:stretch;flex-direction:column}
  .cv-feedback-submit{width:100%}
}
