[data-cloud-vgp-faq-target="1"] {
  overflow: hidden;
  transition:
    max-height 280ms ease,
    opacity 220ms ease;
}

.cloud-vgp-faq-answer {
  padding: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.7;
}

.cloud-vgp-faq-answer p {
  margin: 0 0 0.75rem;
}

.cloud-vgp-faq-answer p:last-child {
  margin-bottom: 0;
}

.cloud-vgp-faq-answer a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

button[data-cloud-vgp-faq="1"] svg {
  transition: transform 200ms ease;
}

button[data-cloud-vgp-faq="1"][aria-expanded="true"] svg {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  [data-cloud-vgp-faq-target="1"],
  button[data-cloud-vgp-faq="1"] svg {
    transition: none;
  }
}

/* CLOUD-VGP HERO CAROUSEL */
.cloud-vgp-carousel-track {
  will-change: transform;
  transition:
    transform 650ms
    cubic-bezier(0.22, 1, 0.36, 1);
}

button[data-cloud-vgp-slide] {
  opacity: 0.55;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

button[data-cloud-vgp-slide][aria-current="true"] {
  opacity: 1;
  transform: scale(1.22);
}

[data-cloud-vgp-slide-panel] {
  pointer-events: none;
}

[data-cloud-vgp-slide-panel][aria-hidden="false"] {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .cloud-vgp-carousel-track {
    transition: none;
  }

  button[data-cloud-vgp-slide] {
    transition: none;
  }
}

/* CLOUD-VGP MOBILE MENU */
.cloud-vgp-mobile-overlay[hidden] {
  display: none;
}

.cloud-vgp-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  background: rgb(15 23 42 / 0%);
  transition:
    background-color 250ms ease;
}

.cloud-vgp-mobile-overlay.is-open {
  background: rgb(15 23 42 / 55%);
}

.cloud-vgp-mobile-panel {
  width: min(88vw, 390px);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow:
    -20px 0 50px rgb(15 23 42 / 20%);
  transform: translateX(100%);
  transition:
    transform 260ms
    cubic-bezier(0.22, 1, 0.36, 1);
}

.cloud-vgp-mobile-overlay.is-open
.cloud-vgp-mobile-panel {
  transform: translateX(0);
}

.cloud-vgp-mobile-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom:
    1px solid hsl(var(--border));
}

.cloud-vgp-mobile-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.cloud-vgp-mobile-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.cloud-vgp-mobile-close:hover {
  background:
    hsl(var(--muted));
}

.cloud-vgp-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
}

.cloud-vgp-mobile-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: hsl(var(--foreground));
  font-weight: 600;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.cloud-vgp-mobile-link:hover,
.cloud-vgp-mobile-link:focus-visible {
  color: hsl(var(--primary));
  background:
    hsl(var(--muted));
  transform: translateX(3px);
}

.cloud-vgp-mobile-link.is-active {
  color: hsl(var(--primary));
  background:
    hsl(var(--primary) / 0.09);
}

.cloud-vgp-mobile-footer {
  margin-top: auto;
  padding: 1rem;
  border-top:
    1px solid hsl(var(--border));
}

.cloud-vgp-mobile-cta {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary));
  color:
    hsl(var(--primary-foreground));
  font-weight: 700;
  text-decoration: none;
}

body.cloud-vgp-mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cloud-vgp-mobile-overlay {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-vgp-mobile-overlay,
  .cloud-vgp-mobile-panel,
  .cloud-vgp-mobile-link {
    transition: none;
  }
}

/* CLOUD-VGP MOBILE FONCTIONNALITES START */
@media (max-width: 640px) {
  html.page-fonctionnalites,
  html.page-fonctionnalites body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  html.page-fonctionnalites main,
  html.page-fonctionnalites section,
  html.page-fonctionnalites header,
  html.page-fonctionnalites footer,
  html.page-fonctionnalites .container {
    min-width: 0;
    max-width: 100%;
  }

  html.page-fonctionnalites
  [class*="grid"] > *,
  html.page-fonctionnalites
  [class*="flex"] > * {
    min-width: 0;
  }

  html.page-fonctionnalites img,
  html.page-fonctionnalites video,
  html.page-fonctionnalites canvas,
  html.page-fonctionnalites svg {
    max-width: 100%;
  }

  html.page-fonctionnalites pre,
  html.page-fonctionnalites table {
    max-width: 100%;
    overflow-x: auto;
  }
}
/* CLOUD-VGP MOBILE FONCTIONNALITES END */

/* CLOUD-VGP MOBILE FONCTIONNALITES CTA START */
@media (max-width: 640px) {
  html.page-fonctionnalites
  a.inline-flex.whitespace-nowrap,
  html.page-fonctionnalites
  button.inline-flex.whitespace-nowrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    height: auto;
    min-height: 2.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}
/* CLOUD-VGP MOBILE FONCTIONNALITES CTA END */

/* CLOUD-VGP FOOTER ENTREPRISE */
footer .cloud-vgp-footer-company-link {
  display: block;
  width: fit-content;
}

footer .cloud-vgp-footer-company-link
+ .cloud-vgp-footer-company-link {
  margin-top: 0.5rem;
}

/* FOOTER ENTREPRISE - LIENS SUR LIGNES DISTINCTES */
footer :has(> a[href="/etudes-de-cas"]):has(> a[href="/a-propos"]) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
}

footer a[href="/etudes-de-cas"],
footer a[href="/a-propos"] {
  display: block !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 !important;
}
