/* Feuille assemblée par src/build.py (ne pas modifier : modifier les feuilles sources). */
/* ---- site.css ---- */
/* Impulsio : feuille de style commune (une seule main). */

@font-face { font-family: Montserrat; src: url(../../fonts/Montserrat-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Montserrat; src: url(../../fonts/Montserrat-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Montserrat; src: url(../../fonts/Montserrat-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Montserrat; src: url(../../fonts/Montserrat-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Montserrat; src: url(../../fonts/Montserrat-ExtraBold.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Montserrat; src: url(../../fonts/Montserrat-Black.woff2) format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: Montserrat; src: url(../../fonts/Montserrat-BoldItalic.woff2) format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../../fonts/JetBrainsMono-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat Repli"; src: local("Arial"); size-adjust: 112%; ascent-override: 92%; descent-override: 24%; }

:root {
  --navy: #112B3C;
  --nuit: #0A1A26;
  --abysse: #06121B;
  --papier: #F3F3F1;
  --blanc: #FFFFFF;
  --orange: #F66B0E;
  --orange-btn: #E35F0A;
  --encre: var(--navy);
  --mention: #56677A;
  --mention-sombre: #9DB0BF;
  --ligne: rgba(17, 43, 60, .12);
  --ligne-sombre: rgba(255, 255, 255, .12);
  --vert: #1F9D63;
  --f: Montserrat, "Montserrat Repli", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease-sortie: cubic-bezier(.22, 1, .36, 1);
  --ease-doux: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --ease-rideau: cubic-bezier(.77, 0, .18, 1);
  --ease-rebond: cubic-bezier(.34, 1.56, .64, 1);
  --gouttiere: clamp(20px, 4.6vw, 72px);
  --max: 1380px;
  --entete-h: 78px;
  --t-xl: clamp(2.55rem, 1.2rem + 5.4vw, 6.4rem);
  --t-l: clamp(2.05rem, 1.25rem + 3.3vw, 4.4rem);
  --t-m: clamp(1.45rem, 1.1rem + 1.3vw, 2.2rem);
  --t-s: clamp(1.15rem, 1.02rem + .45vw, 1.4rem);
  --chapo: clamp(1.08rem, .98rem + .45vw, 1.32rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
html.rm:focus-within { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.evitement:focus { top: 12px; }
.lecteur { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Sections ---------- */
.s { position: relative; padding-block: clamp(84px, 11vw, 170px); }
.s-papier { background: var(--papier); }
.s-blanc { background: var(--blanc); }
.s-nuit { background: var(--nuit); color: #fff; }
.s-nuit .mention, .s-nuit .chapo { color: var(--mention-sombre); }

/* ---------- Typographie ---------- */
.titre-xl { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.titre-l { font-size: var(--t-l); font-weight: 800; letter-spacing: -.03em; line-height: 1.03; }
.titre-m { font-size: var(--t-m); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.titre-s { font-size: var(--t-s); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.chapo { font-size: var(--chapo); line-height: 1.6; color: var(--mention); max-width: 40em; }
.mention { color: var(--mention); }
.point { color: var(--orange); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.texte p + p { margin-top: 1em; }
.texte { max-width: 38em; }
.texte strong { font-weight: 700; }

/* Titres découpés en mots pour l'apparition */
.js .decoupe .mot { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .decoupe .mot > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-doux); transition-delay: calc(var(--i, 0) * 45ms); }
.js .decoupe.est-vu .mot > span { transform: none; }
.js [data-apparait] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-sortie), transform .95s var(--ease-doux); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-apparait].est-vu { opacity: 1; transform: none; }
html.rm .decoupe .mot > span, html.rm [data-apparait] { transform: none !important; opacity: 1 !important; transition: none !important; }

/* ---------- Boutons et liens ---------- */
.btn {
  --fond: var(--navy); --texte: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 54px; padding: .9em 1.55em; border-radius: 999px; border: 0;
  background: var(--fond); color: var(--texte); text-decoration: none; cursor: pointer;
  font-family: var(--f); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em;
  transition: transform .45s var(--ease-doux), background-color .3s, box-shadow .45s var(--ease-doux);
  will-change: transform;
}
.btn .fleche { width: 1.05em; height: 1.05em; transition: transform .45s var(--ease-doux); }
.btn:hover .fleche { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--orange { --fond: var(--orange-btn); --texte: #fff; }
.btn--orange:hover { --fond: #d45607; }
.btn--navy:hover { --fond: #0b1f2c; }
.btn--blanc { --fond: #fff; --texte: var(--navy); }
.btn--ligne { --fond: transparent; --texte: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--petit { min-height: 44px; padding: .65em 1.2em; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 14px 30px -12px rgba(10, 26, 38, .45); }
}
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }

.lien {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease-doux);
}
.lien:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.lien .fleche { width: 1em; height: 1em; transition: transform .45s var(--ease-doux); }
.lien:hover .fleche { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--navy); transition: transform .5s var(--ease-doux), color .15s; }
.entete::before {
  content: ""; position: absolute; inset: 0; background: rgba(243, 243, 241, .86);
  opacity: 0; transition: opacity .35s; border-bottom: 1px solid var(--ligne);
}
/* Par défaut (sans script) : texte navy, lisible sur un haut de page clair.
   Pages à héros sombre : la classe sur-sombre est posée dans le HTML par le générateur, puis suivie par site.js. */
.entete.fond::before { opacity: 1; }
.entete.sur-sombre { color: #fff; }
.entete.sur-sombre::before { opacity: 0; }
.entete.sur-sombre.sur-sombre-plein::before { background: rgba(10, 26, 38, .82); border-color: var(--ligne-sombre); opacity: 1; }
@media (min-width: 1081px) {
  .entete.fond::before, .entete.sur-sombre-plein::before { -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
}
.entete.cache { transform: translateY(-100%); }
.entete-in { position: relative; display: flex; align-items: center; gap: 28px; height: var(--entete-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }
.entete-logo { position: relative; display: block; width: 132px; flex: none; }
.entete-logo img { width: 100%; transition: opacity .15s; }
.entete-logo .logo-blanc { position: absolute; inset: 0; opacity: 0; }
.entete.sur-sombre .logo-blanc { opacity: 1; }
.entete.sur-sombre .logo-navy { opacity: 0; }
.nav { margin-left: auto; }
.nav-liste { display: flex; gap: 6px; align-items: center; }
.nav-lien {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: .9375rem; text-decoration: none; color: inherit; border-radius: 999px; transition: color .25s;
}
.nav-lien svg { transition: transform .35s var(--ease-doux); }
.nav-lien[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-lien:hover, .nav-lien[aria-current="page"] { color: var(--orange); }
.entete-actions { display: flex; align-items: center; gap: 18px; }
.langue, .connexion { font-weight: 600; font-size: .9375rem; text-decoration: none; transition: color .25s; }
.langue { font-family: var(--mono); font-size: .875rem; letter-spacing: .04em; }
.langue:hover, .connexion:hover { color: var(--orange); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-doux), top .45s var(--ease-doux); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Méga-menu produits */
.nav-produits { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(var(--entete-h) - 8px); width: min(1160px, calc(100vw - 2 * var(--gouttiere)));
  transform: translate(-50%, -10px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; color: var(--navy); border-radius: 24px; padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(6, 18, 27, .45), 0 0 0 1px var(--ligne);
  transition: opacity .3s, transform .45s var(--ease-doux), visibility 0s .45s;
}
.nav-produits.ouvert .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .3s, transform .45s var(--ease-doux), visibility 0s; }
.mega-liste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mega-item { display: grid; gap: 4px; padding: 10px 10px 16px; border-radius: 16px; text-decoration: none; transition: background-color .25s; }
.mega-item:hover, .mega-item:focus-visible { background: var(--papier); }
.mega-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .6s var(--ease-doux); }
.mega-item:hover img { transform: translateY(-4px) scale(1.04); }
.mega-nom { font-weight: 700; font-size: .9375rem; line-height: 1.25; }
.mega-desc { font-size: .8125rem; line-height: 1.4; color: var(--mention); }

/* Menu mobile */
.menu-mobile { display: none; }
@media (max-width: 1080px) {
  .nav, .connexion, .entete-cta { display: none; }
  .burger { display: block; }
  .entete-actions { margin-left: auto; gap: 8px; }
  .menu-mobile {
    display: block; position: fixed; inset: 0; z-index: -1; background: var(--nuit); color: #fff;
    overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
  }
  .entete.menu-ouvert .menu-mobile { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s; }
  .entete.menu-ouvert { color: #fff; }
  .entete.menu-ouvert::before { opacity: 0; }
  .entete.menu-ouvert .logo-blanc { opacity: 1; }
  .entete.menu-ouvert .logo-navy { opacity: 0; }
  .entete.menu-ouvert.fond::before { opacity: 0; }
  .menu-mobile-in { padding: calc(var(--entete-h) + 12px) var(--gouttiere) 40px; display: grid; gap: 28px; }
  .menu-mobile-titre { font-family: var(--mono); font-size: .8125rem; color: var(--mention-sombre); }
  .menu-mobile-produits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: -14px; }
  .menu-mobile-produits .mega-item { padding: 6px 0 10px; }
  .menu-mobile-produits .mega-item img { width: 62%; margin-bottom: 4px; }
  .menu-mobile-produits .mega-nom { font-size: 1rem; }
  .entete.menu-ouvert .menu-mobile-produits li, .entete.menu-ouvert .menu-mobile-liens li { animation: menu-monte .7s var(--ease-doux) both; }
  .menu-mobile-produits li:nth-child(2) { animation-delay: 40ms !important; }
  .menu-mobile-produits li:nth-child(3) { animation-delay: 80ms !important; }
  .menu-mobile-produits li:nth-child(4) { animation-delay: 120ms !important; }
  .menu-mobile-produits li:nth-child(5) { animation-delay: 160ms !important; }
  .menu-mobile-produits li:nth-child(6) { animation-delay: 200ms !important; }
  .menu-mobile-liens li { animation-delay: 240ms !important; }
  .menu-mobile-produits .mega-item:hover { background: none; }
  .menu-mobile-produits .mega-desc { color: var(--mention-sombre); }
  .menu-mobile-liens { display: grid; gap: 4px; border-top: 1px solid var(--ligne-sombre); padding-top: 18px; }
  .menu-mobile-liens a { display: block; padding: 8px 0; font-weight: 700; font-size: 1.375rem; text-decoration: none; }
  body.menu-bloque { overflow: hidden; }
}
@media (max-width: 420px) { .entete-logo { width: 116px; } }
@keyframes menu-monte { from { opacity: 0; transform: translateY(24px); } }
html.rm .menu-mobile li { animation: none !important; }

/* ---------- Scènes 3D ---------- */
.scene3d { position: relative; }
.vue-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.scene3d .repli { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s; }
.scene3d.gl-pret .repli { opacity: 0; }
html.sans-gl .scene3d .repli { opacity: 1 !important; }

/* Bandeau de consentement aux cookies (mesure d'audience) : discret, en bas à droite, Refuser et Accepter
   de même poids */
.cookies-bandeau { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 250; display: flex; justify-content: flex-end; pointer-events: none; }
.cookies-bandeau[hidden] { display: none; }
.cookies-corps { pointer-events: auto; width: min(420px, 100%); padding: 20px 22px; border-radius: 16px; background: #fff; color: var(--navy); box-shadow: 0 24px 60px -24px rgba(6, 18, 27, .45), 0 0 0 1px rgba(17, 43, 60, .08); }
.cookies-titre { margin: 0 0 6px; font-weight: 700; font-size: 1.0625rem; }
.cookies-corps p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--mention); }
.cookies-corps p a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookies-actions .btn { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .cookies-bandeau:not([hidden]) .cookies-corps { animation: cookies-entree .4s var(--ease-doux) both; } }
@keyframes cookies-entree { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Écran d'accueil : le logo sur fond nuit le temps que la 3D de la page se prépare (au moins 1 s au premier
   passage, quelques dixièmes ensuite, 3,2 s au plus) ; puis fondu, la page apparaît prête. */
.ecran-accueil { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 28px; background: var(--abysse); transition: opacity .55s var(--ease-sortie), visibility 0s .55s; }
.ecran-accueil img { width: min(210px, 50vw); height: auto; animation: accueil-logo 1.1s var(--ease-doux) both; }
.ecran-accueil i { position: relative; display: block; width: min(150px, 38vw); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ecran-accueil i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; animation: accueil-barre 2.6s cubic-bezier(.2, .7, .2, 1) .15s both; }
@keyframes accueil-logo { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes accueil-barre { to { transform: scaleX(.94); } }
html.accueil-fini .ecran-accueil { opacity: 0; visibility: hidden; pointer-events: none; }
html.accueil-fini .ecran-accueil i::after { transform: scaleX(1); transition: transform .3s; }
html:not(.accueil-fini) body { overflow: hidden; }
html:not(.js) .ecran-accueil { display: none; }
html.rm .ecran-accueil img, html.rm .ecran-accueil i::after { animation: none; }
/* 3D possible : pas d'image d'attente (son cadrage n'est jamais exactement celui de la 3D, d'où un
   décalage au démarrage) ; la scène apparaît en fondu, déjà en place. L'image revient si la 3D échoue
   (sans-gl) ou tarde (repli-secours, posé par site.js). */
html.gl:not(.sans-gl) .scene3d:not(.repli-secours) .repli { opacity: 0; transition: none; }
.scene3d > .vue-gl { transition: opacity .7s var(--ease-sortie); }
.scene3d:not(.gl-vu) > .vue-gl { opacity: 0; }   /* fondu dès la première image réellement rendue */
html.sans-gl .vue-gl { display: none; }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.chiffre-val { display: flex; align-items: baseline; gap: .06em; font-weight: 800; font-size: clamp(2.8rem, 1.6rem + 4vw, 5.4rem); letter-spacing: -.04em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chiffre-val small { font-size: .45em; letter-spacing: -.02em; }
.chiffre-pre { display: block; font-size: .875rem; font-weight: 600; color: var(--mention); margin-bottom: 6px; }
.chiffre-lib { margin-top: 12px; font-size: .9375rem; line-height: 1.45; color: var(--mention); max-width: 15em; }
.s-nuit .chiffre-lib, .s-nuit .chiffre-pre { color: var(--mention-sombre); }
@media (max-width: 860px) { .chiffres { grid-template-columns: 1fr 1fr; } }
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.odo-col { display: flex; flex-direction: column; align-self: flex-start; transition: transform 1.6s var(--ease-doux); transition-delay: calc(var(--c, 0) * 90ms); }
/* chaque chiffre garde exactement 1em : Safari (iPhone) les écrasait, la colonne montait trop haut */
.odo-col span { display: block; flex: 0 0 1em; height: 1em; line-height: 1; }

/* ---------- Logos ---------- */
.defile { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defile-piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile-groupe { display: flex; align-items: center; gap: clamp(48px, 7vw, 110px); padding-right: clamp(48px, 7vw, 110px); }
.defile-groupe img { height: clamp(38px, 4.4vw, 58px); width: auto; opacity: .9; }
.s-nuit .defile-groupe img, .logos-blancs img { filter: brightness(0) invert(1); opacity: .82; }
@keyframes defile { to { transform: translateX(-50%); } }
html.rm .defile-piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
html.rm .defile-groupe { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-right: 0; }
html.rm .defile-groupe + .defile-groupe { display: none; }
html.rm .defile { -webkit-mask-image: none; mask-image: none; }

/* ---------- Pied de page ---------- */
.pied { background: var(--abysse); color: #fff; padding: clamp(70px, 9vw, 120px) 0 36px; }
.pied-haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; }
.pied-logo { width: 190px; margin-bottom: 22px; }
.pied-marque p { color: var(--mention-sombre); max-width: 26em; font-size: .9375rem; }
.pied-titre { font-family: var(--mono); font-size: .8125rem; color: var(--mention-sombre); margin-bottom: 16px; }
.pied-col ul { display: grid; gap: 10px; font-size: .9375rem; }
.pied-col a { text-decoration: none; transition: color .25s; }
.pied-col a:hover { color: var(--orange); }
.pied-reseaux { display: flex; gap: 18px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ligne-sombre); font-size: .8125rem; color: var(--mention-sombre); }
.pied-bas a { text-decoration: none; }
.pied-bas a:hover { color: #fff; }
.pied-cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; line-height: inherit; cursor: pointer; transition: color .25s; }
.pied-cookies:hover { color: #fff; }
@media (max-width: 980px) { .pied-haut { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied-haut { grid-template-columns: 1fr; } }

/* Badge officiel Codexe (Site CODEXE/badge/badge-codexe.html), dinosaure qui saute au survol */
.pied-credit { margin: 0; }
.codexe-badge{--codexe-h:16px;display:inline-flex;align-items:center;gap:.45em;position:relative;color:inherit;text-decoration:none;font:600 .8em/1 system-ui,sans-serif;letter-spacing:.02em;white-space:nowrap}
.codexe-badge:hover,.codexe-badge:focus-visible{text-decoration:none}
.codexe-badge .codexe-wm{height:var(--codexe-h);width:auto;display:block;position:relative;z-index:1}
.codexe-badge .codexe-dino{position:absolute;left:-.1em;bottom:calc(var(--codexe-h) * .05);height:calc(var(--codexe-h) * .95);width:auto;opacity:0;transform:translate(.4em,0);transition:transform .32s steps(6,end),opacity .12s;pointer-events:none;image-rendering:pixelated}
.codexe-badge:hover .codexe-dino,.codexe-badge:focus-visible .codexe-dino{opacity:1;animation:codexe-saut .62s steps(8,end) 1;transform:translate(calc(var(--codexe-h) * -1.9),0)}
@keyframes codexe-saut{0%{transform:translate(.4em,0)}35%{transform:translate(calc(var(--codexe-h) * -1),calc(var(--codexe-h) * -.9))}70%{transform:translate(calc(var(--codexe-h) * -1.9),0)}85%{transform:translate(calc(var(--codexe-h) * -1.9),calc(var(--codexe-h) * -.25))}100%{transform:translate(calc(var(--codexe-h) * -1.9),0)}}
@media (prefers-reduced-motion:reduce){.codexe-badge .codexe-dino{transition:none;animation:none!important}}

/* ---- produit.css ---- */
/* Pages produits Impulsio : gabarit commun (héros 3D, récit au défilement, blocs, confiance,
   plateforme, autres produits). Les visuels propres à chaque produit sont dans composants/produit-*.css. */

/* ---------- Héros ---------- */
.p-heros { position: relative; background: var(--nuit); color: #fff; overflow: clip; isolation: isolate; }
.p-heros-scene { position: absolute; inset: 0; z-index: 0; }
.p-heros-scene .repli { left: 44%; width: 52%; }
.p-heros-in { position: relative; z-index: 1; display: flex; align-items: center; min-height: max(640px, 100svh); padding-top: calc(var(--entete-h) + 40px); padding-bottom: clamp(56px, 8vh, 96px); pointer-events: none; }
.p-heros-texte { max-width: min(36rem, 47%); }
.p-heros-texte > * { pointer-events: auto; }
.p-heros-titre { font-size: clamp(2.6rem, 1.1rem + 4.4vw, 5.6rem); }
.p-heros-titre--long { font-size: clamp(2.35rem, 1rem + 3.5vw, 4.6rem); }
.p-heros .chapo { margin-top: 26px; color: var(--mention-sombre); max-width: 31em; }
.p-heros .actions { margin-top: 36px; }
.p-heros .btn--ligne .fleche { transform: rotate(90deg); }
.p-heros .btn--ligne:hover .fleche { transform: rotate(90deg) translateX(3px); }
.p-faits { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; font-size: .8125rem; color: var(--mention-sombre); }
.p-faits li { position: relative; display: flex; align-items: center; gap: 10px; }
.p-faits svg { width: 15px; height: 15px; flex: none; color: var(--orange); }
.p-aide { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .js .p-aide {
    display: flex; align-items: center; gap: 10px; position: absolute; z-index: 1; right: max(var(--gouttiere), calc((100vw - var(--max)) / 2 + var(--gouttiere))); bottom: clamp(26px, 5vh, 48px);
    font-size: .8125rem; color: var(--mention-sombre); pointer-events: none; transition: opacity .6s var(--ease-sortie);
  }
  .p-aide svg { width: 34px; height: 14px; }
  .p-aide .fl-g { animation: p-aide-g 2.8s var(--ease-inout) infinite; }
  .p-aide .fl-d { animation: p-aide-d 2.8s var(--ease-inout) infinite; }
  .p-a-glisse .p-aide { opacity: 0; }
  html.sans-gl .p-aide, html.rm .p-aide { display: none; }
  .p-glissable { cursor: grab; -webkit-user-select: none; user-select: none; }
  .p-glissable.p-glisse { cursor: grabbing; }
}
@keyframes p-aide-g { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-3px); } }
@keyframes p-aide-d { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

@media (max-width: 899px) {
  .p-heros { padding-top: calc(var(--entete-h) - 6px); }
  /* le sol lumineux de la scène se fond dans le fond de la section, sans arête */
  .p-heros-scene { position: relative; inset: auto; height: clamp(290px, 86vw, 500px); }
  .p-heros-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 1; background: linear-gradient(rgba(10, 26, 38, 0), var(--nuit) 92%); pointer-events: none; }
  .p-heros-scene .repli { left: 0; width: 100%; }
  .p-heros-in { min-height: 0; padding-top: 34px; padding-bottom: 76px; }
  .p-heros-texte { max-width: 40rem; }
  .p-heros .chapo { margin-top: 18px; }
  .p-heros .actions { margin-top: 28px; }
  .p-faits { margin-top: 32px; }
}
@media (max-width: 520px) {
  .p-heros .actions .btn { width: 100%; }
}

/* ---------- Récit « Comment ça marche » ---------- */
.p-comment { background: var(--papier); }
.p-recit-colle { padding-block: clamp(84px, 11vw, 150px); }
.p-recit-grille { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.p-recit-scene { position: relative; height: min(76vh, 760px); min-height: 440px; }
.p-recit-scene .repli { object-fit: contain; }
.p-comment .chapo { margin-top: 18px; }
.p-recit .p-etapes { position: relative; margin-top: clamp(30px, 5vh, 52px); padding-left: 58px; display: grid; gap: clamp(8px, 2vh, 20px); }
.p-rail { position: absolute; left: 15px; top: 30px; bottom: 30px; width: 2px; background: var(--ligne); border-radius: 2px; overflow: hidden; }
.p-rail-plein { position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: 50% 0; }
.p-etape { position: relative; padding: 14px 0; transition: opacity .5s var(--ease-sortie); }
.p-etape h3 { font-size: var(--t-s); font-weight: 800; letter-spacing: -.015em; line-height: 1.22; }
.p-etape p { margin-top: 8px; color: var(--mention); font-size: 1rem; line-height: 1.6; max-width: 30em; }
.p-etape-marque {
  position: absolute; left: -58px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--papier); box-shadow: inset 0 0 0 2px rgba(17, 43, 60, .22);
  transition: background-color .4s, box-shadow .4s;
}
.p-etape-marque::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: rgba(17, 43, 60, .3); transition: transform .5s var(--ease-rebond), background-color .3s; }
.p-etape-marque svg { position: absolute; inset: 7px; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transform: scale(0); transition: transform .55s var(--ease-rebond); }
.js .p-etape { opacity: .42; }
.js .p-etape.actif, .js .p-etape.coche { opacity: 1; }
.p-etape.actif .p-etape-marque { box-shadow: inset 0 0 0 2px var(--orange); }
.p-etape.actif .p-etape-marque::before { background: var(--orange); animation: p-pouls 1.6s var(--ease-inout) infinite; }
.p-etape.coche .p-etape-marque { background: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.p-etape.coche .p-etape-marque::before { transform: scale(0); animation: none; }
.p-etape.coche .p-etape-marque svg { transform: scale(1); }
@keyframes p-pouls { 0%, 100% { transform: scale(1); } 50% { transform: scale(.6); } }

/* grand écran : la scène reste en place pendant que l'on défile */
@media (min-width: 900px) {
  .js .p-recit { height: 320vh; }
  .js .p-recit-colle { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: calc(var(--entete-h) * .6) 24px; }
  .js .p-recit-grille { width: 100%; }
  .js .p-etape { cursor: pointer; }
  .js .p-recit-scene { height: min(82vh, 800px); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .js .p-comment .titre-l { font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem); }
  .js .p-etape p { font-size: .9375rem; line-height: 1.5; }
  .js .p-recit .p-etapes { margin-top: 22px; gap: 4px; }
}
/* petites hauteurs d'écran : pas d'épinglage, le récit se joue tout seul */
@media (min-width: 900px) and (max-height: 599px) {
  .js .p-recit { height: auto; }
  .js .p-recit-colle { position: static; height: auto; padding-block: 90px; }
  .js .p-recit-scene { height: 520px; }
}

/* étroit : vraie colonne verticale, la scène reste en haut et les étapes passent dessous */
@media (max-width: 899px) {
  .p-recit-grille { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
  .p-recit-texte { display: contents; }
  .p-comment .titre-l { order: 0; }
  .p-comment .chapo { order: 1; }
  .p-recit-scene { order: 2; height: clamp(280px, 40svh, 460px); min-height: 0; margin-top: 30px; }
  .p-recit .p-etapes { order: 3; margin-top: 18px; gap: 0; }
  .js .p-recit-scene { position: sticky; top: 58px; z-index: 2; background: var(--papier); margin-top: 64px; }
  .js .p-recit-scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 60px; background: var(--papier); }
  .js .p-etape { min-height: max(220px, calc(52svh - 68px)); padding-top: 22px; }
  .p-rail { top: 34px; }
}
html.rm .p-etape { opacity: 1 !important; }
html.rm .p-recit { height: auto !important; }
html.rm .p-recit-colle { position: static !important; height: auto !important; }
html.rm .p-recit-scene { position: relative !important; }

/* ---------- Blocs de texte du produit ---------- */
.p-bloc-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.p-bloc--inverse .p-bloc-visuel { order: -1; }
.p-bloc .titre-l { max-width: 12em; }
.p-bloc .texte { margin-top: 30px; font-size: 1.0625rem; }
.p-bloc .texte p:first-child { font-size: var(--chapo); line-height: 1.55; color: var(--encre); font-weight: 500; }
.p-bloc .texte p + p { color: var(--mention); }
.p-bloc .texte strong { color: var(--encre); }
.p-bloc .actions { margin-top: 36px; }
.p-bloc-visuel { position: relative; }
@media (max-width: 899px) {
  .p-bloc-grille { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .p-bloc--inverse .p-bloc-visuel { order: 0; }
}

/* Défilé des usages */
.p-usages { position: relative; padding-left: 0; }
.p-usages-pre { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--mention); font-size: var(--chapo); }
.p-usages-pre svg { width: 26px; height: 26px; flex: none; color: var(--orange); overflow: visible; }
.p-usages-pre svg path { transform-origin: 4px 13px; }
.p-usages.bip .p-usages-pre svg path { animation: p-bip .7s var(--ease-sortie); }
.p-usages.bip .p-usages-pre svg path:nth-child(2) { animation-delay: 60ms; }
.p-usages.bip .p-usages-pre svg path:nth-child(3) { animation-delay: 120ms; }
@keyframes p-bip { 0% { opacity: .25; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
.p-usages-fenetre { position: relative; margin-top: 10px; }
.p-usages-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.p-usages-liste li { font-weight: 800; font-size: clamp(2rem, 1.1rem + 3vw, 4rem); letter-spacing: -.03em; line-height: 1.08; color: var(--encre); }
.p-usages-liste li span::after { content: "."; color: var(--orange); }
.p-usages--anime .p-usages-fenetre { overflow: hidden; }
.p-usages--anime .p-usages-liste { gap: 0; transition: transform .85s cubic-bezier(.3, 1.32, .5, 1); will-change: transform; }
.p-usages--anime .p-usages-liste li { display: flex; align-items: flex-start; opacity: .14; transition: opacity .5s var(--ease-sortie); }
.p-usages--anime .p-usages-liste li.ici { opacity: 1; }
.p-usages-trait { display: block; height: 2px; margin-top: 18px; background: var(--ligne); position: relative; overflow: hidden; border-radius: 2px; }
.p-usages-trait::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }
.p-usages.bip .p-usages-trait::after { animation: p-trait 2.2s linear; }
@keyframes p-trait { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Exemples de personnalisation : rendus 3D sur fond transparent, posés sur la page, jamais recadrés
   (largeur de colonne, hauteur auto). Deux colonnes par défaut ; --4 : quatre, deux lignes de deux en
   dessous de 760 px ; --1 : un seul visuel. */
.p-photos { margin: clamp(56px, 8vw, 110px) 0 0; }
.p-photos-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); align-items: end; }
.p-photos-liste--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-photos-liste--1 { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
.p-photos-liste img { display: block; width: 100%; height: auto; }
.p-photos figcaption { margin-top: 12px; font-size: .875rem; color: var(--mention); }
@media (max-width: 760px) {
  .p-photos-liste--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}

/* ---------- Pourquoi faire confiance ---------- */
.p-confiance .titre-l { max-width: 14em; }
.p-arguments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 80px); margin-top: clamp(56px, 7vw, 96px); }
.p-arguments--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
.p-argument { position: relative; padding-top: 30px; }
.p-argument::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ligne); transform-origin: 0 50%; }
.js .p-argument::before { transform: scaleX(0); transition: transform 1.2s var(--ease-doux) calc(var(--d, 0) * 90ms); }
.js .p-argument.est-vu::before { transform: none; }
.p-argument h3 { margin-top: 22px; font-size: var(--t-s); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.p-argument p { margin-top: 10px; color: var(--mention); font-size: 1rem; line-height: 1.6; max-width: 26em; }
@media (max-width: 1000px) { .p-arguments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .p-arguments, .p-arguments--2 { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
html.rm .p-argument::before { transform: none !important; }

/* Micro-scènes dessinées (une par argument) */
.p-micro { width: 172px; height: 108px; overflow: visible; color: var(--navy); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-micro .acc { stroke: var(--orange); }
.p-micro .plein { fill: var(--navy); stroke: none; }
.p-micro .plein-acc { fill: var(--orange); stroke: none; }
.p-micro .gris { stroke: #A7B3BD; }
.p-micro .fin { stroke-width: 1.4; }
.p-micro text { font-family: var(--mono); font-size: 9px; fill: var(--mention); stroke: none; letter-spacing: 0; }
.p-micro [pathLength] { stroke-dasharray: 100 120; }
.js .p-micro .trace { stroke-dashoffset: 102; }
.js .est-vu .p-micro .trace { animation: m-trace 1.3s var(--ease-doux) forwards; animation-delay: calc(var(--k, 0) * 140ms + 200ms); }
.js .p-micro .pop { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: 50% 50%; }
.js .est-vu .p-micro .pop { animation: m-pop .7s var(--ease-rebond) forwards; animation-delay: calc(var(--k, 0) * 140ms + 300ms); }
@keyframes m-trace { to { stroke-dashoffset: 0; } }
@keyframes m-pop { to { opacity: 1; transform: none; } }
html.rm .p-micro * { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; }

/* ---------- Plateforme ---------- */
.p-plateforme-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.p-plateforme .texte { margin-top: 28px; color: var(--mention-sombre); }
.p-plateforme .texte p:first-child { color: #fff; font-size: var(--chapo); line-height: 1.55; font-weight: 500; }
.p-plateforme .actions { margin-top: 36px; }
.p-plateforme-scene { position: relative; aspect-ratio: 6 / 5; }
.p-plateforme-scene .repli { object-fit: contain; }
@media (max-width: 899px) {
  .p-plateforme-grille { grid-template-columns: minmax(0, 1fr); }
  .p-plateforme-scene { aspect-ratio: 1 / 1; max-height: 520px; width: 100%; }
}

/* ---------- Les autres produits ---------- */
.p-autres-liste { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px); margin-top: clamp(44px, 5vw, 76px); }
.p-autre { display: grid; text-decoration: none; color: inherit; }
.p-autres-objet { position: relative; display: block; aspect-ratio: 1 / 1; }
.p-autres-objet .repli { transition: transform .7s var(--ease-rebond), opacity .6s; }
.p-autres-nom { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ligne); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; transition: border-color .4s; }
.p-autres-nom .fleche { display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -2px; color: var(--orange); transition: transform .45s var(--ease-doux); }
.p-autres-desc { margin-top: 6px; font-size: .9375rem; line-height: 1.45; color: var(--mention); }
@media (hover: hover) and (pointer: fine) {
  .p-autre:hover .p-autres-objet:not(.gl-pret) .repli { transform: translateY(-12px); }
  .p-autre:hover .p-autres-nom { border-color: var(--orange); }
  .p-autre:hover .fleche { transform: translateX(4px); }
}
.p-autre:focus-visible .p-autres-nom { border-color: var(--orange); }
body[data-page="carte"] .p-autres [data-produit="carte"],
body[data-page="uniqual"] .p-autres [data-produit="uniqual"],
body[data-page="uniqual-plus"] .p-autres [data-produit="uniqual-plus"],
body[data-page="enseigne"] .p-autres [data-produit="enseigne"],
body[data-page="evenementiel"] .p-autres [data-produit="evenementiel"],
body[data-page="goodies"] .p-autres [data-produit="goodies"] { display: none; }
@media (max-width: 1080px) { .p-autres-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 52px; } }
@media (max-width: 620px) { .p-autres-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 40px; } .p-autres-nom { font-size: 1rem; } .p-autres-desc { font-size: .875rem; } }

/* Visuel animé propre à chaque produit : cadre commun */
.p-anim { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.p-anim .scene3d, .p-anim-scene { position: absolute; inset: 0; }
.p-anim-legende { position: absolute; z-index: 2; pointer-events: none; }

/* Mouvements propres à chaque micro-scène (déclenchés à l'apparition de l'argument) */
.p-micro .m-tombe, .p-micro .m-barre, .p-micro .m-epingle, .p-micro .m-bouton, .p-micro .m-allume, .p-micro .m-teinte, .p-micro .m-bloc-a, .p-micro .m-bloc-b, .p-micro .m-rayon, .p-micro .m-anneau, .p-micro .m-ondes path { transform-box: fill-box; }
.js .est-vu .m-eco .m-tombe { animation: m-tombe 1.1s cubic-bezier(.55, 0, .75, .3) forwards; animation-delay: calc(var(--k) * 260ms + 500ms); }
@keyframes m-tombe { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 18% { transform: translate(2px, -3px) rotate(-4deg); } 82% { opacity: 1; } 100% { transform: translate(4px, 46px) rotate(14deg); opacity: 0; } }
.p-micro .m-ondes path { transform-origin: 0 50%; }
.js .est-vu .m-eco .m-ondes path, .js .est-vu .m-compatible .m-ondes path { animation: m-onde 2.4s var(--ease-sortie) infinite; animation-delay: 2.2s; }
.js .est-vu .m-ondes path:nth-child(2) { animation-delay: 2.32s; }
.js .est-vu .m-ondes path:nth-child(3) { animation-delay: 2.44s; }
@keyframes m-onde { 0%, 55%, 100% { opacity: 1; transform: none; } 20% { opacity: .2; transform: scale(.75); } }
.m-gestion .m-bouton { fill: #fff; stroke: var(--navy); stroke-width: 2; transform: translateX(17px); }
.m-gestion .m-inter:nth-of-type(4) { --k: 3; } .m-gestion .m-inter:nth-of-type(5) { --k: 5; } .m-gestion .m-inter:nth-of-type(6) { --k: 7; }
.js .m-gestion .m-allume { opacity: 0; }
.js .m-gestion .m-bouton { transform: none; }
.js .est-vu .m-gestion .m-allume { animation: m-fondu .35s ease forwards; animation-delay: calc(var(--k, 0) * 160ms + 700ms); }
.js .est-vu .m-gestion .m-bouton { animation: m-inter .6s var(--ease-rebond) forwards; animation-delay: calc(var(--k, 0) * 160ms + 650ms); }
@keyframes m-inter { to { transform: translateX(17px); } }
@keyframes m-fondu { to { opacity: 1; } }
html.rm .m-gestion .m-bouton { transform: translateX(17px) !important; }
.p-micro .m-barre { transform-origin: 50% 100%; }
.js .p-micro .m-barre { transform: scaleY(0); }
.js .est-vu .p-micro .m-barre { animation: m-barre .9s var(--ease-rebond) forwards; animation-delay: calc(var(--k, 0) * 110ms + 250ms); }
@keyframes m-barre { to { transform: none; } }
.js .p-micro .m-epingle { opacity: 0; transform: translateY(-26px); }
.js .est-vu .p-micro .m-epingle { animation: m-epingle .8s var(--ease-rebond) forwards; animation-delay: calc(var(--k, 0) * 140ms + 300ms); }
@keyframes m-epingle { 40% { opacity: 1; } to { opacity: 1; transform: none; } }
.p-micro .m-anneau { transform-origin: 50% 50%; opacity: 0; }
.js .est-vu .p-micro .m-anneau { animation: m-anneau 2.2s var(--ease-sortie) infinite 1.8s; }
@keyframes m-anneau { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }
.m-normandie .m-rayon { stroke-dasharray: 3 3.4; transform-origin: 50% 50%; }
.js .m-normandie .m-rayon { opacity: 0; transform: scale(.2) rotate(-90deg); }
.js .est-vu .m-normandie .m-rayon { animation: m-rayon 1.1s var(--ease-rebond) forwards 1.5s; }
@keyframes m-rayon { to { opacity: 1; transform: none; } }
.js .m-perso .m-teinte { opacity: 0; }
.js .est-vu .m-perso .m-teinte { animation: m-fondu .5s ease forwards 1.3s; }
.js .est-vu .m-perso .m-bloc-a { animation: m-bloc-a .8s var(--ease-rebond) forwards 1.6s; }
.js .est-vu .m-perso .m-bloc-b { animation: m-bloc-b .8s var(--ease-rebond) forwards 1.6s; }
@keyframes m-bloc-a { to { transform: translateY(18px); } }
@keyframes m-bloc-b { to { transform: translateY(-18px); } }
html.sans-gl .p-plateforme-scene, html:not(.js) .p-plateforme-scene { display: none; }
html.sans-gl .p-plateforme-grille, html:not(.js) .p-plateforme-grille { grid-template-columns: minmax(0, 1fr); }

/* Liste cochée commune aux visuels (même repère que les étapes du récit) */
.p-coches { display: grid; gap: 10px; }
.p-coches li { position: relative; display: flex; align-items: center; min-height: 32px; padding-left: 44px; font-weight: 700; font-size: 1rem; color: var(--navy); transition: opacity .5s var(--ease-sortie); }
.p-coches .p-etape-marque { left: 0; top: 50%; margin-top: -16px; }
.js .p-anime-coches .p-coches li { opacity: .45; }
.js .p-anime-coches .p-coches li.coche { opacity: 1; }
.p-coches li.coche .p-etape-marque, html:not(.js) .p-coches .p-etape-marque, html.rm .p-coches .p-etape-marque, .p-coches--fini .p-etape-marque { background: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.p-coches li.coche .p-etape-marque::before, html:not(.js) .p-coches .p-etape-marque::before, html.rm .p-coches .p-etape-marque::before { transform: scale(0); }
.p-coches li.coche .p-etape-marque svg, html:not(.js) .p-coches .p-etape-marque svg, html.rm .p-coches .p-etape-marque svg { transform: scale(1); }
html.rm .p-coches li { opacity: 1 !important; }
.p-photos--visuel { margin-top: clamp(40px, 5vw, 64px); }

/* bloc de texte seul (sans visuel) : il prend toute la largeur, en colonne de lecture confortable */
.p-bloc-grille > .p-bloc-texte:only-child { grid-column: 1 / -1; max-width: 46rem; }
.p-photos-liste--1.p-photos-liste--large { max-width: 560px; }

/* ---- composants/plateforme.css ---- */
/* Accueil : plateforme de gestion (application Impulsio inventée, en HTML et SVG). */

.pf { overflow: clip; }
.pf-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pf-sprite symbol { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.pf-tete { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px clamp(32px, 5vw, 90px); align-items: end; margin-bottom: clamp(52px, 6.5vw, 96px); }
.pf-tete .titre-l { max-width: 11em; }
.pf-tete .chapo { max-width: 30em; }

.pf-grille { display: grid; grid-template-columns: minmax(290px, .66fr) minmax(0, 1.6fr); gap: clamp(32px, 4.4vw, 76px); align-items: center; }

/* ---------- Les quatre points ---------- */
.pf-points { display: grid; }
.pf-point { position: relative; padding: 24px 0 26px; border-top: 1px solid var(--ligne-sombre); cursor: pointer; }
.pf-point:last-child { border-bottom: 1px solid var(--ligne-sombre); }
.pf-point-titre { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.3; }
.pf-point-titre button { all: unset; display: block; cursor: pointer; color: rgba(255, 255, 255, .58); transition: color .4s var(--ease-sortie); }
.pf-point-titre button:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 4px; }
.pf-point-texte { margin-top: 8px; font-size: .9375rem; line-height: 1.6; color: var(--mention-sombre); opacity: .74; transition: opacity .4s var(--ease-sortie); max-width: 30em; }
.pf-point.est-active .pf-point-titre button { color: #fff; }
.pf-point.est-active .pf-point-texte { opacity: 1; }
.pf-jauge { position: absolute; left: 0; right: 0; top: -1px; height: 1px; overflow: hidden; }
.pf-jauge i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.pf-point.est-active .pf-jauge { height: 2px; top: -1.5px; }
html:not(.js) .pf-point-titre button { color: #fff; }
html:not(.js) .pf-point-texte { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .pf-point:hover .pf-point-titre button { color: #fff; }
}
.pf-actions { margin-top: clamp(44px, 5vw, 72px); }
.pf-actions .lien { color: #fff; }

/* ---------- Scène et perspective ---------- */
.pf-scene { position: relative; container: pf / inline-size; perspective: 2300px; perspective-origin: 40% 20%; margin-right: calc(var(--gouttiere) * -.5); }
.pf-tilt {
  --rx: 0deg; --ry: 0deg; --rz: 0deg; --ty: 0px; --sc: 1; --ex: 0;
  position: relative; transform-style: preserve-3d;
  transform: translate3d(0, var(--ty), 0) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)) scale(var(--sc));
  transform-origin: 50% 60%;
}
.pf-app {
  position: relative; width: 100%; aspect-ratio: 16 / 10.4; border-radius: 14px; transform-style: preserve-3d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -40px rgba(0, 0, 0, .75);
}
.pf-app::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #06121B; transform: translateZ(-16px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.pf-ombre { position: absolute; left: 8%; right: 8%; bottom: -7%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 9, 14, .7), transparent); transform: translateZ(-60px) rotateX(80deg); pointer-events: none; }

/* ---------- Interface ---------- */
.pf-ui {
  position: absolute; inset: 0; display: grid; transform-style: preserve-3d;
  grid-template: "barre barre" 2.5em "side main" minmax(0, 1fr) / 11.6em minmax(0, 1fr);
  font-family: var(--f); font-size: 1.6cqw; line-height: 1.35; color: var(--navy); text-align: left;
  -webkit-user-select: none; user-select: none;
}
.pf-ui b { font-weight: 700; }
.pf-ui small { display: block; font-size: .86em; font-weight: 500; color: #6A7B8C; }
.pf-mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.pf-doux { color: #6A7B8C; }
.pf-ui svg { display: block; flex: none; }
.pf-glyphe { width: 1.6em; height: 1.6em; fill: none; stroke: currentColor; }

.pf-barre {
  grid-area: barre; display: flex; align-items: center; gap: 1em; padding: 0 1em;
  background: #0B1F2D; color: rgba(255, 255, 255, .62); border-radius: 14px 14px 0 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06); transform: translateZ(calc(var(--ex) * 22px));
}
.pf-feux { display: flex; gap: .42em; }
.pf-feux i { width: .62em; height: .62em; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.pf-url { flex: 1; max-width: 26em; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: .5em; height: 1.65em; padding: 0 .9em; border-radius: .5em; background: rgba(255, 255, 255, .07); font-family: var(--mono); font-size: .7em; white-space: nowrap; overflow: hidden; }
.pf-url svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pf-url b { color: #fff; font-weight: 500; }
.pf-direct { display: inline-flex; align-items: center; gap: .5em; font-size: .7em; font-weight: 600; color: rgba(255, 255, 255, .78); }
.pf-direct i { position: relative; width: .62em; height: .62em; border-radius: 50%; background: #2FD08A; }
.pf-direct i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2FD08A; animation: pf-pouls 1.8s var(--ease-sortie) infinite; }
.pf-direct--mini { margin-left: auto; font-size: 1em; }
/* Boucles en pause quand l'application est hors de l'écran */
.pf-hors .pf-onde, .pf-hors .pf-direct i::after, .pf-hors .pf-curseur-onde { animation-play-state: paused !important; }
@keyframes pf-pouls { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

.pf-side {
  grid-area: side; display: flex; flex-direction: column; gap: 1.3em; padding: 1.3em .9em 1.1em;
  background: var(--navy); color: #fff; border-radius: 0 0 0 14px; transform: translateZ(calc(var(--ex) * 38px));
}
.pf-logo { width: 7.4em; height: auto; margin: .1em .45em .2em; }
.pf-espace, .pf-moi { display: flex; align-items: center; gap: .65em; padding: .55em .5em; border-radius: .7em; background: rgba(255, 255, 255, .06); font-size: .78em; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.pf-espace small, .pf-moi small { color: rgba(255, 255, 255, .5); font-size: .88em; }
.pf-espace > span, .pf-moi > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pf-moi { margin-top: auto; background: none; }
.pf-flottes { display: grid; gap: .15em; padding: 0 .55em; font-size: .74em; }
.pf-flottes-titre { margin-bottom: .35em; font-family: var(--mono); font-size: .88em; color: rgba(255, 255, 255, .4); }
.pf-flotte-item { display: flex; align-items: center; gap: .7em; height: 2.1em; color: rgba(255, 255, 255, .7); font-weight: 600; white-space: nowrap; }
.pf-flotte-item::before { content: ""; flex: none; width: .62em; height: .62em; border-radius: .2em; background: var(--c); }
.pf-flotte-item em { margin-left: auto; font-style: normal; font-family: var(--mono); font-weight: 500; color: rgba(255, 255, 255, .4); }
.pf-av { flex: none; display: inline-grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--c, var(--navy)); color: #fff; font-style: normal; font-weight: 700; font-size: .78em; letter-spacing: .02em; }
.pf-espace .pf-av, .pf-moi .pf-av { font-size: 1em; width: 2.4em; height: 2.4em; border-radius: .65em; }
.pf-nav { position: relative; display: grid; gap: .2em; }
.pf-nav-ind { position: absolute; left: 0; right: 0; top: 0; height: 2.55em; border-radius: .7em; background: rgba(255, 255, 255, .1); transform-origin: 50% 50%; }
.pf-nav-item { position: relative; display: flex; align-items: center; gap: .75em; height: 2.55em; padding: 0 .65em; font-size: .84em; font-weight: 600; color: rgba(255, 255, 255, .6); white-space: nowrap; cursor: pointer; transition: color .35s; }
.pf-nav-item svg { width: 1.45em; height: 1.45em; fill: none; stroke: currentColor; transition: color .35s, transform .5s var(--ease-rebond); }
.pf-nav-item.est-active { color: #fff; }
.pf-nav-item.est-active svg { color: var(--orange); transform: scale(1.08); }
.pf-nav-badge { margin-left: auto; min-width: 1.6em; height: 1.6em; padding: 0 .45em; border-radius: 1em; background: var(--orange); color: #fff; font-style: normal; font-size: .78em; font-weight: 700; display: inline-grid; place-items: center; }

.pf-main { grid-area: main; position: relative; display: grid; grid-template-rows: 2.9em minmax(0, 1fr); gap: 1em; padding: 1.25em 1.5em 1.4em; background: #EEF2F5; border-radius: 0 0 14px 0; overflow: hidden; }
.pf-entete { display: flex; align-items: center; gap: 1em; min-width: 0; }
.pf-titre-vue { position: relative; flex: 1; display: grid; overflow: hidden; height: 1.5em; font-size: 1.42em; font-weight: 800; letter-spacing: -.025em; line-height: 1.5; white-space: nowrap; }
.pf-tv { grid-area: 1 / 1; transform: translateY(110%); }
.pf-ui[data-vue-active="tableau"] .pf-tv[data-tv="tableau"], .pf-ui[data-vue-active="produits"] .pf-tv[data-tv="produits"], .pf-ui[data-vue-active="leads"] .pf-tv[data-tv="leads"], .pf-ui[data-vue-active="stats"] .pf-tv[data-tv="stats"], .pf-ui[data-vue-active="equipe"] .pf-tv[data-tv="equipe"] { transform: none; }
.pf-periode { padding: .45em .8em; border-radius: .55em; background: #fff; font-size: .7em; color: #4A5D6E; white-space: nowrap; box-shadow: 0 0 0 1px rgba(17, 43, 60, .07); }
.pf-avs { display: flex; }
.pf-avs .pf-av { width: 2.2em; height: 2.2em; font-size: .7em; box-shadow: 0 0 0 .22em #EEF2F5; }
.pf-avs .pf-av + .pf-av { margin-left: -.55em; }

.pf-vues { position: relative; min-height: 0; perspective: 1400px; }
.pf-vue { position: absolute; inset: 0; display: grid; gap: .95em; visibility: hidden; }
.pf-vue.est-active { visibility: visible; }
.pf-balayage { position: absolute; left: 0; right: 0; top: 0; height: 40%; pointer-events: none; background: linear-gradient(180deg, rgba(246, 107, 14, 0), rgba(246, 107, 14, .07) 60%, rgba(246, 107, 14, 0)); transform: translateY(-110%); }

.pf-bloc { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 1em 1.15em; border-radius: .9em; background: #fff; box-shadow: 0 0 0 1px rgba(17, 43, 60, .06), 0 .5em 1.2em -.7em rgba(17, 43, 60, .25); overflow: hidden; }
.pf-bloc-tete { display: flex; align-items: center; gap: .8em; min-height: 1.9em; margin-bottom: .6em; white-space: nowrap; }
.pf-bloc-titre { font-size: .9em; font-weight: 700; }
.pf-bloc-tete .pf-mono { font-size: .72em; }
.pf-bloc-tete b { color: var(--navy); }
.pf-btn-app { margin-left: auto; padding: .45em .9em; border-radius: .55em; background: var(--orange-btn); color: #fff; font-size: .72em; font-weight: 700; }
.pf-btn-app--ligne { background: none; color: var(--navy); box-shadow: inset 0 0 0 1px rgba(17, 43, 60, .2); }
.pf-lib { font-size: .76em; font-weight: 600; color: #5A6C7D; }
.pf-val { display: flex; align-items: baseline; font-size: 2.55em; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pf-val small { display: inline; font-size: .55em; font-weight: 800; color: var(--navy); }
.pf-val b { font-weight: 800; }
.pf-delta { font-size: .72em; font-weight: 700; color: var(--vert); }

/* Rouleaux de texte et de chiffres */
.pf-roule { display: inline-grid; overflow: hidden; vertical-align: bottom; line-height: 1.35; }
.pf-roule > span { grid-area: 1 / 1; transition: transform .7s var(--ease-rebond); white-space: nowrap; }
.pf-roule > span + span { transform: translateY(115%); }
.pf-roule.b > span:first-child { transform: translateY(-115%); }
.pf-roule.b > span + span { transform: none; }
.pf-chiffres { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1.05em; line-height: 1.05; }
.pf-col { display: flex; flex-direction: column; }
.pf-col span { height: 1.05em; }

/* ---------- Vue tableau de bord ---------- */
.pf-vue[data-vue="tableau"] { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr); }
.pf-kpi { grid-column: span 4; gap: .2em; padding-bottom: .9em; }
.pf-spark { position: absolute; right: .9em; bottom: 1em; width: 6.4em; height: 1.92em; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 100 120; }
.pf-carte { grid-column: span 7; }
.pf-carte-svg { flex: 1; min-height: 0; width: 100%; height: 100%; overflow: visible; }
.pf-carte-points { fill: none; stroke: rgba(17, 43, 60, .2); stroke-width: 2.9; stroke-linecap: round; }
.pf-jour { font-weight: 500; }
.pf-ville text { font-family: var(--f); font-size: 7.4px; font-weight: 600; fill: #4E6172; paint-order: stroke; stroke: #fff; stroke-width: 2.6px; stroke-linejoin: round; }
.pf-coeur { fill: var(--navy); transition: fill .3s; }
.pf-ville[data-v="0"] .pf-coeur, .pf-ville.ping .pf-coeur { fill: var(--orange); }
.pf-onde { fill: none; stroke: var(--orange); stroke-width: 1.2; opacity: 0; }
.js .pf-onde { animation: pf-onde 3.2s var(--ease-sortie) infinite; animation-delay: calc(var(--o, 0) * -.4s); }
.pf-onde2 { animation-delay: calc(var(--o, 0) * -.4s - 1.6s) !important; }
.pf-ville[data-v="1"] { --o: 3; } .pf-ville[data-v="2"] { --o: 5; } .pf-ville[data-v="3"] { --o: 1; } .pf-ville[data-v="4"] { --o: 6; }
.pf-ville[data-v="5"] { --o: 2; } .pf-ville[data-v="6"] { --o: 7; } .pf-ville[data-v="7"] { --o: 4; }
@keyframes pf-onde { 0% { transform: scale(.8); opacity: .75; } 70%, 100% { transform: scale(3.6); opacity: 0; } }
.pf-ville .pf-coeur { transform-box: fill-box; transform-origin: center; }
.pf-ville.ping .pf-coeur { animation: pf-ping .7s var(--ease-rebond); }
@keyframes pf-ping { 30% { transform: scale(1.9); } }
.pf-flux { grid-column: span 5; }
.pf-flux-liste { position: relative; display: grid; gap: .2em; margin: 0; padding: 0; list-style: none; -webkit-mask-image: linear-gradient(#000 70%, transparent 98%); mask-image: linear-gradient(#000 70%, transparent 98%); }
.pf-flux-liste li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: .7em; padding: .42em 0; border-bottom: 1px solid #EEF1F4; }
.pf-flux-liste li:last-child { border-bottom: 0; }
.pf-flux-liste .pf-glyphe { width: 2.4em; height: 2.4em; padding: .42em; border-radius: .6em; background: #EEF2F5; stroke-width: 1.7; }
.pf-flux-liste li:first-child .pf-glyphe { background: rgba(246, 107, 14, .12); color: #C9520A; }
.pf-flux-liste b { display: block; font-size: .76em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-flux-liste small { font-size: .68em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-flux-liste time { font-size: .64em; color: #7D8C9A; }

/* ---------- Vue produits ---------- */
.pf-vue[data-vue="produits"] { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); }
.pf-filtres { display: flex; gap: .4em; margin-bottom: .5em; }
.pf-filtres span { padding: .32em .75em; border-radius: 1em; font-size: .68em; font-weight: 600; color: #4E6172; background: #EEF2F5; }
.pf-filtres .on { background: var(--navy); color: #fff; }
.pf-lignes { display: grid; margin: 0; padding: 0; list-style: none; }
.pf-prod { display: grid; grid-template-columns: 2.3em minmax(0, 1fr) 6.6em 3.4em 2.5em; align-items: center; gap: .75em; padding: .44em 0; border-bottom: 1px solid #EEF1F4; }
.pf-prod:last-child { border-bottom: 0; }
.pf-prod .pf-glyphe { width: 2.3em; height: 2.3em; padding: .4em; border-radius: .6em; background: #EEF2F5; }
.pf-prod-nom b { display: block; font-size: .76em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-prod-nom small { font-size: .66em; }
.pf-prod-cible { font-size: .7em; font-weight: 600; color: #3C5163; white-space: nowrap; overflow: hidden; }
.pf-prod-scans { font-size: .68em; color: #5A6C7D; text-align: right; }
.pf-prod--edit .pf-prod-cible { color: #C9520A; }
.pf-inter { position: relative; justify-self: end; width: 2.35em; height: 1.36em; border-radius: 1em; background: #D3DBE2; transition: background-color .35s; }
.pf-inter i { position: absolute; left: .18em; top: .18em; width: 1em; height: 1em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .3em rgba(17, 43, 60, .3); transform: translateX(var(--x, 0)); transform-origin: left center; }
.pf-inter.est-on { background: var(--orange); }
.pf-inter.est-on i { --x: .99em; }
.pf-apercu { align-items: stretch; }
.pf-publie { margin-left: auto; display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em .3em .5em; border-radius: 1em; background: rgba(31, 157, 99, .12); color: #16804F; font-size: .68em; font-weight: 700; }
.pf-publie svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 3; }
.pf-tel { flex: 1; display: grid; place-items: center; min-height: 0; }
.pf-tel-ecran {
  display: flex; flex-direction: column; align-items: center; gap: .55em; width: 10.8em; height: 22.2em; padding: 2.1em .95em 1em;
  border-radius: 1.9em; background: #F7F4EF; box-shadow: 0 0 0 .42em var(--navy), 0 .9em 1.6em -.6em rgba(17, 43, 60, .45); position: relative;
}
.pf-tel-ecran::before { content: ""; position: absolute; top: .55em; left: 50%; width: 3.2em; height: .75em; margin-left: -1.6em; border-radius: 1em; background: var(--navy); }
.pf-tel-logo { display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: 50%; background: #B4703A; color: #fff; font-weight: 800; font-size: .9em; letter-spacing: .02em; }
.pf-tel-nom { font-size: .8em; text-align: center; line-height: 1.2; }
.pf-tel-sous { font-size: .62em !important; text-align: center; margin-top: -.3em; }
.pf-tel-btn { display: grid; place-items: center; width: 100%; height: 2.6em; border-radius: .7em; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 43, 60, .14); font-size: .7em; font-weight: 700; }
.pf-tel-btn--principal { margin-top: .4em; background: var(--orange-btn); color: #fff; box-shadow: none; }

/* ---------- Vue leads ---------- */
.pf-vue[data-vue="leads"] { grid-template-columns: minmax(0, 1fr); }
.pf-table { display: grid; perspective: 900px; }
.pf-tr { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.5fr) 4.6em 6.4em; align-items: center; gap: .9em; padding: .46em .5em; border-bottom: 1px solid #EEF1F4; border-radius: .5em; transform-origin: 50% 0; }
.pf-th { padding-block: .2em .5em; font-size: .66em; font-weight: 600; color: #7D8C9A; border-radius: 0; }
.pf-th > span:nth-child(3), .pf-tr > .pf-mono { font-size: .68em; }
.pf-contact, .pf-src { display: flex; align-items: center; gap: .7em; min-width: 0; }
.pf-contact > span, .pf-src > span { min-width: 0; }
.pf-contact b { display: block; font-size: .78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-contact small { font-size: .68em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-src { font-size: .74em; font-weight: 600; color: #3C5163; }
.pf-src > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-src .pf-glyphe { width: 2.1em; height: 2.1em; padding: .35em; border-radius: .55em; background: #EEF2F5; }
.pf-etat { justify-self: start; display: inline-flex; padding: .28em .75em; border-radius: 1em; font-size: .68em; font-weight: 700; white-space: nowrap; }
.pf-etat[data-etat="nouveau"] { background: rgba(246, 107, 14, .13); color: #C24F05; }
.pf-etat[data-etat="contact"] { background: rgba(62, 124, 177, .13); color: #2D6596; }
.pf-etat[data-etat="ok"] { background: rgba(31, 157, 99, .13); color: #16804F; }
.pf-lead--ancien { opacity: .6; }
.pf-lead.flash { background: rgba(246, 107, 14, .07); }

/* ---------- Vue statistiques ---------- */
.pf-vue[data-vue="stats"] { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.pf-courbe { grid-row: span 2; }
.pf-legende { display: inline-flex; align-items: center; gap: .5em; font-size: .66em; color: #6A7B8C; }
.pf-legende i { width: 1.3em; height: .2em; border-radius: 1em; background: var(--orange); }
.pf-legende .pf-legende-pt { margin-left: .5em; background: none; border-top: .2em dotted #9AA9B6; height: 0; }
.pf-total { margin-left: auto; font-size: 1.05em !important; font-weight: 500; color: var(--navy); }
.pf-courbe-svg { width: 100%; flex: 1; min-height: 0; overflow: visible; }
.pf-grille-l path { stroke: #E6EBEF; stroke-width: 1; fill: none; }
.pf-aire { fill: rgba(246, 107, 14, .1); transform-origin: 50% 100%; transform-box: fill-box; }
.pf-ligne { fill: none; stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 100 120; }
.pf-ligne2 { fill: none; stroke: #A6B3BF; stroke-width: 1.4; stroke-dasharray: 2 4; stroke-linecap: round; }
.pf-curseur circle { fill: #fff; stroke: var(--orange); stroke-width: 2.4; }
.pf-curseur .pf-curseur-onde { fill: rgba(246, 107, 14, .2); stroke: none; transform-box: fill-box; transform-origin: center; }
.js .pf-curseur .pf-curseur-onde { animation: pf-pouls 2s var(--ease-sortie) infinite; }
.pf-axe { display: flex; justify-content: space-between; margin-top: .5em; font-size: .62em; color: #8696A4; }
.pf-bulle { position: absolute; right: 1.1em; top: 3.4em; padding: .3em .6em; border-radius: .5em; background: var(--navy); color: #fff; font-size: .68em; }
.pf-seg { position: relative; display: inline-flex; padding: .22em; border-radius: .7em; background: #EEF2F5; }
.pf-seg span { position: relative; z-index: 1; padding: .35em .8em; font-size: .7em; font-weight: 700; color: #5A6C7D; transition: color .3s; }
.pf-seg span.on { color: var(--navy); }
.pf-seg-curseur { position: absolute; top: .22em; bottom: .22em; left: .22em; width: var(--w, 50%); border-radius: .55em; background: #fff; box-shadow: 0 .1em .4em rgba(17, 43, 60, .15); transform: translateX(var(--x, 0)); }
.pf-barres { display: grid; gap: .62em; margin: .2em 0 0; padding: 0; list-style: none; }
.pf-barres li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3em .6em; align-items: center; }
.pf-barre-lib { font-size: .72em; font-weight: 600; color: #3C5163; min-width: 0; }
.pf-barre-val { font-size: .68em; color: #5A6C7D; text-align: right; }
.pf-piste { grid-column: 1 / -1; height: .5em; border-radius: 1em; background: #EEF2F5; overflow: hidden; }
.pf-piste i { display: block; height: 100%; border-radius: 1em; background: var(--navy); transform-origin: left; transform: scaleX(var(--v, 1)); }
.pf-barres li:first-child .pf-piste i { background: var(--orange); }
.pf-mini { flex-direction: row; gap: 1em; }
.pf-mini > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15em; }
.pf-mini .pf-lib { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-mini .pf-val { font-size: 1.8em; }
.pf-etoiles { display: flex; gap: .18em; margin-top: .25em; }
.pf-etoiles i { width: .78em; height: .78em; background: #F5A623; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---------- Vue équipe ---------- */
.pf-vue[data-vue="equipe"] { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
.pf-membres-corps { position: relative; }
.pf-membres-liste { position: relative; display: grid; gap: .25em; margin: 0; padding: 0; list-style: none; }
.pf-membre-ind { position: absolute; left: 0; right: 0; top: 0; height: 3.3em; border-radius: .7em; background: #EEF2F5; transform: translateY(var(--y, 0)); }
.pf-membre { position: relative; display: grid; grid-template-columns: 2.3em minmax(0, 1fr) auto; align-items: center; gap: .75em; height: 3.3em; padding: 0 .55em; }
.pf-membre .pf-av { font-size: .8em; width: 2.9em; height: 2.9em; }
.pf-membre b { display: block; font-size: .8em; white-space: nowrap; }
.pf-membre small { font-size: .68em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-invit { color: #C9520A !important; }
.pf-role { padding: .28em .7em; border-radius: .5em; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 43, 60, .14); font-size: .66em; font-weight: 700; white-space: nowrap; }
.pf-matrice { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); grid-auto-rows: 2.55em; align-items: center; justify-items: center; }
.pf-matrice-ind { position: absolute; left: -.4em; right: -.4em; top: 2.55em; height: 2.55em; border-radius: .6em; background: rgba(246, 107, 14, .09); transform: translateY(var(--y, 0)); }
.pf-mx-col { font-size: .62em; font-weight: 600; color: #7D8C9A; }
.pf-mx-role { justify-self: start; font-size: .74em; font-weight: 700; position: relative; }
.pf-matrice .pf-ok { position: relative; width: 1.5em; height: 1.5em; padding: .2em; border-radius: 50%; background: rgba(31, 157, 99, .13); color: #16804F; fill: none; stroke: currentColor; stroke-width: 3; }
.pf-non { position: relative; width: .8em; height: .14em; border-radius: 1em; background: #C9D2DA; }

/* ---------- Écrans moyens : les points passent sous l'application ---------- */
@media (max-width: 1080px) {
  .pf-tete { grid-template-columns: 1fr; }
  .pf-grille { grid-template-columns: 1fr; }
  .pf-scene { margin-right: 0; order: -1; }
  .pf-points { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .pf-point:nth-last-child(2) { border-bottom: 1px solid var(--ligne-sombre); }
}

/* ---------- Téléphone : l'application reste celle de l'ordinateur (c'est là qu'on l'utilise),
   à plat, sur toute la largeur de l'écran ---------- */
@media (max-width: 760px) {
  /* comme la vitrine des produits : l'écran d'ordinateur reste épinglé en haut (un tiers de l'écran),
     les quatre parties défilent dessous et s'activent une à une */
  .pf-scene {
    perspective: none; position: sticky; top: 0; z-index: 2; align-self: start;
    margin-inline: calc(-1 * var(--gouttiere)); padding: 14px 8px 10px; background: var(--nuit);
  }
  .pf-scene::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 34px; background: linear-gradient(var(--nuit), rgba(10, 26, 38, 0)); pointer-events: none; }
  .pf-grille { align-items: start; row-gap: 8px; }
  .pf-points { padding-bottom: 22svh; }
  .pf-point { min-height: 34svh; }
  .pf-tilt { transform: none !important; }
  .pf-app { border-radius: 10px; }
  .pf-app::before, .pf-ombre { display: none; }
  .pf-points { grid-template-columns: 1fr; }
  .pf-point:nth-last-child(2) { border-bottom: 0; }
  .pf-point { padding: 20px 0 22px; }
  .pf-point-titre { font-size: 1.0625rem; }
}

/* ---- composants/plateforme-page.css ---- */
/* Page plateforme : compléments aux styles des pages produits (produit.css) et de la section
   plateforme de l'accueil (plateforme.css), réutilisés tels quels. */

/* « Se connecter » mène à l'application : flèche vers la droite (le bouton ligne des produits pointe vers le bas) */
.pfp-heros .btn--ligne .fleche { transform: none; }
.pfp-heros .btn--ligne:hover .fleche { transform: translateX(3px); }
.pfp-heros .p-heros-titre { font-size: clamp(2.5rem, 1rem + 4.1vw, 5.2rem); }

/* Les six produits pilotés : trois colonnes (objets en format paysage), puis deux sur téléphone */
.pfp-produits .p-autres-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(52px, 5vw, 72px); }
.pfp-produits .p-autres-objet { aspect-ratio: 16 / 10; }
@media (max-width: 620px) {
  .pfp-produits .p-autres-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 40px; }
  .pfp-produits .p-autres-objet { aspect-ratio: 1 / 1; }
}

/* Défilé « vous pilotez » : corps un peu réduit, chaque famille de produits tient sur une ligne */
.pfp-endroit .p-usages-liste li { font-size: clamp(1.75rem, 1rem + 2.3vw, 3.25rem); }

/* ---- composants/contact.css ---- */
/* Bloc contact commun (accueil, pages produits, contact, équipe) et son envoi en carte NFC. */

.contact-grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 112px); align-items: start;
}
.contact-intro { padding-top: clamp(4px, 1vw, 16px); }
.contact-questions { margin-top: 28px; }
.contact-accroche { margin-top: 20px; font-weight: 700; font-size: clamp(1.12rem, 1.02rem + .4vw, 1.32rem); line-height: 1.45; max-width: 24em; }
.contact-coord { display: grid; gap: 14px; margin-top: clamp(36px, 4vw, 56px); font-weight: 600; font-size: 1.0625rem; line-height: 1.45; }
.contact-adresse { text-decoration: none; transition: color .25s; }
.contact-adresse:hover { color: var(--orange); }
@media (max-width: 980px) {
  .contact-grille { grid-template-columns: 1fr; }
}

/* ---------- Formulaire ---------- */
.contact-scene { position: relative; }
.contact-form {
  position: relative; z-index: 1; container-type: inline-size;
  display: grid; gap: clamp(22px, 2.2vw, 30px);
  background: #fff; border-radius: 28px; padding: clamp(24px, 3.4vw, 52px);
}
.contact-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2.2vw, 30px) 28px; }
@container (max-width: 520px) { .contact-duo { grid-template-columns: 1fr; } }
.contact-champ { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; transform-origin: 50% 0; }
.contact-champ > label, .contact-champ > legend { display: block; padding: 0; font-weight: 600; font-size: .875rem; line-height: 1.3; color: var(--mention); }
.contact-facultatif { font-weight: 500; color: #8a98a5; margin-left: 4px; }
.contact-champ input[type="text"], .contact-champ input[type="email"], .contact-champ input[type="tel"], .contact-champ textarea {
  display: block; width: 100%; margin: 0; padding: .5em 0 .6em; border: 0; border-radius: 0;
  border-bottom: 1.5px solid rgba(17, 43, 60, .2);
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat;
  font: 600 1.0625rem/1.4 var(--f); color: var(--navy);
  transition: background-size .5s var(--ease-doux), border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.contact-champ textarea { resize: vertical; min-height: 7.2em; line-height: 1.55; }
.contact-champ input:focus, .contact-champ textarea:focus { outline: none; background-size: 100% 2px; border-color: transparent; }
.contact-champ input:focus-visible, .contact-champ textarea:focus-visible { outline: none; }
.contact-champ.est-invalide input, .contact-champ.est-invalide textarea { border-bottom-color: #c23b28; }
.contact-erreur { margin-top: 7px; font-size: .8125rem; font-weight: 600; line-height: 1.35; color: #b9321f; }

.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin-top: 10px; }
@container (max-width: 520px) { .contact-options { grid-template-columns: 1fr; } }
.contact-options label { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; cursor: pointer; font-weight: 500; font-size: .96875rem; line-height: 1.4; }
.contact-options input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 50%;
  border: 1.5px solid rgba(17, 43, 60, .35); background: #fff; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: border-color .25s, box-shadow .35s var(--ease-rebond), background-color .25s;
}
.contact-options input:checked { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 4px #fff; }
.contact-options input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.contact-options label:hover input:not(:checked) { border-color: var(--navy); }
.contact-choix.est-invalide .contact-options input:not(:checked) { border-color: #c23b28; }

.contact-piege { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

.contact-pied { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; }
.contact-rgpd { max-width: 30em; font-size: .8125rem; line-height: 1.5; color: var(--mention); }
.contact-rgpd a { color: inherit; font-weight: 600; }
.contact-envoyer { flex: none; }
@container (max-width: 520px) {
  .contact-pied { flex-direction: column; align-items: stretch; }
  .contact-envoyer { width: 100%; }
}
.contact-echec { font-size: .9375rem; font-weight: 600; line-height: 1.5; color: #b9321f; }
.contact-echec a { color: inherit; }

/* ---------- Envoi animé ---------- */
.contact-scene.anime { overflow-y: clip; }
.contact-scene.anime .contact-form { background: transparent; }
.contact-morph { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: none; }
.contact-scene.anime .contact-morph { display: block; }
.contact-morph-peau { position: absolute; inset: 0; background: #fff; }
.contact-morph canvas { position: absolute; display: block; max-width: none; opacity: 0; }
.contact-3d {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
  visibility: hidden; opacity: 0;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 13%); mask-image: linear-gradient(to top, transparent 0, #000 13%);
}
.contact-scene.anime .contact-3d { visibility: visible; }

.contact-merci { position: absolute; left: 0; right: 0; z-index: 3; display: grid; justify-items: start; gap: 14px; outline: none; }
.contact-merci[hidden] { display: none; }
.contact-merci-texte { max-width: 34em; color: var(--mention); }
.contact-merci-texte strong { color: var(--navy); font-weight: 700; overflow-wrap: anywhere; }
.contact-merci .btn { margin-top: 10px; }

/* Version simple (mouvement réduit, sans WebGL) : la confirmation remplace le formulaire. */
.contact-scene.envoye-simple .contact-form { display: none; }
.contact-scene.envoye-simple .contact-merci { position: static; background: #fff; border-radius: 28px; padding: clamp(28px, 3.4vw, 52px); }
.contact-scene.envoye-simple .contact-merci.apparait { animation: contact-apparait .6s var(--ease-sortie) both; }
@keyframes contact-apparait { from { opacity: 0; transform: translateY(16px); } }
html.rm .contact-scene.envoye-simple .contact-merci.apparait { animation: none; }
.contact-morph-ombre { position: absolute; opacity: 0; box-shadow: 0 22px 34px -14px rgba(10, 26, 38, .32), 0 4px 10px -4px rgba(10, 26, 38, .12); }

/* ---------- Rendez-vous : agenda Cal.com sous le formulaire ---------- */
.contact-rdv { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 72px); align-items: start; margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ligne); scroll-margin-top: calc(var(--entete-h) + 16px); }
.contact-rdv-texte p { margin-top: 14px; color: var(--mention); max-width: 30em; }
.contact-rdv-cadre { position: relative; min-height: 660px; }
.contact-rdv-attente { position: absolute; inset: 0 auto auto 0; margin: 0; color: var(--mention); font-size: .9375rem; transition: opacity .4s; }
.contact-rdv-cadre.charge .contact-rdv-attente { opacity: 0; pointer-events: none; }
.contact-rdv-inline { width: 100%; min-height: 660px; }
@media (max-width: 900px) {
  .contact-rdv { grid-template-columns: minmax(0, 1fr); }
  .contact-rdv-cadre, .contact-rdv-inline { min-height: 760px; }
}
