/* French home: localized app captures in a centered V, with one complete phone shell. */
html[lang="fr"] .real-previews.fr-home-v figure {
  top: 50%;
  width: 46%;
  max-width: 250px;
  padding: 11px 6px 10px;
  border: 1px solid #87919a;
  border-radius: 31px;
  background:
    linear-gradient(#0d1116,#0d1116) 50% 5px / 19px 2px no-repeat,
    radial-gradient(circle at calc(50% + 15px) 6px,#141a20 0 2px,transparent 2.7px),
    linear-gradient(120deg,#c4cbd0 0%,#737d86 4%,#343d45 9%,#171d23 50%,#343d45 91%,#737d86 96%,#c4cbd0 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.14);
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  overflow: visible;
}
html[lang="fr"] .real-previews.fr-home-v figure:first-child {
  left: 5.25%;
  z-index: 1;
  transform: translateY(-50%) rotate(7deg);
}
html[lang="fr"] .real-previews.fr-home-v figure:last-child {
  right: 5.25%;
  z-index: 2;
  transform: translateY(-50%) rotate(-7deg);
}
html[lang="fr"] .real-previews.fr-home-v figure::before,
html[lang="fr"] .bunt-screen::before,
html[lang="fr"] .bunt-real-grid .bunt-real-frame::before,
html[lang="fr"] .bunt-reading-grid .bunt-real-frame::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: -4px;
  top: 25%;
  width: 3px;
  height: 29px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg,#c5cbd0,#58616a);
  box-shadow: 0 40px 0 -1px #a1a9af;
}
html[lang="fr"] .real-previews.fr-home-v figure::after,
html[lang="fr"] .bunt-screen::after,
html[lang="fr"] .bunt-real-grid .bunt-real-frame::after,
html[lang="fr"] .bunt-reading-grid .bunt-real-frame::after {
  content: "";
  position: absolute;
  z-index: 4;
  right: -4px;
  top: 31%;
  width: 3px;
  height: 50px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg,#58616a,#c5cbd0);
}

/* French BUNt screens are bare localized captures; these wrappers add one shell. */
html[lang="fr"] .bunt-screen,
html[lang="fr"] .bunt-real-grid .bunt-real-frame,
html[lang="fr"] .bunt-reading-grid .bunt-real-frame {
  box-sizing: border-box;
  padding: 11px 6px 10px;
  border: 1px solid #87919a;
  border-radius: 31px;
  background:
    linear-gradient(#0d1116,#0d1116) 50% 5px / 19px 2px no-repeat,
    radial-gradient(circle at calc(50% + 15px) 6px,#141a20 0 2px,transparent 2.7px),
    linear-gradient(120deg,#c4cbd0 0%,#737d86 4%,#343d45 9%,#171d23 50%,#343d45 91%,#737d86 96%,#c4cbd0 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.14);
  overflow: visible;
}
html[lang="fr"] .real-previews.fr-home-v img,
html[lang="fr"] .bunt-screen img,
html[lang="fr"] .bunt-real-grid img,
html[lang="fr"] .bunt-reading-grid img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 22px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
html[lang="fr"] .bunt-reading-grid {
  width: min(100%,700px);
  gap: 28px;
}
/* These two source images already contain the complete handset frame. Do not
   draw a second CSS phone around them; render each full image as one device. */
html[lang="fr"] .bunt-reading-grid .bunt-real-frame {
  position: relative;
  width: min(100%,330px);
  max-width: 330px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
html[lang="fr"] .bunt-reading-grid .bunt-real-frame::before,
html[lang="fr"] .bunt-reading-grid .bunt-real-frame::after {
  content: none;
}
html[lang="fr"] .bunt-reading-grid .bunt-real-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
html[lang="fr"] .bunt-real-grid .bunt-real-frame {
  width: min(100%,330px);
  max-width: 330px;
}
html[lang="fr"] .bunt-reading-grid figcaption strong,
html[lang="fr"] .bunt-reading-grid figcaption span { display: block; }
html[lang="fr"] .bunt-reading-grid figcaption strong { margin-bottom: 8px; }
@media (max-width: 650px) {
  html[lang="fr"] .real-previews.fr-home-v {
    width: min(100%,420px);
    height: clamp(365px,95vw,465px);
    margin: 24px auto 0;
  }
  html[lang="fr"] .real-previews.fr-home-v figure {
    width: 46%;
    max-width: 210px;
    padding: 9px 5px 8px;
  }
  html[lang="fr"] .real-previews.fr-home-v figure:first-child { left: 4.5%; }
  html[lang="fr"] .real-previews.fr-home-v figure:last-child { right: 4.5%; }
  html[lang="fr"] .bunt-reading-grid .bunt-real-frame {
    width: min(100%,300px);
    max-width: 300px;
  }
  html[lang="fr"] .bunt-real-grid .bunt-real-frame {
    width: min(100%,300px);
    max-width: 300px;
  }
}


/* French home projects: four cards, followed by three wider cards. */
html[lang="fr"] .project-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
html[lang="fr"] .project-card:nth-child(-n+4) { grid-column: span 3; }
html[lang="fr"] .project-card:nth-child(n+5) { grid-column: span 4; }
html[lang="fr"] .principle-number { font-family: inherit; font-style: normal; }
@media (max-width: 860px) {
  html[lang="fr"] .project-grid { grid-template-columns: 1fr; }
  html[lang="fr"] .project-card:nth-child(n) { grid-column: 1 / -1; }
}
