@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Bahnschrift Local";
  src: url("../fonts/bahnschrift-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 300;
  font-display: swap;
}

@font-face {
  font-family: "IcoFont";
  src: url("../fonts/icofont.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

[class^="icofont-"],
[class*=" icofont-"] {
  font-family: "IcoFont" !important;
  speak: none;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.icofont-arrow-right::before { content: "\ea5d"; }
.icofont-rounded-down::before { content: "\ea99"; }
.icofont-ui-email::before { content: "\ec56"; }
.icofont-linkedin::before { content: "\ed4d"; }
.icofont-location-pin::before { content: "\ef79"; }
.icofont-phone::before { content: "\efbb"; }

@font-face {
  font-family: "Bahnschrift Local";
  src: url("../fonts/bahnschrift-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bahnschrift Local";
  src: url("../fonts/bahnschrift-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --brand: #2c3579;
  --brand-accent: #3548c4;
  --brand-dark: #1f295f;
  --brand-soft: #f3f5ff;
  --ink: #171a24;
  --text: #3b3b3b;
  --muted: #687083;
  --surface: #ffffff;
  --surface-alt: #f7f8fc;
  --border: #d9dbe9;
  --border-soft: #e9eaf1;
  --success: #15803d;
  --success-soft: #edf9f1;
  --danger: #b42318;
  --danger-soft: #fff3f2;
  --warning: #a15c00;
  --focus: rgba(53, 72, 196, 0.22);
  --gradient: linear-gradient(90deg, var(--brand) 0%, var(--brand-accent) 100%);
  --shadow-card: 0 8px 24px rgba(149, 157, 165, 0.2);
  --shadow-raised: 0 18px 48px rgba(29, 37, 90, 0.14);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --nav-height: 100px;
  --content-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Les défilements déclenchés par l'interface sont animés en JS. Garder
     la restauration native instantanée empêche le footer de glisser au reload. */
  scroll-behavior: auto;
  scroll-padding-top: 110px;
  /* Les blocs FDS animés ne doivent pas déplacer une position restaurée au rechargement. */
  overflow-anchor: none;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--surface);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
  color: var(--ink);
  background: rgba(53, 72, 196, 0.22);
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 999px;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Bahnschrift Local", Bahnschrift, "Arial Narrow", "Outfit", sans-serif;
  line-height: 1.08;
}

h1,
h2 {
  text-transform: uppercase;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
}

.eyebrow,
.hero-eyebrow {
  margin-bottom: 0.55rem;
  color: var(--brand-accent);
  font-family: "Bahnschrift Local", Bahnschrift, "Outfit", sans-serif;
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 40px;
  padding: 0.5rem 1.5rem;
  overflow: hidden;
  border: 0 solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  user-select: none;
  transition: 0.3s ease-in-out;
}

.button svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-right: 0.5rem;
  fill: currentColor;
}

.button svg:last-child {
  margin-right: 0;
  margin-left: 0.5rem;
}

.button:hover {
  letter-spacing: 1px;
}

.button:active {
  transform: none;
}

.button-primary {
  color: #fff;
  background: var(--gradient);
  background-size: 200% auto;
  box-shadow: none;
}

.button-primary:hover {
  color: #fff;
  background-position: right center;
  box-shadow: none;
}

.button-secondary {
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--border);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.button-light {
  color: var(--brand);
  background: #fff;
  box-shadow: none;
}

/* Navigation — gabarit du portail FDS */
.site-header {
  position: absolute;
  z-index: 9999;
  top: 0;
  right: 0;
  left: 0;
  height: 0;
}

.site-nav {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  width: fit-content;
  max-width: calc(100% - 40px);
  min-height: var(--nav-height);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 20px auto 0;
  padding: 0 2rem;
  border-radius: 20px;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.is-scrolled,
.site-nav.is-open {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 100%;
  padding: 10px 20px 10px 10px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.brand img {
  width: min(clamp(100px, 10vw, 200px), 141.700405px);
  max-width: clamp(100px, 10vw, 200px);
  height: auto;
  max-height: 70px;
  aspect-ratio: 500 / 247;
  object-fit: contain;
  filter: url("#logoWhite");
  transition: filter 0.25s ease;
}

.site-nav.is-scrolled .brand img,
.site-nav.is-open .brand img {
  filter: url("#logoBlue");
}

.nav-links {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  display: flex;
  height: 38.7969px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  color: #fff;
  border-right: 2px solid #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link-dropdown {
  gap: 8px;
}

.nav-link-dropdown .nav-caret {
  display: inline-block;
  width: calc(1em + 0.34px);
  height: 16px;
  flex: 0 0 auto;
  color: currentColor;
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  transform: translateY(-0.390625px);
}

.nav-links .nav-social {
  width: 30.7188px;
  padding-right: 0.36rem;
  padding-left: 0.36rem;
  border-right: 0;
}

.nav-social i {
  display: inline-block;
  width: calc(1em + 0.34px);
  font-size: 1.2rem;
  line-height: 1;
  text-align: center;
}

.logo-color-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (min-width: 992.02px) {
  .nav-links .nav-link-dropdown {
    padding-right: 5.78px;
    padding-left: 13.43px;
  }
}

.nav-links a:hover {
  color: #fff;
  opacity: 0.5;
}

.site-nav.is-scrolled .nav-links a,
.site-nav.is-open .nav-links a {
  color: #111;
  border-right-color: var(--brand);
}

.site-nav.is-scrolled .nav-links a:hover,
.site-nav.is-open .nav-links a:hover {
  color: var(--brand);
}

.site-nav.is-scrolled .nav-links .nav-social,
.site-nav.is-open .nav-links .nav-social {
  color: var(--brand-accent);
  border-right: 0;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-content: center;
  gap: 5px;
  margin-right: 1rem;
  padding: 0;
  color: #fff;
  background: var(--brand-accent);
  border: 1px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Voile de chargement et entrée du hero — mouvement exact du portail FDS */
#page-loader {
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: #fff;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#page-loader.hidden {
  opacity: 0;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 65vh;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background: url("../img/fds-hero.webp") center center / cover no-repeat;
  opacity: 0;
  transform: translate3d(0, 160px, 0);
  transition: transform 0.55s ease-out, opacity 0.55s ease-out;
  will-change: transform, opacity;
}

.hero-overlay {
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
  transform: translate3d(0, 160px, 0);
  transition: transform 0.55s ease-out;
  will-change: transform;
}

.hero.hero-enter .hero-media,
.hero.hero-enter .hero-overlay {
  transform: translate3d(0, 0, 0);
}

.hero.hero-enter .hero-media {
  opacity: 1;
}

.hero-content {
  width: 100%;
  padding: 40px;
  color: #fff;
  text-align: center;
}

.hero-mark {
  width: 86.8px;
  height: 100px;
  aspect-ratio: 217 / 250;
  margin: 0 auto 2%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  max-width: none;
  margin: 0.3rem auto 1.5rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-facts svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* Carte d’introduction — géométrie exacte du module à deux colonnes FDS */
.intro-section {
  padding: 5%;
  padding-bottom: 2%;
  margin-bottom: -14rem;
}

.intro-card {
  position: relative;
  z-index: 4;
  bottom: 25vh;
  display: flex;
  width: 100%;
  min-height: 256.953px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 3%;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.intro-heading,
.intro-copy {
  width: 50%;
  padding: 2rem;
}

.intro-heading,
.intro-copy {
  transform: translate3d(0, -150px, 0);
  opacity: 0;
  will-change: transform, opacity;
}

.intro-heading {
  transition: transform 0.6s ease-out, opacity 0.4s ease-out;
}

.intro-copy {
  transform: translate3d(0, -120px, 0);
  transition: transform 0.5s ease-out 0.2s, opacity 0.3s ease-out 0.2s;
}

.intro-card.inview .intro-heading,
.intro-card.inview .intro-copy {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.intro-heading h2,
.survey-heading h2,
.contact-band h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.intro-heading .eyebrow {
  margin-bottom: 0.5rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: 0;
}

.intro-heading h2 {
  margin-bottom: 1rem;
  color: #000;
}

.intro-copy > p,
.intro-message p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02rem;
  line-height: 1.5;
}

.intro-message {
  display: block;
}

.intro-message strong {
  color: var(--brand);
  font-weight: 700;
}

.intro-copy .button {
  margin: 0.5rem 0.5rem 0.5rem 0;
}

.intro-copy .button i {
  padding-right: 0.5rem;
  line-height: 1.5;
}

/* Questionnaire */
.survey-section {
  position: relative;
  padding: 10px 20px clamp(80px, 9vw, 126px);
  background:
    radial-gradient(circle at 8% 18%, rgba(53, 72, 196, 0.055), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f8f9fd 48%, #fff 100%);
}

.survey-heading {
  width: min(100%, 940px);
  margin: 0 auto 48px;
  text-align: center;
}

.survey-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.survey-heading > .survey-intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.survey-highlights {
  display: grid;
  max-width: 860px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 27px auto 0;
  text-align: left;
}

.survey-highlight {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e5f2;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(35, 43, 90, 0.055);
}

.survey-highlight svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 6px;
  color: #fff;
  background: var(--gradient);
  border-radius: 9px;
  fill: currentColor;
}

.survey-highlight > span,
.survey-highlight strong,
.survey-highlight small {
  display: block;
}

.survey-highlight strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.2;
}

.survey-highlight small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.noscript-message {
  width: min(100%, 900px);
  margin: 20px auto;
  padding: 16px;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #f4b9b3;
  border-radius: var(--radius-md);
}

.survey-layout {
  display: grid;
  width: min(100%, var(--content-width));
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin: 0 auto;
}

.survey-layout.is-complete {
  grid-template-columns: 1fr;
}

.survey-layout.is-complete .mobile-progress {
  display: none !important;
}

.survey-aside {
  position: sticky;
  top: calc(var(--fixed-nav-bottom, 120px) + 12px);
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(22, 28, 45, 0.075);
}

.survey-aside::before {
  position: absolute;
  top: -1px;
  right: 24px;
  left: 24px;
  height: 4px;
  content: "";
  background: var(--gradient);
  border-radius: 0 0 5px 5px;
}

.progress-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
}

.progress-summary strong {
  color: var(--brand);
  font-size: 1.32rem;
  line-height: 1;
}

.progress-label {
  font-size: 0.9rem;
  font-weight: 650;
}

.progress-track {
  display: block;
  width: 100%;
  height: 10px;
  margin: 12px 0 8px;
  overflow: hidden;
  appearance: none;
  border: 0;
  background: #e9ebf3;
  border-radius: 999px;
}

.progress-track > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s ease;
}

.progress-track::-webkit-progress-bar {
  background: #e9ebf3;
  border-radius: inherit;
}

.progress-track::-webkit-progress-value {
  background: var(--gradient);
  border-radius: inherit;
  transition: width 0.32s ease;
}

.progress-track::-moz-progress-bar {
  background: var(--gradient);
  border-radius: inherit;
  transition: width 0.32s ease;
}

.progress-detail {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  min-height: 57px;
  color: var(--muted);
  transition: color 0.18s ease;
}

.step-list li:not(:last-child)::after {
  position: absolute;
  top: 40px;
  bottom: -3px;
  left: 16px;
  width: 2px;
  content: "";
  background: #e7e9f1;
}

.step-list li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #f0f1f6;
  border: 1px solid #e3e5ed;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.step-list li strong,
.step-list li small {
  display: block;
}

.step-list li strong {
  color: currentColor;
  font-size: 0.9rem;
  line-height: 1.25;
}

.step-list li small {
  margin-top: 2px;
  font-size: 0.76rem;
}

.step-list li.is-current {
  color: var(--brand);
}

.step-list li.is-current > span {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 5px 13px rgba(44, 53, 121, 0.25);
}

.step-list li.is-complete {
  color: var(--success);
}

.step-list li.is-complete > span {
  color: #fff;
  background: var(--success);
  border-color: var(--success);
}

.draft-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  padding: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 12px;
}

.draft-card svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.draft-card strong,
.draft-card span {
  display: block;
}

.draft-card strong {
  margin-bottom: 2px;
  font-size: 0.82rem;
}

.draft-card span {
  color: #596184;
  font-size: 0.74rem;
  line-height: 1.35;
}

.draft-clear {
  display: block;
  margin: 9px auto 0;
  padding: 4px;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.75rem;
  text-decoration: underline;
}

.survey-panel {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-raised);
}

.mobile-progress {
  display: none;
}

#survey-form {
  padding: clamp(24px, 4vw, 48px);
}

.survey-step {
  animation: step-enter 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes step-enter {
  from { transform: translateY(7px); }
  to { transform: translateY(0); }
}

.answer-guide {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) 28px minmax(210px, 1.12fr);
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  padding: 16px 18px;
  color: var(--brand);
  background: linear-gradient(110deg, #f2f4ff 0%, #f8f9ff 100%);
  border: 1px solid #dce1f7;
  border-radius: 15px;
}

.answer-guide-title {
  max-width: 105px;
  color: var(--brand);
  font-size: 0.76rem;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.answer-guide-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.answer-guide-number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 750;
  box-shadow: 0 5px 12px rgba(44, 53, 121, 0.2);
}

.answer-guide-item > span:last-child,
.answer-guide-item strong,
.answer-guide-item small {
  display: block;
}

.answer-guide-item strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.15;
}

.answer-guide-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.answer-guide-arrow {
  width: 21px;
  height: 21px;
  margin: auto;
  fill: var(--brand-accent);
}

.step-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.step-number {
  color: rgba(44, 53, 121, 0.55);
  font-family: "Bahnschrift Local", Bahnschrift, "Outfit", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.92;
}

.step-header .eyebrow {
  margin-bottom: 5px;
}

.step-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 3.3vw, 2.35rem);
  font-weight: 600;
}

.step-header p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.questions-grid {
  display: grid;
  gap: 20px;
}

.question-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dfe2ef;
  border-radius: 18px;
  box-shadow: 0 7px 24px rgba(35, 43, 90, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.question-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--gradient);
  opacity: 0.7;
}

.question-card:hover {
  border-color: #c4cae4;
  box-shadow: 0 12px 30px rgba(28, 36, 82, 0.08);
}

.question-card.is-complete {
  background: linear-gradient(135deg, #fff 0%, #fbfffc 100%);
  border-color: rgba(21, 128, 61, 0.32);
}

.question-card.is-complete::before {
  background: var(--success);
  opacity: 0.85;
}

.question-card.has-error {
  background: var(--danger-soft);
  border-color: rgba(180, 35, 24, 0.52);
}

.question-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.question-title {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
}

.question-title > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 750;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.question-card.is-complete .question-title > span {
  color: #fff;
  background: var(--success);
  transform: scale(1.03);
}

.question-title h3 {
  margin: 6px 0 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-weight: 700;
  line-height: 1.28;
  text-wrap: pretty;
}

.question-status {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  padding: 5px 10px;
  color: var(--muted);
  background: #f2f3f7;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
}

.status-complete {
  display: none;
}

.question-card.is-complete .question-status {
  color: var(--success);
  background: var(--success-soft);
}

.question-card.is-complete .status-pending {
  display: none;
}

.question-card.is-complete .status-complete {
  display: inline;
}

.question-scales {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(388px, 1fr));
  gap: 16px;
}

.scale-group {
  min-width: 0;
  padding: 15px;
  background: #f7f8fc;
  border: 1px solid #e8eaf3;
  border-radius: 15px;
}

.scale-group legend {
  display: flex;
  width: auto;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.15;
}

.scale-index {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: #fff;
  background: var(--brand-accent);
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 750;
}

.scale-legend-copy,
.scale-legend-copy strong,
.scale-legend-copy small {
  display: block;
}

.scale-legend-copy strong {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.scale-legend-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
}

.scale-options {
  display: grid;
  gap: 8px;
}

.scale-options.satisfaction {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scale-options.importance {
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.9fr) minmax(0, 1.18fr);
}

.scale-options.importance .option-text {
  white-space: nowrap;
}

.scale-options input,
.star-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.scale-options label {
  position: relative;
  display: grid;
  min-height: 64px;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 10px 8px;
  color: #454b5c;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.12;
  text-align: center;
  user-select: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-meter {
  display: flex;
  min-height: 7px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--brand-accent);
}

.option-meter i {
  display: block;
  width: 6px;
  height: 6px;
  background: #d6d9e7;
  border-radius: 50%;
}

.scale-options label[data-level="1"] .option-meter i:nth-child(-n + 1),
.scale-options label[data-level="2"] .option-meter i:nth-child(-n + 2),
.scale-options label[data-level="3"] .option-meter i:nth-child(-n + 3),
.scale-options label[data-level="4"] .option-meter i:nth-child(-n + 4) {
  background: currentColor;
}

.option-text {
  display: block;
}

.option-check {
  position: absolute;
  top: 5px;
  right: 6px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: var(--brand);
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  font-size: 0.68rem;
  font-weight: 800;
  transform: scale(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.scale-options label:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand);
}

.scale-options input:checked + label {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 5px 14px rgba(44, 53, 121, 0.24);
  transform: translateY(-1px);
}

.scale-options input:checked + label .option-meter {
  color: #fff;
}

.scale-options input:checked + label .option-meter i {
  background: rgba(255, 255, 255, 0.38);
}

.scale-options input:checked + label[data-level="1"] .option-meter i:nth-child(-n + 1),
.scale-options input:checked + label[data-level="2"] .option-meter i:nth-child(-n + 2),
.scale-options input:checked + label[data-level="3"] .option-meter i:nth-child(-n + 3),
.scale-options input:checked + label[data-level="4"] .option-meter i:nth-child(-n + 4) {
  background: #fff;
}

.scale-options input:checked + label .option-check {
  opacity: 1;
  transform: scale(1);
}

.scale-options input:focus-visible + label,
.star-options input:focus-visible + label {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
}

.question-error {
  display: none;
  margin: 13px 0 0;
  color: var(--danger);
  font-size: 0.83rem;
  font-weight: 600;
}

.question-card.has-error .question-error {
  display: block;
}

.feedback-card,
.overall-card {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 28px);
  background: #fbfbfd;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.field-heading,
.overall-card legend {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.field-heading > span,
.overall-card legend small,
.optional {
  padding: 4px 8px;
  color: #4d5578;
  background: #eef0f5;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

textarea,
.form-field input {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

textarea {
  min-height: 130px;
  padding: 14px 15px;
  resize: vertical;
}

textarea:focus,
.form-field input:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 4px var(--focus);
}

.character-count {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.overall-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.overall-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--gradient);
}

.overall-card legend {
  float: left;
}

.overall-card legend + p {
  clear: both;
}

.overall-card.has-error {
  background: var(--danger-soft);
  border-color: rgba(180, 35, 24, 0.52);
}

.overall-card.has-error::before {
  background: var(--danger);
}

.overall-card.has-error #overall-rating-help,
.overall-card.has-error .star-labels {
  color: #4d5578;
}

.overall-card .required-mark {
  color: var(--danger);
}

.overall-card > p {
  margin-bottom: 14px;
  color: var(--muted);
}

.star-options {
  display: grid;
  max-width: 530px;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.star-options label {
  display: grid;
  min-height: 67px;
  place-items: center;
  gap: 1px;
  color: #a5a9b6;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.72rem;
  user-select: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.star-options label:hover {
  color: #c07b00;
  background: #fffaf0;
  border-color: #e8b85f;
}

.star-options svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.star-options label span {
  color: var(--muted);
  font-weight: 700;
}

.star-options input:checked + label span {
  color: #704600;
}

.star-options input:checked + label,
.star-options[data-rating="2"] label[for="overall-1"],
.star-options[data-rating="3"] label[for="overall-1"],
.star-options[data-rating="3"] label[for="overall-2"],
.star-options[data-rating="4"] label[for="overall-1"],
.star-options[data-rating="4"] label[for="overall-2"],
.star-options[data-rating="4"] label[for="overall-3"],
.star-options[data-rating="5"] label[for="overall-1"],
.star-options[data-rating="5"] label[for="overall-2"],
.star-options[data-rating="5"] label[for="overall-3"],
.star-options[data-rating="5"] label[for="overall-4"] {
  color: #a56300;
  background: #fff6dd;
  border-color: #d99a2b;
  box-shadow: 0 5px 14px rgba(186, 119, 7, 0.15);
  transform: translateY(-1px);
}

.star-labels {
  display: flex;
  max-width: 530px;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.73rem;
}

.overall-error {
  display: none;
  margin: 12px 0 0 !important;
  color: var(--danger) !important;
  font-size: 0.83rem;
  font-weight: 650;
}

.overall-card.has-error .overall-error {
  display: block;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.optional-details {
  margin-top: 22px;
  overflow: hidden;
  background: #fbfbfd;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}

.optional-details summary {
  display: grid;
  min-height: 64px;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}

.optional-details summary::-webkit-details-marker {
  display: none;
}

.optional-details summary:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: -3px;
}

.optional-details summary > span:nth-child(2),
.optional-details summary strong,
.optional-details summary small {
  display: block;
}

.optional-details summary strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.optional-details summary small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.optional-details-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
}

.optional-details summary > svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.optional-details[open] summary > svg {
  transform: rotate(180deg);
}

.optional-details[open] summary {
  border-bottom: 1px solid var(--border-soft);
}

.optional-fields {
  padding: 18px 16px 16px;
}

.form-field {
  min-width: 0;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
}

.form-field label > span:not(.optional) {
  color: var(--danger);
}

.form-field input {
  min-height: 49px;
  padding: 11px 13px;
}

.form-field input[aria-invalid="true"] {
  background: var(--danger-soft);
  border-color: var(--danger);
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 5px;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 12px;
}

.privacy-note svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.privacy-note p {
  margin: 0;
  color: #4d5578;
  font-size: 0.87rem;
}

.privacy-note strong {
  color: var(--brand);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-error-summary {
  margin-bottom: 20px;
  padding: 14px 16px;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #efb4af;
  border-radius: 11px;
  font-weight: 600;
}

.form-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.form-actions .button {
  min-height: 52px;
  padding-inline: 1.65rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.2s ease, background-color 0.2s ease, background-position 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-actions .button:hover {
  letter-spacing: 0;
  transform: translateY(-1px);
}

#next-step {
  grid-column: 3;
  justify-self: end;
}

.action-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.submit-button.is-loading {
  cursor: wait;
  opacity: 0.82;
}

.submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.submit-button.is-loading .submit-spinner {
  display: block;
}

.submit-button.is-loading .submit-icon {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-panel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(46px, 8vw, 92px) clamp(24px, 7vw, 76px);
  isolation: isolate;
  text-align: center;
}

.success-panel > :not(.success-celebration) {
  position: relative;
  z-index: 1;
}

.success-celebration {
  position: absolute;
  z-index: 0;
  inset: 0;
  contain: paint;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.celebration-burst {
  position: absolute;
  width: 7px;
  height: 7px;
}

.celebration-burst-one {
  top: 25%;
  left: 18%;
}

.celebration-burst-two {
  top: 19%;
  right: 18%;
}

.celebration-burst-three {
  top: 13%;
  left: 50%;
}

.celebration-burst::after,
.celebration-burst i {
  position: absolute;
  inset: 0;
  display: block;
  width: 7px;
  height: 7px;
  content: "";
  opacity: 0;
  border-radius: 50%;
}

.celebration-burst::after {
  border: 1px solid rgba(53, 72, 196, 0.5);
}

.celebration-burst i {
  background: var(--brand-accent);
  box-shadow: 0 0 6px rgba(53, 72, 196, 0.18);
}

.celebration-burst i:nth-child(2n) {
  background: #e3a327;
}

.celebration-burst i:nth-child(3n) {
  background: var(--success);
}

.celebration-burst i:nth-child(1) { --firework-x: 0; --firework-y: -68px; }
.celebration-burst i:nth-child(2) { --firework-x: 50px; --firework-y: -50px; }
.celebration-burst i:nth-child(3) { --firework-x: 68px; --firework-y: 0; }
.celebration-burst i:nth-child(4) { --firework-x: 50px; --firework-y: 50px; }
.celebration-burst i:nth-child(5) { --firework-x: 0; --firework-y: 68px; }
.celebration-burst i:nth-child(6) { --firework-x: -50px; --firework-y: 50px; }
.celebration-burst i:nth-child(7) { --firework-x: -68px; --firework-y: 0; }
.celebration-burst i:nth-child(8) { --firework-x: -50px; --firework-y: -50px; }

.success-panel.is-celebrating .celebration-burst::after {
  animation: firework-ring 0.7s ease-out both;
}

.success-panel.is-celebrating .celebration-burst i {
  animation: firework-particle 1s cubic-bezier(0.16, 0.76, 0.3, 1) both;
}

.success-panel.is-celebrating .celebration-burst-two::after,
.success-panel.is-celebrating .celebration-burst-two i {
  animation-delay: 0.28s;
}

.success-panel.is-celebrating .celebration-burst-three::after,
.success-panel.is-celebrating .celebration-burst-three i {
  animation-delay: 0.52s;
}

@keyframes firework-particle {
  0% { opacity: 0; transform: translate(0, 0) scale(0.35); }
  14% { opacity: 1; }
  72% { opacity: 0.9; transform: translate(var(--firework-x), var(--firework-y)) scale(1); }
  100% { opacity: 0; transform: translate(var(--firework-x), calc(var(--firework-y) + 10px)) scale(0.35); }
}

@keyframes firework-ring {
  0% { opacity: 0.65; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(6); }
}

.success-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin: 0 auto 24px;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 13px 28px rgba(21, 128, 61, 0.24);
  animation: success-pop 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes success-pop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon svg {
  width: 47px;
  height: 47px;
  fill: currentColor;
}

.success-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.success-panel > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.04rem;
}

.confirmation-reference {
  display: inline-flex;
  min-width: min(100%, 350px);
  flex-direction: column;
  gap: 3px;
  margin: 28px auto;
  padding: 15px 20px;
  background: var(--success-soft);
  border: 1px solid rgba(21, 128, 61, 0.24);
  border-radius: 12px;
}

.confirmation-reference span {
  color: #52705e;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.confirmation-reference strong {
  color: var(--success);
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(0.82rem, 2.2vw, 1.1rem);
  letter-spacing: 0.05em;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.text-link {
  color: var(--brand);
  font-weight: 650;
  text-underline-offset: 4px;
}

.draft-dialog {
  width: min(calc(100% - 32px), 540px);
  max-width: none;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(17, 24, 67, 0.28);
  overflow: hidden;
}

.draft-dialog::backdrop {
  background: rgba(12, 17, 48, 0.58);
  backdrop-filter: blur(3px);
}

.draft-dialog[open] {
  animation: dialog-enter 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.draft-dialog form {
  margin: 0;
}

.draft-dialog-content {
  padding: 28px 30px 23px;
  border-top: 5px solid var(--danger);
}

.draft-dialog-content .eyebrow {
  margin-bottom: 7px;
}

.draft-dialog-content h2 {
  margin: 0 0 11px;
  color: var(--ink);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  line-height: 1.2;
  text-transform: none;
}

.draft-dialog-content > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.draft-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 17px 30px 20px;
  background: #f7f8fc;
  border-top: 1px solid var(--border-soft);
}

.draft-dialog-actions .button {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

.button-danger {
  color: #fff;
  background: var(--danger);
}

.button-danger:hover {
  color: #fff;
  background: #8f1d16;
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast {
  position: fixed;
  z-index: 1500;
  right: 22px;
  bottom: 22px;
  display: flex;
  max-width: calc(100% - 44px);
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(20, 27, 70, 0.28);
  animation: toast-enter 0.25s ease-out both;
}

.toast svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes toast-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bandeau et footer — gabarit du portail FDS */
.contact-band {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 0;
  padding: 20px 50px;
  color: #fff;
  background: linear-gradient(to bottom, var(--brand), var(--brand-accent));
  overflow: hidden;
  text-align: center;
}

.contact-band-content {
  position: relative;
  z-index: 2;
  width: 75%;
  margin: 0 auto;
}

.contact-band .eyebrow,
.contact-band h2 {
  color: #fff;
}

.contact-band .eyebrow {
  margin-bottom: 0.5rem;
  font-family: "Bahnschrift Local", Bahnschrift, "Outfit", sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: 0;
}

.contact-band h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.contact-band-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.contact-band .contact-band-link {
  position: relative;
  z-index: 2;
  min-height: 0;
  margin: 0.5rem;
  padding: 0.5rem 1.5rem;
  color: #fff;
  background: var(--gradient);
  background-size: 200% auto;
  border: 0;
  border-bottom: 3px solid #fff;
  border-radius: 5px;
  box-shadow: none;
  font-weight: 400;
  line-height: 1.5;
  gap: 0;
  transition: 0.3s ease-in-out;
}

.contact-band .contact-band-link i {
  padding-right: 0.5rem;
  line-height: 1.5;
}

.contact-band .contact-band-link:hover {
  color: var(--brand-accent);
  background: #fff;
  letter-spacing: 1px;
  transform: none;
}

.contact-band .contact-band-link svg {
  width: 16px;
  height: 16px;
}

.contact-shapes {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-shapes li {
  position: absolute;
  bottom: -150px;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  list-style: none;
  animation: contact-shape-rise 25s linear infinite;
}

.contact-shapes li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.contact-shapes li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.contact-shapes li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.contact-shapes li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.contact-shapes li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.contact-shapes li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.contact-shapes li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.contact-shapes li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.contact-shapes li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.contact-shapes li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

@keyframes contact-shape-rise {
  0% { opacity: 1; border-radius: 0; transform: translateY(0) rotate(0deg); }
  100% { opacity: 0; border-radius: 50%; transform: translateY(-1000px) rotate(720deg); }
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0;
  color: #fff;
  background: var(--brand);
  font-family: "Outfit", sans-serif;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 41.6667% 25% 25%;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  color: #fff;
  background: var(--brand);
}

.footer-company {
  min-width: 0;
  padding: 0 1rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.footer-company .footer-brand {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 1%;
}

.footer-company .footer-brand img {
  width: auto;
  max-width: none;
  height: min(
    clamp(49.4px, 14.82vw, 148.2px),
    clamp(80px, 12vw, 100px)
  );
  max-height: none;
  aspect-ratio: 500 / 247;
  margin: 0;
  filter: brightness(10);
}

.company-list {
  display: flex;
  width: calc(100% - 2rem);
  align-items: center;
  flex-direction: column;
  gap: 0;
  margin: 0 1rem;
  font-style: normal;
}

.company-info,
.footer-contact-line {
  display: block;
  text-align: center;
}

.footer-contact-line a {
  display: inline;
}

.company-info i,
.footer-contact-line i {
  display: inline;
  width: auto;
  color: currentColor;
  font-size: 1.1rem;
  text-align: center;
}

.company-info i::before,
.footer-contact-line i::before {
  display: inline-block;
  width: calc(1em + 0.02px);
  text-align: center;
}

.site-footer .footer-social {
  display: flex;
  width: 2rem;
  height: auto;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  padding: 0.5rem;
  color: #fff;
  background: var(--brand);
  border: 0;
  transition: 0.3s ease-in-out;
}

.footer-social i {
  display: block;
  width: 4vh;
  height: 4vh;
  font-size: inherit;
  line-height: 1;
  text-align: center;
}

.footer-social i::before {
  font-size: 4vh;
}

.footer-company::after {
  display: block;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  content: "";
}

.footer-pages,
.footer-services {
  min-width: 0;
  padding: 1rem;
}

.footer-pages {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}

.footer-services {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
}

.site-footer .footer-title {
  width: fit-content;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  color: #fff;
  border-bottom: 1px solid var(--brand);
  font-family: "Bahnschrift Local", Bahnschrift, "Outfit", sans-serif;
  font-size: clamp(1rem, 1.75vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.footer-page-links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-page-links a {
  margin: 0 1rem 0.25rem 0;
  white-space: nowrap;
}

.footer-service-links {
  display: flex;
  align-content: flex-end;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-service-links a {
  padding: 0.25rem 0.7rem;
  font-size: 0.8em !important;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.site-footer .footer-container a,
.site-footer .footer-container span {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}

.site-footer .footer-container a:hover {
  color: #fff;
  opacity: 0.7;
}

.footer-bottom {
  position: absolute;
  left: 0;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
  color: #fff;
  background: var(--brand);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #fff;
  letter-spacing: 0.02rem;
  line-height: 1.5;
}

.footer-bottom p,
.footer-bottom a {
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
  opacity: 0.8;
}

@media (max-width: 1120px) {
  .survey-layout {
    grid-template-columns: 1fr;
  }

  .survey-panel {
    overflow: visible;
  }

  .survey-aside {
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .survey-aside::before {
    display: none;
  }

  .survey-aside .progress-summary,
  .survey-aside div.progress-track,
  .survey-aside .progress-detail {
    display: none;
  }

  .survey-aside .draft-card {
    flex: 1 1 auto;
    margin-top: 0;
  }

  .survey-aside .draft-clear {
    flex: 0 0 auto;
  }

  .step-list {
    display: none;
  }
}

@media (min-width: 920.01px) and (max-width: 1120px) {
  .mobile-progress {
    position: sticky;
    z-index: 6;
    top: var(--fixed-nav-bottom, var(--nav-height));
    display: block;
    padding: 13px 18px 12px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e4e6f0;
    box-shadow: 0 6px 18px rgba(28, 36, 82, 0.075);
    backdrop-filter: blur(8px);
  }

  .mobile-progress-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 650;
  }

  .mobile-progress-summary strong {
    color: var(--brand);
    font-size: 1rem;
  }

  .mobile-progress-track {
    height: 7px;
    margin-top: 8px;
    overflow: hidden;
    background: #e9ebf3;
    border-radius: 999px;
  }

  .mobile-progress-track > span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.32s ease;
  }
}

@media (min-width: 992.02px) and (max-width: 1180px) {
  .site-nav {
    flex-direction: column;
  }

  .brand {
    position: static;
    padding: 10px 20px 10px 10px;
  }

  .brand img {
    max-width: clamp(100px, 10vw, 200px);
  }

  .nav-links {
    padding-left: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav-links a {
    padding-inline: 0.7rem;
    font-size: 0.95rem;
    letter-spacing: 0.02rem;
  }

}

@media (min-width: 1024.02px) and (max-width: 1148.875px) {
  .site-nav {
    width: 100%;
    max-width: none;
  }

  .nav-links {
    width: 100%;
    height: auto;
    align-items: stretch;
    padding: 1rem 0;
  }

  .nav-links a {
    height: auto;
    white-space: normal;
  }

  .nav-links .nav-link-dropdown {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav-links .nav-link-dropdown,
  .nav-links .nav-fds {
    justify-content: flex-start;
    text-align: left;
  }

  .nav-links > a:nth-child(2) {
    flex-shrink: 0.992209;
  }

  .nav-links > a:nth-child(3) {
    flex-shrink: 1.016819;
  }

  .nav-links > a:nth-child(4) {
    flex-shrink: 0.980629;
  }

  .nav-links > a:nth-child(5) {
    flex-shrink: 1.054228;
  }
}

@media (min-width: 1148.876px) and (max-width: 1179.98px) {
  .site-nav {
    max-width: none;
  }
}

@media (min-width: 1180px) and (max-width: 1300px) {
  .nav-links a {
    height: 37.6094px;
    padding-inline: 0.45rem;
    font-size: 0.9rem;
  }

  .nav-links .nav-link-dropdown {
    padding-right: 0.1rem;
    padding-left: 0.6rem;
    gap: 0.5rem;
  }

  .nav-link-dropdown .nav-caret {
    height: 16px;
    font-size: 0.9rem;
    transform: translateY(-0.796875px);
  }

  .nav-links .nav-social {
    width: 22.7188px;
    padding-inline: 0.1rem;
  }
}

@media (min-width: 1180.02px) {
  .site-nav {
    max-width: none;
    justify-content: flex-start;
  }

  .brand {
    flex-shrink: 1;
  }

  .nav-links {
    height: auto;
    flex: 1 1 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 992.02px) and (max-width: 1280px) {
  .hero-content {
    padding: 3%;
  }
}

@media (min-width: 992px) and (max-width: 1024px) {
  .nav-links a {
    height: 35.1875px;
    font-size: 0.8rem;
    letter-spacing: 0;
  }

  .nav-links .nav-link-dropdown {
    padding-right: 5.78px;
    padding-left: 13.43px;
  }

  .nav-link-dropdown .nav-caret {
    width: calc(1em + 0.02px);
    height: 14px;
    font-size: 0.8rem;
    transform: translateY(0.40625px);
  }

  .nav-social i {
    width: calc(1em + 0.02px);
  }

  .nav-links .nav-social {
    width: 30.39px;
  }
}

@media (min-width: 992.02px) and (max-width: 1179.98px),
       (min-width: 1300.02px) {
  .nav-links .nav-link-dropdown {
    padding-right: 5.608125px;
    padding-left: 13.601875px;
  }
}

@media (max-width: 992px) {
  :root {
    --nav-height: 100px;
  }

  html {
    scroll-padding-top: 108px;
  }

  .site-nav,
  .site-nav.is-scrolled,
  .site-nav.is-open {
    top: 0;
    width: 100%;
    max-width: none;
    min-height: var(--nav-height);
    justify-content: space-between;
    margin: 0;
    padding: 0.25rem;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav.is-scrolled,
  .site-nav.is-open {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .brand {
    margin-left: 1rem;
    padding: 0;
  }

  .brand img,
  .site-nav.is-scrolled .brand img,
  .site-nav.is-open .brand img {
    width: min(clamp(100px, 10vw, 200px), 141.700405px);
    height: auto;
    max-height: 70px;
    filter: url("#logoBlue");
  }

  .nav-toggle {
    display: grid;
    color: #fff;
    background: var(--brand-accent);
    border: 0;
  }

  .site-nav.is-open .nav-toggle > span:nth-last-child(3) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-nav.is-open .nav-toggle > span:nth-last-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .nav-toggle > span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    padding: 12px 18px 20px;
    background: #fff;
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open .nav-links {
    display: grid;
  }

  .nav-links a,
  .site-nav.is-scrolled .nav-links a,
  .site-nav.is-open .nav-links a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 16px;
    color: #111;
    border-right: 0;
    font-size: 0.94rem;
    text-align: left;
    white-space: normal;
  }

  .nav-links .nav-social,
  .site-nav.is-scrolled .nav-links .nav-social,
  .site-nav.is-open .nav-links .nav-social {
    color: var(--brand-accent);
  }

  .nav-social i {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 64px;
  }

  .contact-band {
    margin: 2% 5% 5%;
    padding: 20px;
  }

  .hero {
    margin-top: var(--nav-height);
  }

  .intro-section {
    margin-bottom: -10rem;
  }

  .intro-card {
    bottom: 15vh;
    margin-bottom: 2rem;
  }

  .intro-heading,
  .intro-copy {
    width: 100%;
    padding: 1.5rem;
  }

  .intro-heading {
    padding-bottom: 0;
  }

  .intro-heading h2 {
    margin-bottom: 0;
  }

  .contact-band-content {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 100%;
  }

  .footer-company,
  .footer-pages,
  .footer-services {
    width: 100%;
  }

  .footer-company {
    padding: 0 0.75rem;
  }

  .company-list {
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem;
  }

  .company-info i,
  .footer-contact-line i {
    font-size: 1rem;
  }

  .company-info i::before,
  .footer-contact-line i::before {
    width: 1em;
  }

  .site-footer .footer-social {
    margin-top: 0.75rem;
  }

  .footer-company::after {
    margin-top: 0;
  }

  .footer-pages {
    padding: 0.75rem;
  }

  .footer-services {
    padding: 0 0.75rem;
  }

  .site-footer .footer-title {
    margin-right: auto;
    margin-bottom: 0.75rem;
    margin-left: auto;
    text-align: center;
  }

  .footer-page-links a {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-service-links {
    justify-content: center;
  }

  .site-footer .footer-container a,
  .site-footer .footer-container span {
    font-size: 1rem;
  }

  .footer-service-links a {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
  }

  .footer-bottom {
    padding: 0.75rem;
  }
}

@media (min-width: 767.98px) and (max-width: 992px) {
  .site-nav {
    padding: 0.5rem;
  }

  .intro-heading,
  .intro-copy {
    padding: 2rem;
  }

  .intro-heading {
    padding-bottom: 0;
  }

  .footer-company {
    padding: 0 1rem;
  }

  .company-list {
    width: calc(100% - 2rem);
    margin: 0 1rem;
  }

  .site-footer .footer-social {
    margin-top: 1rem;
  }

  .footer-pages {
    padding: 1rem;
  }

  .footer-services {
    padding: 0 1rem;
  }

  .site-footer .footer-title {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    padding: 1rem;
  }
}

@media (min-width: 372px) and (max-width: 992px) {
  .footer-page-links a {
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

.footer-services > .sr-only {
  display: none !important;
}

@media (max-width: 920px) {

  .hero {
    min-height: max(500px, 65vh);
  }

  .survey-layout {
    grid-template-columns: 1fr;
  }

  .survey-aside {
    z-index: 2;
  }

  .mobile-progress {
    position: sticky;
    z-index: 6;
    top: var(--fixed-nav-bottom, var(--nav-height));
    display: block;
    padding: 13px 18px 12px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e4e6f0;
    box-shadow: 0 6px 18px rgba(28, 36, 82, 0.075);
    backdrop-filter: blur(8px);
  }

  .mobile-progress-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 650;
  }

  .mobile-progress-summary strong {
    color: var(--brand);
    font-size: 1rem;
  }

  .mobile-progress-track {
    height: 7px;
    margin-top: 8px;
    overflow: hidden;
    background: #e9ebf3;
    border-radius: 999px;
  }

  .mobile-progress-track > span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.32s ease;
  }

  .progress-detail {
    margin-bottom: 0;
  }

  .draft-clear {
    min-height: 44px;
    padding: 10px 8px;
  }
}

@media (max-width: 767.97px) {
  :root {
    --nav-height: 80px;
  }

  html {
    scroll-padding-top: 88px;
  }

  .brand img,
  .site-nav.is-scrolled .brand img,
  .site-nav.is-open .brand img {
    max-height: 60px;
  }

  .hero-content {
    padding: 48px 16px;
  }

  .contact-band .contact-band-link {
    margin: 0.25rem;
  }

  .intro-copy .button {
    margin: 0.25rem 0.25rem 0.25rem 0;
  }

  .contact-band-actions {
    margin-top: 1.5rem;
  }

  .intro-heading {
    transform: translate3d(0, -64px, 0);
  }

  .intro-copy {
    transform: translate3d(0, -52px, 0);
  }
}

@media (max-width: 680px) {
  .survey-section {
    padding-inline: 12px;
  }

  .survey-heading {
    padding-inline: 8px;
  }

  .survey-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .survey-highlight {
    align-items: flex-start;
    padding: 12px;
  }

  .survey-highlight:last-child {
    grid-column: 1 / -1;
  }

  .survey-layout {
    gap: 12px;
  }

  .survey-aside {
    display: flex;
    padding: 0;
    border-radius: 0;
  }

  .survey-aside .draft-card {
    margin-top: 0;
  }

  .survey-panel {
    border-radius: 16px;
  }

  .success-panel {
    min-height: 0;
  }

  #survey-form {
    padding: 22px 12px;
  }

  .answer-guide {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1.15fr);
    gap: 9px;
    margin-bottom: 22px;
    padding: 14px 12px;
  }

  .answer-guide-title {
    max-width: none;
    grid-column: 1 / -1;
  }

  .answer-guide-item {
    align-items: flex-start;
    gap: 7px;
  }

  .answer-guide-number {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .answer-guide-arrow {
    width: 18px;
    height: 18px;
  }

  .answer-guide-item strong {
    font-size: 0.82rem;
  }

  .answer-guide-item small {
    font-size: 0.75rem;
  }

  .step-header {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 20px;
  }

  .step-number {
    font-size: 2.35rem;
  }

  .question-card {
    padding: 18px 12px;
  }

  .question-scales {
    grid-template-columns: 1fr;
  }

  .question-title {
    gap: 11px;
  }

  .question-title > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .question-title h3 {
    margin-top: 5px;
    font-size: 1.08rem;
  }

  .scale-group {
    padding: 12px 8px;
  }

  .scale-options.importance {
    gap: 6px;
  }

  .scale-options.importance label {
    padding-inline: 3px;
    font-size: 0.82rem;
  }

  .scale-options.satisfaction {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scale-options label {
    min-height: 60px;
    font-size: 0.9rem;
  }

  .identity-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-actions {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions .action-hint {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .form-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .submit-button {
    grid-column: 2;
  }

  #next-step {
    grid-column: 2;
    justify-self: stretch;
  }

}

@media (min-width: 680.01px) and (max-width: 820px) {
  .question-scales {
    grid-template-columns: 1fr;
  }

  .scale-options label {
    min-height: 66px;
  }
}

@media (max-width: 375px) {
  .survey-section {
    padding-inline: 6px;
  }

  #survey-form {
    padding-inline: 8px;
  }

  .question-card {
    padding-inline: 8px;
  }

  .scale-group {
    padding-inline: 4px;
  }

  .answer-guide-item small {
    display: none;
  }

  .scale-options.importance {
    grid-template-columns: minmax(0, 1.39fr) minmax(0, 1fr) minmax(0, 1.42fr);
    gap: 4px;
  }

  .scale-options.importance label {
    min-height: 58px;
    padding-inline: 0;
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .brand img {
    max-height: 56px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-facts span:last-child {
    width: 100%;
    justify-content: center;
  }

  .survey-heading h2 {
    font-size: 1.75rem;
  }

  .survey-heading > .survey-intro {
    font-size: 0.96rem;
  }

  .survey-highlight strong {
    font-size: 0.82rem;
  }

  .survey-highlight small {
    font-size: 0.7rem;
  }

  .question-status {
    display: none;
  }

  .question-head {
    margin-bottom: 20px;
  }

  .scale-legend-copy small {
    font-size: 0.75rem;
  }

  .star-options label {
    min-height: 60px;
  }

  .star-options svg {
    width: 23px;
    height: 23px;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .form-actions .action-hint,
  .submit-button {
    grid-column: auto;
  }

  #next-step {
    grid-column: auto;
  }

  .form-actions .button-secondary {
    order: 2;
  }

  .form-actions .action-hint {
    order: 1;
  }

  .form-actions .button-primary {
    order: 3;
  }
}

@media (max-width: 560px) {
  .draft-dialog-content {
    padding: 24px 20px 20px;
  }

  .draft-dialog-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 20px 20px;
  }

  .draft-dialog-actions .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  #start-survey {
    padding-inline: 18px;
  }

  .success-actions .button {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .draft-dialog[open] {
    animation: none !important;
  }

  #page-loader {
    transition: none !important;
  }

  .hero .hero-media,
  .hero .hero-overlay {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .intro-heading,
  .intro-copy {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .survey-step,
  .success-icon,
  .success-celebration,
  .celebration-burst,
  .celebration-burst::after,
  .celebration-burst i {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .success-celebration {
    display: none !important;
  }
}

@media print {
  .site-header,
  .hero,
  .intro-card,
  .survey-aside,
  .form-actions,
  .contact-band,
  .site-footer,
  .success-celebration,
  .toast {
    display: none !important;
  }

  .survey-section {
    padding: 0;
    background: #fff;
  }

  .survey-layout {
    display: block;
  }

  .survey-panel {
    border: 0;
    box-shadow: none;
  }
}
