/* ---------- Pastille « FLR AGENCY » ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 9px 30px 8px 11px;
  border: 1px solid var(--text-muted);
  border-radius: 32px;
  background-color: rgba(0, 0, 0, 0.39);
  background-image: url('/assets/img/sport.png');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px 14px;
  font-size: 13px;
  line-height: 13px;
  letter-spacing: 12px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* ---------- Bloc de titre de section ---------- */
.heading { text-align: center; }
.heading--left { text-align: left; }
.heading__title {
  font-size: 51px;
  line-height: 1.2;
  color: var(--text);
  padding-bottom: 10px;
  margin: 0 0 2px;
}
.heading__sub {
  max-width: 600px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 25.5px;
  color: var(--text-muted);
}
.heading--left .heading__sub { margin-inline: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 25.5px;
  padding: 15px 32px 18px;
  border: 2px solid var(--bg);
  background: var(--text);
  color: var(--bg);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--text-strong); }
.btn--ghost {
  background: #1f1f1f;
  color: var(--text);
  border-color: #1f1f1f;
  text-transform: none;
  padding: 11px 38px 13px 24px;
  position: relative;
}
.btn--ghost::after {
  content: '›';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-55%);
  font-size: 18px;
}
.btn--ghost:hover { background: #2a2a2a; color: var(--text-strong); }

/* ---------- Cartes ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 38px;
}
.cards:last-child { margin-bottom: 0; }
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 40px;
}
.card__icon { width: 38px; height: 38px; margin-bottom: 13px; }
.card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 19.2px;
  color: var(--text);
  padding-bottom: 10px;
}
.card__text { font-size: 15px; line-height: 23.8px; color: var(--text-muted); }

/* ---------- Section image + texte ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.split__body { max-width: 500px; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 550px; max-width: 100%; height: auto; margin-inline: auto; border-radius: 12px; }
.split--reverse .split__media img { margin-inline: 49px auto; }
.split__title { font-size: 46px; line-height: 57.5px; padding-bottom: 10px; }
.split__text { font-size: 15px; line-height: 23.8px; color: var(--text-muted); }
.split__text p { margin-bottom: 49px; }
.split__text strong { color: var(--text); font-weight: 600; }
.split__actions { margin-top: 63px; }
.split__blurbs { display: grid; grid-template-columns: 275px 275px; max-width: 568px; gap: 18px; margin-top: 59px; }
.blurb__icon { width: 46px; height: 46px; margin-bottom: 15px; }
.blurb__title { font-size: 16px; font-weight: 700; line-height: 19.2px; padding-bottom: 6px; }
.blurb__text { font-size: 13px; color: var(--text-muted); }

/* ---------- Bandeau logos ---------- */
.marquee {
  overflow: hidden;
  --marquee-gap: 25px;
}
.marquee__track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__item {
  flex: 0 0 auto;
  width: 190px;
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.marquee__item img { width: 120px; height: 60px; object-fit: contain; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--marquee-gap) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Process (timeline) ---------- */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: #3a3a3a;
  transform: translateX(-0.5px);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  margin-bottom: 66px;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__card {
  position: relative;
  background: #d9d9d9;
  color: var(--text-dark);
  border-radius: var(--radius-card);
  padding: 26px 32px 30px;
}
.timeline__card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0; height: 0;
  border: 12px solid transparent;
  transform: translateY(-50%);
}
.timeline__item--left .timeline__card { grid-column: 1; }
.timeline__item--left .timeline__card::after { right: -23px; border-left-color: #d9d9d9; }
.timeline__item--right .timeline__card { grid-column: 3; }
.timeline__item--right .timeline__card::after { left: -23px; border-right-color: #d9d9d9; }
.timeline__title { font-size: 25px; line-height: 25px; color: var(--text-dark); padding-bottom: 10px; }
.timeline__text { font-size: 15px; line-height: 23.8px; color: #4a4a4a; }
.timeline__marker {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bg);
  z-index: 1;
}
.timeline__marker svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.timeline__ribbon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 14px;
  white-space: nowrap;
}
.timeline__item--left .timeline__ribbon { left: calc(50% + 40px); }
.timeline__item--right .timeline__ribbon { right: calc(50% + 40px); }

/* ---------- Prestations ---------- */
.offers { display: grid; grid-template-columns: 788fr 376fr; gap: 36px; margin-bottom: 63px; }
.offers:last-child { margin-bottom: 0; }
.offer {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 41px;
  display: block;
}
.offer__media { margin-bottom: 31px; }
.offer__media img { width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: 18px; }
.offer__title { font-size: 20px; line-height: 1.3; padding: 0 0 10px; }
.offer__text { font-size: 15px; line-height: 23.8px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid #2e2e2e;
  background: url('/assets/img/Beige-1.webp') no-repeat center center;
  background-size: 28%;
}
.faq__item { border-bottom: 1px solid #2e2e2e; }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: 0;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.faq__chevron { width: 14px; height: 9px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.2s ease; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 0 22px; font-size: 15px; line-height: 23.8px; color: var(--text-muted); }
.faq__answer strong { color: var(--text); }

/* ---------- Bandeau contact ---------- */
.contact-band { padding: 90px 0 0; }
.contact-band .badge {
  background-color: #d3d3d3;
  border-color: #d9d9d9;
  color: #010101;
}
.contact-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: start; }
.contact-band__title { font-size: 30px; line-height: 39px; font-weight: 600; color: #d9d9d9; padding-bottom: 36px; }
.contact-band__phone { font-size: 23px; line-height: 40.25px; color: #d9d9d9; margin-bottom: 16px; }
.contact-band__hours { font-size: 21px; line-height: 36.75px; color: #d9d9d9; border-bottom: 1px solid #666; padding-bottom: 4px; display: inline-block; }
.contact-band__right { justify-self: center; text-align: center; }
.contact-band__social { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.contact-band__social .social {
  width: 40px; height: 40px;
  background: #ffffff;
  color: #0f0f0f;
  border-radius: 3px;
}
.contact-band__social .social svg { width: 20px; height: 20px; }
.contact-band__recruit { font-family: var(--font-display); font-size: 22px; line-height: 26.4px; color: #d9d9d9; }
.contact-band__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding: 60px 0 40px;
}
.contact-band__links a { font-family: var(--font-display); font-size: 22px; line-height: 26.4px; font-weight: 700; color: #d9d9d9; }

@media (max-width: 980px) {
  .heading__title { font-size: 28px; line-height: 33.6px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 2; }
  .split__title { font-size: 24px; line-height: 30px; }
  .split__body { max-width: none; }
  .split__blurbs { grid-template-columns: 1fr; max-width: none; gap: 30px; }
  .split--reverse .split__media img { margin-inline: auto; }
  .cards { grid-template-columns: 1fr; gap: 31px; margin-bottom: 31px; }
  .card { padding: 40px; }
  .offers { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before { left: 20px; }
  .timeline__item { grid-template-columns: 40px 1fr; gap: 16px; }
  .timeline__item--left .timeline__card,
  .timeline__item--right .timeline__card { grid-column: 2; }
  .timeline__card::after { display: none; }
  .timeline__marker { grid-column: 1; grid-row: 1; }
  .timeline__ribbon { display: none; }
  .marquee { --marquee-gap: 12px; }
  .marquee__item { width: 100px; height: 68px; }
  .marquee__item img { width: 80px; height: 40px; }
  .contact-band__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .contact-band__title { max-width: none; }
  .contact-band__right { justify-self: stretch; }
  .contact-band__links { grid-template-columns: 1fr; gap: 20px; }
}

.btn--small {
  padding: 10px 26px 12px;
  font-size: 14px;
  text-transform: none;
}

/* ---------- En-tête de page (sous-pages) ---------- */
.page-hero {
  padding: 146px 0 106px;
  background: var(--bg) url('/assets/img/saas-landing-44-ret-132e.png') no-repeat center center;
  background-size: cover;
}
.page-hero__inner { width: 840px; max-width: calc(100% - 2 * var(--gutter)); margin-inline: auto; text-align: center; }
.page-hero .badge {
  letter-spacing: normal;
  font-size: 15px;
  line-height: 19.5px;
  height: auto;
  color: #d9d9d9;
  margin-bottom: 43px;
}
.page-hero__title {
  font-size: 60px;
  line-height: 84px;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 10px;
  margin-bottom: 34px;
}
.page-hero__sub { font-size: 20px; line-height: 30px; color: var(--text-muted); }
.page-hero__title--lg { font-size: 70px; line-height: 70px; }
.page-hero__title--md { font-size: 60px; line-height: 60px; }
.page-hero__title--xl { font-size: 176px; line-height: 176px; font-weight: 500; }
.page-hero--wide .page-hero__inner { width: 925px; }

/* ---------- Trois entrées de contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 71.5px;
}
.contact-cards__item { display: flex; flex-direction: column; align-items: flex-start; }
.contact-cards__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.contact-cards__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: #d9d9d9;
  margin-top: 36px;
  padding: 0 0 10px;
}
.btn--plain { text-transform: none; }
.contact-cards__item .btn { align-self: center; }

@media (max-width: 980px) {
  .page-hero { padding: 90px 0 40px; }
  .page-hero__title,
  .page-hero__title--lg,
  .page-hero__title--md { font-size: 25px; line-height: 35px; }
  .page-hero__title--xl { font-size: 59px; line-height: 59px; }
  .page-hero--wide .page-hero__inner { width: auto; }
  .page-hero__sub { font-size: 18px; line-height: 27px; }
  .contact-cards { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Boutons secondaires ---------- */
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
  text-transform: none;
}
.btn--outline:hover { background: var(--text); color: var(--bg); }

.page-hero__actions { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 76px; }

/* ---------- Section « image + contenu » ---------- */
.feature { display: grid; grid-template-columns: 600px 600px; align-items: start; }
.feature__media { text-align: right; }
.feature__media img { width: 550px; max-width: 100%; height: auto; border-radius: 24px; margin-left: auto; }
.feature__body { padding: 30px 0 0 45px; }
.feature__body .badge { margin-bottom: 32px; }
.feature__title {
  font-size: 46px;
  line-height: 57.5px;
  font-weight: 700;
  color: var(--text-strong);
  max-width: 500px;
  padding-bottom: 10px;
  margin-bottom: 5px;
}
.feature__text { max-width: 530px; font-size: 17px; line-height: 25.5px; color: var(--text-muted); }
.feature__text p { margin-bottom: 0; padding-bottom: 17px; }
.feature__text strong { color: var(--text); font-weight: 600; }
.feature__actions { margin-top: 31px; }
.feature--offset .feature__body { padding-top: 0; }
.feature--offset .feature__media img { margin-top: 46px; }
.feature--media-right .feature__media { text-align: right; }
.feature--media-right .feature__body { padding: 0 45px 0 0; }
.feature--media-right .feature__media img { margin-top: 46px; }
.feature--reverse .feature__media { order: 2; text-align: left; }
.feature--reverse .feature__media img { margin-left: 0; margin-right: auto; }
.feature--reverse .feature__body { padding-left: 0; padding-right: 45px; }

@media (max-width: 980px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature__media { text-align: center; }
  .feature__media img, .feature--reverse .feature__media img { margin-inline: auto; }
  .feature--reverse .feature__media { order: 0; }
  .feature--media-right .feature__media { order: -1; }
  .feature__body, .feature--reverse .feature__body { padding: 0; }
  .feature__title { font-size: 24px; line-height: 30px; }
  .feature__text { font-size: 15px; line-height: 23.8px; }
  .page-hero__actions { gap: 14px; }
}

/* ---------- Galerie de réalisations ---------- */
.gallery-title {
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 55px;
  font-weight: 600;
  color: var(--text-strong);
  text-align: center;
  margin-bottom: 66px;
}
.gallery {
  display: flex;
  align-items: center;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: calc((100% - 476px) / 2);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 auto;
  width: 430px;
  scroll-snap-align: center;
}
.gallery__item img {
  width: 100%;
  height: 574px;
  object-fit: cover;
  border-radius: 10px;
}
.gallery__item--active { width: 476px; }
.gallery__item--active img { height: 634px; }

@media (max-width: 980px) {
  .gallery-title { font-size: 30px; line-height: 36px; margin-bottom: 36px; }
  .gallery { gap: 16px; padding-inline: calc((100% - 280px) / 2); }
  .gallery__item { width: 240px; }
  .gallery__item img { height: 320px; }
  .gallery__item--active { width: 280px; }
  .gallery__item--active img { height: 372px; }
}

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 40px; }
.stat { border-top: 1px solid #3a3a3a; padding-top: 40px; text-align: center; }
.stat__number {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-size: 64px;
  line-height: 1;
  margin-bottom: 24px;
}
.stat__number sup { font-family: var(--font-body); font-size: 0.62em; vertical-align: baseline; }
.stat__caption { font-size: 15px; line-height: 23.8px; color: var(--text-muted); max-width: 420px; margin-inline: auto; }
.stat__caption strong { color: var(--text); }

/* ---------- Cartes « types d'interventions » ---------- */
.flipcards { display: grid; grid-template-columns: repeat(3, 256px); gap: 36px; justify-content: center; }
.flipcard {
  position: relative;
  height: 285px;
  border-radius: 16px;
  background: #d9d9d9;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  text-align: center;
  overflow: hidden;
}
.flipcard__icon { width: 34px; height: 34px; fill: currentColor; }
.flipcard__title { font-family: var(--font-display); font-size: 20px; line-height: 26px; color: var(--text-dark); font-weight: 400; }
.flipcard__back {
  position: absolute;
  inset: 0;
  background: #1f1f1f;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  font-size: 15px;
  line-height: 23.8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.flipcard:hover .flipcard__back, .flipcard:focus-within .flipcard__back { opacity: 1; }

/* ---------- Carrousel d'activités ---------- */
.activities {
  display: flex;
  gap: 90px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: calc((100% - 384px) / 2);
}
.activities::-webkit-scrollbar { display: none; }
.activity {
  flex: 0 0 auto;
  width: 384px;
  scroll-snap-align: center;
  background: #111111;
  border-radius: 18px;
  padding: 16px 16px 30px;
}
.activity img { width: 100%; height: 422px; object-fit: cover; border-radius: 12px; }
.activity__label {
  display: block;
  margin-top: 26px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- Section application ---------- */
.app-shot { text-align: center; margin-top: 64px; }
.app-shot img { width: 234px; height: auto; margin-inline: auto; }
.app-badges { text-align: center; margin-top: 40px; }
.app-badges img { width: 390px; height: auto; margin-inline: auto; }
.app-stores { display: flex; justify-content: center; gap: 40px; margin-top: 39px; flex-wrap: wrap; }

/* ---------- Bloc bien-être (fond clair) ---------- */
.section--wellbeing { background: #353535; }

@media (max-width: 980px) {
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stat__number { font-size: 48px; }
  .flipcards { grid-template-columns: 1fr; gap: 20px; }
  .activities { gap: 20px; padding-inline: calc((100% - 300px) / 2); }
  .activity { width: 300px; }
  .activity img { height: 340px; }
  .app-stores { gap: 16px; }
}
