/* =============================================================================
   Vianova — Landing pages acquisition
   Design system commun aux 4 personas.
   La couleur d'accent est injectee par la vue : <body style="--accent:#E4633F">
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Charte Vianova */
  --navy: #1a2c44;
  --navy-deep: #142236;
  --blue: #2a3a70;
  --grey-bg: #f7f8f9;
  --cream: #fbf7f2;
  --white: #fff;

  --ink: #1a2c44;
  --ink-soft: #4a5a6e;
  --ink-mute: #77869a;
  --line: #e4e8ed;

  /* Accent persona (surcharge inline sur <body>) */
  --accent: #e4633f;
  --accent-soft: #fdf0eb;
  --accent-ink: #fff;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --shadow-s: 0 1px 2px rgba(26, 44, 68, .06), 0 2px 8px rgba(26, 44, 68, .05);
  --shadow: 0 4px 12px rgba(26, 44, 68, .07), 0 16px 40px rgba(26, 44, 68, .08);
  --shadow-l: 0 8px 24px rgba(26, 44, 68, .09), 0 32px 80px rgba(26, 44, 68, .12);

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-quote: "Newsreader", Georgia, "Times New Roman", serif;
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

/* --- 3. Typographie ------------------------------------------------------ */
.h1 {
  font-size: clamp(2.05rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 600;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  line-height: 1.25;
  letter-spacing: -.012em;
  font-weight: 600;
}
.lead {
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.small { font-size: .93rem; line-height: 1.5; }
.mute { color: var(--ink-mute); }
.legal { font-size: .8rem; line-height: 1.5; color: var(--ink-mute); }
.accent-text { color: var(--accent); }

/* --- 4. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 780px; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--grey { background: var(--grey-bg); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .lead { color: rgba(255, 255, 255, .74); }
.section--navy .mute { color: rgba(255, 255, 255, .6); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 5. Eyebrow / badges ------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px; padding: .42rem .85rem;
}
.section--navy .eyebrow { background: rgba(255, 255, 255, .1); color: #fff; }
.badge {
  display: inline-block; font-size: .78rem; font-weight: 600;
  padding: .22rem .55rem; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent);
}

/* --- 6. Boutons ---------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: .9rem 1.6rem;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), opacity .18s;
  box-shadow: 0 2px 6px rgba(26, 44, 68, .12);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26, 44, 68, .18); }
.btn:active { transform: translateY(0); }
.btn--block { width: 100%; }
.btn--navy { --btn-bg: var(--blue); --btn-fg: #fff; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn .btn__spinner { display: none; width: 18px; height: 18px; }
.btn.is-loading .btn__label { opacity: .65; }
.btn.is-loading .btn__spinner { display: block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- 7. Header ----------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(26, 44, 68, .05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.header__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.header__brand img { height: 46px; width: auto; }
.header__right { display: flex; align-items: center; gap: 1.1rem; }
.header__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none; color: var(--navy);
}
.header__phone span { font-size: .97rem; }
.header__cta { min-height: 46px; padding: .55rem 1.15rem; font-size: .95rem; }
@media (max-width: 720px) {
  .header__phone span, .header__cta { display: none; }
  .header__brand img { height: 38px; }
}

/* --- 8. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% 8%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 58%),
    linear-gradient(180deg, var(--cream) 0%, #fff 88%);
  padding-block: clamp(32px, 5vw, 68px) clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.02fr .98fr; gap: 56px; }
}
.hero__content > * + * { margin-top: 1.15rem; }
.hero__title { margin-top: 1.3rem; }
.hero__sub { max-width: 33ch; }
.hero__reassure {
  display: flex; flex-wrap: wrap; gap: .55rem 1.4rem;
  margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.hero__reassure li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .95rem; font-weight: 500; color: var(--ink-soft);
}
.hero__reassure svg { flex: none; color: var(--accent); }

/* Visuel hero : <picture> si l'asset existe, sinon degrade de secours. */
.hero__visual {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(90% 70% at 18% 12%, color-mix(in srgb, var(--accent) 45%, #fff) 0%, transparent 55%),
    radial-gradient(80% 80% at 88% 22%, color-mix(in srgb, var(--cream) 80%, #fff) 0%, transparent 60%),
    linear-gradient(158deg, color-mix(in srgb, var(--accent) 30%, #fff) 0%, var(--cream) 38%, var(--navy) 100%);
  box-shadow: var(--shadow-l);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(20, 34, 54, .28) 100%);
  pointer-events: none;
}
/* Mobile : l'ordre de lecture devient titre -> promesse -> visuel -> question
   -> reassurance, pour que l'interaction soit atteinte le plus tot possible. */
@media (max-width: 939px) {
  .hero__grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero__grid > *, .hero__content > *, .hero__visual-col > * { flex: none; }
  .hero__content, .hero__visual-col { display: contents; }
  .hero__content > .eyebrow { order: 1; }
  .hero__title { order: 2; margin-top: 1.1rem; }
  .hero__sub { order: 3; margin-top: .9rem; max-width: 40ch; }
  .hero__visual { order: 4; margin-top: 1.5rem; aspect-ratio: 16 / 10; }
  .hero .ask { order: 5; margin-top: 1.2rem; }
  .hero__reassure { order: 6; margin-top: 1.6rem; }
}

/* --- 9. Interaction (question unique) ------------------------------------ */
.ask {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px);
}
.hero .ask { margin-top: 1.9rem; }
@media (min-width: 940px) {
  .hero__visual-col { position: relative; }
  .hero__visual-col .ask {
    position: relative; z-index: 2;
    margin: -86px 28px 0 28px;
  }
}
.ask__label { font-weight: 600; font-size: 1.06rem; letter-spacing: -.012em; display: block; }
.ask__hint { margin-top: .3rem; }

/* champ numerique */
.field-money {
  display: flex; align-items: center; gap: .6rem;
  margin-top: 1rem; padding: .55rem .95rem .55rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--grey-bg);
  transition: border-color .18s, background-color .18s;
}
.field-money:focus-within { border-color: var(--accent); background: #fff; }
.field-money input {
  flex: 1; min-width: 0; width: 100%;
  border: 0; background: transparent; outline: none;
  font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em;
  padding: .35rem 0;
  -moz-appearance: textfield;
}
.field-money input::-webkit-outer-spin-button,
.field-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field-money__suffix { font-weight: 600; color: var(--ink-mute); white-space: nowrap; }

/* slider */
.field-slider { margin-top: 1.1rem; }
.field-slider__value {
  font-size: clamp(2rem, 4.4vw, 2.6rem); font-weight: 700; letter-spacing: -.03em;
  color: var(--navy); line-height: 1.1;
}
.field-slider__value small { font-size: 1rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0; }
.field-slider input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; margin: 1rem 0 .4rem;
  border-radius: 999px; background: var(--line); outline: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
}
.field-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(26, 44, 68, .22); cursor: grab;
  transition: transform .15s var(--ease);
}
.field-slider input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
.field-slider input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(26, 44, 68, .22); cursor: grab;
}
.field-slider__scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-mute); }

/* choix (famille) */
.field-choice { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.field-choice input { position: absolute; opacity: 0; pointer-events: none; }
.field-choice label {
  flex: 1 1 64px; min-width: 64px;
  display: flex; align-items: center; justify-content: center;
  min-height: 60px; padding: .5rem;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--grey-bg);
  font-size: 1.25rem; font-weight: 700; color: var(--ink-soft);
  cursor: pointer;
  transition: all .16s var(--ease);
}
.field-choice label:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.field-choice input:checked + label {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent);
}
.field-choice input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }

/* resultat instantane */
.ask__result {
  margin-top: 1.2rem; padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}
.ask__result[hidden] { display: none !important; }
.ask__result.is-fresh { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.result-figure {
  font-size: clamp(1.9rem, 4.2vw, 2.5rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.1; color: var(--accent);
}
.result-caption { margin-top: .35rem; color: var(--ink-soft); font-size: .98rem; }
.ask__cta { margin-top: 1.1rem; }

/* --- 10. Section declic -------------------------------------------------- */
.declic__head { max-width: 62ch; }
.declic__grid {
  display: grid; gap: 1.1rem; margin-top: 2.6rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-s);
}
.section--navy .tile { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.tile__icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: .95rem;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.section--navy .tile__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.tile p { margin-top: .4rem; color: var(--ink-soft); font-size: .98rem; }
.section--navy .tile p { color: rgba(255, 255, 255, .72); }

/* avant / apres (famille + cspplus) */
.shift { display: grid; gap: 1.2rem; margin-top: 2.6rem; }
@media (min-width: 800px) { .shift { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.shift__col {
  border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line); background: #fff;
}
.shift__col--now { background: var(--grey-bg); }
.shift__col--next { border-color: color-mix(in srgb, var(--accent) 42%, #fff); background: var(--accent-soft); }
.shift__title { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-mute); }
.shift__col--next .shift__title { color: var(--accent); }
.shift__list { margin-top: 1.1rem; display: grid; gap: .7rem; }
.shift__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: 1.02rem; line-height: 1.45; }
.shift__list svg { flex: none; margin-top: 3px; }
.shift__col--now svg { color: var(--ink-mute); }
.shift__col--next svg { color: var(--accent); }
.shift__arrow { display: grid; place-items: center; color: var(--accent); }
@media (max-width: 799px) { .shift__arrow { transform: rotate(90deg); } }

/* comparatif chiffre (cspplus) */
.compare { display: grid; gap: 1rem; margin-top: 2.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.compare__card { border-radius: var(--radius-l); padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); background: #fff; }
.compare__card--accent { border-color: color-mix(in srgb, var(--accent) 45%, #fff); background: var(--accent-soft); }
.compare__figure { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: .5rem; }
.compare__card--accent .compare__figure { color: var(--accent); }
.compare__bar { height: 8px; border-radius: 999px; background: var(--line); margin-top: 1.1rem; overflow: hidden; }
.compare__bar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width .9s var(--ease); }

.etude-cta {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between;
  margin-top: 2rem; padding: clamp(20px, 3vw, 30px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.etude-cta .btn { flex: none; }

/* --- 11. Cartes programmes ---------------------------------------------- */
.cards { display: grid; gap: 1.2rem; margin-top: 2.4rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--grey-bg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__badge { position: absolute; top: .8rem; left: .8rem; background: #fff; box-shadow: var(--shadow-s); }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__city { font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); }
.card__specs { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .95rem; color: var(--ink-soft); }
.card__price { margin-top: auto; padding-top: .7rem; font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; }
.card__price small { display: block; font-size: .8rem; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }
.card__link { font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.card__link:hover { text-decoration: underline; }

/* etat vide / squelette */
.stock-empty {
  margin-top: 2.4rem; border: 1px dashed var(--line); border-radius: var(--radius-l);
  background: var(--grey-bg); padding: clamp(26px, 4vw, 44px); text-align: center;
}
.stock-empty .h3 { max-width: 40ch; margin-inline: auto; }
.skeleton { position: relative; overflow: hidden; background: var(--line); border-radius: var(--radius); min-height: 320px; }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  animation: sweep 1.4s infinite;
}
@keyframes sweep { to { transform: translateX(100%); } }

/* --- 12. Pourquoi Vianova ------------------------------------------------ */
.usp { display: grid; gap: 1.4rem 2rem; margin-top: 2.8rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.usp__item { display: flex; gap: .95rem; align-items: flex-start; }
.usp__icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.usp__item p { color: rgba(255, 255, 255, .72); font-size: .97rem; margin-top: .25rem; }

/* --- 13. Preuves --------------------------------------------------------- */
.stats { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 2rem; }
.stat__figure { font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.stat__label { font-size: .92rem; color: var(--ink-mute); }
.quotes { display: grid; gap: 1.2rem; margin-top: 2.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-s);
  display: flex; flex-direction: column; gap: 1rem;
}
.quote__note { color: var(--accent); letter-spacing: .12em; font-size: 1rem; line-height: 1; }
.quote blockquote {
  font-family: var(--font-quote); font-size: 1.12rem; line-height: 1.5;
  font-style: italic; color: var(--navy);
}
.quote figcaption { font-size: .9rem; color: var(--ink-mute); margin-top: auto; }
.quote figcaption strong { color: var(--ink); font-weight: 600; display: block; }

/* --- 14. Formulaire lead ------------------------------------------------- */
.leadbox {
  background: var(--navy);
  color: #fff;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(26px, 4.5vw, 56px);
  display: grid; gap: clamp(26px, 4vw, 48px);
}
@media (min-width: 900px) { .leadbox { grid-template-columns: 1fr 1fr; align-items: center; } }
.leadbox__pitch p { color: rgba(255, 255, 255, .74); margin-top: .9rem; }
.leadbox__points { margin-top: 1.6rem; display: grid; gap: .7rem; }
.leadbox__points li { display: flex; gap: .6rem; align-items: flex-start; font-size: .99rem; color: rgba(255, 255, 255, .88); }
.leadbox__points svg { flex: none; margin-top: 4px; color: var(--accent); }
.leadbox__form { background: #fff; color: var(--ink); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 30px); }
.form-row { display: grid; gap: .9rem; }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-top: .9rem; }
.field:first-child { margin-top: 0; }
.field__label { display: block; font-size: .89rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: .7rem .9rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--grey-bg); outline: none;
  transition: border-color .16s, background-color .16s;
}
.field input:hover, .field select:hover { border-color: color-mix(in srgb, var(--ink-mute) 45%, var(--line)); }
.field input:focus, .field select:focus { border-color: var(--accent); background: #fff; }
.field.has-error input { border-color: #c0392b; background: #fdf3f2; }
.field__error { display: none; font-size: .85rem; color: #c0392b; margin-top: .35rem; }
.field.has-error .field__error { display: block; }
.field--hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: .65rem; align-items: flex-start; margin-top: 1.1rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.consent span { font-size: .85rem; line-height: 1.45; color: var(--ink-soft); }
.consent.has-error {
  border-radius: var(--radius-s); padding: .6rem;
  margin-left: -.6rem; margin-right: -.6rem;
  background: #fdf3f2; box-shadow: inset 0 0 0 1.5px #f0c9c4;
}
.consent.has-error span { color: #a5342a; }
.form-success { display: none; text-align: center; padding: 1.5rem .5rem; }
.form-success__icon {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.leadbox__form.is-sent .form-body { display: none; }
.leadbox__form.is-sent .form-success { display: block; animation: rise .45s var(--ease) both; }
.form-error-global {
  display: none; margin-top: .9rem; padding: .7rem .9rem;
  background: #fdf3f2; border: 1px solid #f0c9c4; border-radius: var(--radius-s);
  color: #a5342a; font-size: .9rem;
}
.form-error-global.is-visible { display: block; }

/* --- 15. Footer ---------------------------------------------------------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .62); padding-block: 2.6rem 3.2rem; font-size: .89rem; }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top img { height: 38px; width: auto; }
.footer__top { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; }
.footer__contact { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; font-weight: 600; }
.footer__contact a { color: #fff; }
.footer__legal { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); line-height: 1.6; }

/* --- 16. Sticky CTA mobile ---------------------------------------------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  display: none; gap: .6rem; padding: .7rem var(--gut) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .28s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 52px; }
.sticky-cta .btn--ghost { flex: none; width: 52px; padding: 0; }
@media (max-width: 780px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 0; }
}

/* --- 17. Reveal au scroll ------------------------------------------------
   Sans JavaScript, le contenu reste visible : l'animation n'est activee que
   lorsque la classe .js est posee sur <html> (script inline du layout). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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