/* ==========================================================================
   Assur Leads Conseil LTD — Landing
   Design system repris du template "Gogo Next MUI Admin v8.3.1"
   (tokens : src/style/theme/common.css + theme/blue.css, polices Urbanist/Mulish)
   ========================================================================== */

:root {
  /* --- Couleurs de marque (theme-blue du template) --- */
  --primary: 191 100% 46%;
  --primary-light: 191 100% 56%;
  --primary-dark: 191 100% 36%;
  --secondary: 207 85% 42%;
  --secondary-light: 207 85% 52%;
  --secondary-dark: 207 85% 32%;
  --accent-1: 272 92% 66%;
  --accent-4: 32 89% 65%;
  --accent-6: 136 49% 49%;

  /* --- Fonds --- */
  --background: 0 0% 98%;
  --background-paper: 0 0% 100%;

  /* --- Gris --- */
  --grey-25: 0 0% 97%;
  --grey-50: 0 0% 95%;
  --grey-100: 0 0% 91%;
  --grey-200: 0 0% 87%;
  --grey-300: 0 0% 83%;

  /* --- Texte --- */
  --text-primary: 0 0% 20%;
  --text-body: 0 0% 33%;
  --text-secondary: 0 0% 52%;
  --text-contrast: 0 0% 100%;

  /* --- Feedback --- */
  --error: 347 64% 55%;
  --success: 136 49% 45%;
  --warning: 32 89% 55%;

  /* --- Rayons (template) --- */
  --r-xs: 0.785rem;
  --r-sm: 0.875rem;
  --r-md: 1rem;
  --r-lg: 1.125rem;
  --r-xl: 1.375rem;
  --r-2xl: 1.5rem;
  --r-3xl: 1.75rem;
  --r-4xl: 2rem;

  /* --- Ombres (template) --- */
  --shadow-xs: 0 3px 8px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 3px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.07);
  --shadow-xl: 0 18px 48px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 10px 30px hsl(var(--primary) / 0.28);

  /* --- Typo --- */
  --font-body: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Urbanist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: hsl(var(--text-body));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  color: hsl(var(--text-primary));
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
}

a {
  color: hsl(var(--secondary));
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid hsl(var(--primary) / 0.45);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--alt {
  background: hsl(var(--background-paper));
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
  background: hsl(var(--primary) / 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 800;
}

.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
}

.h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.lead {
  font-size: 1.075rem;
  color: hsl(var(--text-secondary));
  margin-bottom: 0;
}

.text-muted {
  color: hsl(var(--text-secondary));
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.975rem;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  color: hsl(var(--text-contrast));
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  box-shadow: 0 14px 34px hsl(var(--primary) / 0.36);
}

.btn--ghost {
  background: hsl(var(--background-paper));
  color: hsl(var(--text-primary));
  border-color: hsl(var(--grey-100));
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--secondary));
}

.btn--light {
  background: hsl(var(--text-contrast) / 0.14);
  color: hsl(var(--text-contrast));
  border-color: hsl(var(--text-contrast) / 0.35);
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  background: hsl(var(--text-contrast) / 0.22);
}

.btn--white {
  background: #fff;
  color: hsl(var(--secondary-dark));
  box-shadow: var(--shadow-lg);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: hsl(var(--background-paper) / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.header.is-stuck {
  box-shadow: var(--shadow-sm);
  border-bottom-color: hsl(var(--grey-50));
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: hsl(var(--text-primary));
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-xs);
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-primary);
  flex-shrink: 0;
}

.brand__mark svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0125rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__tag {
  font-size: 0.6875rem;
  color: hsl(var(--text-secondary));
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav a {
  color: hsl(var(--text-body));
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.nav a:hover {
  background: hsl(var(--grey-25));
  color: hsl(var(--secondary));
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: hsl(var(--text-primary));
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
}

.header__phone svg {
  width: 18px;
  height: 18px;
  color: hsl(var(--primary));
}

.header__phone:hover {
  background: hsl(var(--grey-25));
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid hsl(var(--grey-100));
  background: hsl(var(--background-paper));
  cursor: pointer;
  place-items: center;
}

.burger svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -8%, hsl(var(--primary) / 0.16), transparent 60%),
    radial-gradient(760px 420px at 8% 6%, hsl(var(--accent-1) / 0.09), transparent 62%),
    hsl(var(--background));
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__title {
  margin-bottom: 1.25rem;
}

.hero__title .grad {
  background: linear-gradient(115deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.15rem;
  color: hsl(var(--text-secondary));
  max-width: 33rem;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: hsl(var(--text-body));
}

.hero__points svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--success));
  flex-shrink: 0;
}

/* Carte "quick start" */
.quickcard {
  position: relative;
  background: hsl(var(--background-paper));
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  border: 1px solid hsl(var(--grey-50));
}

.quickcard::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, hsl(var(--primary) / 0.55), transparent 45%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.quickcard__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.quickcard__badge span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(var(--success));
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

.quickcard h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.quickcard__sub {
  font-size: 0.9375rem;
  color: hsl(var(--text-secondary));
  margin-bottom: 1.5rem;
}

.quickcard__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: hsl(var(--text-secondary));
}

.quickcard__foot svg {
  width: 15px;
  height: 15px;
  color: hsl(var(--success));
}

/* Bandeau chiffres sous le hero */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  background: hsl(var(--background-paper));
  border: 1px solid hsl(var(--grey-50));
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.25rem;
}

.stat {
  text-align: center;
  padding: 0 0.5rem;
}

.stat__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  background: linear-gradient(120deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 0.8125rem;
  color: hsl(var(--text-secondary));
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Cartes / grilles génériques
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: hsl(var(--background-paper));
  border: 1px solid hsl(var(--grey-50));
  border-radius: var(--r-2xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--primary) / 0.35);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--secondary));
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__icon--a1 {
  background: hsl(var(--accent-1) / 0.14);
  color: hsl(var(--accent-1));
}
.card__icon--a4 {
  background: hsl(var(--accent-4) / 0.16);
  color: hsl(32 89% 45%);
}
.card__icon--a6 {
  background: hsl(var(--accent-6) / 0.14);
  color: hsl(var(--accent-6));
}
.card__icon--sec {
  background: hsl(var(--secondary) / 0.12);
  color: hsl(var(--secondary));
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  color: hsl(var(--text-secondary));
  margin-bottom: 0.85rem;
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.2rem 0;
  color: hsl(var(--text-body));
}

.card__list svg {
  width: 17px;
  height: 17px;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.28rem;
}

.card--highlight {
  background: linear-gradient(150deg, hsl(var(--secondary)), hsl(var(--secondary-dark)));
  border-color: transparent;
  color: hsl(var(--text-contrast) / 0.85);
}

.card--highlight h3,
.card--highlight .stat__value {
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.card--highlight p {
  color: hsl(var(--text-contrast) / 0.8);
}

/* --------------------------------------------------------------------------
   Étapes
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: hsl(var(--background-paper));
  border: 1px solid hsl(var(--grey-50));
  border-radius: var(--r-2xl);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-xs);
}

.step__num {
  position: absolute;
  top: -18px;
  left: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: var(--shadow-primary);
}

.step h3 {
  margin: 0.75rem 0 0.4rem;
}

.step p {
  font-size: 0.9375rem;
  color: hsl(var(--text-secondary));
  margin: 0;
}

/* --------------------------------------------------------------------------
   Avis
   -------------------------------------------------------------------------- */
.review__stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
}

.review__stars svg {
  width: 18px;
  height: 18px;
  color: hsl(var(--accent-4));
}

.review p {
  color: hsl(var(--text-body));
  font-size: 0.9375rem;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid hsl(var(--grey-50));
}

.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent-1)));
  flex-shrink: 0;
}

.review__name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: hsl(var(--text-primary));
  line-height: 1.2;
}

.review__meta {
  font-size: 0.8125rem;
  color: hsl(var(--text-secondary));
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq__item {
  background: hsl(var(--background-paper));
  border: 1px solid hsl(var(--grey-50));
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0125rem;
  color: hsl(var(--text-primary));
}

.faq__q svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq__item.is-open .faq__q svg {
  transform: rotate(45deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  padding: 0 1.4rem 1.3rem;
  margin: 0;
  color: hsl(var(--text-secondary));
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Formulaire multi-étapes
   -------------------------------------------------------------------------- */
.formsection {
  position: relative;
  background:
    radial-gradient(900px 480px at 15% 0%, hsl(var(--primary) / 0.13), transparent 60%),
    hsl(var(--background));
}

.formwrap {
  max-width: 880px;
  margin: 0 auto;
  background: hsl(var(--background-paper));
  border: 1px solid hsl(var(--grey-50));
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.formwrap__head {
  padding: 2rem 2.25rem 0;
}

.progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
}

.progress__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--text-secondary));
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.progress__bar {
  height: 6px;
  border-radius: 999px;
  background: hsl(var(--grey-100));
  transition: background-color 0.3s ease;
}

.progress__step.is-active .progress__bar,
.progress__step.is-done .progress__bar {
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)));
}

.progress__step.is-active,
.progress__step.is-done {
  color: hsl(var(--secondary));
}

.formwrap__body {
  padding: 2rem 2.25rem 2.25rem;
}

.fstep {
  display: none;
  animation: fadeUp 0.35s ease;
}

.fstep.is-active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fstep__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.fstep__sub {
  color: hsl(var(--text-secondary));
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field.is-hidden {
  display: none;
}

.field > label,
.fieldset__legend {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: hsl(var(--text-primary));
}

.field .req {
  color: hsl(var(--error));
}

.field .hint {
  font-size: 0.75rem;
  color: hsl(var(--text-secondary));
  font-weight: 400;
}

.control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid hsl(var(--grey-100));
  border-radius: var(--r-sm);
  background: hsl(var(--background-paper));
  font-size: 0.9375rem;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
  min-width: 0;
}

.control::placeholder {
  color: hsl(var(--text-secondary) / 0.75);
}

.control:hover {
  border-color: hsl(var(--grey-300));
}

.control:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.14);
}

.control.is-invalid {
  border-color: hsl(var(--error));
  background: hsl(var(--error) / 0.04);
}

select.control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
  cursor: pointer;
}

textarea.control {
  resize: vertical;
  min-height: 96px;
}

.control-money {
  position: relative;
  display: flex;
  align-items: center;
}

.control-money .control {
  padding-right: 2.6rem;
}

.control-money span {
  position: absolute;
  right: 1rem;
  color: hsl(var(--text-secondary));
  font-weight: 700;
  pointer-events: none;
}

/* Choix segmentés (radios stylés) */
.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.segment--2 {
  grid-template-columns: repeat(2, 1fr);
}

.segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 0.5rem;
  border: 1px solid hsl(var(--grey-100));
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: hsl(var(--text-secondary));
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  background: hsl(var(--background-paper));
}

.segment label:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--secondary));
}

.segment input:checked + label {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--secondary-dark));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
}

.segment.is-invalid label {
  border-color: hsl(var(--error) / 0.6);
}

/* Cartes de choix (niveaux de garantie) */
.needs {
  display: grid;
  gap: 1.1rem;
}

.need {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid hsl(var(--grey-50));
  border-radius: var(--r-lg);
  background: hsl(var(--grey-25) / 0.6);
}

.need__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.need__label svg {
  width: 22px;
  height: 22px;
  color: hsl(var(--secondary));
  flex-shrink: 0;
}

.need__label strong {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: hsl(var(--text-primary));
  display: block;
  line-height: 1.2;
}

.need__label small {
  font-size: 0.75rem;
  color: hsl(var(--text-secondary));
}

.need .segment {
  width: 300px;
  max-width: 100%;
}

/* Consentement */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid hsl(var(--grey-50));
  border-radius: var(--r-lg);
  background: hsl(var(--grey-25) / 0.6);
  font-size: 0.8125rem;
  color: hsl(var(--text-secondary));
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  accent-color: hsl(var(--primary));
  flex-shrink: 0;
  cursor: pointer;
}

.consent.is-invalid {
  border-color: hsl(var(--error));
  background: hsl(var(--error) / 0.05);
}

/* Navigation du formulaire */
.formnav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--grey-50));
}

.formnav .btn--primary {
  margin-left: auto;
}

.formnav__note {
  font-size: 0.8125rem;
  color: hsl(var(--text-secondary));
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.formnav__note svg {
  width: 15px;
  height: 15px;
  color: hsl(var(--success));
}

/* Alertes */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.alert--error {
  background: hsl(var(--error) / 0.09);
  color: hsl(var(--error));
  border: 1px solid hsl(var(--error) / 0.28);
}

.alert--info {
  background: hsl(var(--primary) / 0.09);
  color: hsl(var(--secondary-dark));
  border: 1px solid hsl(var(--primary) / 0.28);
}

.alert[hidden] {
  display: none;
}

/* Écran de succès */
.success {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.success__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: hsl(var(--success) / 0.13);
  color: hsl(var(--success));
}

.success__icon svg {
  width: 42px;
  height: 42px;
}

.success h3 {
  font-size: 1.6rem;
  font-weight: 800;
}

.success__ref {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: hsl(var(--grey-25));
  border: 1px solid hsl(var(--grey-50));
  font-family: var(--font-heading);
  font-weight: 700;
  color: hsl(var(--text-primary));
}

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-4xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary-dark)));
  box-shadow: var(--shadow-xl);
}

.cta::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  top: -180px;
  right: -120px;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.cta__actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: hsl(0 0% 13%);
  color: hsl(0 0% 72%);
  padding: 3.5rem 0 2rem;
  font-size: 0.9375rem;
}

.footer a {
  color: hsl(0 0% 78%);
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer .brand__name,
.footer h4 {
  color: #fff;
}

.footer .brand__tag {
  color: hsl(0 0% 60%);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer__links li {
  padding: 0.28rem 0;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.28rem 0;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(0 0% 22%);
  font-size: 0.8125rem;
  color: hsl(0 0% 58%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.footer__disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(0 0% 50%);
  margin-top: 1rem;
}

/* Barre d'appel mobile */
.mobilebar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: hsl(var(--background-paper) / 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--grey-100));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
}

.mobilebar .btn {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: 0.9375rem;
}

/* Animations d'apparition */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.6rem;
    background: hsl(var(--background-paper));
    border-bottom: 1px solid hsl(var(--grey-50));
    box-shadow: var(--shadow-lg);
  }
  .header.is-open .nav a {
    padding: 0.85rem 1rem;
  }
  .burger {
    display: grid;
    margin-left: auto;
  }
  .header__actions .btn {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }
  .section {
    padding: 3.5rem 0;
  }
  .container {
    padding: 0 1.15rem;
  }
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
  .brand__tag {
    display: none;
  }
  .header__phone span {
    display: none;
  }
  .grid--3,
  .grid--4,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .fgrid {
    grid-template-columns: 1fr;
  }
  .quickcard,
  .formwrap__head,
  .formwrap__body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .quickcard {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .formwrap__head {
    padding-top: 1.5rem;
  }
  .need {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .need .segment {
    width: 100%;
  }
  .progress__step {
    font-size: 0;
    gap: 0;
  }
  .cta {
    padding: 2.5rem 1.5rem;
    border-radius: var(--r-2xl);
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mobilebar {
    display: flex;
  }
  body {
    padding-bottom: 72px;
  }
  .formnav {
    flex-wrap: wrap;
  }
  .formnav .btn {
    flex: 1;
  }
  .formnav__note {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
