/* ------------------------------------------------------------------
   HexaFlow — pages offre (/pme, /ia, /integration)
   Reprise à l'identique du Framer. Cotes relevées sur
   www.hexaflow.fr/pme au 19/09/2026, viewport 1440 × 900.
   Les trois pages partagent ce gabarit : seuls les textes et trois
   visuels changent.
   ------------------------------------------------------------------ */

:root { --gris-etape: #828487; --gris-num: #a1a1a1; --gris-role: #62646c; }

/* La colonne de texte commence à x = 300 sur la toile de 1440. */
.colonne { margin-left: calc(50% - 420px); }

.titre-serif {
  font-family: var(--titre);
  font-weight: 400;
  font-size: 37px;
  line-height: 37px;
  letter-spacing: -1.48px;
}
.sous-titre {
  margin-top: 21px;
  font-family: var(--corps);
  font-size: 20px;
  font-weight: 300;
  line-height: 22px;
}

/* Le titre du héros des pages offre tient dans 511px et se replie seul. */
.heros--offre .heros__titre { width: 511px; }
.heros--offre .heros__texte { width: 473px; max-width: none; }

/* --------------------------- Logos clients ------------------------ */

.logos { background: #fff; padding: 92px 0 19px; }
.logos__titre {
  width: 513px;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  font-family: var(--corps);
  font-size: 17px;
  font-weight: 300;
  line-height: 22.1px;
  color: #000;
}
/* 610px de large : les quatre premiers logos tiennent sur une ligne,
   les trois suivants passent à la seconde. */
.logos__grille {
  width: 610px;
  max-width: 100%;
  margin: 34px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.logos__case {
  padding: 14px;
  border-radius: 5px;
  display: flex;
  align-items: center;
}
.logos__case img { height: 57px; width: auto; }

/* ----------------------- On se déplace / photos ------------------- */

.deplacement { background: #fff; padding: 103px 0 96px; }
.deplacement .titre-serif { width: 511px; color: #000; }
.deplacement .sous-titre { width: 473px; color: #000; }
.deplacement__photos { display: flex; gap: 30px; margin-top: 49px; }
/* Cadrage relevé sur le site : les trois photos sont calées à gauche. */
.deplacement__photos img {
  width: 260px;
  height: 400px;
  object-fit: cover;
  object-position: 0% 50%;
  border-radius: 10px;
}

/* ---------------------------- Le produit -------------------------- */

.produit { background: #fff; padding: 41px 0 115px; }
.produit .titre-serif { width: 511px; color: #000; }
.produit .sous-titre { width: 400px; color: #000; }
.produit__vue {
  margin-left: calc(50% - 425px);
  margin-top: 51px;
  width: 850px;
  border-radius: 10px;
  overflow: hidden;
}
.produit__vue img { width: 850px; height: auto; border-radius: 10px; }

/* ------------------------- Bandeau photo -------------------------- */

.bandeau { position: relative; padding: 119px 0 126px; overflow: hidden; }
.bandeau__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Voile noir posé sur la photo, transparent en haut, opaque en bas.
   Relevé sur le site : linear-gradient(rgba(0,0,0,0) 0%, #000 100%). */
.bandeau::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, #000 100%);
}
.bandeau__contenu { position: relative; z-index: 1; margin-left: calc(50% - 425px); width: 511px; }
.bandeau__titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -1.12px;
  color: #fff;
}
.bandeau .heros__action { margin-top: 29px; }

/* ----------------------------- Étapes ----------------------------- */

.etapes-o { background: var(--noir); padding: 82px 0 106px; }
/* Grille, pas flex : la dernière rangée reste calée à gauche quand elle
   n'est pas pleine. Colonnes relevées à 295 / 588 / 882. */
.etapes-o__grille {
  width: 850px;
  max-width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 263px);
  justify-content: space-between;
  row-gap: 50px;
}
.etape-o { width: 263px; }
.etape-o__num {
  font-family: var(--corps);
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.48px;
  color: var(--gris-num);
}
.etape-o__vue {
  margin-top: 12px;
  width: 263px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
}
.etape-o__vue img { width: 263px; height: 90px; object-fit: cover; border-radius: 8px; }
/* Points de cadrage relevés image par image sur le site. */
.etape-o__vue img[src$="etape-1.webp"] { object-position: 47.1% 57.2%; }
.etape-o__vue img[src$="etape-2.webp"] { object-position: 45.2% 62.1%; }
.etape-o__vue img[src$="etape-5.webp"] { object-position: 49.8% 23.8%; }
.etape-o__vue img[src$="etape-6.webp"] { object-position: 47% 10.4%; }
.etape-o__nom {
  margin-top: 28px;
  font-family: var(--corps);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.72px;
  color: #fff;
}
.etape-o__texte {
  margin-top: 10px;
  width: 236px;
  font-family: var(--corps);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.42px;
  color: var(--gris-etape);
}

/* -------------------------- Témoignages --------------------------- */

.temoins-o { background: var(--noir); padding: 29px 0 27px; }
.temoins-o__tete { text-align: center; }
.temoins-o__tete .titre-serif { width: 511px; max-width: 100%; margin-inline: auto; color: #fff; }
.temoins-o__tete .sous-titre {
  width: 322px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .61);
}

/* Bandeau défilant : 50 px/s vers la gauche, mesuré sur le site.
   Pas de 407px par carte, six cartes, soit 2442px par tour. */
.piste { margin-top: 58px; height: 295px; overflow: hidden; }
.piste__rail {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  width: max-content;
  animation: defile 48.84s linear infinite;
}
@keyframes defile {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2442px, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .piste__rail { animation: none; }
}

.temoin-o {
  position: relative;
  flex: 0 0 387px;
  height: 262px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.temoin-o__fond {
  position: absolute;
  top: 0;
  left: 0;
  width: 387px;
  height: 295px;
  z-index: 0;
}
.temoin-o__mot, .temoin-o__qui { position: relative; z-index: 1; }
/* C'est un blockquote : sans cette remise a zero, le navigateur lui pose
   40px de retrait a gauche et une marge en haut, et toute la carte se
   desaligne. */
.temoin-o__mot {
  margin: 0;
  font-family: var(--corps);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  color: #fff;
}
.temoin-o__qui { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 20px; }
/* Filet au-dessus de l'auteur : le Framer le pose en ::after, 1px #1d1d20,
   20px au-dessus de l'avatar. Relevé sur /mbmo, en 1440 comme en 390. */
.temoin-o__qui::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #1d1d20;
}
/* Nom et rôle : 24 + 17,6, rien de plus. Sans le 0, l'interligne du corps
   ajoute une ligne fantôme et l'auteur descend de 13px. */
.temoin-o__qui > span { line-height: 0; }
.temoin-o__qui img { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.temoin-o__nom {
  font-family: var(--titre);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #fff;
}
.piste__tout { display: none; }

.temoin-o__role {
  font-family: var(--corps);
  font-size: 16px;
  font-weight: 500;
  line-height: 17.6px;
  color: var(--gris-role);
}

/* ---------------------------- L'échange --------------------------- */

.echange { background: var(--noir); padding: 93px 0 27px; text-align: center; }
.echange .titre-serif { width: 511px; max-width: 100%; margin-inline: auto; color: #fff; }
.echange .sous-titre {
  width: 360px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .61);
}
.echange__agenda {
  display: block;
  margin: 56px auto 0;
  width: 1350px;
  max-width: 100%;
  height: 660px;
  border: 0;
  border-radius: 10px;
}

/* --------------------------- Adaptatif ---------------------------- */

@media (max-width: 1200px) {
  .colonne { margin-left: 8vw; }
  .produit__vue, .bandeau__contenu { margin-left: 8vw; }
  .produit__vue { width: min(850px, 84vw); }
  .produit__vue img { width: 100%; }
  .deplacement__photos { flex-wrap: wrap; }
}

@media (max-width: 1024px) {
  .etapes-o__grille { width: 100%; padding-inline: 32px; grid-template-columns: repeat(2, 1fr); justify-content: stretch; gap: 40px 30px; }
  .etape-o, .etape-o__vue, .etape-o__vue img, .etape-o__texte { width: 100%; }
}

@media (max-width: 810px) {
  /* Cotes relevees sur /pme en 390 : le heros garde sa colonne a 51,
     les sections passent a 33 ou 20 de marge selon le bloc. */
  .colonne { margin-inline: 33px; }
  /* En 390, le sous-titre descend de 41px sous le titre, pas de 21. */
  .sous-titre { margin-top: 41px; }

  .heros--offre .heros__titre { width: auto; max-width: 289px; }
  .heros--offre .heros__texte { width: auto; max-width: 231px; }
  .bandeau .heros__action, .heros--offre .heros__action { margin-top: 38px; }

  .logos { padding: 54px 0 18px; }
  .logos__titre { width: 289px; }
  .logos__grille { width: 324px; margin-top: 57px; }
  .logos__case img { height: 48px; }

  .deplacement { padding: 90px 0 18px; }
  .deplacement .titre-serif { width: auto; max-width: 324px; }
  .deplacement .sous-titre { width: auto; max-width: 259px; }
  .deplacement__photos { gap: 12px; margin-top: 49px; }
  /* min-width:0 sinon la largeur intrinseque de l'image empeche le
     retrecissement et les trois photos passent a la ligne. */
  .deplacement__photos img { flex: 1 1 0; min-width: 0; width: auto; height: 300px; }

  .produit { padding: 90px 0 51px; }
  .produit .titre-serif { width: auto; max-width: 324px; }
  .produit .sous-titre { width: auto; max-width: 259px; }
  .produit__vue { margin: 51px 20px 0; width: auto; }
  .produit__vue img { width: 100%; height: auto; }

  .bandeau { padding: 191px 0 86px; }
  .bandeau__contenu { margin-inline: 33px; width: auto; max-width: 324px; }

  .etapes-o { padding: 90px 0 38px; }
  .etapes-o__grille { padding-inline: 20px; grid-template-columns: 1fr; row-gap: 50px; }
  .etape-o, .etape-o__vue, .etape-o__vue img { width: 100%; }
  .etape-o__texte { width: 236px; }

  /* Le bandeau defilant devient une pile de quatre cartes pleine largeur. */
  .temoins-o { padding: 90px 0 18px; }
  .temoins-o__tete .titre-serif { width: auto; max-width: 351px; }
  .temoins-o__tete .sous-titre { width: auto; max-width: 281px; padding-inline: 20px; }
  .piste { height: auto; overflow: visible; margin-top: 58px; }
  .piste__rail { animation: none; flex-direction: column; gap: 15px; width: auto; padding: 0; }
  /* Relevé sur /mbmo en 390 : la carte suit son texte. 30 en haut, 44
     entre la citation et l'auteur, 60 sous l'avatar, 15 entre deux
     cartes. Le fond, lui, reste à 390 × 292 quelle que soit la carte. */
  .temoin-o { flex: none; width: auto; height: auto; padding: 30px 30px 60px; justify-content: flex-start; }
  .temoin-o__qui { margin-top: 24px; }   /* + 20 de retrait au-dessus du filet : 44 */
  .temoin-o__fond { width: 100%; height: 292px; }
  /* En 390, le site n'en montre que quatre, et pas dans l'ordre du
     grand ecran : Denys, Nicolas, Jerome, Laurent. */
  .piste__rail > .temoin-o { display: none; }
  .piste__rail > .temoin-o:nth-child(1) { display: flex; order: 1; }
  .piste__rail > .temoin-o:nth-child(5) { display: flex; order: 2; }
  .piste__rail > .temoin-o:nth-child(6) { display: flex; order: 3; }
  .piste__rail > .temoin-o:nth-child(2) { display: flex; order: 4; }
  /* Pastille relevée sur /pme et /mbmo en 390 : 146 × 59, fond #0e0e10,
     Instrument Sans 600, texte gris. */
  .piste__tout {
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 15px auto 0;      /* l'écart de la pile, pas une marge à part */
    padding: 16px 24px;
    border-radius: 12px;
    background: #0e0e10;
    font-family: 'Instrument Sans', var(--corps);
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    color: #aeb0b6;
  }
  .piste__tout img { width: 20px; height: 21px; }

  .echange { padding: 90px 24px 18px; }
  .echange .titre-serif { width: auto; max-width: 308px; }
  .echange .sous-titre { width: auto; max-width: 246px; }
  .echange__agenda { height: 1249px; }   /* cote relevee en 390 */
}
