body:has(.fm) {
  margin: 0;
  background: #ffffff;
}
.fm {
  --encre: #0c1836;
  --bleu: #72a5f1;
  --texte: #51515c;
  --discret: #5c5c69;
  --brume: #d6e7ff;
  --gris: #f3f4f6;
  font-family: 'FSP Poppins', system-ui, sans-serif;
  color: var(--encre);
  padding-bottom: 110px;
}
:where(.fm) :is(h1, h2, h3, p, ul, figure) {
  margin: 0;
}
:where(.fm) ul {
  list-style: none;
  padding: 0;
}
.fm img {
  display: block;
  max-width: 100%;
}
.fm button {
  font: inherit;
  cursor: pointer;
}
.fm :focus-visible, .fm-visionneuse :focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
}
.fm-gout {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.fm-ic svg {
  display: block;
  width: 100%;
  height: 100%;
}
.fm-titre {
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
}
.fm-une {
  position: relative;
  aspect-ratio: 16 / 6.6;
  min-height: 320px;
  overflow: hidden;
  background: var(--brume);
}
.fm-une > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .7s ease;
}
.fm-une > img[aria-hidden="true"] {
  opacity: 0;
}
.fm-fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 24, 54, .55);
  color: #ffffff;
  backdrop-filter: blur(6px);
}
.fm-fleche svg {
  width: 22px;
  height: 22px;
}
.fm-g {
  left: max(24px, env(safe-area-inset-left, 0px));
}
.fm-d {
  right: max(24px, env(safe-area-inset-right, 0px));
}
.fm-acces {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 18px;
  padding: 18px max(24px, env(safe-area-inset-right, 0px)) 16px 64px;
  background: #ffffff;
  clip-path: polygon(44px 0, 100% 0, 100% 100%, 0 100%);
}
.fm-acces a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--encre);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fm-vignette {
  position: relative;
  width: 104px;
  height: 78px;
  overflow: hidden;
  background: var(--gris);
}
.fm-vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm-plan img {
  object-fit: contain;
  background: #ffffff;
}
.fm-lecture {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(12, 24, 54, .3);
}
.fm-lecture svg {
  width: 22px;
  height: 22px;
}
.fm-tete {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.fm-tete h1 {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.fm-lieu {
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--bleu);
}
.fm .fm-reperes {
  max-width: 980px;
  margin: 56px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 32px;
}
.fm-reperes li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fm-reperes .fm-ic {
  flex: none;
  width: 36px;
  height: 36px;
  color: var(--bleu);
}
.fm-reperes small {
  display: block;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bleu);
}
.fm-reperes span {
  font-size: 13px;
  color: var(--texte);
}
.fm-texte {
  max-width: 980px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--texte);
  text-align: justify;
  hyphens: auto;
}
.fm-texte [hidden] {
  display: none !important;
}
.fm-texte h3 {
  margin: 8px 0 0;
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--encre);
}
.fm-texte ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 20px;
  list-style: disc;
  text-align: left;
}
.fm-prix {
  align-self: center;
  margin-top: 20px;
  padding: 16px 26px;
  border: 1.5px solid var(--bleu);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}
.fm-prix small {
  margin-right: 10px;
  font-size: inherit;
  text-transform: uppercase;
  color: var(--bleu);
}
.fm-bouton {
  align-self: center;
  margin-top: 16px;
  padding: 15px 34px;
  border: 0;
  background: var(--encre);
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fm-galerie {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.fm-photos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.fm-photos button[data-photo]:not(.fm-toutes) {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--brume);
}
.fm-photos button[data-photo]:not(.fm-toutes) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.fm-photos button[data-photo]:not(.fm-toutes):hover img {
  transform: scale(1.04);
}
.fm-photos .fm-toutes {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--encre);
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fm-video {
  position: relative;
  max-width: 1100px;
  margin: 96px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--encre);
}
.fm-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.fm-video button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  display: grid;
  place-items: center;
  background: rgba(12, 24, 54, .35);
  color: #ffffff;
  backdrop-filter: blur(6px);
}
.fm-video button[hidden] {
  display: none;
}
.fm-video button svg {
  width: 30px;
  height: 30px;
  margin-left: 5px;
}
.fm-plans {
  margin-top: 110px;
  padding: 80px max(16px, env(safe-area-inset-right, 0px)) 80px max(16px, env(safe-area-inset-left, 0px));
  background: var(--gris);
}
.fm-onglets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  margin-top: 28px;
}
.fm-onglets button {
  padding: 6px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--discret);
}
.fm-onglets button[aria-selected="true"] {
  color: var(--encre);
  border-bottom-color: var(--encre);
}
.fm-plans figure {
  max-width: 760px;
  margin: 44px auto 0;
  padding: clamp(16px, 4vw, 48px);
  background: #ffffff;
}
.fm-plans figure img {
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: contain;
}
.fm-plans figure img[hidden] {
  display: none;
}
.fm-recap {
  max-width: 1600px;
  margin: 110px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr);
}
.fm-recap-photo {
  position: relative;
  min-height: 420px;
  background: var(--brume);
}
.fm-recap-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm-panneau {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--encre);
  color: #ffffff;
}
.fm-panneau h2 {
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  text-transform: uppercase;
}
.fm-accroche {
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 26px);
  text-transform: uppercase;
  color: var(--bleu);
}
.fm-lieu2 {
  font-size: 18px;
  text-transform: uppercase;
}
.fm-chiffres {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 44px;
  margin-top: 22px;
}
.fm-chiffres li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fm-chiffres .fm-ic {
  width: 28px;
  height: 28px;
  color: var(--bleu);
}
.fm-chiffres b, .fm-frais b {
  font-weight: 500;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.fm-chiffres small, .fm-frais small {
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brume);
}
.fm-frais {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}
.fm-frais ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.fm-frais li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fm-frais .fm-ic {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--bleu);
}
.fm-frais b {
  display: block;
  font-size: 19px;
}
.fm-panneau .fm-prix {
  margin: 0;
  align-self: flex-end;
  padding: 22px 30px;
  font-size: 30px;
  color: #ffffff;
}
.fm-carte {
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.fm-fond {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  aspect-ratio: 16 / 5.2;
  min-height: 300px;
  overflow: hidden;
  background: var(--gris);
}
.fm-fond iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: grayscale(1) contrast(1.05) brightness(1.04);
}
.fm-zone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(18vw, 220px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--bleu);
  background: rgba(114, 165, 241, .28);
  pointer-events: none;
}
.fm-zone.fm-large {
  width: min(26vw, 320px);
}
.fm-visionneuse {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0c1836;
}
.fm-visionneuse[open] {
  display: grid;
  place-items: center;
}
.fm-visionneuse::backdrop {
  background: #0c1836;
}
.fm-visionneuse img {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 80px);
  object-fit: contain;
}
.fm-visionneuse .fm-fleche, .fm-fermer {
  cursor: pointer;
}
.fm-fermer {
  position: absolute;
  top: max(20px, env(safe-area-inset-top, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border: 0;
  display: grid;
  place-items: center;
  background: none;
  color: #ffffff;
}
.fm-fermer svg {
  width: 26px;
  height: 26px;
}
@media (max-width: 900px) {
.fm-une {
    aspect-ratio: 4 / 3;
  }
.fm-acces {
    display: none;
  }
.fm-recap {
    grid-template-columns: minmax(0, 1fr);
  }
.fm-recap-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
.fm-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.fm-panneau .fm-prix {
    align-self: flex-start;
  }
.fm-visionneuse img {
    max-width: 100vw;
  }
}
@media (max-width: 560px) {
.fm-photos {
    grid-template-columns: minmax(0, 1fr);
  }
.fm-vignette {
    width: 84px;
    height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
.fm *, .fm-une > img {
    transition: none !important;
  }
}