/* LuxHive — site de présentation (www.luxhive.lu).
   Charte reprise de l'application (mvp/web/src/styles/globals.css) : violet profond,
   violet, miel, lilas ; Helvetica ; alvéoles. Thème clair seul, aucune ressource externe.
   Mouvement : transform et opacity seulement ; prefers-reduced-motion → fondus. */

:root {
  --violet: #7C3AED;
  --violet-deep: #2E1065;
  --violet-700: #6D28D9;
  --violet-50: #F5F3FF;
  --violet-clair: #A78BFA;
  --ink: #1F2937;
  --muted-ink: #6B7280;
  --rule: #E5E7EB;
  --miel: #F4B63F;
  --miel-clair: #F8CC72;
  --lilas: #C4B5FD;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Les éléments en rotation (anneaux, bandeau incliné) ne doivent pas élargir la page. */
main {
  overflow-x: clip;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--violet-700);
}

:focus-visible {
  outline: 2px solid var(--miel);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.saut {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--miel);
  color: var(--violet-deep);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.saut:focus {
  top: 16px;
}

.conteneur {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.titre-affiche {
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.titre-section {
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-700);
}
.surtitre::before {
  content: "";
  width: 10px;
  height: 11.5px;
  background: var(--miel);
  clip-path: var(--hex);
}
.sombre .surtitre {
  color: var(--lilas);
}

.alveole {
  clip-path: var(--hex);
}

/* ---------- Voile d'entrée : les deux moitiés de la marque se rejoignent ---------- */

.voile {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--violet-deep);
  pointer-events: none;
  animation: voile-sortie 700ms var(--ease-in-out) 1150ms both;
}
.voile svg {
  width: 88px;
  height: 88px;
  overflow: visible;
}
.voile .moitie-g {
  animation: moitie-g 650ms var(--ease-out) 100ms both;
}
.voile .moitie-d {
  animation: moitie-d 650ms var(--ease-out) 100ms both;
}
.voile .noyau {
  transform-origin: 16px 16px;
  animation: noyau 500ms var(--ease-out) 620ms both;
}
.voile-marque {
  animation: voile-marque 450ms var(--ease-in-out) 1050ms both;
}
html.rapide .voile {
  animation-delay: 60ms;
  animation-duration: 550ms;
}
html.rapide .voile svg {
  display: none;
}

@keyframes moitie-g {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
}
@keyframes moitie-d {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
}
@keyframes noyau {
  from {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    transform: scale(1.5);
  }
}
@keyframes voile-marque {
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}
@keyframes voile-sortie {
  to {
    transform: translateY(-100%);
    visibility: hidden;
  }
}

/* Changement de langue : le voile redescend avant la navigation. */
.voile.retour {
  animation: voile-retour 420ms var(--ease-in-out) both;
}
.voile.retour svg {
  display: none;
}
@keyframes voile-retour {
  from {
    transform: translateY(100%);
    visibility: visible;
  }
  to {
    transform: translateY(0);
    visibility: visible;
  }
}

/* ---------- Navigation flottante ---------- */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 24px), 1160px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgb(46 16 101 / 0);
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), backdrop-filter 300ms;
}
.nav.flotte {
  background: rgb(46 16 101 / 0.78);
  box-shadow: 0 18px 40px -20px rgb(20 6 50 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-liens {
  display: none;
  gap: 28px;
  font-size: 0.9375rem;
}
.nav-liens a {
  position: relative;
  color: rgb(255 255 255 / 0.82);
  text-decoration: none;
  transition: color 200ms;
}
.nav-liens a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: var(--miel);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}
.nav-liens a:hover,
.nav-liens a.actif {
  color: #fff;
}
.nav-liens a:hover::after,
.nav-liens a.actif::after {
  transform: scaleX(1);
  transform-origin: left;
}
@media (min-width: 900px) {
  .nav-liens {
    display: flex;
  }
}

.nav-droite {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--miel);
  color: var(--violet-deep);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 200ms;
}
.nav-cta:hover {
  background: var(--miel-clair);
}
@media (min-width: 640px) {
  .nav-cta {
    display: inline-block;
  }
}

/* ---------- Sélecteur de langue : pastille miel qui glisse ---------- */

.langue {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.langue-pastille {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--miel);
  box-shadow: 0 4px 14px -4px rgb(244 182 63 / 0.7);
  transition: transform 420ms var(--ease-out);
}
.langue[data-courante="en"] .langue-pastille {
  transform: translateX(100%);
}
.langue a {
  position: relative;
  z-index: 1;
  min-width: 42px;
  padding: 7px 10px;
  text-align: center;
  color: rgb(255 255 255 / 0.78);
  text-decoration: none;
  border-radius: 999px;
  transition: color 300ms var(--ease-out);
}
.langue a[aria-current="page"] {
  color: var(--violet-deep);
}
.langue a:not([aria-current]):hover {
  color: #fff;
}

/* ---------- Héros ---------- */

.heros {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--violet-deep);
}

/* Trame d'alvéoles qui dérive lentement. */
.heros-trame {
  position: absolute;
  inset: -120px;
  z-index: -2;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54.5 16.5v31L28 63 1.5 47.5v-31Z M28 63v34 M0 0' fill='none' stroke='%23A78BFA' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
  animation: trame 40s linear infinite;
}
@keyframes trame {
  to {
    transform: translate3d(56px, 97px, 0);
  }
}

/* Halo miel qui suit le pointeur (variables posées par site.js). */
.heros-halo {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(244 182 63 / 0.2), rgb(124 58 237 / 0.16) 35%, transparent 65%);
  transform: translate3d(var(--hx, 70vw), var(--hy, 45vh), 0);
  transition: transform 900ms var(--ease-out);
  pointer-events: none;
}

.heros-grille {
  display: grid;
  gap: 56px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 150px;
}
@media (min-width: 1000px) {
  .heros-grille {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.heros-accroche {
  color: var(--lilas);
  font-size: 1rem;
}
.heros h1 {
  margin-top: 22px;
}
.heros h1 em {
  font-style: normal;
  color: var(--miel);
}
.heros-texte {
  max-width: 34rem;
  margin-top: 28px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.84);
}
.heros-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 40px;
}

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--miel);
  color: var(--violet-deep);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px -14px rgb(244 182 63 / 0.75);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: background-color 200ms, transform 350ms var(--ease-out);
}
.bouton:hover {
  background: var(--miel-clair);
}
.bouton svg {
  width: 20px;
  height: 20px;
  transition: transform 300ms var(--ease-out);
}
.bouton:hover svg {
  transform: translateX(4px);
}
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 5px;
  transition: text-decoration-color 200ms;
}
.lien-fleche:hover {
  text-decoration-color: #fff;
}

.defiler {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.35);
}
.defiler::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--miel);
  animation: defiler 1.8s var(--ease-in-out) infinite;
}
@keyframes defiler {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- La ruche (même plan que l'application) ---------- */

.ruche {
  position: relative;
  container-type: inline-size;
  transform: translate3d(0, var(--parallaxe, 0), 0);
}
.ruche-plan {
  --g: 8px;
  --w: min(176px, calc(100cqw / 3.5 - var(--g)));
  --h: calc(var(--w) * 1.1547);
  position: relative;
  width: calc(3.5 * (var(--w) + var(--g)));
  height: calc(var(--h) * 3.25 + 3 * var(--g));
  margin-inline: auto;
}
/* Ondes miel émises par le canal partagé, derrière les cellules. */
.onde {
  position: absolute;
  left: calc(1.5 * (var(--w) + var(--g)) + var(--w) / 2);
  top: calc(1 * (var(--h) * 0.75 + var(--g)) + var(--h) / 2);
  width: var(--w);
  height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  clip-path: var(--hex);
  background: var(--miel);
  opacity: 0;
  animation: onde 3.6s var(--ease-out) infinite;
  animation-delay: calc(1.6s + var(--n) * 1.2s);
}
@keyframes onde {
  0% {
    opacity: 0.38;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3.4);
  }
}

.cellule {
  position: absolute;
  left: calc(var(--x) * (var(--w) + var(--g)));
  top: calc(var(--r) * (var(--h) * 0.75 + var(--g)));
  width: var(--w);
  height: var(--h);
  animation: cellule-entree 800ms var(--ease-out) both, flotter 6s var(--ease-in-out) infinite alternate;
  animation-delay: calc(1250ms + var(--i) * 80ms), calc(var(--i) * -700ms);
}
.cellule-corps {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  text-align: center;
  clip-path: var(--hex);
  font-size: max(0.72rem, calc(var(--w) * 0.088));
  line-height: 1.2;
}
.cellule-corps video,
.cellule-corps img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cellule-corps svg {
  width: 1.9em;
  height: 1.9em;
}
.cellule-agent .cellule-corps {
  background: linear-gradient(150deg, #8B5CF6, var(--violet) 55%, var(--violet-700));
  color: #fff;
}
.cellule-agent b {
  letter-spacing: -0.02em;
}
.cellule-agent small {
  font-size: 0.8em;
  color: rgb(255 255 255 / 0.8);
}
.cellule-canal .cellule-corps {
  background: var(--miel);
  color: var(--violet-deep);
  font-size: max(0.9rem, calc(var(--w) * 0.12));
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cellule-vide .cellule-corps {
  background: rgb(255 255 255 / 0.06);
}

@keyframes cellule-entree {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-8deg);
  }
}
@keyframes flotter {
  from {
    translate: 0 -4px;
  }
  to {
    translate: 0 5px;
  }
}

/* Notifications qui défilent sous la ruche : ce que font les agents. */
.toasts {
  position: absolute;
  left: 50%;
  bottom: -84px;
  z-index: 2;
  width: min(340px, 92%);
  height: 64px;
  transform: translateX(-50%);
}
.toast {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.96);
  color: var(--ink);
  box-shadow: 0 24px 50px -20px rgb(10 2 30 / 0.7);
  font-size: 0.875rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.toast.visible {
  opacity: 1;
  transform: none;
}
.toast.parti {
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
}
.toast-icone {
  display: grid;
  place-items: center;
  width: 34px;
  height: 39px;
  flex-shrink: 0;
  color: #fff;
  clip-path: var(--hex);
}
.toast-icone svg {
  width: 17px;
  height: 17px;
}
.toast b {
  display: block;
  color: var(--violet-deep);
}

/* ---------- Bandeau défilant ---------- */

.bandeau {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding: 18px 0;
  overflow: hidden;
  background: var(--miel);
  color: var(--violet-deep);
  transform: rotate(-1.6deg);
  box-shadow: 0 20px 40px -24px rgb(46 16 101 / 0.5);
}
.bandeau-piste {
  display: flex;
  width: max-content;
  animation: bandeau 60s linear infinite;
}
.bandeau:hover .bandeau-piste {
  animation-play-state: paused;
}
.bandeau ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bandeau li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.bandeau li::after {
  content: "";
  width: 12px;
  height: 14px;
  background: var(--violet-deep);
  clip-path: var(--hex);
}
@keyframes bandeau {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(96px, 13vw, 168px);
}
.section.sombre {
  color: #fff;
  background: var(--violet-deep);
}
.section.douce {
  background: var(--violet-50);
}
.section h2 {
  margin-top: 20px;
  color: var(--violet-deep);
}
.section.sombre h2 {
  color: #fff;
}
.chapeau {
  max-width: 40rem;
  margin-top: 24px;
  font-size: 1.1875rem;
  line-height: 1.6;
}
.sombre .chapeau {
  color: rgb(255 255 255 / 0.82);
}

/* L'idée : la phrase s'allume mot après mot au défilement. */
.manifeste {
  max-width: 62rem;
  margin-top: 28px;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--violet-deep);
}
.js .manifeste .mot {
  opacity: 0.16;
  transition: opacity 250ms linear;
}
.js .manifeste .mot.allume {
  opacity: 1;
}
.manifeste .miel {
  background: linear-gradient(transparent 62%, rgb(244 182 63 / 0.55) 62%);
}

.piliers {
  display: grid;
  gap: 36px;
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .piliers {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
.pilier {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.pilier-icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 60px;
  color: #fff;
  background: linear-gradient(150deg, var(--violet), var(--violet-deep));
  clip-path: var(--hex);
}
.pilier-icone svg {
  width: 24px;
  height: 24px;
}
.pilier h3 {
  margin-top: 20px;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
}
.pilier p {
  margin-top: 10px;
  color: var(--muted-ink);
}

/* ---------- La plateforme : bénéfices et fonctionnalités ---------- */

.benefices {
  display: grid;
  gap: 28px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .benefices {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}
.benefices li {
  display: flex;
  gap: 16px;
}
.benefice-icone {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 39px;
  clip-path: var(--hex);
  background: var(--miel);
  color: var(--violet-deep);
}
.benefice-icone svg {
  width: 17px;
  height: 17px;
  stroke-width: 3;
}
.benefices h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
}
.benefices p {
  margin-top: 6px;
  color: var(--muted-ink);
}

.fonctions-titre {
  margin-top: clamp(72px, 9vw, 104px);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--violet-deep);
}
.fonctions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.fonction {
  position: relative;
  padding: 26px 24px 28px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(46 16 101 / 0.07);
}
/* Le liseré miel se dessine au survol, de gauche à droite. */
.fonction::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--miel), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}
.fonction-icone {
  display: grid;
  place-items: center;
  width: 46px;
  height: 53px;
  clip-path: var(--hex);
  background: var(--violet-deep);
  color: #fff;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.fonction-icone svg {
  width: 21px;
  height: 21px;
  transition: transform 500ms var(--ease-out);
}
.fonction h4 {
  margin: 18px 0 0;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
}
.fonction p {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--muted-ink);
}
.js .fonction[data-apparait].vu {
  transition: opacity 900ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 300ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms), 0ms, 0ms;
}
@media (hover: hover) and (pointer: fine) {
  .fonction:hover,
  .js .fonction.vu:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -28px rgb(46 16 101 / 0.45), 0 0 0 1px rgb(124 58 237 / 0.2);
  }
  .fonction:hover::before {
    transform: scaleX(1);
  }
  .fonction:hover .fonction-icone {
    background: var(--miel);
    color: var(--violet-deep);
  }
  .fonction:hover .fonction-icone svg {
    transform: rotate(-10deg) scale(1.1);
  }
}

/* Téléphone : icône à gauche, carte compacte. */
@media (max-width: 559px) {
  .fonction {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    padding: 18px 18px 20px;
  }
  .fonction-icone {
    grid-row: span 2;
    width: 40px;
    height: 46px;
  }
  .fonction h4 {
    margin-top: 2px;
  }
  .fonction p {
    margin-top: 4px;
  }
}

.canaux-demo {
  margin-top: clamp(96px, 12vw, 152px);
}
.canaux-demo h3.titre-section {
  margin-top: 20px;
  color: var(--violet-deep);
}

/* ---------- Démonstration dans un canal ---------- */

.canaux-grille {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1000px) {
  .canaux-grille {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
  }
}

.etapes {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etape {
  position: relative;
  padding: 18px 0 18px 64px;
  counter-increment: etape;
  opacity: 0.45;
  transition: opacity 400ms var(--ease-out);
}
.etape.active,
html:not(.js) .etape {
  opacity: 1;
}
/* Sur une colonne, la démo est sous les étapes : on ne les éteint pas. */
@media (max-width: 999px) {
  .etape {
    opacity: 1;
  }
}
.etape::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  clip-path: var(--hex);
  background: var(--violet-deep);
  color: #fff;
  font-weight: 700;
  transition: background-color 400ms var(--ease-out), color 400ms;
}
.etape.active::before {
  background: var(--miel);
  color: var(--violet-deep);
}
.etape h4 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
}
.etape p {
  margin-top: 4px;
  color: var(--muted-ink);
}
.note-desktop {
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--muted-ink);
}

.fenetre {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 50px 100px -40px rgb(46 16 101 / 0.45), 0 0 0 1px rgb(46 16 101 / 0.06);
}
.fenetre-barre {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
  background: #FAFAFB;
  font-size: 0.75rem;
  color: var(--muted-ink);
}
.fenetre-barre span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rule);
}
.fenetre-barre em {
  margin-left: 10px;
  font-style: normal;
}
.fenetre-corps {
  display: grid;
}
@media (min-width: 620px) {
  .fenetre-corps {
    grid-template-columns: 156px minmax(0, 1fr);
  }
}
.fenetre-canaux {
  display: none;
  padding: 14px 10px;
  border-right: 1px solid var(--rule);
  background: var(--violet-50);
  font-size: 0.875rem;
}
@media (min-width: 620px) {
  .fenetre-canaux {
    display: block;
  }
}
.fenetre-canaux p {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted-ink);
}
.fenetre-canaux p.courant {
  background: #fff;
  color: var(--violet-deep);
  font-weight: 700;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}
.fenetre-canaux .entreprise {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--violet-deep);
  font-weight: 700;
}
.fenetre-canaux .entreprise svg {
  width: 20px;
  height: 20px;
}
.fil {
  min-height: 430px;
  padding: 18px 20px 22px;
}
.fil-titre {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
  color: var(--violet-deep);
}
.fil ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}
.msg {
  display: flex;
  gap: 12px;
}
.js .msg {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}
.js .msg.vu {
  opacity: 1;
  transform: none;
}
.avatar {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar.agent {
  display: grid;
  place-items: center;
  height: 41px;
  border-radius: 0;
  clip-path: var(--hex);
  background: linear-gradient(135deg, #6D28D9, #2563EB);
  color: #fff;
}
.avatar.agent svg {
  width: 17px;
  height: 17px;
}
.msg-corps {
  min-width: 0;
  flex: 1;
}
.msg-auteur {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--violet-deep);
}
.msg-auteur small {
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--violet-50);
  color: var(--violet-700);
  font-size: 0.75rem;
  font-weight: 500;
}
.bulle {
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 9px 13px;
  border-radius: 4px 12px 12px 12px;
  background: var(--violet-50);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.frappe {
  display: inline-flex;
  gap: 5px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 4px 12px 12px 12px;
  background: var(--violet-50);
}
.frappe i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  animation: frappe 1s var(--ease-in-out) infinite;
}
.frappe i:nth-child(2) {
  animation-delay: 150ms;
}
.frappe i:nth-child(3) {
  animation-delay: 300ms;
}
@keyframes frappe {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
.brouillon {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 4px 12px 12px 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.brouillon .objet {
  font-weight: 700;
  color: var(--violet-deep);
}
.brouillon p + p {
  margin-top: 6px;
}
.brouillon .ligne {
  display: block;
  height: 7px;
  margin-top: 9px;
  border-radius: 7px;
  background: var(--rule);
}
.validation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
}
.puce-attente {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFF7ED;
  color: #7C2D12;
  font-size: 0.75rem;
  font-weight: 700;
}
.puce-attente::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D97706;
}
.bouton-valider {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: transform 160ms var(--ease-out), background-color 300ms;
}
.bouton-valider svg {
  width: 14px;
  height: 14px;
}
.bouton-valider .ok {
  display: none;
}
.valide .bouton-valider {
  background: #16A34A;
}
.valide .bouton-valider .ok {
  display: inline;
}
.valide .bouton-valider .attente {
  display: none;
}
.valide .puce-attente {
  background: #F0FDF4;
  color: #14532D;
}
.valide .puce-attente::before {
  background: #16A34A;
}
.appui .bouton-valider {
  transform: scale(0.94);
}
.puce-attente .ok {
  display: none;
}
.valide .puce-attente .ok {
  display: inline;
}
.valide .puce-attente .attente {
  display: none;
}

/* ---------- L'équipe IA (grille bento) ---------- */

.bento {
  display: grid;
  gap: 18px;
  margin-top: 64px;
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "inclus inclus studio"
      "secretaire veilleur studio";
  }
  .carte-inclus {
    grid-area: inclus;
  }
  .carte-studio {
    grid-area: studio;
  }
  .carte-secretaire {
    grid-area: secretaire;
  }
  .carte-veilleur {
    grid-area: veilleur;
  }
}
.carte {
  --tx: 0deg;
  --ty: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(46 16 101 / 0.08);
  transform: perspective(900px) rotateX(var(--ty)) rotateY(var(--tx));
  transition: transform 500ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.carte::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--lx, 50%) var(--ly, 0%), rgb(244 182 63 / 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 300ms;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .carte:hover {
    box-shadow: 0 30px 60px -30px rgb(46 16 101 / 0.4), 0 0 0 1px rgb(124 58 237 / 0.25);
  }
  .carte:hover::after {
    opacity: 1;
  }
}
.carte-tete {
  display: flex;
  align-items: center;
  gap: 16px;
}
.carte-icone {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 64px;
  color: #fff;
  clip-path: var(--hex);
}
.carte-icone svg {
  width: 26px;
  height: 26px;
}
.carte h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--violet-deep);
}
.carte .canal {
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--violet-700);
}
.carte .accroche {
  font-size: 1.125rem;
  line-height: 1.45;
}
.carte ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted-ink);
}
.carte li {
  position: relative;
  padding-left: 22px;
}
.carte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 10px;
  clip-path: var(--hex);
  background: var(--miel);
}
.carte blockquote {
  margin: auto 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--miel);
  font-size: 0.9375rem;
  color: var(--muted-ink);
}
.carte-inclus {
  color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #5B21B6 0%, var(--violet-deep) 60%);
}
.carte-inclus h3,
.carte-inclus .accroche {
  color: #fff;
}
.carte-inclus .canal {
  color: var(--miel);
}
.carte-inclus ul {
  color: rgb(255 255 255 / 0.78);
}
@media (min-width: 640px) {
  .carte-inclus ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}
.carte-inclus .badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--miel);
  color: var(--violet-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .carte-inclus .badge {
    position: absolute;
    top: 24px;
    right: 24px;
  }
}
.carte-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
}
.carte-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease-out);
}
.carte:hover .carte-image img {
  transform: scale(1);
}
.mention {
  font-size: 0.8125rem;
  color: var(--muted-ink);
}

/* ---------- Luxembourg : anneaux d'alvéoles concentriques ---------- */

.lux-grille {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1000px) {
  .lux-grille {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 80px;
  }
}
.orbite {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}
.anneau {
  position: absolute;
  inset: calc(var(--k) * 14%);
  clip-path: var(--hex);
  background: rgb(167 139 250 / calc(0.07 + var(--k) * 0.04));
  animation: tourner calc(60s - var(--k) * 12s) linear infinite;
}
.anneau:nth-child(even) {
  animation-direction: reverse;
}
.anneau::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  clip-path: var(--hex);
  background: var(--violet-deep);
}
.anneau i {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  width: 12px;
  height: 14px;
  margin-left: -6px;
  clip-path: var(--hex);
  background: var(--lilas);
}
.anneau i + i {
  top: auto;
  bottom: 0;
  background: var(--miel);
}
.noyau-lux {
  position: absolute;
  inset: 37%;
  display: grid;
  place-items: center;
  clip-path: var(--hex);
  background: var(--miel);
  color: var(--violet-deep);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  animation: battre 3.6s var(--ease-in-out) infinite;
}
@keyframes tourner {
  to {
    transform: rotate(360deg);
  }
}
@keyframes battre {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
.orbite-legende {
  margin-top: 18px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--lilas);
}

.garanties {
  display: grid;
  gap: 34px;
  margin: 48px 0 0;
}
@media (min-width: 640px) {
  .garanties {
    grid-template-columns: 1fr 1fr;
  }
}
.garanties div {
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.garanties dt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.garanties dt svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--miel);
}
.garanties dd {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 0.78);
}
.renvoi {
  margin-top: 40px;
  font-size: 0.875rem;
  color: var(--lilas);
}

/* ---------- Partenaires ---------- */

.partenaires {
  display: grid;
  gap: 18px;
  margin-top: 64px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .partenaires {
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
  }
}
.partenaire {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border-radius: 22px;
  background: var(--violet-50);
}
.partenaire .alveole {
  width: 46px;
  height: 53px;
  background: linear-gradient(150deg, var(--violet), var(--violet-deep));
}
.partenaire:nth-of-type(2) .alveole {
  background: var(--miel);
}
.partenaire h3 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--violet-deep);
}
.partenaire p {
  color: var(--muted-ink);
}
.fois {
  display: none;
  align-self: center;
  font-size: 2rem;
  font-weight: 300;
  color: var(--violet);
}
@media (min-width: 900px) {
  .fois {
    display: block;
  }
}
.partenaire img {
  width: 110px;
  height: auto;
  margin-top: auto;
  border-radius: 4px;
}

/* ---------- Appel final ---------- */

.appel {
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.appel .titre-affiche {
  max-width: 14ch;
  margin-inline: auto;
}
.appel .chapeau {
  margin-inline: auto;
}
.appel .bouton {
  margin-top: 44px;
}
.appel-fond {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  opacity: 0.1;
  animation: tourner 120s linear infinite;
}
.appel-mail {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--lilas);
}
.appel-mail a {
  color: #fff;
}

/* ---------- Pied de page ---------- */

.pied {
  padding: 40px 0 48px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  background: var(--violet-deep);
  color: rgb(255 255 255 / 0.7);
  font-size: 0.875rem;
}
.pied .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pied .logo {
  font-size: 1.0625rem;
}
.pied .logo svg {
  width: 24px;
  height: 24px;
}

/* ---------- Cookies : bandeau d'information et fenêtre « vie privée » ---------- */

.pied-lien {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
  max-width: 440px;
  padding: 16px 16px 16px 18px;
  border-radius: 18px;
  background: rgb(46 16 101 / 0.92);
  color: rgb(255 255 255 / 0.86);
  box-shadow: 0 24px 60px -24px rgb(10 2 30 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.1);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-size: 0.9375rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.cookies.visible {
  opacity: 1;
  transform: none;
}
.cookies strong {
  color: #fff;
}
.cookies-icone {
  display: grid;
  place-items: center;
  width: 38px;
  height: 44px;
  clip-path: var(--hex);
  background: var(--miel);
  color: var(--violet-deep);
}
.cookies-icone svg {
  width: 19px;
  height: 19px;
}
.cookies-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.cookies button,
.vie-privee button {
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 200ms;
}
.cookies-plus {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}
.cookies-plus:hover {
  background: rgb(255 255 255 / 0.18);
}
.cookies-ok,
.vie-privee-fermer {
  background: var(--miel);
  color: var(--violet-deep);
}
.cookies-ok:hover,
.vie-privee-fermer:hover {
  background: var(--miel-clair);
}
@media (min-width: 640px) {
  .cookies {
    left: 24px;
    right: auto;
    bottom: 24px;
  }
}

.vie-privee {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 120px -30px rgb(10 2 30 / 0.6);
}
.vie-privee::backdrop {
  background: rgb(46 16 101 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.vie-privee[open] {
  animation: dialogue 350ms var(--ease-out);
}
.vie-privee[open]::backdrop {
  animation: fondu 350ms linear;
}
@keyframes dialogue {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
.vie-privee-corps {
  padding: clamp(24px, 5vw, 40px);
}
.vie-privee h2 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.035em;
  color: var(--violet-deep);
}
.vie-privee dl {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
}
.vie-privee dt {
  font-weight: 700;
  color: var(--violet-deep);
}
.vie-privee dd {
  margin: 4px 0 0;
  color: var(--muted-ink);
  font-size: 0.9375rem;
}
.vie-privee table {
  width: 100%;
  margin: 10px 0 12px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.vie-privee th,
.vie-privee td {
  padding: 8px 10px 8px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.vie-privee code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--violet-50);
  color: var(--violet-700);
  font-size: 0.8125rem;
  white-space: nowrap;
}
.vie-privee-etat {
  min-height: 1.5em;
  margin-top: 18px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #14532D;
}
.vie-privee-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.vie-privee-effacer {
  background: var(--violet-50);
  color: var(--violet-deep);
}
.vie-privee-effacer:hover {
  background: #EDE9FE;
}

/* ---------- Apparitions au défilement (actives seulement avec JS) ---------- */

.js [data-apparait] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-apparait].vu {
  opacity: 1;
  transform: none;
}
.js .partenaires [data-apparait="gauche"] {
  transform: translateX(-60px);
}
.js .partenaires [data-apparait="droite"] {
  transform: translateX(60px);
}
.js .partenaires [data-apparait].vu {
  transform: none;
}

/* Titre du héros : les mots montent de derrière leur ligne. */
.js [data-mots] .mot {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.js [data-mots] .mot > span {
  display: inline-block;
  transform: translateY(105%);
  animation: mot 900ms var(--ease-out) both;
  animation-delay: calc(1150ms + var(--i) * 70ms);
}
html.rapide [data-mots] .mot > span {
  animation-delay: calc(250ms + var(--i) * 60ms);
}
@keyframes mot {
  to {
    transform: translateY(0);
  }
}
.js .heros-entree {
  animation: entree 900ms var(--ease-out) both;
  animation-delay: calc(1300ms + var(--d, 0) * 110ms);
}
html.rapide .heros-entree {
  animation-delay: calc(350ms + var(--d, 0) * 110ms);
}
html.rapide .cellule {
  animation-delay: calc(300ms + var(--i) * 80ms), calc(var(--i) * -700ms);
}
@keyframes entree {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* ---------- Mouvement réduit : fondus seuls, rien ne bouge ni ne boucle ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-iteration-count: 1 !important;
  }
  .voile {
    animation: voile-fondu 300ms linear 100ms both;
  }
  .voile svg {
    display: none;
  }
  .voile.retour {
    animation: none;
    visibility: visible;
  }
  .heros-trame,
  .onde,
  .bandeau-piste,
  .anneau,
  .noyau-lux,
  .appel-fond,
  .defiler::after,
  .frappe i {
    animation: none !important;
  }
  .cellule,
  .js .heros-entree {
    animation: fondu 500ms linear both !important;
  }
  .js [data-mots] .mot > span {
    animation: none;
    transform: none;
  }
  .js [data-apparait],
  .js .partenaires [data-apparait] {
    transform: none;
    transition-property: opacity;
  }
  .js .msg {
    transform: none;
  }
  .cookies,
  .vie-privee[open] {
    transform: none;
    animation: none;
  }
  .carte,
  .bouton,
  .ruche,
  .fonction,
  .fonction-icone svg {
    transform: none !important;
  }
  .heros-halo {
    display: none;
  }
  .bandeau {
    overflow-x: auto;
  }
}
@keyframes voile-fondu {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes fondu {
  from {
    opacity: 0;
  }
}
