/* Page sondage client */
.lang-toggle { background: transparent; color: var(--blanc); border: 1px solid #555; border-radius: 6px; padding: 8px 14px; min-height: 40px; font-family: var(--titre); letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.lang-toggle:hover { border-color: var(--or-clair); color: var(--or-clair); }

.hero { position: relative; height: 380px; overflow: hidden; background: var(--noir); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.05) 15%, rgba(0,0,0,.78) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 70px; z-index: 1; text-align: center; color: var(--blanc); padding: 0 20px; }
.hero-text h1 { margin: 4px 0 0; font-family: var(--titre); font-weight: 600; font-size: clamp(30px, 5vw, 48px); line-height: 1.15; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }

.script { font-family: 'Nothing You Could Do', cursive; font-size: 30px; margin: 0; color: var(--or-clair); }
.script.big { font-size: 56px; color: var(--rouge); line-height: 1.1; }

.wrap { max-width: 760px; margin: -48px auto 0; padding: 0 16px 56px; position: relative; z-index: 2; }
.card { background: var(--blanc); border-radius: var(--rayon); box-shadow: 0 10px 40px rgba(17,17,17,.12); padding: 40px 48px; border-top: 6px solid var(--rouge); }
.loading { text-align: center; color: var(--gris); margin: 24px 0; }

.intro { margin: 0 0 8px; font-size: 18px; color: var(--encre); }
.hello { font-weight: 700; font-size: 19px; margin: 0 0 4px; }

.q { border: 0; margin: 0; padding: 26px 0; border-bottom: 1px solid var(--ligne); min-width: 0; }
.q:last-child { border-bottom: 0; }
.q legend, .q > label.q-label { padding: 0; font-weight: 700; font-size: 18px; line-height: 1.35; float: left; width: 100%; margin-bottom: 4px; display: block; }
.q legend + *, .q-label + * { clear: both; }
.q .help { color: var(--gris); font-size: 15px; margin: 0 0 10px; clear: both; }
.q .req { color: var(--rouge); margin-left: 3px; }
.q .control { clear: both; padding-top: 8px; }

.q.global { background: #FBF8F3; margin: 18px -48px 0; padding: 30px 48px; border-bottom: 0; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); text-align: center; }
.q.global legend { font-family: var(--titre); font-weight: 500; font-size: 24px; text-transform: uppercase; letter-spacing: .5px; text-align: center; }
.q.global .control { display: flex; flex-direction: column; align-items: center; }
.rating-word { min-height: 26px; margin: 6px 0 0; font-family: var(--titre); letter-spacing: 1px; text-transform: uppercase; color: var(--or); font-size: 16px; }

.q.rating-row { display: flow-root; padding: 18px 0; }
.q.rating-row legend { float: left; width: auto; max-width: 58%; margin: 10px 0 0; font-weight: 600; font-size: 17px; }
.q.rating-row .control { float: right; clear: none; padding-top: 0; }
.q.rating-row .help { clear: both; margin: 0; padding-top: 4px; }

textarea { width: 100%; min-height: 110px; resize: vertical; border: 1px solid #CFC8BC; border-radius: 8px; padding: 12px 14px; background: #FFFDFA; line-height: 1.5; }
input[type="text"] { width: 100%; min-height: 46px; border: 1px solid #CFC8BC; border-radius: 8px; padding: 10px 14px; background: #FFFDFA; }
textarea:focus, input[type="text"]:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(184,29,34,.15); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border: 2px solid #CFC8BC; border-radius: 999px; cursor: pointer; font-weight: 600; background: var(--blanc); }
.pills label:hover { border-color: var(--rouge); }
.pills input:checked + label { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.pills input:focus-visible + label { outline: 3px solid var(--or); outline-offset: 2px; }

.field.identity { padding: 26px 0 0; border-top: 1px solid var(--ligne); }
.field.identity label { display: block; font-weight: 600; margin-bottom: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.actions { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn-big { min-height: 56px; padding: 14px 40px; font-size: 19px; }
.required-note { margin: 0; font-size: 14px; color: var(--gris); }
#error { margin-top: 20px; }

.thanks { text-align: center; padding: 10px 0; }
.thanks:focus { outline: none; }
.thanks h2 { font-size: 21px; font-weight: 600; margin: 8px auto 28px; max-width: 520px; line-height: 1.45; }
.google { background: #FBF8F3; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 22px; margin: 0 auto 24px; max-width: 520px; }
.google p { margin: 0 0 14px; }

.footer { background: var(--noir); color: #CFCAC2; text-align: center; padding: 30px 20px 36px; font-size: 15px; }
.footer p { margin: 2px 0; }
.footer a { color: #E7E2DA; }
.footer a:hover { color: var(--or-clair); }
.footer-brand { font-family: var(--titre); text-transform: uppercase; letter-spacing: 3px; color: var(--or-clair) !important; font-size: 16px; margin-bottom: 8px !important; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { height: 300px; }
  .hero-text { bottom: 58px; }
  .card { padding: 28px 20px; }
  .q.global { margin: 14px -20px 0; padding: 26px 20px; }
  .q.rating-row legend { float: none; max-width: none; margin: 0 0 6px; }
  .q.rating-row .control { float: none; }
  .stars svg { width: 38px; height: 38px; }
  .stars.big svg { width: 46px; height: 46px; }
  .btn-big { width: 100%; }
}
