/* ==========================================================================
   Brickstone — marchand de biens
   ========================================================================== */

:root {
  --bg: #efeeec;
  --surface: #ffffff;
  --surface-2: #f6f5f3;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #66635f;
  --line: rgba(17, 17, 17, .08);
  --accent: #a4633f;          /* brique — utilisé avec parcimonie */

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --gutter: clamp(8px, 1.4vw, 24px);
  --pad: clamp(24px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px -12px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.page {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--gutter);
  display: grid;
  gap: var(--gutter);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(255,255,255,.6); }

.h2 {
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-top: 16px;
}
.h2--light { color: #fff; }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: #fff;
}
.glass-light {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.glass-dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform .4s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn__dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .5s var(--ease);
}
.btn__dot svg { width: 16px; height: 16px; stroke-width: 2; }
.btn:hover .btn__dot { transform: rotate(-45deg); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__dot { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .btn__dot { background: #fff; color: var(--ink); }
.btn--lg { padding: 8px 8px 8px 28px; font-size: 16px; }
.btn--lg .btn__dot { width: 44px; height: 44px; }
.btn--block { width: 100%; justify-content: space-between; }

.icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .3s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: rgba(255,255,255,.24); }

.chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  min-height: calc(100svh - var(--gutter) * 2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  color: #fff;
  background: #1a1a1a;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.62) 0%, rgba(10,10,10,.25) 55%, rgba(10,10,10,.05) 100%),
    linear-gradient(0deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 45%);
}

.nav {
  position: absolute;
  top: clamp(16px, 2.2vw, 32px);
  left: clamp(16px, 2.2vw, 32px);
  right: clamp(16px, 2.2vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 10;
}
.nav__brand { color: #fff; display: block; }
.nav__brand svg { height: 22px; width: auto; display: block; }
.nav__brand svg path { stroke: none; }
.nav__links {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: var(--radius-pill);
}
.nav__links a {
  display: block;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: rgba(255,255,255,.88);
  transition: background .3s, color .3s;
}
.nav__links a:hover { background: rgba(255,255,255,.16); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }

.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__title {
  font-size: clamp(46px, 7.4vw, 124px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.045em;
  margin: 22px 0 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__stats {
  position: absolute;
  right: var(--pad);
  bottom: var(--pad);
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(300px, 30%);
}
.stat { padding: 20px 22px; border-radius: var(--radius-lg); }
.stat__top { display: flex; justify-content: space-between; align-items: flex-start; }
.stat__top svg { width: 20px; height: 20px; opacity: .75; }
.stat__num { font-size: 40px; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.stat p { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.75); margin-top: 10px; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  width: 1px; height: 44px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
  z-index: 2;
}
.hero__scroll span {
  position: absolute; left: 0; top: -44px;
  width: 1px; height: 44px; background: #fff;
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 44px; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 140px) var(--pad); }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section__head > p { max-width: 380px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- 2. About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.about__text .lead { margin: 32px 0 20px; }
.about__text > p:not(.lead) { color: var(--muted); max-width: 540px; }
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.values li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.values__icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.values__icon svg { width: 18px; height: 18px; }

.about__media { aspect-ratio: 4 / 5; }
.parallax { position: absolute; inset: -10% 0; }
.parallax img { width: 100%; height: 100%; object-fit: cover; }
.about__media figcaption {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: grid; gap: 2px;
}
.about__media figcaption strong { font-weight: 500; font-size: 16px; }

/* ---------- 3. Criteria ---------- */
.criteria { padding-top: 0; }
.criteria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.type { padding: 8px; border-radius: var(--radius-lg); }
.type__img { position: relative; aspect-ratio: 4 / 3.4; border-radius: 18px; overflow: hidden; }
.type__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.type:hover .type__img img { transform: scale(1.06); }
.tag {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 12px; font-weight: 500;
}
.type__body { padding: 20px 14px 16px; }
.type__body h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.type__body p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  border-radius: var(--radius-lg);
}
.specs > div { padding: 26px 28px; }
.specs > div + div { border-left: 1px solid var(--line); }
.specs dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; margin-top: 6px; }

/* ---------- 4. Why ---------- */
.why { padding-top: 0; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why__item {
  padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.why__num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.why__item h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-top: auto; }
.why__item p { font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.why__item--dark { background: var(--ink); color: #fff; }
.why__item--dark p, .why__item--dark .why__num { color: rgba(255,255,255,.6); }

/* ---------- 4b. Agents ---------- */
.agents { padding: clamp(56px, 8vw, 120px) var(--pad); }
.agents__head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.agents__lead { color: var(--ink-2); }

.cycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}
.cycle__step {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
}
.cycle__step--dark { background: var(--ink); color: #fff; }
.cycle__step.cycle__step--dark p, .cycle__step--dark .cycle__n, .cycle__step--dark .cycle__unit { color: rgba(255,255,255,.66); }
.cycle__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cycle__visual {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 18px 0 26px;
}
.cycle__big {
  font-size: clamp(72px, 8vw, 112px);
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.cycle__unit { font-size: 17px; color: var(--muted); padding-bottom: 4px; }
.cycle__visual--lots {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 5px;
  width: 128px;
  align-content: end;
}
.lot {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--ink);
  transform-origin: bottom;
  animation: lotIn .6s var(--ease) both;
  animation-delay: calc(var(--i) * 45ms);
}
.lot:nth-child(3n+2) { background: #4a4845; }
.lot:nth-child(3n) { background: var(--accent); }
@keyframes lotIn { from { transform: scale(.4); opacity: 0; } }
.cycle__step h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.cycle__step p { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.cycle__arrow { display: grid; place-items: center; color: var(--muted); }
.cycle__arrow svg { width: 22px; height: 22px; }

.sim {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  margin-top: 12px;
}
.sim__controls {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 22px;
}
.sim__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; margin-top: -8px; }
.sim__field { display: grid; gap: 12px; }
.sim__field > span { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-2); }
.sim__field output { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.sim__field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ink) var(--fill, 50%), rgba(17,17,17,.12) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}
.sim__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(17,17,17,.15);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: transform .3s var(--ease);
}
.sim__field input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.sim__field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(17,17,17,.15);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.sim__field input[type="range"]:focus-visible { box-shadow: 0 0 0 4px rgba(17,17,17,.08); }

.sim__result {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
}
.sim__lines { display: grid; gap: 0; }
.sim__lines > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sim__lines dt { color: rgba(255,255,255,.66); font-size: 15px; }
.sim__lines dd { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sim__total { margin-top: auto; padding-top: 32px; }
.sim__total span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.sim__total strong {
  display: block;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.sim__mult { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.8); }
.sim__mult span {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}
.sim__note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }

.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks .values__icon { background: var(--surface-2); box-shadow: none; }
.perks h3 { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.perks p { font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.agents__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- 5. Method ---------- */
.method { background: #141414; color: #fff; }
.method__bg { position: absolute; inset: -12% 0; }
.method__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.3); }
.method__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,14,.94) 0%, rgba(14,14,14,.72) 50%, rgba(14,14,14,.5) 100%); }
.method__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(64px, 9vw, 140px) var(--pad);
}
.method__intro { position: sticky; top: 120px; align-self: start; }
.method__lead { color: rgba(255,255,255,.65); max-width: 380px; margin-top: 24px; font-size: 17px; }
.steps { display: grid; gap: 12px; counter-reset: s; }
.steps li {
  display: flex;
  gap: 22px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  transition: background .4s;
}
.steps li:hover { background: rgba(255,255,255,.1); }
.steps__n {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.steps p { color: rgba(255,255,255,.6); font-size: 15px; margin-top: 4px; line-height: 1.5; }

/* ---------- 6. Works ---------- */
.ba { padding: 8px; }
.ba__stage {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: 26px;
  overflow: hidden;
  --pos: 50%;
  user-select: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: grayscale(.4) contrast(.95); }
.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.ba__handle svg { width: 20px; height: 20px; stroke-width: 2; }
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba__label {
  position: absolute; top: 20px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  pointer-events: none;
}
.ba__label--l { left: 20px; }
.ba__label--r { right: 20px; }
.ba__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 28px 22px;
}
.ba__info h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; margin-top: 4px; }
.ba__info dl { display: flex; gap: clamp(20px, 3vw, 48px); }
.ba__info dt { font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.ba__info dd { font-size: 16px; margin-top: 2px; }

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.work { padding: 8px; border-radius: var(--radius-lg); }
.work__img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__img img { transform: scale(1.06); }
.work__body { padding: 18px 14px 14px; }
.work__body h3 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; margin-top: 4px; }

/* ---------- 7. CTA ---------- */
.cta {
  text-align: center;
  padding: clamp(72px, 9vw, 140px) var(--pad);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta .h2 { margin-bottom: 22px; }
.cta .muted { max-width: 520px; margin-bottom: 36px; }
.cta__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 99, 63, .16) 0%, rgba(164, 99, 63, 0) 62%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta > *:not(.cta__glow) { position: relative; }

/* ---------- 8. Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(40px, 6vw, 88px);
}
.contact__info .muted { margin-top: 24px; max-width: 420px; }
.contact__list { display: grid; gap: 22px; margin-top: 44px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); }
.contact__list a, .contact__list span:not(.values__icon) { font-size: 17px; }
.contact__list .values__icon { background: var(--surface-2); box-shadow: none; }

.form {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  width: 100%;
  resize: vertical;
}
.form select {
  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='%23111' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.form input::placeholder, .form textarea::placeholder { color: #b3b0ab; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: rgba(17,17,17,.2);
  box-shadow: 0 0 0 4px rgba(17,17,17,.05);
}
.form .btn { margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- WhatsApp ---------- */
.values__icon--wa { color: #1a9e4b; }
.contact__list .values__icon--wa { background: rgba(37, 211, 102, .12); }

.wa-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 50;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 34px -8px rgba(0,0,0,.35);
  transition: grid-template-columns .6s var(--ease), transform .5s var(--ease), opacity .5s var(--ease), box-shadow .3s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(0,0,0,.45); }
.wa-float__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
}
.wa-float__icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.wa-float__label { min-width: 0; overflow: hidden; transition: opacity .4s; }
.wa-float__label > span {
  display: block;
  padding: 0 16px 0 12px;
  font-size: 14px;
  white-space: nowrap;
  color: rgba(255,255,255,.75);
}
.wa-float__label strong { color: #fff; font-weight: 500; }
.wa-float.is-compact { grid-template-columns: 46px 0fr; }
.wa-float.is-compact .wa-float__label { opacity: 0; }
.js-anim .wa-float:not(.is-in) { opacity: 0; transform: translateY(16px); pointer-events: none; }

@media (max-width: 600px) {
  .wa-float { grid-template-columns: 46px 0fr; }
  .wa-float__label { opacity: 0; }
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(16px, 3vw, 40px) 28px;
  font-size: 14px;
  color: var(--muted);
}
.footer__brand svg { height: 18px; width: auto; color: var(--ink); display: block; }
.footer__brand svg path { stroke: none; }
.footer ul { display: flex; gap: 28px; }
.footer a:hover { color: var(--ink); }

/* ==========================================================================
   Animation initial states (only when JS + motion enabled)
   ========================================================================== */
.js-anim [data-hero],
.js-anim [data-hero-stat],
.js-anim [data-reveal],
.js-anim [data-reveal-group] > * { opacity: 0; }
.js-anim .hero__title .line > span { transform: translateY(110%); }
.js-anim .hero__title[data-hero] { opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; align-items: center; justify-content: center; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; right: 0;
    min-width: 240px;
    border-radius: var(--radius-lg);
    padding: 8px;
    background: rgba(20,20,20,.7);
  }
  .criteria__grid, .why__grid, .perks { grid-template-columns: repeat(2, 1fr); }
  .cycle { grid-template-columns: 1fr; }
  .cycle__arrow { transform: rotate(90deg); padding: 2px 0; }
  .sim { grid-template-columns: 1fr; }
  .why__item { min-height: 240px; }
}

@media (max-width: 900px) {
  .about, .method__inner, .contact, .agents__head { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3.4; }
  .method__intro { position: static; }
  .hero__stats { position: relative; right: auto; bottom: auto; width: 100%; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .hero { padding-top: 140px; }
  .hero__scroll { display: none; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div:nth-child(3) { border-left: 0; }
  .specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ba__stage { aspect-ratio: 4 / 3; }
  .ba__info { flex-direction: column; align-items: flex-start; }
  .works__grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; }
  .footer ul { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
}

@media (max-width: 600px) {
  :root { --radius-xl: 24px; }
  .nav .btn--light { display: none; }
  .criteria__grid, .why__grid, .form__row, .values, .perks { grid-template-columns: 1fr; }
  .sim__lines > div { flex-direction: column; gap: 2px; }
  .hero__stats { grid-template-columns: 1fr; }
  .stat__num { font-size: 32px; }
  .specs { grid-template-columns: 1fr; }
  .specs > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ba__info dl { flex-wrap: wrap; }
  .btn--lg { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Formulaire : états ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.form .consent input {
  width: 18px; height: 18px;
  flex: none;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--ink);
}
.form [aria-invalid="true"] { border-color: #b3261e; }
.form__msg {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.form__msg--ok { background: #e7f3ea; color: #1d5b2c; }
.form__msg--err, .form__msg--invalid { background: #fbeaea; color: #8a1c17; }
.form__msg a { text-decoration: underline; }
.form .btn:disabled { opacity: .6; cursor: progress; transform: none; }
