/* barre qui reste en haut tout le temps */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgb(1, 0, 15);
  border-bottom: 1px solid rgba(15, 76, 92, 0.08);
}

.center-logo {
  display: flex;
  justify-content: center;
  padding: 9px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 40px;
  object-fit: contain;
  display: block;
}

.legal-page {
  --legal-accent: #3b5ea8;
  --legal-accent-strong: #2f4b86;
  --legal-surface: #edf2ff;
  --legal-surface-border: rgba(59, 94, 168, 0.34);
  background:
    radial-gradient(circle at top left, rgba(79, 131, 182, 0.2), transparent 36%),
    radial-gradient(circle at bottom right, rgba(59, 94, 168, 0.16), transparent 44%),
    #172039;
  color: #eaf0ff;
}

.legal-page .landing-header {
  backdrop-filter: blur(12px);
  background: rgba(23, 32, 57, 0.94);
  border-bottom: 1px solid rgba(152, 177, 235, 0.24);
}

.legal-brand-link {
  text-decoration: none;
}

.legal-shell {
  padding: 3.5rem 0 4rem;
}

.legal-paper {
  max-width: 58rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  border: 1px solid var(--legal-surface-border);
  border-radius: 16px;
  background: var(--legal-surface);
  box-shadow: 0 10px 24px rgba(12, 34, 56, 0.06);
}

.legal-hero {
  margin-bottom: 2rem;
}

.legal-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5f7288;
}

.legal-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: #142433;
}

.legal-intro {
  max-width: 46rem;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(20, 36, 51, 0.78);
}

.legal-alert {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(59, 94, 168, 0.08);
  color: #35506f;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-section {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(59, 94, 168, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
}

.legal-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1d2b4a;
}

.legal-section p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.68;
  color: #24364a;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a,
.legal-footer__links a {
  color: var(--legal-accent-strong);
}

.legal-footer {
  padding: 0 0 2.25rem;
}

.legal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(213, 227, 242, 0.16);
}

.legal-footer__copy {
  color: rgba(225, 234, 251, 0.78);
  font-size: 0.95rem;
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.legal-footer__links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #e7efff;
}

.legal-footer__links a:hover,
.legal-footer__links a:focus {
  color: #ffffff;
}

/* surlignement du mot au scroll */
.highlight-word {
  position: relative;
  color: inherit;
}

.highlight-client {
  color: #ee9f01;
}

.highlight-serveur {
  color: #ee018f;
}

.highlight-flow {
  color: #de01ee;
}

.highlight-manager {
  color: #7f01ee;
}

.acte2-scene {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #170f0f;
}

.acte2-scene__pin {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.acte2-scene__content {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: clamp(1rem, 2.4vh, 1.75rem);
  padding-top: clamp(4.5rem, 8vh, 6rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.acte2-scene__copy {
  display: grid;
  gap: clamp(0.75rem, 2vh, 1.25rem);
}

.acte2-titre {
  margin: 0;
}

.acte2-scene__text {
  position: relative;
  min-height: clamp(6.5rem, 15vh, 9rem);
  max-width: 58rem;
  margin: 0 auto;
  width: 100%;
}

.acte2-step {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(1.2rem, 1.4vw + 0.8rem, 1.9rem);
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
}

.acte2-scene__visuals {
  position: relative;
  width: min(100%, 33rem);
  height: clamp(18rem, 48vh, 28rem);
  min-height: 18rem;
  margin: 0 auto;
  overflow: visible;
}

.acte2-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
}

.acte2-layer img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 55px rgba(24, 11, 0, 0.18));
}

.acte2-qr-stack {
  position: relative;
  width: min(100%, 17rem);
}

.acte2-qr-stack img {
  width: 100%;
}

.acte2-layer--phone img {
  width: min(100%, 24rem);
  transform-origin: center center;
}

.acte2-scan-line {
  position: absolute;
  bottom: 8%;
  left: 50%;
  width: 92%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 122, 24, 0),
    #ff7a18 16%,
    #ffd166 50%,
    #ff7a18 84%,
    rgba(255, 122, 24, 0)
  );
  box-shadow:
    0 0 10px rgba(255, 52, 52, 1),
    0 0 18px rgba(255, 34, 34, 0.95),
    0 0 32px rgba(255, 18, 18, 0.9),
    0 0 52px rgba(255, 0, 0, 0.75);
  transform: translateX(-50%);
  opacity: 0;
}

/* .highlight-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  height: 30%;
  width: 0%;
  background-color: orange;
  z-index: -1;
} */
/* 
* {
  box-sizing: border-box;
} */

/* .section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:3;
} */

/* .pin-section {
  border-top: dashed 2px #ee3c01;
  border-bottom: dashed 2px #c2ee01;
} */
/* 
.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 0 10px;
  position: relative;
}
*/
ul {
  font-size: 30px;
  color: #6c695e;
  padding-right: 10px;
  list-style: none;
  flex-grow: 0;
}
 
.slide {
  position: absolute;
  width: 50%;
  /* top: 50%;
  transform: translateY(-50%); */
  right: 1rem;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
}

.fill {
  width: 3px;
  background: linear-gradient(0deg,#7b2ff7,#ff7a18);
}

.met{
  padding:20px;
  margin-bottom:15px;
  color:white;
  background: linear-gradient(to bottom,#cf6c0a,#b308b0,#4e0998);
  background-size:100% 500%;
}

/* décalage du gradient */

.met1{ background-position:0% 0%; }
.met2{ background-position:0% 25%; }
.met3{ background-position:0% 50%; }
.met4{ background-position:0% 75%; }
.met5{ background-position:0% 100%; }

/* 
.content .right {
  flex-grow: 1;
  position: relative;
} */

/* .right .slide {
  position: absolute; */
  /* width: 50%; */
  /* top: 50%; */
  /* transform: translateY(-50%); */
  /* right: 1rem; */
  /* opacity: 0;
  visibility: hidden;
  border-radius: 10px;
} */

/* img {
  width: 100%;
  max-width: 300px;
} */

@media (max-width: 767.98px) {
  .landing-footer-main {
    height: auto !important;
    min-height: 0;
  }

  .legal-shell {
    padding: 2rem 0 2.5rem;
  }

  .legal-paper {
    padding: 1.4rem 1rem 1.75rem;
    border-radius: 1.25rem;
  }

  .legal-hero {
    margin-bottom: 1.5rem;
  }

  .legal-intro,
  .legal-section p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .legal-section h2 {
    font-size: 1.05rem;
  }

  .legal-footer__inner,
  .legal-footer__links {
    flex-direction: column;
  }

  .landing-header {
    padding-top: max(env(safe-area-inset-top), 0.4rem);
    min-height: 4.45rem;
    overflow: visible;
  }

  .center-logo {
    align-items: center;
    min-height: 3.85rem;
    padding: 0.45rem 0 0.4rem;
  }

  .brand-logo {
    height: 42px;
  }

  .partie8 {
    position: relative;
    z-index: 1;
    height: auto !important;
    min-height: 100svh;
    padding: calc(4.85rem + env(safe-area-inset-top)) 1rem 1.5rem;
    overflow: hidden;
  }

  .partie8 > .row {
    --bs-gutter-x: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .partie8 > .row h1 {
    padding-top: 0 !important;
    padding-bottom: 0.85rem !important;
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .partie8-mobile {
    display: grid;
    gap: 1.75rem;
    align-content: start;
    min-height: 0;
  }

  .partie8-mobile__intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.5;
    max-width: 22rem;
    text-align: center;
    justify-self: center;
  }

  .partie8-mobile__cards {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .partie8-mobile__card {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0.3rem;
    padding: 1.15rem 1rem 1.1rem;
    border-radius: 1.35rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
      rgba(255, 255, 255, 0.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
  }

  .partie8-mobile__card--client {
    border-color: rgba(238, 159, 1, 0.45);
  }

  .partie8-mobile__card--service {
    border-color: rgba(238, 1, 143, 0.45);
  }

  .partie8-mobile__card--flowndo {
    border-color: rgba(222, 1, 238, 0.45);
  }

  .partie8-mobile__card--manager {
    border-color: rgba(127, 1, 238, 0.45);
  }

  .partie8-mobile__label {
    margin: 0 0 0.65rem;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffb15d;
  }

  .partie8-mobile__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.78rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #fffce1;
  }

  .partie8-mobile__list li {
    position: relative;
    padding-left: 1rem;
  }

  .partie8-mobile__list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7a18, #7b2ff7);
  }

  .partie9 {
    padding-bottom: 2.75rem;
  }

  .partie9 .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .partie9 .col-1 {
    display: none;
  }

  .partie9 .col-10 {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .titre9 h1 {
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
    font-size: clamp(2rem, 7.6vw, 2.6rem);
  }

  .metriques {
    width: 100%;
  }

  .partie9 .metrique.mb-5 {
    display: flex !important;
    margin-bottom: 0.5rem !important;
  }

  .partie9 .metrique .met {
    width: 86% !important;
    max-width: 22rem;
    padding: 1.2rem 1.1rem !important;
    border-radius: 1.35rem !important;
  }

  .partie9 .metrique .met h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.38;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }

  .partie9 .metrique .met i {
    font-size: 0.85rem !important;
  }

  .partie10-mobile-card {
    border-radius: 1.5rem !important;
    padding: 0.95rem 0.9rem;
    box-shadow: 0 16px 30px rgba(21, 13, 38, 0.08);
  }

  .partie10-mobile-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.95rem;
  }

  .partie10-mobile-list__item {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #1f2430;
  }

  .partie10-mobile-list__item::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
  }

  .partie10-mobile-list__item--orange::before {
    background: #ff7a18;
  }

  .partie10-mobile-list__item--magenta::before {
    background: #ee018f;
  }

  .partie10-mobile-list__item--violet::before {
    background: #7b2ff7;
  }

  .acte2-scene__content {
    gap: 0.9rem;
    padding-top: 4.75rem;
    padding-bottom: 1.25rem;
  }

  .acte2-scene__text {
    min-height: 8.5rem;
  }

  .acte2-step {
    font-size: clamp(1.08rem, 3.1vw + 0.55rem, 1.35rem);
  }

  .acte2-scene__visuals {
    width: min(100%, 18.5rem);
    height: clamp(15rem, 39vh, 18.5rem);
    min-height: 15rem;
  }

  .acte2-layer--qr img {
    width: min(100%, 12.5rem);
  }

  .acte2-layer--phone img {
    width: min(100%, 17.75rem);
  }

  .acte2-qr-stack {
    width: min(100%, 12.5rem);
  }

  .acte2-scan-line {
    width: 86%;
  }
}
