/* ===================== VARIABLES ===================== */
:root {
  --blue: #01549d;
  --cyan: #00a6bf;
  --navy: #001231;
  --navy-deep: #020b17;
  --navy-soft: #021b3e;
  --gray: #e5e6e9;
  --white: #ffffff;
  --black: #000000;
  --red-sw: #c5281c;
  --ink-soft: #4a5568;
  --ink-mute: #5b6472;

  --grad-brand: linear-gradient(70deg, #01549d 33%, #00a6bf 100%);
  --grad-btn: linear-gradient(70deg, #01549d 0%, #00a6bf 100%);
  --grad-text: linear-gradient(90deg, #3fa9ff 0%, #00e0c6 100%);

  --font-head: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --ease: cubic-bezier(.16,1,.3,1);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-snap-type: y proximity; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
[data-lucide] { width: 1em; height: 1em; stroke-width: 2.2; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--cyan); color: var(--white); }

/* ===================== TRUST BAR (city marquee) ===================== */
.trust-bar {
  background: #f0f5fa; padding: 20px 0 22px;
  border-top: 1px solid #e2e9f0; border-bottom: 1px solid #e2e9f0;
  overflow: hidden;
}
.trust-bar__label {
  text-align: center; margin: 0 24px 16px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  font-size: 13px; color: var(--blue);
}
.trust-marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.trust-marquee__track {
  display: flex; align-items: center; gap: 46px; width: max-content;
  /* Durée proportionnelle au nombre de logos : 25 par demi-piste au lieu de 10,
     sinon le défilement s'accélère quand on ajoute des villes. */
  animation: trustScroll 115s linear infinite;
}
.trust-marquee:hover .trust-marquee__track,
.trust-marquee:focus-within .trust-marquee__track { animation-play-state: paused; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-city {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .3px;
  color: #56607a; transition: color .25s;
}
.trust-city:hover { color: var(--blue); }
.trust-city [data-lucide] { width: 18px; height: 18px; color: var(--blue); opacity: .7; flex-shrink: 0; }
/* Real city logos (wordmarks): consistent height, subtle lift on hover, clickable to realisations */
.trust-city { cursor: pointer; }
.trust-city img {
  height: 46px; width: auto; display: block;
  max-width: 200px; object-fit: contain;
  opacity: .9; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
/* Logos carrés ou verticaux (Sète, Plaisir, Albi, La Teste-de-Buch) : à hauteur égale
   ils paraissent minuscules à côté des logotypes horizontaux. */
.trust-city img.is-compact { height: 58px; }
.trust-city:hover img { opacity: 1; transform: translateY(-2px); }

/* ===================== FLOATING STICKY CTA ===================== */
.floating-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  display: flex; align-items: center; gap: 10px;
  background: var(--grad-btn); color: var(--white); padding: 16px 22px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .5px;
  box-shadow: 0 12px 30px -8px rgba(1,84,157,.6);
  transform: translateY(120px) scale(.9); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .3s;
}
.floating-cta.visible { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.floating-cta:hover { box-shadow: 0 16px 36px -6px rgba(0,166,191,.7); transform: translateY(-4px) scale(1.03); }
.floating-cta [data-lucide] { width: 20px; height: 20px; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: .3px;
  text-wrap: balance;
}
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 20px; }
p { text-wrap: pretty; }

.text-grad-dark {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { margin-top: 12px; font-size: 17px; color: var(--ink-mute); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; font-size: 15px;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  white-space: nowrap;
}
.btn [data-lucide] { width: 18px; height: 18px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

.btn--primary {
  background: var(--grad-btn); color: var(--white);
  box-shadow: 0 8px 24px -6px rgba(1,84,157,.55);
  position: relative; overflow: hidden;
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 32px -6px rgba(0,166,191,.6); }
.btn--primary:active { transform: translateY(0) scale(.98); }

.btn--outline {
  border: 2px solid rgba(1,84,157,.3); color: var(--blue); background: rgba(1,84,157,.04);
  backdrop-filter: blur(6px);
}
.btn--outline:hover { border-color: var(--blue); background: rgba(1,84,157,.1); }

.btn--ghost {
  color: var(--navy); background: rgba(1,84,157,.08);
}
.btn--ghost:hover { background: rgba(1,84,157,.15); transform: translateY(-2px); }

.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 32px -6px rgba(0,0,0,.3); }

.btn:focus-visible,
.burger:focus-visible,
.nav a:focus-visible,
.mobile-nav a:focus-visible,
.testimonial-dots button:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 100px;
}

/* ===================== HEADER ===================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 16px 0; transition: all .4s var(--ease);
}
/* Dès qu'on scrolle, le header sort de l'écran (visible uniquement tout en haut) */
.header.scrolled {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; }
.logo img { height: 26px; width: auto; display: block; }
.nav { display: flex; gap: 32px; }
.nav a {
  color: #445067; font-weight: 600; font-size: 14.5px;
  position: relative; transition: color .25s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad-brand); transition: width .3s var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--navy); }
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }
.burger {
  display: none; color: var(--navy); font-size: 22px; z-index: 501; position: relative;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}

.mobile-nav {
  display: none; position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
  background: var(--white); border-left: 1px solid #e2e9f0;
  flex-direction: column; gap: 6px; padding: 100px 28px 40px;
  transform: translateX(100%); transition: transform .45s var(--ease);
  z-index: 480; box-shadow: -10px 0 40px rgba(1,18,49,.1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: var(--navy); font-weight: 600; font-size: 16px; padding: 14px 4px;
  border-bottom: 1px solid #eceef1;
}
.mobile-nav .btn { margin-top: 20px; justify-content: center; }

/* ===================== HERO / SIM BG ===================== */
.section--sim {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, #eaf3fb 0%, #ffffff 55%);
}
/* Same look as .section--sim but WITHOUT overflow:hidden, which breaks position:sticky for .scrollseq */
.section--scrollseq {
  position: relative;
  background: radial-gradient(ellipse at 20% 0%, #eaf3fb 0%, #ffffff 55%);
}
.hero {
  position: relative; overflow: hidden; background: #0b2138;
  min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 40px;
}
.section--sim { padding: 60px 0; }

.hero__bg { position: absolute; inset: 0; z-index: 0; }

/* Real installed AirFit area photo behind the hero + readable light overlay */
.hero__photo {
  position: absolute; inset: 0;
  background: url('hero-aire.webp') center 42%/cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 32%, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.80) 34%,
      rgba(238,245,251,.66) 62%,
      rgba(234,243,251,.90) 100%);
}

.hero__content { position: relative; z-index: 2; width: 100%; max-width: 960px; margin: 0 auto; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(1,84,157,.06); border: 1px solid rgba(1,84,157,.18);
  backdrop-filter: blur(8px);
  padding: 9px 18px; border-radius: 100px; color: var(--blue);
  font-size: 13.5px; font-weight: 600; margin-bottom: 22px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

.hero__title { font-size: clamp(36px, 6vw, 68px); color: var(--navy); margin-bottom: 20px; }
.hero__lead { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 620px; margin: 0 auto 30px; }
.hero__subtitle { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin: 0 auto 28px; }
.hero__ctaRow { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }

/* Inline info line (not buttons): icon + label, separated by subtle dividers */
.hero__stats { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 30px; }
.stat { display: inline-flex; align-items: center; gap: 10px; text-align: left; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: -15px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 28px; background: rgba(1,18,49,.14);
}
.stat [data-lucide] { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.stat strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 15px; font-weight: 800; line-height: 1.2; }
.stat span { color: #55617a; font-size: 12.5px; }

.hero__scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(1,18,49,.35); animation: bounce 2s infinite; z-index: 2;
}
.hero__scroll [data-lucide] { width: 26px; height: 26px; }
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ===================== SECTIONS ===================== */
.section { padding: 60px 0; position: relative; }
.section--light { background: var(--white); }
.section--dark {
  background: radial-gradient(ellipse at 80% 100%, #eaf3fb 0%, #ffffff 65%);
}

/* ===================== USE CASES ===================== */
.use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.use-case {
  background: var(--white); border: 1px solid #eceef1; border-radius: 20px; padding: 28px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.use-case:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -16px rgba(1,84,157,.22); border-color: transparent; }
.use-case__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 8px 20px -6px rgba(1,84,157,.5);
}
.use-case__icon [data-lucide] { width: 24px; height: 24px; color: var(--white); }
.use-case h3 { margin-bottom: 8px; text-transform: none; letter-spacing: 0; font-size: 19px; }
.use-case p { color: var(--ink-mute); font-size: 15px; }

/* ===================== SCROLL SEQUENCE (2D -> 3D -> IN SITU -> RESULTAT) ===================== */
.scrollseq { position: relative; height: 299vh; }
.scrollseq__sticky {
  position: sticky; top: 0; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  gap: 40px;
  padding: 26px 16px;
}
/* Step title + context shown beside the photo, synced with the active step */
.scrollseq__panel { position: relative; flex: 0 1 340px; min-height: 170px; order: 2; text-align: left; }
.scrollseq__step {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.scrollseq__step.is-active { opacity: 1; transform: none; }
.scrollseq__step h3 {
  font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 12px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.scrollseq__step p { color: var(--ink-mute); font-size: 16px; line-height: 1.6; }
/* Big cinematic frame — driven by height so the ratio stays consistent and large */
.scrollseq__frame {
  position: relative;
  height: min(74vh, 46vw);
  aspect-ratio: 16 / 10;
  max-width: 96vw;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 44px 90px -26px rgba(0,18,49,.5);
  background: #0b2138;
}
/* Narrow screens: text panel stacks above the photo */
@media (max-width: 900px) {
  .scrollseq__sticky { flex-direction: column; gap: 18px; }
  .scrollseq__panel { flex: none; width: 100%; max-width: 520px; min-height: 120px; text-align: center; order: 0; }
  .scrollseq__frame { height: min(58vh, 60vw); }
}
/* cover => no letterbox borders even though source images differ in ratio */
.scrollseq__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 46%;
  opacity: 0; transform: scale(1.07);
  transition: opacity .9s var(--ease), transform 1.5s var(--ease);
  will-change: opacity, transform;
}
/* The combined 2D+3D plan sits on white — show it whole & centered (white-on-white = no visible border) */
.scrollseq__img[data-step="1"] { object-fit: cover; object-position: center; background: var(--white); }
.scrollseq__img.is-active { opacity: 1; transform: scale(1); }

.scrollseq__tag {
  position: absolute; top: 20px; left: 20px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 100px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  color: var(--blue); font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,18,49,.2);
}
.scrollseq__tag [data-lucide] { width: 16px; height: 16px; }

.scrollseq__scrim {
  position: absolute; inset: auto 0 0 0; height: 140px; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(0,18,49,.6), rgba(0,18,49,0));
}
.scrollseq__dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; align-items: center; gap: 8px;
}
.scrollseq__dot {
  cursor: pointer;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,.22); color: var(--white); backdrop-filter: blur(6px);
  font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .5px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.scrollseq__dot.is-active {
  background: var(--white); color: var(--blue); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
@media (prefers-reduced-motion: reduce) {
  .scrollseq__img { transform: none; transition: opacity .4s linear; }
  .scrollseq__img.is-active { transform: none; }
}

/* ===================== STEPS ===================== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch; margin: 8px 0 30px;
}
.step {
  position: relative; text-align: center; padding: 30px 26px 28px;
  background: var(--white); border: 1px solid #e2e9f0; border-radius: 22px;
  box-shadow: 0 18px 45px -28px rgba(1,18,49,.24);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.step::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 22px 22px 0 0;
  background: var(--grad-brand);
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(0,166,191,.38);
  box-shadow: 0 26px 56px -24px rgba(1,84,157,.34);
}
.step__num {
  font-family: var(--font-head); font-weight: 900; font-size: 15px; color: var(--blue);
  margin-bottom: 8px; letter-spacing: 1px;
}
.step__icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--grad-btn); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(0,166,191,.08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.step:hover .step__icon { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 0 14px rgba(0,166,191,.14); }
.step__icon [data-lucide] { width: 28px; height: 28px; color: var(--white); }
.step h3 { color: var(--navy); text-transform: none; letter-spacing: 0; margin-bottom: 8px; font-size: 19px; }
.step p { color: var(--ink-mute); font-size: 14.5px; max-width: 286px; margin: 0 auto; }

.steps__cta { text-align: center; margin-bottom: 56px; }
.steps__cta p {
  margin-top: 16px; color: #55617a; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.steps__cta p [data-lucide] { width: 16px; height: 16px; color: var(--blue); }

/* ===================== SIMULATOR ===================== */
.section--simfull { background: radial-gradient(ellipse at 20% 0%, #eaf3fb 0%, #ffffff 55%); padding: 40px 0; }
/* No more viewport-pinning: the embedded simulator's own content (up to ~950px tall depending on
   step/width) doesn't reliably fit in "100vh minus our header and title", and with its internal
   scroll disabled that used to crop the Continuer/submit button out of view on most screens.
   A generously tall fixed block + normal page scroll guarantees every step's button stays reachable. */
.simfull { position: relative; }
.simfull__sticky {
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; background: var(--white);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,18,49,.3);
  /* Gently catches the scroll when this card is roughly centered in the viewport (not a hard lock) */
  scroll-snap-align: center;
}
.simfull__head {
  flex-shrink: 0; position: relative; z-index: 2;
  max-width: 800px; margin: 0 auto; text-align: center;
  padding: 36px 24px 30px;
}
.simfull__head h2 { font-size: clamp(28px, 4.2vw, 44px); margin-bottom: 10px; }
.simfull__head p { font-size: 17px; color: var(--ink-mute); margin: 0; }
.simfull__head::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 4px; background: var(--grad-brand);
}
.simfull__body { flex: none; height: 1150px; position: relative; overflow: hidden; }
/* The embedded simulator has its own top navbar (~69px) we don't control (separate site) —
   oversize the iframe and shift it up to crop that navbar out of view. */
.simfull__iframe { position: absolute; inset: 0; width: 100%; height: calc(100% + 70px); margin-top: -70px; border: 0; display: block; }
/* Desktop: the embedded app pads its content with huge vh-based whitespace. Crop 250px off the
   top and shrink the window so the step titles sit near the top and the Continuer button stays
   visible without a sea of white below it (verified live at 1536px viewport). */
@media (min-width: 901px) {
  .simfull__body { height: 800px; }
  .simfull__iframe { height: calc(100% + 250px); margin-top: -250px; }
}

/* ===================== TESTIMONIALS ===================== */
#avis { padding-top: 16px; }
.testimonials { max-width: 760px; margin: 0 auto; position: relative; }
.testimonial-track { position: relative; min-height: 220px; }
.testimonial {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease);
  transform: translateX(24px);
  background: var(--white); border: 1px solid #eceef1; border-radius: 22px; padding: 32px 36px;
  box-shadow: 0 20px 50px -20px rgba(1,84,157,.15);
}
.testimonial.active { opacity: 1; pointer-events: auto; transform: translateX(0); position: relative; }
.testimonial__quote { width: 32px; height: 32px; color: var(--cyan); opacity: .5; margin-bottom: 14px; }
.testimonial p { font-size: 18px; color: var(--navy); font-style: italic; margin-bottom: 20px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: 15px; }
.testimonial__author span { font-size: 13px; color: var(--ink-mute); }

.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.testimonial-dots button {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
}
.testimonial-dots button::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: #d8dce1; transition: all .3s;
}
.testimonial-dots button.active::before { background: var(--grad-btn); width: 22px; border-radius: 100px; }

/* ===================== MINI CONTACT FORM ===================== */
.mini-form {
  max-width: 940px; margin: 0 auto;
  background: var(--white); border: 1px solid #eceef1; border-radius: 22px;
  padding: 26px 28px; box-shadow: 0 26px 60px -26px rgba(1,84,157,.22);
  display: flex; flex-direction: column; gap: 18px;
}
.mini-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.mini-form__row--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.mini-form__field { display: flex; flex-direction: column; gap: 7px; }
.mini-form__field label {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .3px;
  color: var(--navy); text-transform: uppercase;
}
.mini-form__field input,
.mini-form__field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #dde3ea;
  background: #f8fafc; color: var(--navy); font-size: 15px; font-family: var(--font-body);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.mini-form__field input::placeholder,
.mini-form__field textarea::placeholder { color: #9aa4b2; }
.mini-form__field input:focus,
.mini-form__field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(1,84,157,.1);
}
.mini-form__field textarea { resize: vertical; min-height: 96px; }
.mini-form__submit { flex-shrink: 0; }
.mini-form__note {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #55617a; margin: 0; flex: 1; min-width: 220px;
}
.mini-form__note [data-lucide] { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.mini-form__note--ok { color: #0a7d3c; font-weight: 600; }
.mini-form__note--ok [data-lucide] { color: #0a7d3c; }
.mini-form__note--error { color: #b3261e; font-weight: 600; }
.mini-form__note--error [data-lucide] { color: #b3261e; }
/* Honeypot anti-spam : masqué à l'écran et aux lecteurs d'écran, mais pas display:none
   (certains bots ignorent les champs display:none) */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* ===================== FOOTER ===================== */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 26px; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__brand .logo img { height: 30px; width: auto; }
.footer__brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; max-width: 340px; color: rgba(255,255,255,.6); }
.footer__col h4 {
  font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--white); margin-bottom: 16px;
}
.footer__col a, .footer__meta {
  display: block; font-size: 14px; color: rgba(255,255,255,.65); padding: 5px 0;
  transition: color .25s;
}
.footer__col a:hover, .footer__col a:focus-visible { color: var(--cyan); }
.footer__meta { color: rgba(255,255,255,.4); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 22px;
}
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.5); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .25s; }
.footer__legal a:hover { color: var(--cyan); }

/* ===================== SCROLL REVEAL ===================== */
/* Hidden state only applies once JS confirms it can reveal content again (see script.js).
   Without JS, .reveal-up stays at its natural visible state. */
.reveal-up { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-ready .reveal-up { opacity: 0; transform: translateY(36px); }
.js-ready .reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-up[data-delay="1"] { transition-delay: .08s; }
.reveal-up[data-delay="2"] { transition-delay: .16s; }
.reveal-up[data-delay="3"] { transition-delay: .24s; }
.reveal-up[data-delay="4"] { transition-delay: .32s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .use-cases, .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .mini-form__row--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mini-form__row--3 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .stat:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .header__cta { font-size: 12px; padding: 9px 14px; }
  .mini-form__row, .mini-form__row--4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .floating-cta {
    right: 18px; bottom: 18px;
    width: 56px; height: 56px; padding: 0;
    justify-content: center; border-radius: 50%;
  }
  .floating-cta span { display: none; }

  /* Keep hero CTAs inside the viewport: full-width, wrapping text */
  .hero__ctaRow { width: 100%; }
  .hero__ctaRow .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up { opacity: 1; transform: none; }
  .hero__photo { animation: none; transform: none; }
}
