@font-face {
  font-family: Anybody;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url("../fonts/anybody.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-sans.woff2") format("woff2");
}

:root {
  --encre: #121816;
  --fond: #e7f2ee;
  --carte: #ffffff;
  --vert: #0e8f72;
  --muted: #3e4a46;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 50% -80px, #ffffff 0%, transparent 70%),
    var(--fond);
  color: var(--encre);
  font: 18px/1.5 "IBM Plex Sans", "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; }

.barre {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.4rem;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Anybody, sans-serif;
  font-weight: 760;
  font-stretch: 124%;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.marque img { width: auto; height: 2.5rem; }
.marque span { font-size: 1.55rem; font-weight: 720; letter-spacing: -0.04em; line-height: 1; }
.barre .btn { margin-left: auto; }

.hero {
  width: calc(100% - 1.5rem);
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
  text-align: center;
}
h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-family: Anybody, sans-serif;
  font-weight: 780;
  font-stretch: 112%;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.sous {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.demande {
  position: relative;
  margin-top: 1.4rem;
  text-align: left;
}
.note-demande {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  height: auto;
  margin: 0;
  bottom: 0.15rem;
  width: min(37.1rem, calc(50% - 20rem + 0.5rem));
  right: calc(50% + 20rem - 0.85rem);
}
.note-demande img { width: 100%; height: auto; }
.boite {
  position: relative;
  z-index: 2;
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 0.85rem;
  text-align: left;
  background: var(--carte);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(18, 24, 22, 0.12);
}
@media (max-width: 1040px) {
  .demande { display: flex; flex-direction: column; }
  .boite { order: 1; }
  .note-demande {
    order: 2;
    position: static;
    width: min(28rem, 94vw);
    right: auto;
    bottom: auto;
    margin: 0.15rem auto 0;
  }
  h1 { font-size: clamp(2.35rem, 11vw, 4.4rem); }
  .marque span { font-size: 1.25rem; }
  .boite textarea { min-height: 9.5rem; }
  .slide { width: min(86vw, 520px); }
  .rond { width: 2.75rem; height: 2.75rem; font-size: 1.35rem; }
  .rond--gauche { left: 0.4rem; }
  .rond--droite { right: 0.4rem; }
}
.boite textarea,
.boite input {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: max(16px, 1.05rem);
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}
.boite textarea {
  min-height: 7.2rem;
  resize: vertical;
  padding: 0.7rem 0.7rem 0.2rem;
}
.boite textarea:focus,
.boite input:focus { outline: none; }
.ligne {
  display: grid;
  gap: 0.6rem;
  padding: 0 0.7rem 0.6rem;
}
@media (min-width: 640px) {
  .ligne { grid-template-columns: 1fr 1fr; }
}
.ligne input {
  border-bottom: 1px solid #d5ddd9;
  padding: 0.45rem 0;
  font-size: 1rem;
}
.pied-boite {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  justify-content: flex-end;
  padding: 0.35rem 0.35rem 0.2rem;
}
.err { margin: 0; min-height: 1.1em; color: #9d2b16; font-size: 0.85rem; padding: 0 0.7rem; }
.ok { margin: 0.7rem 0.7rem 0.2rem; color: var(--encre); font-size: 1.02rem; }
.ok[hidden] { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--vert);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #0b735c; }

.preuve {
  width: min(1100px, calc(100% - 1.5rem));
  margin: 0 auto 3rem;
  text-align: center;
}
.preuve h2 {
  margin: 0;
  font-family: Anybody, sans-serif;
  font-weight: 750;
  font-stretch: 110%;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.preuve .chapo { margin: 0.6rem auto 1.2rem; max-width: 36rem; color: var(--muted); }
.fenetre {
  margin: 0;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(18, 24, 22, 0.16);
  text-align: left;
}
.fenetre figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #e6ece9;
}
.lien { color: var(--vert); }

.bas {
  width: min(1100px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}
.glisse { position: relative; width: 100%; margin: 1.5rem 0 3rem; }
.rond {
  position: absolute;
  top: 42%;
  z-index: 40;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--encre);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(18, 24, 22, 0.14);
}
.rond--gauche { left: max(0.6rem, calc((100% - 1180px) / 2)); }
.rond--droite { right: max(0.6rem, calc((100% - 1180px) / 2)); }
.rond:hover { background: var(--vert); color: #fff; }
.piste {
  position: relative;
  height: 520px;
  margin-top: 0.4rem;
  perspective: 1600px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.piste.is-drag { cursor: grabbing; }
.piste a, .piste img { -webkit-user-drag: none; user-select: none; }
.slide {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(62vw, 640px);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(.22, .7, .2, 1), opacity 0.6s;
}
.piste.is-drag .slide { transition: none; }
.slide.is-centre { z-index: 5; }
.slide.is-centre .ecran {
  box-shadow: 0 28px 70px rgba(14, 40, 30, 0.28);
}
.slide .slide__nom { visibility: hidden; }
.slide.is-centre .slide__nom { visibility: visible; }
.ecran {
  position: relative;
  height: 480px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 50px rgba(18, 24, 22, 0.16);
}
.voile { position: absolute; inset: 0; z-index: 1; }
.ecran--image { display: block; color: inherit; }
.ecran--image img {
  width: 100%;
  height: 145%;
  object-fit: cover;
  object-position: center top;
}

.ecran iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 720px;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
}
.slide__nom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.65rem 0.2rem 0;
  font-family: Anybody, sans-serif;
  font-weight: 740;
  font-stretch: 112%;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.slide__nom span { color: var(--muted); align-self: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
