:root {
  --bg: #ffffff;
  --bg2: #f6f7f4;
  --white: #0a0a0a;
  --green: #c8ff00;
  --green-ink: #0A0A0A;
  --grey: #5f635b;
  --border: rgba(10, 10, 10, 0.09);
  --display: "Plus Jakarta Sans", sans-serif;
  --body: "Plus Jakarta Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-weight: 400;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition:
    background 0.4s,
    padding 0.3s;
}

nav.scrolled {
  background: rgba(255,255,255, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 50px;
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
  transition:
    filter 0.3s,
    transform 0.3s;
  display: block;
}

.nav-logo:hover img {
  filter: brightness(0) invert(1);
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  color: rgba(10,10,10, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--green-ink);
}

/* CTA WhatsApp dans la barre de nav : compact, avec icône */
.nav-wa {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 20px !important;
  font-size: 12.5px !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap;
}
.nav-wa::before {
  content: "";
  width: 15px; height: 15px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 018.413 3.488 11.824 11.824 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.738-.981z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 018.413 3.488 11.824 11.824 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.738-.981z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.btn-client {
  border: 1px solid rgba(10,10,10, 0.3) !important;
  padding: 8px 22px !important;
  border-radius: 2px;
  transition: all 0.3s !important;
}

.btn-client:hover {
  background: var(--green) !important;
  color: var(--bg) !important;
  border-color: var(--green) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.yt-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.yt-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255, 0.55) 0%,
    rgba(255,255,255, 0.25) 40%,
    rgba(255,255,255, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-ink);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-logo {
  height: clamp(110px, 16vw, 200px);
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 28px;
}

.hero-services {
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 400;
  color: var(--green-ink);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 44px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(10,10,10, 0.45);
  white-space: nowrap;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: pulse 2s infinite;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--green);
  color: var(--bg);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #d4ff1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 255, 0, 0.3);
}

.btn-outline {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(10,10,10, 0.35);
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-ink);
  transform: translateY(-2px);
}

/* SERVICES : voir le bloc « Savoir-faire + Expertise » plus bas (tlv61) */

.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-ink);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-header {
  padding: 0 50px;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 90px);
  line-height: 0.95;
  color: var(--white);
}

.section-intro {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
  color: var(--grey);
  font-weight: 300;
}

.social-banner {
  padding: 100px 50px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.social-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.social-banner-title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 24px;
}

.social-banner-text {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.7;
  font-weight: 300;
  max-width: 400px;
}

.social-banner-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--green);
  transition: height 0.4s;
}

.social-card:hover {
  border-color: rgba(200, 255, 0, 0.25);
  background: #161616;
  transform: translateX(6px);
}

.social-card:hover::before {
  height: 100%;
}

.social-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.social-card-ig .social-card-icon {
  background: linear-gradient(
    135deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
}

.social-card-yt .social-card-icon {
  background: #ff0000;
  color: white;
}

.social-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.social-card-handle {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
}

.social-card-platform {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.social-card-arrow {
  font-size: 22px;
  color: var(--grey);
  transition: all 0.3s;
  flex-shrink: 0;
}

.social-card:hover .social-card-arrow {
  color: var(--green-ink);
  transform: translateX(4px);
}

.expertise {
  padding: 120px 50px;
  background: var(--bg2);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 1850px;
  margin: 0 auto;
}

.expertise-card {
  background-color: var(--bg2);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background-color 0.3s;
}

/* dark overlay by default */
.expertise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  transition: opacity 0.45s ease;
  z-index: 0;
}

/* reveal on hover */
.expertise-card:hover::after {
  opacity: 0;
}

/* keep content above the overlay */
.expertise-card > * {
  position: relative;
  z-index: 1;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--green);
  transition: height 0.4s;
  z-index: 2;
}

.expertise-card:hover::before {
  height: 100%;
}

.expertise-num {
  font-family: var(--display);
  font-size: 72px;
  line-height: 1;
  color: var(--green-ink);
  opacity: 0.15;
  margin-bottom: 24px;
}

.expertise-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 2.1vw, 40px);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.expertise-card p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.8;
}

/* ===== À PROPOS ===== */
.apropos {
  padding: 120px 50px;
  background: var(--bg);
}

.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.apropos-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.95;
  white-space: nowrap;
}

.text-green {
  color: var(--green-ink);
}

.apropos-text {
  font-size: 17px;
  color: rgba(10,10,10, 0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}

.apropos-stats {
  display: flex;
  gap: 50px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.contact {
  padding: 120px 50px;
  background: var(--bg2);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.contact-title {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 100px);
  line-height: 0.95;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin-bottom: 10px;
}

.contact-item a,
.contact-item p {
  font-size: 16px;
  color: rgba(10,10,10, 0.6);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--green-ink);
}

.social-links {
  display: flex;
  gap: 24px;
}

footer {
  padding: 36px 50px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
}

.footer-logo {
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.25;
}

footer p {
  font-size: 12px;
  color: rgba(10,10,10, 0.2);
  letter-spacing: 0.05em;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-legal a {
  color: rgba(10,10,10, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover {
  color: var(--green-ink);
}
@media (max-width: 640px) {
  .footer-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(0.6);
  }
}

.reveal {
  /* Textes figés : plus d'apparition au défilement (choix de Thomas, 19/09/2026).
     La classe est conservée pour ne pas toucher au HTML ; elle n'anime plus rien. */
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .apropos-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 14px 24px;
  }

  nav.scrolled {
    padding: 10px 24px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
  }

  .hamburger {
    display: flex;
  }

  .hero-logo {
    /* Logo réduit et regroupé avec la tagline + CTA dans le bloc bas :
       un seul pôle visuel, la vidéo reste la star (~65% de l'écran). */
    height: 96px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.55));
  }

  .hero-services {
    font-size: 12px;
    padding: 0 16px;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  /* Hero mobile : vidéo verticale multi-plans : contenu ancré en bas + scrim
     localisé pour rester lisible quel que soit le plan en cours de lecture. */
  .hero {
    justify-content: flex-end;
  }

  .hero-content {
    width: 100%;
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(
      to top,
      rgba(255,255,255, 0.92) 0%,
      rgba(255,255,255, 0.68) 45%,
      rgba(255,255,255, 0.15) 85%,
      rgba(255,255,255, 0) 100%
    );
    /* entrée douce du bloc au chargement (une fois) */
    animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }

  .hero-services {
    margin-bottom: 18px;
  }

  .hero-cta {
    gap: 12px;
  }

  .section-header {
    padding: 0 24px;
  }

  @keyframes heroRise {
    from {
      opacity: 0;
      transform: translateY(26px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .social-banner {
    padding: 60px 24px;
  }

  .social-banner-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .social-card {
    padding: 20px 24px;
  }

  .expertise {
    padding: 80px 24px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    padding: 40px 28px;
    min-height: 380px;
    max-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .apropos {
    padding: 80px 24px;
  }

  .apropos-stats {
    flex-wrap: wrap;
    gap: 30px;
  }

  .contact {
    padding: 80px 24px;
  }

  footer {
    padding: 28px 24px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
@media (hover: hover) { }

@keyframes tlvScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
}

@media (max-width: 768px) {
}

.partners-section {
  width: 100%;
  padding: 72px 0 64px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.partners-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 255, 0, 0.25),
    transparent
  );
}

.partners-fade-left,
.partners-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.partners-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.partners-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.partners-header {
  text-align: center;
  margin-bottom: 52px;
  padding: 0 24px;
}

.partners-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-ink);
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(200, 255, 0, 0.3);
}

.partners-title {
  font-size: 17px;
  font-weight: 300;
  color: var(--grey);
  letter-spacing: 0.5px;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  flex-shrink: 0;
  opacity: 0.4;
  transition:
    opacity 0.4s,
    filter 0.4s,
    transform 0.3s;
  filter: grayscale(100%) brightness(2);
  cursor: default;
}

.partner-item img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Souris uniquement : pause + couleur au survol.
   Tactile (iPhone, iPad) : pas de :hover collant qui fige le bandeau,
   logos toujours en couleur (les 4 logos à texte noir sont fournis en version fond sombre). */
@media (hover: hover) {
  .marquee:hover { animation-play-state: paused; }
  .partner-item:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
  }
}
@media (hover: none) {
  .partner-item { opacity: 1; filter: none; }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 52px 0 44px;
  }

  .partners-header {
    margin-bottom: 36px;
  }

  .partners-label {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .partners-title {
    font-size: 14px;
  }

  .partners-fade-left,
  .partners-fade-right {
    width: 60px;
  }

  .partner-item {
    height: 54px;
  }

  .marquee-group {
    gap: 48px;
    padding-right: 48px;
  }

  .marquee {
    animation-duration: 25s;
  }
}
/* Chiffres (section À propos) : 4 cartes, une animation par chiffre.
   Sans JS ou avec « réduire les animations », tout est affiché et immobile :
   les états de départ n'existent que sous .stats-anim (posée par le script). */
@property --stat-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.stats-banner { margin-top: 38px; }
.stats-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.stat-card {
  --doux: cubic-bezier(.16, 1, .3, 1);
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10,10,10, .08);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(10,10,10, .055), rgba(10,10,10, .012) 60%);
  transition: border-color .4s;
}
/* lueur qui suit le pointeur */
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 0, .11), transparent 70%);
  transition: opacity .4s;
}
/* trait néon qui fait le tour de la carte, une seule fois */
.stat-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  opacity: 0;
  pointer-events: none;
  background: conic-gradient(from var(--stat-a), transparent 0 60%, rgba(200, 255, 0, .25) 80%, var(--green) 94%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.stat-card.is-on::after { animation: stat-tour 2.2s .15s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes stat-tour {
  0% { --stat-a: 0deg; opacity: 0; }
  12%, 82% { opacity: 1; }
  100% { --stat-a: 360deg; opacity: 0; }
}
@media (hover: hover) {
  .stat-card:hover { border-color: rgba(200, 255, 0, .3); }
  .stat-card:hover::before { opacity: 1; }
}

.stat-vis {
  position: relative;
  flex: none;
  height: clamp(70px, 29cqw, 108px);
  overflow: hidden;
}
.stat-txt { padding: 16px 20px 20px; }
.stat-number { display: flex; align-items: flex-start; line-height: 1; margin-bottom: 10px; }
.stat-count, .stat-count-world {
  font-family: var(--display);
  font-size: clamp(50px, 25cqw, 92px);
  color: var(--green-ink);
  line-height: 1;
  letter-spacing: -.01em;
}
.stat-suffix {
  font-family: var(--display);
  font-size: clamp(20px, 9.5cqw, 36px);
  color: var(--green-ink);
  line-height: 1;
  margin: .2em 0 0 .22em;
}
.stat-desc {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(10,10,10, .6);
}

/* rouleaux : le chiffre garde sa place (transparent), la bande 0-9 glisse par-dessus */
.odo {
  position: relative;
  display: inline-block;
  color: transparent;
  clip-path: inset(0 -30% 0 -30%);
}
.odo::before {
  content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9\A 0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9";
  position: absolute;
  top: 0;
  left: 50%;
  white-space: pre;
  text-align: center;
  color: var(--green-ink);
  transform: translate(-50%, calc(-1em * (10 + var(--d))));
}
.lettre {
  display: inline-block;
}
.stat-count-world { display: inline-block; clip-path: inset(0 -5% 0 -5%); }

/* départ de l'animation */
.stats-anim .stat-card:not(.is-on) { opacity: 0; transform: translateY(24px) scale(.985); }
.stats-anim .stat-card:not(.is-on) .odo::before { transform: translate(-50%, 0); }
.stats-anim .stat-card:not(.is-on) .lettre { transform: translateY(105%); }
.stats-anim .stat-card:not(.is-on) .stat-suffix { opacity: 0; transform: translateX(-8px); }
.stats-anim .stat-card:not(.is-on) .stat-desc { opacity: 0; transform: translateY(8px); }

/* 16 ans : la pellicule, en noir et blanc, retrouve ses couleurs au passage du centre */
.film { background: #070708; }
.film-piste {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}
.film-piste img { display: block; width: auto; max-width: none; height: 100%; }
.film-nb {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 24%, transparent 42%, transparent 58%, #000 76%);
  mask-image: linear-gradient(90deg, #000 24%, transparent 42%, transparent 58%, #000 76%);
}
.film-nb img { filter: grayscale(1) brightness(.6) contrast(1.05); }
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 13, .92), transparent 18%, transparent 82%, rgba(13, 13, 13, .92));
}

/* 500+ : le mur de points */
.stat-led { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

/* CH · FR : la zone de travail, villes à leur vraie place */
.carte-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.carte-lac { fill: rgba(200, 255, 0, .08); }
.carte-frontiere { fill: none; stroke: rgba(10,10,10, .24); stroke-width: .8; stroke-dasharray: 2.5 3; }
.carte-lien {
  fill: none;
  stroke: rgba(200, 255, 0, .42);
  stroke-width: .8;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.carte-noeud {
  fill: #e6e6e6;
  transform-box: fill-box;
  transform-origin: center;
}
.carte-hub {
  fill: var(--green);
  transform-box: fill-box;
  transform-origin: center;
}
.carte-lbl {
  font-family: var(--body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .03em;
  fill: rgba(10,10,10, .62);
}
.carte-anneau {
  fill: none;
  stroke: var(--green);
  stroke-width: .9;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: carte-onde 3.2s ease-out infinite 1.4s paused;
}
@keyframes carte-onde {
  0% { transform: scale(.8); opacity: .85; }
  70%, 100% { transform: scale(3.6); opacity: 0; }
}
.carte-comete {
  fill: none;
  stroke: #0a0a0a;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: .05 1;
  stroke-dashoffset: 1.05;
  animation: carte-comete 6.8s cubic-bezier(.4, 0, .4, 1) infinite paused;
  animation-delay: calc(2.2s + var(--n) * 1.7s);
}
@keyframes carte-comete {
  0% { stroke-dashoffset: 1.05; }
  32%, 100% { stroke-dashoffset: 0; }
}
.stat-card.is-vis .carte-anneau, .stat-card.is-vis .carte-comete { animation-play-state: running; }
.stats-anim .stat-card:not(.is-on) .carte-lien { stroke-dashoffset: 1; }
.stats-anim .stat-card:not(.is-on) .carte-noeud,
.stats-anim .stat-card:not(.is-on) .carte-hub { transform: scale(0); }
.stats-anim .stat-card:not(.is-on) .carte-lbl { opacity: 0; }

/* 24 h : une timeline, comme au montage : la tête de lecture va de votre demande à ma réponse */
.tl { --x0: 9%; --x1: 91%; --trajet: 2.1s; }
.tl-regle {
  position: absolute;
  left: var(--x0);
  right: calc(100% - var(--x1));
  top: 50%;
  height: 16px;
  margin-top: -8px;
  color: rgba(10,10,10, .2);
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(100% / 4)) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(100% / 24)) 0 50% / 100% 50% no-repeat;
}
.tl-regle--on {
  color: rgba(200, 255, 0, .75);
  clip-path: inset(0 0 0 0);
}
.tl-ligne {
  position: absolute;
  left: var(--x0);
  right: calc(100% - var(--x1));
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(200, 255, 0, .55);
  transform-origin: left;
}
.tl-ligne::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 14%;
  height: 4px;
  border-radius: 4px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #0a0a0a, transparent);
  animation: tl-flux 5.5s cubic-bezier(.5, 0, .3, 1) infinite 3.2s paused;
}
@keyframes tl-flux {
  0% { left: 0; opacity: 0; }
  6% { opacity: 1; }
  40% { opacity: 1; }
  46%, 100% { left: 86%; opacity: 0; }
}
.tl-tete {
  position: absolute;
  top: calc(50% - 21px);
  left: var(--x1);
  width: 1.5px;
  height: 42px;
  margin-left: -.75px;
  background: #0a0a0a;
  opacity: 0;
}
.tl-tete::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -4px;
  border: 4.75px solid transparent;
  border-top: 6px solid #0a0a0a;
  border-bottom: 0;
}
.tl-pt {
  position: absolute;
  top: 50%;
  border-radius: 50%;
}
.tl-pt--a {
  left: var(--x0);
  width: 9px;
  height: 9px;
  margin: -4.5px;
  background: #e6e6e6;
}
.tl-pt--b {
  left: var(--x1);
  width: 20px;
  height: 20px;
  margin: -10px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(200, 255, 0, .5);
  animation: tl-halo 3s ease-out infinite 3.2s paused;
}
@keyframes tl-halo {
  0% { box-shadow: 0 0 0 0 rgba(200, 255, 0, .5); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(200, 255, 0, 0); }
}
.tl-pt--b svg { display: block; width: 100%; height: 100%; }
.tl-pt--b path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.stat-card.is-vis .tl-ligne::after, .stat-card.is-vis .tl-pt--b { animation-play-state: running; }
.tl-lbl {
  position: absolute;
  top: calc(50% + 15px);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
  color: rgba(10,10,10, .62);
}
.tl-lbl--a { left: var(--x0); }
.tl-lbl--b { right: calc(100% - var(--x1)); }
.stats-anim .stat-card:not(.is-on) .tl-regle--on { clip-path: inset(0 100% 0 0); }
.stats-anim .stat-card:not(.is-on) .tl-ligne { transform: scaleX(0); }
.stats-anim .stat-card:not(.is-on) .tl-tete { left: var(--x0); opacity: 1; }
.stats-anim .stat-card.is-on .tl-tete { animation: tl-tete var(--trajet) linear .3s both; }
@keyframes tl-tete { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
.stats-anim .stat-card:not(.is-on) .tl-pt--b { transform: scale(0); }
.stats-anim .stat-card:not(.is-on) .tl-pt--b path { stroke-dashoffset: 1; }
.stats-anim .stat-card:not(.is-on) .tl-lbl { opacity: 0; }

/* les transitions ne valent qu'à l'arrivée à l'écran : l'état de départ, lui, se pose sans délai */
.stats-anim .stat-card.is-on { transition: opacity .9s var(--doux) var(--retard, 0s), transform 1.1s var(--doux) var(--retard, 0s), border-color .4s; }
.stat-card.is-on .odo::before { transition: transform var(--dur) cubic-bezier(.2, .85, .2, 1) var(--del); }
.stat-card.is-on .lettre { transition: transform 1s var(--doux) var(--del); }
.stat-card.is-on .stat-suffix { transition: opacity .6s ease .9s, transform .8s var(--doux) .9s; }
.stat-card.is-on .stat-desc { transition: opacity .7s ease 1s, transform .9s var(--doux) 1s; }
.stat-card.is-on .carte-lien { transition: stroke-dashoffset 1s cubic-bezier(.5, 0, .2, 1) calc(.45s + var(--n) * .09s); }
.stat-card.is-on .carte-noeud { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(1.05s + var(--n) * .09s); }
.stat-card.is-on .carte-hub { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) .25s; }
.stat-card.is-on .carte-lbl { transition: opacity .7s ease 1.5s; }
.stat-card.is-on .tl-regle--on { transition: clip-path var(--trajet) cubic-bezier(.55, 0, .15, 1) .3s; }
.stat-card.is-on .tl-ligne { transition: transform var(--trajet) cubic-bezier(.55, 0, .15, 1) .3s; }
.stat-card.is-on .tl-tete { transition: left var(--trajet) cubic-bezier(.55, 0, .15, 1) .3s; }
.stat-card.is-on .tl-pt--b { transition: transform .55s cubic-bezier(.3, 1.7, .5, 1) calc(var(--trajet) + .25s); }
.stat-card.is-on .tl-pt--b path { transition: stroke-dashoffset .4s ease calc(var(--trajet) + .55s); }
.stat-card.is-on .tl-lbl--a { transition: opacity .6s ease .3s; }
.stat-card.is-on .tl-lbl--b { transition: opacity .6s ease calc(var(--trajet) + .4s); }

@container (max-width: 250px) {
  .carte-lbl, .tl-lbl { display: none; }
  .stat-txt { padding: 12px 14px 15px; }
}
/* téléphone : une carte par ligne, le chiffre à gauche de son texte */
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; gap: 10px; }
  .stat-txt { display: flex; align-items: center; gap: 16px; padding: 12px 18px 16px; }
  .stat-number { margin-bottom: 0; flex: none; }
  .stat-count, .stat-count-world { font-size: 62px; }
}

@media (max-width: 480px) {
  nav {
    padding: 12px 16px;
  }

  nav.scrolled {
    padding: 10px 16px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 16px;
  }

  .btn-primary,
  .btn-outline {
    text-align: center;
    width: 100%;
    padding: 14px 24px;
  }

  .services-desc {
    --pad: 16px;
    padding: 40px var(--pad);
  }

  .services__list {
    font-size: 1rem;
  }

  .section-header {
    padding: 0 16px;
  }

  .social-banner {
    padding: 50px 16px;
  }

  .social-card {
    padding: 16px 18px;
    gap: 14px;
  }

  .social-card-handle {
    font-size: 14px;
  }

  .expertise {
    padding: 60px 16px;
  }

  .expertise-card {
    padding: 32px 20px;
  }

  .apropos {
    padding: 60px 16px;
  }

  .contact {
    padding: 60px 16px;
  }

  .contact-title {
    font-size: clamp(40px, 12vw, 70px);
  }

  footer {
    padding: 24px 16px;
  }
}

/* ===== PORTFOLIO VIDEOS ===== */
.portfolio-videos {
  padding: 120px 0 80px;
  background: var(--bg2);
}

.portfolio-videos .section-header {
  padding: 0 50px 60px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.video-card {
  background: #000;
  border: none;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.video-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
  z-index: 1;
}

.video-card:hover {
  border-color: rgba(200, 255, 0, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.video-card:hover::before {
  transform: scaleX(1);
}

.video-live-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f6f7f4;
  pointer-events: none;
}

.video-live-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.videos-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

.loading-spinner {
  width: 40px; height: 40px;
  border: 2px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal vidéo */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.video-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.modal-close:hover {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
}

.modal-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.modal-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.modal-title {
  padding: 14px 20px;
  font-size: 13px;
  color: rgba(10,10,10,0.5);
  border-top: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .portfolio-videos {
    padding: 80px 0 60px;
  }
  .portfolio-videos .section-header {
    padding: 0 24px 40px;
  }
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .video-modal {
    padding: 12px;
    align-items: flex-end;
  }
  .modal-content {
    border-radius: 8px 8px 0 0;
  }
}

@media (max-width: 480px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }
}

/* Fond hero auto-hebergé (remplace l'embed YouTube) */
.yt-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===================================================================
   LIQUID GLASS : passe globale (nav · boutons · cartes · accents)
=================================================================== */
:root{
  --glass-bg: linear-gradient(135deg, rgba(10,10,10,0.11) 0%, rgba(10,10,10,0.035) 100%);
  --glass-bg-hov: linear-gradient(135deg, rgba(200,255,0,0.14) 0%, rgba(10,10,10,0.05) 100%);
  --glass-brd: rgba(10,10,10,0.16);
  --glass-edge: inset 0 1px 0 rgba(10,10,10,0.30);
  --glass-shadow: 0 14px 40px rgba(0,0,0,0.40);
}

/* NAV : barre en verre dépoli */
nav{
  background: rgba(255,255,255,0.42) !important;
  -webkit-backdrop-filter: blur(24px) saturate(165%);
          backdrop-filter: blur(24px) saturate(165%);
  border-bottom: 1px solid var(--glass-brd) !important;
  box-shadow: var(--glass-edge);
}
nav.scrolled{ background: rgba(255,255,255,0.62) !important; }

/* ===== LIQUID GLASS BUTTONS (inspiré aliimam) : frost + liseré spéculaire ===== */
.btn-primary, .btn-outline, .btn-client, .tlv-cta{
  position: relative;
  border: none !important;
  border-radius: 999px !important;
  background: rgba(10,10,10,0.05) !important;
  color: #0a0a0a !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45) !important;
  -webkit-backdrop-filter: blur(7px) saturate(160%);
          backdrop-filter: blur(7px) saturate(160%);
  box-shadow:
    inset 0 1px 1px rgba(10,10,10,0.6),
    inset 0 -2px 4px rgba(10,10,10,0.22),
    inset 0 0 0 1px rgba(10,10,10,0.10),
    0 8px 22px rgba(0,0,0,0.42),
    0 2px 6px rgba(0,0,0,0.30) !important;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease !important;
}
.btn-primary:hover, .btn-outline:hover, .btn-client:hover, .tlv-cta:hover{
  background: rgba(10,10,10,0.12) !important;
  transform: translateY(-1px);
  color: #0a0a0a !important;
  box-shadow:
    inset 0 1px 1px rgba(10,10,10,0.82),
    inset 0 -2px 5px rgba(10,10,10,0.30),
    inset 0 0 0 1px rgba(10,10,10,0.18),
    0 14px 32px rgba(0,0,0,0.5),
    0 3px 8px rgba(0,0,0,0.35) !important;
}

/* Bouton principal : identité verte (verre teinté + lueur) */
.btn-primary{
  background: linear-gradient(160deg, rgba(200,255,0,0.24), rgba(200,255,0,0.06)) !important;
  box-shadow:
    inset 0 1px 1px rgba(10,10,10,0.65),
    inset 0 -2px 5px rgba(200,255,0,0.35),
    inset 0 0 0 1px rgba(200,255,0,0.32),
    0 8px 28px rgba(200,255,0,0.22),
    0 2px 6px rgba(0,0,0,0.30) !important;
}
.btn-primary:hover{
  background: linear-gradient(160deg, rgba(200,255,0,0.36), rgba(200,255,0,0.12)) !important;
  box-shadow:
    inset 0 1px 1px rgba(10,10,10,0.88),
    inset 0 -2px 6px rgba(200,255,0,0.5),
    inset 0 0 0 1px rgba(200,255,0,0.5),
    0 14px 36px rgba(200,255,0,0.34),
    0 3px 8px rgba(0,0,0,0.35) !important;
}

/* CARTES en verre */
.social-card{
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: blur(18px) saturate(155%); backdrop-filter: blur(18px) saturate(155%);
  border:1px solid var(--glass-brd) !important;
  box-shadow: var(--glass-edge), var(--glass-shadow) !important;
  border-radius:18px !important;
}
.social-card:hover{ background: var(--glass-bg-hov) !important; border-color: rgba(200,255,0,0.45) !important; }

/* ACCENTS verre (on garde image/vidéo) */
.expertise-card{ box-shadow: inset 0 1px 0 rgba(10,10,10,0.18) !important; }


/* Focus clavier : identité TLV (audit A1) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Savoir-faire + Expertise fusionnés (tlv61) =====
   Un seul bandeau : titre, les 6 expertises et la carte à gauche, le profil sur le néon à droite.
   La carte se pilote comme un viseur : cadre qui fait la mise au point, REC, timecode. */
.services {
  --photo: clamp(340px, 34vw, 500px);
  --fondu: clamp(80px, calc(30vw - 200px), 320px);
  position: relative;
  width: 100%;
  min-height: calc(var(--photo) * 1.4);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--photo);
  background: linear-gradient(90deg, var(--bg) calc(100% - var(--photo) - var(--fondu)), #cbf70e calc(100% - var(--photo)));
  overflow: hidden;
}
.services-desc {
  --pad: 24px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 6.5vw, 100px) 0 clamp(64px, 6.5vw, 100px) clamp(48px, 8.3vw, 120px);
}
.services__intro {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 100;
  color: var(--green-ink);
}
.services__title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
}
.services__title span {
  color: var(--green-ink);
}
.services__title::after {
  content: "";
  display: block;
  width: 75px;
  height: 5px;
  margin-top: 22px;
  background: var(--green);
}
.services__sub {
  max-width: 50ch;
  margin-top: 20px;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: rgba(10,10,10, 0.62);
}
.services picture {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #cbf70e;
}
.services picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%);
  mask-image: linear-gradient(90deg, transparent, #000 5%);
}

/* --- les 6 expertises : une liste, la ligne active se remplit pendant qu'elle passe --- */
.xp-chip {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  width: 100%;
  padding: 13px 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(10,10,10, 0.09);
  background: none;
  color: rgba(10,10,10, 0.42);
  font-family: var(--body);
  text-align: left;
  cursor: pointer;
  transition: color 0.4s ease;
}
.xp-chip:hover,
.xp-chip:focus-visible {
  color: rgba(10,10,10, 0.85);
}
.xp-chip.is-active {
  color: #0a0a0a;
}
.xp-num {
  padding-top: 2px;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.xp-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.xp-name svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: color 0.4s ease;
}
.xp-chip.is-active .xp-num,
.xp-chip.is-active svg {
  color: var(--green-ink);
}
.xp-sub {
  grid-column: 2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(10,10,10, 0.55);
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
}
.xp-chip.is-active .xp-sub {
  max-height: 3em;
  margin-top: 6px;
  opacity: 1;
}
.xp-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(200, 255, 0, 0.8);
  transform: scaleX(0);
  transform-origin: left;
}
.xp-progress {
  display: none;
}

/* --- ordinateur : liste à gauche, carte à droite, au bord du néon --- */
@media (min-width: 1025px) {
  /* texte et liste en colonne 1, carte en colonne 2 sur toute la hauteur : tout tient dans un écran */
  .services-desc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(230px, 21vw, 330px);
    grid-auto-rows: min-content;
    align-content: center;
    column-gap: clamp(28px, 3.4vw, 60px);
    padding-top: clamp(48px, 4.5vw, 72px);
    padding-bottom: clamp(48px, 4.5vw, 72px);
  }
  .services-desc > :not(.xp-carousel) {
    grid-column: 1;
  }
  .services__title {
    font-size: clamp(2.2rem, 3.4vw, 4rem);
    white-space: nowrap;
  }
  .xp-carousel {
    display: contents;
  }
  .xp-chips {
    grid-column: 1;
    margin-top: clamp(22px, 2.4vw, 34px);
  }
  .xp-chip {
    padding: 11px 0 12px;
  }
  .xp-stage {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
  }
  .xp-stage {
    position: relative;
    aspect-ratio: 4 / 5;
    perspective: 1300px;
  }
  /* halo néon sous la carte */
  .xp-stage::before {
    content: "";
    position: absolute;
    inset: 18% 6% -10%;
    background: radial-gradient(closest-side, rgba(200, 255, 0, 0.22), transparent);
    filter: blur(28px);
    pointer-events: none;
  }
  .xp-card {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(10,10,10, 0.14);
    background: #f6f7f4;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
    opacity: 0;
    transform: translateY(46px) scale(0.9);
    filter: blur(10px);
    pointer-events: none;
    will-change: transform, opacity, filter;
    transition:
      transform 0.85s cubic-bezier(0.2, 0.9, 0.25, 1),
      opacity 0.6s ease,
      filter 0.85s ease;
  }
  /* la suivante attend derrière, la précédente sort vers l'avant en perdant le point */
  .xp-card.is-next {
    opacity: 0.45;
    transform: translateY(-20px) scale(0.92);
    filter: blur(1.5px);
    z-index: 10;
  }
  .xp-card.is-prev {
    opacity: 0;
    transform: translateY(70px) scale(1.05);
    filter: blur(14px);
    z-index: 15;
  }
  .xp-card.is-active {
    opacity: 1;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    filter: none;
    z-index: 20;
    pointer-events: auto;
  }
  /* viseur : 4 coins qui font la mise au point à chaque carte, REC qui clignote, timecode */
  .xp-hud {
    position: absolute;
    inset: -14px;
    z-index: 30;
    pointer-events: none;
  }
  .xp-hud i {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 0 solid var(--green);
    filter: drop-shadow(0 0 6px rgba(200, 255, 0, 0.6));
  }
  .xp-hud i:nth-of-type(1) { top: 0; left: 0; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
  .xp-hud i:nth-of-type(2) { top: 0; right: 0; border-width: 2px 2px 0 0; border-top-right-radius: 8px; }
  .xp-hud i:nth-of-type(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
  .xp-hud i:nth-of-type(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }
  .xp-hud.is-lock i {
    animation: xpLock 0.7s cubic-bezier(0.2, 0.9, 0.25, 1);
  }
  .xp-hud.is-lock i:nth-of-type(1) { --dx: -12px; --dy: -12px; }
  .xp-hud.is-lock i:nth-of-type(2) { --dx: 12px; --dy: -12px; }
  .xp-hud.is-lock i:nth-of-type(3) { --dx: -12px; --dy: 12px; }
  .xp-hud.is-lock i:nth-of-type(4) { --dx: 12px; --dy: 12px; }
  .xp-rec,
  .xp-tc {
    position: absolute;
    top: 30px;
    font-family: "Space Mono", ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #0a0a0a;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  }
  .xp-rec {
    left: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .xp-rec::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    animation: xpRec 1.2s steps(1) infinite;
  }
  .xp-tc {
    right: 34px;
    font-variant-numeric: tabular-nums;
  }
  /* l'image avance doucement pendant qu'elle est à l'écran */
  .xp-card.is-active img.xp-m.is-shown,
  .xp-card.is-active video.xp-m.is-shown {
    animation: xpKen 7s ease-out both;
  }
}
@keyframes xpLock {
  from { transform: translate(var(--dx), var(--dy)); opacity: 0.2; }
  to { transform: none; opacity: 1; }
}
@keyframes xpRec {
  50% { opacity: 0.15; }
}
@keyframes xpKen {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* --- cartes : média et texte --- */
.xp-media {
  position: absolute;
  inset: 0;
}
.xp-m {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease, filter 0.7s ease;
}
.xp-m.is-shown {
  opacity: 1;
}
.xp-card:not(.is-active) .xp-m {
  filter: grayscale(1) brightness(0.7);
}
.xp-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 110px 24px 26px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.45) 55%, transparent);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
}
.xp-card.is-active .xp-info {
  opacity: 1;
  transform: none;
}
/* Carte Site Web : maquette en haut + dégradé noir pour le texte */
.xp-card.xp-webcard {
  background: #ffffff;
}
.xp-webcard .xp-m {
  height: auto;
  bottom: auto;
  top: 0;
  object-fit: contain;
}
.xp-webcard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66%;
  background: linear-gradient(to top, #ffffff 36%, rgba(255,255,255, 0.72) 64%, transparent);
  z-index: 1;
  pointer-events: none;
}
.xp-webcard .xp-info {
  background: none;
  z-index: 2;
}
.xp-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #0a0a0a;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.xp-info p {
  color: #0a0a0a;
  font-size: clamp(0.86rem, 1.05vw, 1.05rem);
  line-height: 1.45;
}
.xp-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--green-ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.xp-link:hover {
  text-decoration: underline;
}

/* --- tablette et téléphone : ni surtitre ni photo ; pastilles en rangée + cartes à glisser --- */
@media (max-width: 1024px) {
  .services {
    display: block;
    min-height: 0;
    background: none;
  }
  .services-desc {
    padding: 40px var(--pad) 36px;
    background: var(--bg);
  }
  .services__intro,
  .services picture {
    display: none;
  }
  .services__title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.1;
  }
  .services__title::after {
    width: 50px;
    height: 3px;
    margin-top: 16px;
  }
  .services__sub {
    margin-top: 16px;
    font-size: 0.95rem;
  }
  .xp-carousel {
    /* largeur d'une carte : les voisines dépassent. Jamais sous 234 px (téléphones de 320 px). */
    --xp-w: clamp(234px, calc(100% - 72px), 300px);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px calc(-1 * var(--pad)) 0;
  }
  .xp-chips {
    align-self: stretch;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 var(--pad) 2px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .xp-chip {
    display: inline-flex;
    flex: none;
    width: auto;
    padding: 10px 16px;
    border: 1px solid rgba(10,10,10, 0.2);
    border-radius: 999px;
    color: rgba(10,10,10, 0.75);
  }
  .xp-chip.is-active {
    background: var(--green);
    border-color: var(--green);
    color: #0a0a0a;
  }
  .xp-chip.is-active svg {
    color: #0a0a0a;
  }
  .xp-name {
    gap: 8px;
    font-size: 0.72rem;
  }
  .xp-num,
  .xp-sub,
  .xp-fill,
  .xp-hud {
    display: none;
  }
  .xp-stage {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom; /* le défilement vertical de la page passe toujours */
  }
  .xp-stage::-webkit-scrollbar,
  .xp-chips::-webkit-scrollbar {
    display: none;
  }
  /* cales de début et de fin : centrent la 1re et la dernière carte (Safari ignore padding-inline ici) */
  .xp-stage::before,
  .xp-stage::after {
    content: "";
    flex: 0 0 calc((100% - var(--xp-w)) / 2 - 10px);
  }
  .xp-card {
    position: relative;
    flex: 0 0 var(--xp-w);
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #1c1c1c;
    background: #f6f7f4;
    opacity: 0.45;
    transform: scale(0.94);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
  }
  .xp-card.is-active {
    opacity: 1;
    transform: none;
    border-color: var(--green);
  }
  .xp-info {
    padding: 80px 18px 20px;
  }
  .xp-info p {
    font-size: 0.9rem;
    line-height: 1.42;
  }
  .xp-link {
    font-size: 11.5px;
  }
  .xp-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    width: var(--xp-w);
    margin-top: 18px;
  }
  .xp-rail {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: rgba(10,10,10, 0.14);
  }
  .xp-bar {
    display: block;
    width: calc(100% / 6); /* 6 cartes ; le script le fait avancer de sa propre largeur */
    height: 100%;
    border-radius: 2px;
    background: var(--green);
    box-shadow: 0 0 8px rgba(200, 255, 0, 0.7);
  }
  .xp-count {
    font-family: "Space Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(10,10,10, 0.7);
  }
}
@media (prefers-reduced-motion: reduce) {
  .xp-chip,
  .xp-card,
  .xp-info,
  .xp-sub {
    transition: none;
  }
  .xp-hud i,
  .xp-rec::before,
  .xp-card.is-active .xp-m {
    animation: none !important;
  }
}


/* =========================================================
   HERO TLV : « LE SOCLE »
   Remplace style.css lignes 1092 → 1238.
   EXCEPTION : @keyframes tlvScroll (l.1145-1148) est CONSERVÉ tel quel.
   Vérifié par grep sur la feuille en ligne : il n'existe qu'une seule
   définition et son seul consommateur est .tlv-track. Ne pas le redéclarer.
   ========================================================= */
/* Bouton du hero : règles de base conservées de tlv34 (le liquid glass les complète plus bas) */
.tlv-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid rgba(10,10,10, 0.25);
  background: rgba(10,10,10, 0.06);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.tlv-cta span { transition: transform 0.35s ease, color 0.35s ease; }
.tlv-cta:hover {
  border-color: var(--green);
  background: rgba(200, 255, 0, 0.08);
  box-shadow: 0 0 30px rgba(200, 255, 0, 0.2);
}
.tlv-cta:hover span { transform: translateX(5px); color: var(--green-ink); }


.tlv-hero {
  /* une seule variable pilote toute la composition du socle */
  --plinth-h: clamp(330px, 46vh, 480px);
  --cap-top:  20px;   /* air en HAUT du socle : absorbe le survol (lift 10px + scale 1.035) */
  --cap-drop: 26px;   /* 1 capsule sur 2 descend : c'est ce qui casse la « rangée de carrés » */
  --cap-foot: 20px;   /* respiration sous la bande */
  --cap-gap:  18px;
  --cap-h: calc(var(--plinth-h) - var(--cap-top) - var(--cap-drop) - var(--cap-foot));
  --seam: clamp(52px, 7.5vh, 88px);   /* remontée du socle SOUS le bloc texte */

  position: relative;
  width: 100%;
  min-height: 100vh;      /* repli Safari < 15.4 / Chrome < 108 : NE PAS SUPPRIMER */
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background-color: #ffffff;
  isolation: isolate;
}

/* STRUCTUREL : NE JAMAIS remettre `inset: 0` sur cette règle.
   Les voiles du socle sont des dégradés OPAQUES vers #ffffff, pas des masques :
   ils ne fonctionnent que parce qu'il n'y a plus que du noir plat derrière eux.
   Le dégradé atteint #ffffff à 72 % de SA hauteur, soit ~50 % du hero, donc
   toujours au-dessus du sommet du socle (au pire 51 %) : aucune marche de
   luminosité à la jonction, et un seul dégradé traverse toute la section. */
.tlv-hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.42) 34%,
      rgba(255, 255, 255, 0.80) 58%,
      #ffffff 74%),
    radial-gradient(120% 85% at 42% 26%,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 58%,
      rgba(255, 255, 255, 0.85) 100%),
    url("img/hero-bts.jpg") center 58% / cover no-repeat;
  transform: scale(1.04);
}

/* ---------- Bloc texte (rangée 1) : aligné à GAUCHE ---------- */
.tlv-content {
  position: relative;
  z-index: 3;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;      /* texte plaqué contre la couture */
  text-align: left;
  gap: clamp(14px, 2vh, 24px);
  padding: clamp(4.75rem, 10vh, 7.5rem) clamp(24px, 7vw, 112px) clamp(10px, 2vh, 22px);
}

/* Le surtitre est indispensable dès qu'on aligne à gauche :
   sans lui le bloc texte flotte au lieu de s'accrocher à la marge. */
.tlv-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(10,10,10, 0.62);
}

.tlv-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.75);
}

.tlv-title {
  font-family: var(--display);
  /* Le terme vh n'est pas cosmétique : sans lui, un écran large mais court
     (1440x900, 1280x800) fait déborder le titre et pousse le CTA sous la
     ligne de flottaison. min() est supporté partout depuis Safari 13.4. */
  font-size: clamp(3rem, min(7.6vw, 9.5vh), 6rem);
  font-weight: 400;               /* Bebas Neue n'a QU'UNE graisse : 900 = faux-gras synthétique */
  line-height: 0.92;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 8px 34px rgba(0, 0, 0, 0.45);
  margin: 0;
}

.tlv-highlight {
  color: var(--green-ink);
  text-shadow: 0 0 44px rgba(200, 255, 0, 0.38);   /* écho du glow rasant du socle */
}

.tlv-subtitle {
  font-family: var(--body);
  font-size: clamp(14px, 1.3vw, 18px);
  max-width: 34rem;
  color: var(--white);
  line-height: 1.7;
  font-weight: 300;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 18px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* LE RIVET : l'anneau noir découpe une encoche en pilule dans le sommet du
   socle : le bouton n'est plus posé sur la bande, il y est enfoncé.
   S'il tombe sur du noir pur, il devient simplement invisible : la
   dégradation est gratuite, aucune géométrie à garantir. */
.tlv-stitch {
  position: relative;
  z-index: 4;
  display: inline-flex;
  margin-bottom: -34px;           /* fait mordre le bouton dans la bande (réglé au rendu) */
  padding: 10px;
  border-radius: 999px;
  background: #ffffff;
}

/* Le bloc « liquid glass » (l.1876+) reste la source de vérité pour le CTA.
   Seul ajout : l'anneau de focus clavier, absent aujourd'hui parce que le
   liquid glass pose `border: none !important`. */
.tlv-cta:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- LE SOCLE (rangée 2) ---------- */
.tlv-plinth {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: var(--plinth-h);
  padding-top: var(--cap-top);            /* l'air où le survol soulève les capsules */
  margin-top: calc(var(--seam) * -1);     /* le socle passe SOUS le bloc texte */
  overflow: hidden;
}

/* LA BRUME : les capsules n'ont pas de bord supérieur, elles sortent du noir.
   Scrim opaque plutôt que mask-image : le fond derrière est du #ffffff plat
   (cf. .tlv-hero-bg), rendu identique sans seconde couche de masquage. */
.tlv-plinth::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.82) 5%,
    rgba(255, 255, 255, 0.45) 14%,
    rgba(255, 255, 255, 0.16) 26%,
    rgba(255, 255, 255, 0) 36%);
}

/* Fondus latéraux + lueur chartreuse rasante : la réponse basse au halo
   de « ZÉRO COMPROMIS. ». Même couleur, deux occurrences, haut et bas. */
.tlv-plinth::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #ffffff 0%, rgba(255, 255, 255, 0) 7%,
      rgba(255, 255, 255, 0) 93%, #ffffff 100%),
    radial-gradient(135% 62% at 50% 112%,
      rgba(200, 255, 0, 0.12) 0%,
      rgba(200, 255, 0, 0.045) 42%,
      rgba(200, 255, 0, 0) 72%);
}

/* ⚠ PIÈGE N°1 : JAMAIS `gap` sur cette règle. margin-right sur .tlv-cap UNIQUEMENT.
   @keyframes tlvScroll va de translateX(0) à translateX(-50%) : la boucle n'est
   exacte que parce que chaque capsule porte sa propre gouttière. Avec `gap`, une
   copie ferait 16 capsules + 15,5 gouttières et le socle sauterait à chaque cycle. */
.tlv-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: tlvScroll 90s linear infinite;
}

@media (hover: hover) {
  .tlv-plinth:hover .tlv-track { animation-play-state: paused; }
}

/* ---------- Capsule 9:16, taille DÉRIVÉE de la hauteur du socle ----------
   Largeur calculée (9/16 = 0.5625) plutôt que `aspect-ratio` : déterministe,
   aucune dépendance au comportement d'aspect-ratio sur un flex item.
   En 1080p : 414 px de haut, 233 px de large : près du double d'aujourd'hui. */
.tlv-cap {
  --y: 0px;
  position: relative;
  flex: 0 0 auto;
  height: var(--cap-h);
  width: calc(var(--cap-h) * 0.5625);
  margin-right: var(--cap-gap);
  border-radius: 20px;
  overflow: hidden;
  background-color: #f6f7f4;
  transform: translate3d(0, var(--y), 0);
  border: 1px solid rgba(10,10,10, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(10,10,10, 0.30),
    0 24px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.45s ease, box-shadow 0.45s ease;
}

/* La ligne de base brisée. 16 capsules par copie = nombre pair, donc le motif
   haut/bas se poursuit sans rupture à la jointure des deux copies. */
.tlv-cap:nth-child(even) { --y: var(--cap-drop); }

.tlv-cap img,
.tlv-cap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vignette HAUTE (raccorde chaque capsule à la brume) + pied assombri */
.tlv-cap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 22%,
    rgba(255, 255, 255, 0) 46%,
    rgba(255, 255, 255, 0) 82%,
    rgba(255, 255, 255, 0.38) 100%);
}

/* Le lift passe par calc(var(--y) - 10px) : sinon il écraserait le décalage
   alterné. Les 10 px + les ~7,6 px du scale sont absorbés par --cap-top (20 px),
   sans quoi l'overflow:hidden du socle rognerait le survol des capsules impaires. */
.tlv-cap:hover {
  transform: translate3d(0, calc(var(--y) - 10px), 0) scale(1.035);
  border-color: rgba(200, 255, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(10,10,10, 0.30),
    0 0 0 1px rgba(200, 255, 0, 0.30),
    0 28px 60px rgba(0, 0, 0, 0.62),
    0 0 55px rgba(200, 255, 0, 0.16);
  z-index: 2;
}


/* =========================================================
   ÉCRANS COURTS (13 pouces 1366x768, 1280x720…)
   Le terme vh du titre fait déjà l'essentiel du travail ;
   ce bloc ne fait que rendre de la marge en rognant le socle.
   ========================================================= */
@media (min-width: 769px) and (max-height: 780px) {
  .tlv-hero {
    --plinth-h: clamp(250px, 40vh, 330px);
    --cap-drop: 20px;
  }
  .tlv-content { padding-top: clamp(4rem, 9vh, 5.5rem); }
}


/* =========================================================
   MOBILE ≤ 768 px : remplace la partie hero du bloc l.1272-1285
   ========================================================= */
@media (max-width: 768px) {
  /* --h0 = hauteur de fenêtre figée par le script en tête de l'accueil (relue
     seulement si la largeur change) : les barres d'Instagram qui se replient au
     défilement ne font plus sauter le contenu. Repli 100svh si le script manque. */
  .hero { height: var(--h0, 100svh); }
  .tlv-hero {
    min-height: 90vh;          /* repli : NE PAS SUPPRIMER */
    min-height: calc(var(--h0, 100svh) * 0.92);
    --plinth-h: clamp(250px, calc(var(--h0, 100svh) * 0.34), 320px);
    --cap-top:  12px;
    --cap-drop: 16px;
    --cap-foot: 14px;
    --cap-gap:  12px;
    --seam: clamp(30px, calc(var(--h0, 100svh) * 0.05), 52px);
  }

  .tlv-hero-bg { height: 62%; }
  /* Photo calée sur le TEXTE, pas sur le haut de la section (le texte est plaqué en bas,
     au-dessus du socle : sur un écran court comme le navigateur d'Instagram il ne reste que
     ~70 px de photo au-dessus). Taille fixe 560 px de haut, et :
     - x : la tête de Thomas à ~95 px du bord droit, à côté des lignes courtes du titre ;
     - y : ses yeux (39,8 % de la photo) au niveau du surtitre, tirés de --h0 et --plinth-h.
     min(0px…) : jamais de bande vide à gauche ni en haut (tablettes). */
  .tlv-hero-bg {
    background-size: 100% 100%, 100% 100%, auto 560px;
    background-position: 0 0, 0 0, min(0px, calc(100vw - 473px)) min(0px, calc(var(--h0, 100svh) * 0.92 - var(--plinth-h) - 481px));
  }

  .tlv-content {
    gap: 14px;
    padding: clamp(3.75rem, calc(var(--h0, 100svh) * 0.11), 5.5rem) 18px clamp(8px, calc(var(--h0, 100svh) * 0.016), 16px);
  }

  .tlv-eyebrow  { font-size: 11px; letter-spacing: 0.2em; }
  .tlv-title    { font-size: clamp(2.6rem, 12vw, 4rem); }
  .tlv-subtitle { font-size: 14px; line-height: 1.6; max-width: 36ch; }
  .tlv-stitch   { margin-bottom: -14px; padding: 6px; }
  .tlv-cta      { padding: 13px 26px; }
  .tlv-cap      { border-radius: 14px; }
  .tlv-track    { animation-duration: 45s; }

}

/* TABLETTE TACTILE (≥ 769 px : iPad dans Instagram…) : même gel que sur téléphone :
   --h0 remplace les vh du hero, les barres qui se replient ne font plus sauter la page.
   (hover: none) : le bureau, souris ou pavé tactile, garde ses vh. */
@media (min-width: 769px) and (hover: none) {
  .hero { height: var(--h0, 100vh); }
  .tlv-hero {
    min-height: var(--h0, 100svh);
    --plinth-h: clamp(330px, calc(var(--h0, 100vh) * 0.46), 480px);
    --seam: clamp(52px, calc(var(--h0, 100vh) * 0.075), 88px);
  }
  .tlv-content {
    gap: clamp(14px, calc(var(--h0, 100vh) * 0.02), 24px);
    padding: clamp(4.75rem, calc(var(--h0, 100vh) * 0.1), 7.5rem) clamp(24px, 7vw, 112px) clamp(10px, calc(var(--h0, 100vh) * 0.02), 22px);
  }
  .tlv-title { font-size: clamp(3rem, min(7.6vw, calc(var(--h0, 100vh) * 0.095)), 6rem); }
}
@media (min-width: 769px) and (max-height: 780px) and (hover: none) {
  .tlv-hero { --plinth-h: clamp(250px, calc(var(--h0, 100vh) * 0.4), 330px); }
  .tlv-content { padding-top: clamp(4rem, calc(var(--h0, 100vh) * 0.09), 5.5rem); }
}


/* =========================================================
   MOUVEMENT RÉDUIT : à FUSIONNER dans le bloc existant l.1267
   (ne pas créer un second bloc)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .tlv-track    { animation: none; }
  .hero-content { animation: none; }
  .tlv-cap      { transition: none; }
  /* transform: none écraserait le décalage alterné : on rejoue seulement --y */
  .tlv-cap:hover { transform: translate3d(0, var(--y), 0); }
}

/* ==========================================================================
   PREUVE À L'ÉCRAN : réalisations sites internet (TLV)
   À coller à la fin de style.css. Utilise les variables déjà présentes
   dans :root (--bg, --green, --grey, --border, --display, --white).
   Aucune dépendance, aucune police supplémentaire. ~13,7 Ko / 4 Ko gzip.
   ========================================================================== */

.pv {
  /* la section doit être positionnée : sur les sous-pages, .pw-bg est un fond
     FIXE en z-index 0 qui recouvre tout élément resté dans le flux normal : 
     c'est ce qui rendait le titre de section invisible. */
  position: relative;
  z-index: 1;
  padding: clamp(56px, 6vw, 88px) 0 clamp(64px, 9vw, 120px);
  background: var(--bg);
  overflow-x: clip; /* clip et non hidden : ne crée pas de conteneur de défilement */
}
.pv-wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.pv-head {
  margin-bottom: clamp(20px, 2.6vw, 36px);
}
.pv-head .section-title {
  font-size: clamp(40px, 7vw, 82px);
}

/* ---------- La fiche ---------- */
.pv-case {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5.5vw, 72px) 0;
  border-top: 1px solid var(--border);
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

/* ---------- Colonne gauche : les appareils ---------- */
.pv-view {
  min-width: 0;
}
.pv-stage {
  position: relative;
  min-width: 0;
}
/* flaque de lumière au sol : sur du #ffffff une ombre portée seule est invisible */
.pv-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -8%;
  right: -8%;
  bottom: -9%;
  height: 40%;
  pointer-events: none;
  background: radial-gradient(
    58% 100% at 50% 100%,
    rgba(10,10,10, 0.07) 0%,
    rgba(200, 255, 0, 0.05) 38%,
    transparent 74%
  );
}

/* MacBook : la bordure EST le châssis */
.pv-mac {
  position: relative;
  z-index: 1;
}
.pv-lid {
  border: clamp(6px, 1.1vw, 11px) solid #1b1c1e;
  border-bottom-width: clamp(8px, 1.5vw, 15px);
  border-radius: 13px;
  background: #000;
  overflow: hidden;
  box-shadow:
    0 30px 64px -22px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(10,10,10, 0.07);
}
/* barre d'adresse : le vrai domaine, c'est elle qui transforme l'image en preuve */
.pv-url {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  background: #141516;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #8a8a8a;
  white-space: nowrap;
  overflow: hidden;
}
.pv-url svg {
  flex: none;
  opacity: 0.6;
}
.pv-url span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* L'écran : le cadre qui rogne */
.pv-screen {
  position: relative;
  overflow: hidden;
  container-type: size; /* rend 100cqh utilisable dans les keyframes */
  background: linear-gradient(155deg, #17181a, #0a0a0b);
}
.pv-mac .pv-screen {
  aspect-ratio: 16 / 10;
}
.pv-screen picture {
  display: block;
}
.pv-shot {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%; /* évite le saut entre le cadre vide et l'image décodée */
  backface-visibility: hidden;
}
/* reflet de dalle, très discret */
.pv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(10,10,10, 0.05) 0 20%, transparent 44%),
    radial-gradient(120% 100% at 50% 0, transparent 58%, rgba(0, 0, 0, 0.4));
}

/* socle clavier en trapèze : donne la légère plongée */
.pv-base {
  height: clamp(9px, 1.2vw, 13px);
  width: 114%;
  margin-left: -7%;
  background: linear-gradient(#2a2c2f 0%, #17181a 42%, #0d0e0f 100%);
  border-radius: 0 0 14px 14px;
  clip-path: polygon(0 0, 100% 0, 97.2% 100%, 2.8% 100%);
  box-shadow: 0 18px 26px -14px rgba(0, 0, 0, 0.9);
  position: relative;
}
.pv-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15%;
  height: 40%;
  border-radius: 0 0 8px 8px;
  background: #0a0b0c;
}

/* iPhone : chevauche le coin bas droit du Mac */
.pv-phone {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: -7%;
  width: 23%;
  border: clamp(4px, 0.7vw, 7px) solid #1b1c1e;
  border-radius: clamp(16px, 2.2vw, 28px);
  background: #000;
  box-shadow:
    0 26px 46px -16px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(10,10,10, 0.08);
}
.pv-phone .pv-screen {
  aspect-ratio: 9 / 19.5;
  border-radius: clamp(11px, 1.5vw, 20px);
}

/* ---------- LE DÉFILEMENT (aucune vidéo) ----------
   100% = la hauteur propre de l'image, 100cqh = la hauteur du cadre.
   La course se calcule seule, quelle que soit la hauteur de la capture.  */
.pv-mac {
  --pv-dur: 34s;
  --pv-delay: 0s;
}
.pv-phone {
  --pv-dur: 27s;
  --pv-delay: -6s;
}
.pv-shot,
.pv-rail::after {
  animation-duration: var(--pv-dur);
  animation-delay: var(--pv-delay);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.pv-shot {
  animation-name: pv-roll;
}
.pv-rail::after {
  animation-name: pv-thumb;
}

/* descente en 3 poussées avec arrêts de lecture, puis remontée rapide (cmd+↑) */
@keyframes pv-roll {
  0% {
    transform: translate3d(0, 0, 0);
    animation-timing-function: linear;
  }
  6% {
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
  }
  30% {
    transform: translate3d(0, calc((100cqh - 100%) * 0.34), 0);
    animation-timing-function: linear;
  }
  38% {
    transform: translate3d(0, calc((100cqh - 100%) * 0.34), 0);
    animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
  }
  60% {
    transform: translate3d(0, calc((100cqh - 100%) * 0.7), 0);
    animation-timing-function: linear;
  }
  68% {
    transform: translate3d(0, calc((100cqh - 100%) * 0.7), 0);
    animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
  }
  86% {
    transform: translate3d(0, calc(100cqh - 100%), 0);
    animation-timing-function: linear;
  }
  93% {
    transform: translate3d(0, calc(100cqh - 100%), 0);
    animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* la barre de défilement chartreuse : pouce à 26% → course (100-26)/26 = 284,6% */
.pv-rail {
  position: absolute;
  z-index: 3;
  top: 5%;
  right: 5px;
  width: 2px;
  height: 90%;
  background: rgba(10,10,10, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.pv-rail::after {
  content: "";
  display: block;
  width: 100%;
  height: 26%;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(200, 255, 0, 0.7);
}
@keyframes pv-thumb {
  0% {
    transform: translateY(0);
    animation-timing-function: linear;
  }
  6% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
  }
  30% {
    transform: translateY(96.8%);
    animation-timing-function: linear;
  }
  38% {
    transform: translateY(96.8%);
    animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
  }
  60% {
    transform: translateY(199.2%);
    animation-timing-function: linear;
  }
  68% {
    transform: translateY(199.2%);
    animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
  }
  86% {
    transform: translateY(284.6%);
    animation-timing-function: linear;
  }
  93% {
    transform: translateY(284.6%);
    animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
  }
  100% {
    transform: translateY(0);
  }
}

/* rien ne tourne hors écran, et le visiteur reprend la main au survol */
.pv-case:not(.is-live) .pv-shot,
.pv-case:not(.is-live) .pv-rail::after,
.pv-mini:not(.is-live) .pv-shot,
.pv-mini:not(.is-live) .pv-rail::after,
.pv-stage:hover .pv-shot,
.pv-stage:hover .pv-rail::after,
.pv-stage:focus-within .pv-shot,
.pv-stage:focus-within .pv-rail::after {
  animation-play-state: paused;
}

/* Repli navigateurs sans container queries (Safari < 16) :
   pourcentage fixe. Approximatif en bas de page, mais aucun repaint pleine
   surface comme le ferait object-position. */
@supports not (height: 1cqh) {
  .pv-screen {
    container-type: normal;
  }
  .pv-shot {
    animation-name: pv-roll-fb;
  }
  @keyframes pv-roll-fb {
    0% {
      transform: translate3d(0, 0, 0);
      animation-timing-function: linear;
    }
    6% {
      transform: translate3d(0, 0, 0);
      animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
    }
    30% {
      transform: translate3d(0, -28.6%, 0);
      animation-timing-function: linear;
    }
    38% {
      transform: translate3d(0, -28.6%, 0);
      animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
    }
    60% {
      transform: translate3d(0, -58.8%, 0);
      animation-timing-function: linear;
    }
    68% {
      transform: translate3d(0, -58.8%, 0);
      animation-timing-function: cubic-bezier(0.32, 0, 0.18, 1);
    }
    86% {
      transform: translate3d(0, -84%, 0);
      animation-timing-function: linear;
    }
    93% {
      transform: translate3d(0, -84%, 0);
      animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
    }
    100% {
      transform: translate3d(0, 0, 0);
    }
  }
}

/* ---------- Légende sous les appareils : la preuve ---------- */
.pv-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: clamp(34px, 4.5vw, 46px);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pv-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(200, 255, 0, 0.34);
  border-radius: 99px;
  color: var(--green-ink);
  text-decoration: none;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.pv-live:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.pv-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  animation: pv-pulse 2.4s ease-in-out infinite;
}
@keyframes pv-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.5);
  }
  70% {
    opacity: 0.55;
    box-shadow: 0 0 0 7px rgba(200, 255, 0, 0);
  }
}
.pv-devices {
  color: var(--grey);
}

/* ---------- Colonne droite : ce qui a été livré ---------- */
.pv-facts {
  min-width: 0;
}
.pv-meta {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
}
.pv-facts h3 {
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin: 10px 0 20px;
}
.pv-deliv {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.pv-deliv li {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: #333333;
}
.pv-proof {
  border-left: 3px solid var(--green);
  padding: 2px 0 2px 16px;
  margin: 0 0 26px;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.6;
  color: #2b2b2b;
}
.pv-btn {
  display: inline-block;
}

/* ---------- Tablette : une colonne ---------- */
@media (max-width: 1024px) {
  .pv-case {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* ---------- Téléphone : le mobile devient le sujet ----------
   Le MacBook passe derrière, réduit, coupé par le bord gauche.
   Le message « bureau + mobile » reste lisible, le téléphone aussi. */
@media (max-width: 560px) {
  .pv-stage {
    display: flex;
    justify-content: center;
    padding: 6px 0 4px;
  }
  .pv-mac {
    position: absolute;
    z-index: 1;
    left: -30%;
    bottom: 4%;
    width: 108%;
    transform: scale(0.66);
    transform-origin: left bottom;
    opacity: 0.82;
    filter: blur(0.3px);
    pointer-events: none;
  }
  /* sur téléphone le MacBook affiche une capture allégée (520 px, ~50 Ko),
     figée : un seul élément animé à l'écran, et le duo reste lisible */
  .pv-mac .pv-lid {
    border-color: #26282b;
  }
  .pv-mac .pv-shot {
    animation: none;
    transform: translate3d(0, -14%, 0);
  }
  .pv-mac .pv-rail {
    display: none;
  }
  .pv-phone {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    width: min(156px, 44%);
  }
  .pv-caption {
    margin-top: 22px;
  }
  .pv-btn {
    display: block;
    text-align: center;
  }
  .pv-facts h3 {
    font-size: clamp(28px, 8vw, 36px);
  }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .pv-shot,
  .pv-rail::after,
  .pv-dot {
    animation: none !important;
  }
  .pv-shot {
    transform: none !important;
  }
  .pv-rail {
    display: none;
  }
  .pv-live {
    transition: none;
  }
}

/* ==========================================================================
   VERSION ACCUEIL : le duo seul dans la carte « 03 · Site Web »
   ========================================================================== */
.xp-webcard .pv-mini {
  position: absolute;
  inset: 0;
  height: auto;
  display: flex;
  align-items: center;
  padding: 4% 6% 40%;
  object-fit: unset;
}
.xp-webcard .pv-mini .pv-stage {
  width: 100%;
}
.xp-webcard .pv-mini .pv-lid {
  border-radius: 10px;
}
.xp-card:not(.is-active) .pv-mini .pv-shot,
.xp-card:not(.is-active) .pv-mini .pv-rail::after {
  animation-play-state: paused;
}

/* ==========================================================================
   RÉALISATIONS : correctifs. À coller À LA FIN de style.css (après le bloc .pv-).
   Les règles qui ne valent que sur grand écran sont sous @media min-width :
   sinon, posées en fin de fichier, elles écraseraient les media queries
   existantes (1024 px et 560 px) et casseraient la version téléphone.
   ========================================================================== */

/* 1. Sur desktop, la preuve était illisible : l'écran du Mac faisait 564 px
      pour une capture de 1200 px. On donne la place à la colonne appareils. */
@media (min-width: 1025px) {
  .pv-wrap { width: min(1320px, 100% - 32px); }
  .pv-case { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.75fr); }
}
@media (min-width: 561px) {
  .pv-phone { width: 26%; }
}

/* 2. La barre chartreuse du Mac disparaissait derrière l'iPhone : on la passe
      du côté opposé, les deux rails restent visibles en entier. */
.pv-mac .pv-rail { left: 5px; right: auto; }

/* 3. L'iPhone était rogné par le bord droit entre ~833 px et 1212 px. */
@media (max-width: 1212px) { .pv-phone { right: 0; } }

/* 4. Sous 560 px, 42 % du MacBook sortait du cadre par la gauche. */
@media (max-width: 560px) {
  .pv-mac { left: -12%; width: 96%; transform: scale(0.72); }
}

/* 5. Le reflet de dalle grisait le bas des captures claires et noyait les
      sites sombres. On le garde, en trois fois moins fort. */
.pv-screen::after {
  background:
    linear-gradient(112deg, rgba(10,10,10, 0.03) 0 14%, transparent 44%),
    radial-gradient(120% 100% at 50% 0, transparent 72%, rgba(0, 0, 0, 0.18));
}

/* 6. Les quatre fiches défilaient à l'unisson : on les décale. */
.pv-case:nth-of-type(2) .pv-mac   { --pv-delay: -9s; }
.pv-case:nth-of-type(3) .pv-mac   { --pv-delay: -18s; }
.pv-case:nth-of-type(4) .pv-mac   { --pv-delay: -26s; }
.pv-case:nth-of-type(2) .pv-phone { --pv-delay: -13s; }
.pv-case:nth-of-type(3) .pv-phone { --pv-delay: -21s; }
.pv-case:nth-of-type(4) .pv-phone { --pv-delay: -3s; }

/* 6 bis. Les nouvelles captures sont ~1,7 fois plus hautes (plus de contenu) :
      à durée égale tout défilerait 1,7 fois plus vite. */
.pv-mac   { --pv-dur: 52s; }
.pv-phone { --pv-dur: 42s; }

/* 7. content-visibility sur quatre fiches ne gagne rien et fausse la hauteur
      du document : l'ancre #realisations saute au premier défilement. */
.pv-case { content-visibility: visible; contain-intrinsic-size: none; }

/* 8. Filet : la 4e fiche n'a pas de <p class="pv-proof">, son bouton remontait
      et laissait un grand vide. Le mieux reste d'ajouter la phrase (voir HTML). */
@media (min-width: 561px) {
  .pv-facts { display: flex; flex-direction: column; }
  .pv-btn { margin-top: auto; align-self: flex-start; }
}

/* ==========================================================================
   RÉALISATIONS : ajustements grand écran (constatés à 1990 px)
   ========================================================================== */

/* 1. L'iPhone masquait 24 % de l'écran du MacBook (201 px sur 837).
      On le descend et on l'affine : il chevauche le coin, il ne mange plus
      le contenu. La marge de la légende suit, sinon le téléphone mord dessus. */
@media (min-width: 1025px) {
  .pv-phone { width: 23%; right: -5%; bottom: -17%; }
  .pv-caption { margin-top: clamp(56px, 6vw, 92px); }
}

/* 1 bis. Même correction dans la zone une-colonne (561-1024 px), où le
      téléphone masquait encore 19 % de l'écran. Ici on ne le décale pas vers
      la droite : le wrap n'a que 16 px de marge, il déborderait de la page. */
@media (min-width: 561px) and (max-width: 1024px) {
  .pv-phone { width: 20%; bottom: -17%; }
  .pv-caption { margin-top: clamp(52px, 7vw, 86px); }
}

/* 2. Une barre de défilement à gauche ne ressemble à rien : retour à droite,
      sa place naturelle. Le téléphone, désormais plus bas, la laisse lisible. */
.pv-mac .pv-rail { left: auto; right: 5px; }

/* 3. Le socle restait à 13 px sous un MacBook de 837 px de large, et dépassait
      de 60 px de chaque côté : une planche, pas un ordinateur. */
.pv-base { height: clamp(9px, 1.4vw, 22px); width: 108%; margin-left: -4%; }

/* 4. Au-delà de 1600 px, 670 px de vide de chaque côté pour rien. */
@media (min-width: 1600px) {
  .pv-wrap { width: min(1480px, 100% - 64px); }
}

/* ==========================================================================
   RÉALISATIONS : écrans en vidéo (tlv42)
   Les captures fixes qui coulissaient sont remplacées par un enregistrement
   réel du défilement : les vidéos des sites clients y jouent pour de bon.
   Le film porte donc son propre mouvement : plus d'animation CSS ici.
   ========================================================================== */
video.pv-shot {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  animation: none !important;
  transform: none !important;
  background: #0a0a0b;
}
.pv-screen { container-type: normal; }   /* la course n'est plus calculée en CSS */
.pv-rail { display: none; }              /* le film a sa propre barre de défilement */

/* Sur téléphone, seul l'écran du téléphone joue : le MacBook garde son image
   fixe. Un seul film décodé à la fois sur l'appareil le moins puissant. */
@media (max-width: 560px) {
  .pv-mac video.pv-shot { object-position: center 18%; }
}

@media (prefers-reduced-motion: reduce) {
  video.pv-shot { display: block; }      /* le poster reste affiché, rien ne joue */
}

/* ==========================================================================
   RÉALISATIONS : écran d'ordinateur en image fixe (tlv43)
   Seul le téléphone lit un film. Le MacBook affiche le haut du site, net et
   figé : l'œil va au mouvement, et on économise 700 Ko par fiche.
   ========================================================================== */
.pv-mac img.pv-shot {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  animation: none !important;
  transform: none !important;
}
.pv-mac .pv-screen picture { display: block; width: 100%; height: 100%; }

/* La première fiche suit directement le titre : son retrait du haut faisait
   doublon avec la marge du titre. */
.pv-case:first-of-type { padding-top: 8px; }

/* ==========================================================================
   SUISSE & CONVERSION (29/09/2026)
   ========================================================================== */

/* Le libellé du hero est devenu le H1 de l'accueil : on neutralise la marge
   que le navigateur donne à tout h1, le reste du style ne change pas. */
h1.hero-services { margin-top: 0; }

/* BARRE « DEVIS » COLLANTE : mobile uniquement.
   Elle n'apparaît qu'après le premier écran : au-dessus, les boutons du hero
   suffisent et la barre les masquerait. z-index 999 : sous le menu (1000),
   sous la modale vidéo (2000) et sous la bannière cookies (9999). */
.tlv-sticky { display: none; }
@media (max-width: 768px) {
  .tlv-sticky {
    display: block;
    position: fixed;
    /* pilule centrée, largeur au contenu, jamais collée aux bords ; 28 px d'air
       en bas pour rester au-dessus de la barre d'outils d'Instagram */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    max-width: calc(100% - 32px);
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--green);
    color: #0a0a0a;
    text-align: center;
    font: 600 14px/1.1 "Space Grotesk", system-ui, sans-serif;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    transform: translateY(calc(100% + 60px));
    transition: transform 0.35s ease;
  }
  .tlv-sticky.is-on { transform: none; }
  body.has-sticky { padding-bottom: 84px; }
  body:has(.video-modal.open) .tlv-sticky { display: none; }

  /* Bannière cookies (ACCUEIL SEULEMENT, seule page à avoir .tlv-hero) : en bas, elle recouvrait les deux boutons du hero
     (zone 686-828 px sur un écran de 844). En haut, elle ne masque que le
     décor, et elle disparaît au premier choix. */
  body:has(.tlv-hero) #tlv-cc { top: 72px; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tlv-sticky { transition: none; }
}

/* Le lien « Devis gratuit » ajouté au menu faisait passer 4 liens sur 2 lignes
   entre ~1000 et 1090 px de large : on resserre légèrement sous 1180 px. */
@media (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .nav-links a { letter-spacing: 0.04em; }
  .nav-wa, .btn-client { padding-left: 14px !important; padding-right: 14px !important; }
}

/* Tablette en portrait (769-1023 px) : avec 6 entrées, les liens passaient sur
   2 lignes et « Espace client » débordait de son bouton. On empêche la coupure,
   on resserre, et on retire « Portfolio » (simple ancre, atteinte en défilant). */
@media (min-width: 769px) and (max-width: 1023px) {
  .nav-links { gap: 12px; }
  .nav-links a { white-space: nowrap; font-size: 11px; letter-spacing: 0.03em; }
  .nav-links > li:has(> a[href="#portfolio"]) { display: none; }
  .nav-wa, .btn-client { padding-left: 12px !important; padding-right: 12px !important; }
}


/* ===== iPhone 3D (31/10/2026) : téléphone three.js qui montre les sites clients ===== */
.ip3d{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px}
.ip3d-stage{position:relative;isolation:isolate;width:min(100%,420px);height:560px;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.ip3d-stage:active{cursor:grabbing}
.ip3d-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.ip3d-stage::after{content:"";position:absolute;left:24%;right:24%;bottom:3%;height:30px;z-index:-1;background:radial-gradient(closest-side,rgba(0,0,0,.6),transparent)}
.ip3d-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;z-index:-2;pointer-events:none}
.ip3d--flat .ip3d-stage{display:flex;align-items:center;justify-content:center;cursor:default}
.ip3d--flat .ip3d-video{position:static;width:auto;height:94%;aspect-ratio:450/976;opacity:1;object-fit:cover;border-radius:38px;border:8px solid #1c1d21;box-shadow:0 0 0 1px #3a3c41,0 30px 60px rgba(0,0,0,.5)}
.ip3d-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.ip3d-tabs button{font:inherit;font-size:13px;color:#333333;background:rgba(10,10,10,.04);border:1px solid rgba(10,10,10,.14);border-radius:999px;padding:8px 14px;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.ip3d-tabs button:hover{color:#0a0a0a;border-color:rgba(10,10,10,.35)}
.ip3d-tabs button[aria-pressed="true"]{color:#ffffff;background:#C8FF00;border-color:#C8FF00}
.ip3d-hint{margin:0;font-size:12px;letter-spacing:.04em;color:rgba(10,10,10,.45)}
.ip3d--flat .ip3d-hint,.ip3d--flat .ip3d-credit{display:none}
.ip3d-credit{margin:-6px 0 0;font-size:10.5px;color:rgba(10,10,10,.32)}
.ip3d-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.ip3d-band{padding:110px 24px}
.ip3d-wrap{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.ip3d-copy .btn-primary{margin-top:26px}
.pw-ip3d{padding:10px 24px 40px}
@media (max-width:860px){
  .ip3d-wrap{grid-template-columns:1fr;gap:20px;text-align:center}
  .ip3d-band{padding:80px 16px}
  .ip3d-stage{height:470px}
}
/* accueil : téléphone agrandi (31/10) */
@media (min-width:861px){.ip3d-band .ip3d-wrap{grid-template-columns:.85fr 1.15fr}}
.ip3d-band .ip3d-stage{width:min(100%,620px);height:min(840px,calc(var(--h0,100vh) - 150px));min-height:620px}
@media (max-width:860px){.ip3d-band .ip3d-stage{height:620px;min-height:0}}
/* Réalisations (01/11) : la photo du MacBook de /site-premium/, recadrée sur l'ordinateur et le haut du pouf.
   Recadrage : x 20→84 %, y 16→82 % de la photo (2688x1520). Écran de la photo : x 33,333 %, y 23,553 %, 33,222 x 36,184 %. */
.pv-photo{position:relative;aspect-ratio:1720/1003;overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 70%,transparent),linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 70%,transparent),linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
  -webkit-mask-composite:source-in;mask-composite:intersect}
.pv-photo::before,.pv-photo::after{display:none}
.pv-portable{position:absolute;width:156.25%;max-width:none;height:auto;left:-31.25%;top:-24.242%;user-select:none;pointer-events:none}
.pv-ecran{position:absolute;left:20.833%;top:11.444%;width:51.909%;height:54.824%;overflow:hidden;border-radius:.4%;background:#f6f7f4}
.pv-ecran .pv-shot{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover;display:block}
/* l'iPhone : posé sur le pouf à droite ; film à plat en secours, remplacé par le modèle 3D dès qu'il est prêt */
.pv-tel{position:absolute;left:71%;top:13%;width:28%;height:81%;display:flex;align-items:flex-end;justify-content:center}
.pv-tel .pv-shot{width:auto;height:92%;min-height:0;aspect-ratio:1170/2532;object-fit:cover;border-radius:12%/5.6%;border:3px solid #1c1d21;box-shadow:0 0 0 1px #3a3c41,0 18px 40px rgba(0,0,0,.6)}
.pv-tel canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.pv-tel--3d .pv-shot{position:absolute;opacity:0;pointer-events:none}

/* ===== Thème clair TLV (2026-11-26) ===== */
body{font-weight:400;letter-spacing:-.005em}
h1,h2,h3,.services__title,.tlv-title,.apropos-title,.social-banner-title,.contact-title{letter-spacing:-.022em!important;font-weight:800!important;line-height:1.06!important;text-transform:none!important;text-rendering:optimizeLegibility}
/* mot d'accent : trait de surligneur au lieu du texte vert */
.text-green{color:inherit!important;background:linear-gradient(transparent 62%,#c8ff00 62%,#c8ff00 92%,transparent 92%);padding:0 .05em}
/* menu clair, logo en noir */
nav{background:rgba(255,255,255,.86)!important;border-bottom:1px solid rgba(10,10,10,.08)!important}
.nav-logo img{filter:invert(1)}
/* ouverture vidéo plein écran : textes restent blancs */
.hero,.hero *{--white:#ffffff}
.hero{color:#fff}
.hero .hero-services,.hero p,.hero span{color:#fff}
.hero-overlay{background:linear-gradient(to bottom,rgba(10,10,10,.55) 0%,rgba(10,10,10,.25) 40%,rgba(10,10,10,.7) 100%)!important}
.hero .btn-outline{color:#fff!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.4)!important}
.hero-logo{filter:none!important}
.tlv-highlight{color:inherit!important;background:linear-gradient(transparent 62%,#c8ff00 62%,#c8ff00 92%,transparent 92%);padding:0 .05em;-webkit-text-fill-color:currentColor!important}
.partner-item{filter:grayscale(1)!important;opacity:.75!important}
.partner-item:hover{filter:none!important;opacity:1!important}
@media (hover:none){.partner-item{filter:none!important;opacity:1!important}}
footer,footer p,footer a,.footer-legal{color:#5f635b!important}
.partner-item img.logo-inv{filter:invert(1)}
.services__title span{color:inherit!important;background:linear-gradient(transparent 62%,#c8ff00 62%,#c8ff00 92%,transparent 92%);padding:0 .05em}
.xp-info,.xp-info *{color:#fff!important}
.xp-info a,.xp-info [class*="link"],.xp-info [class*="cta"]{color:#c8ff00!important}
.xp-badge{color:#0a0a0a!important}
.xp-webcard .xp-info p{color:#2b2b2b!important}
.xp-webcard .xp-info .xp-link{color:#0A0A0A!important}
.xp-webcard .xp-info .xp-badge{color:#0a0a0a!important}
.stat-count,.stat-count-world{color:#0a0a0a!important;font-weight:800!important;letter-spacing:-.03em!important}
nav *,.btn-client{text-shadow:none!important}
/* fondu entre la vidéo d'entrée et la page blanche */
.hero-overlay{background:linear-gradient(to bottom,rgba(10,10,10,.5) 0%,rgba(10,10,10,.22) 40%,rgba(10,10,10,.35) 100%)!important}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:90px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,.6) 60%,#fff 100%);z-index:2;pointer-events:none}
.hero-content,.hero-scroll{z-index:3}
/* ===== Banderole partenaires : cartes blanches, logos en couleur ===== */
.partners-section{background:#F4F5F2!important;padding:84px 0 88px!important;border-top:1px solid rgba(10,10,10,.06)}
.partners-section::before{display:none!important}
.partners-header{text-align:center;margin-bottom:40px!important}
.partners-label{display:inline-block!important;font-size:15px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:#3D5200!important;background:rgba(200,255,0,.28);border-radius:999px;padding:9px 20px;margin:0!important}
.partners-title{display:none!important}
.marquee-group{gap:28px!important;padding-right:28px!important}
.partner-item{width:300px;height:150px!important;background:#fff;border-radius:20px;padding:26px 40px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 30px -20px rgba(0,0,0,.18);filter:none!important;opacity:1!important;transition:transform .3s,box-shadow .3s!important}
.partner-item:hover{transform:translateY(-3px)!important;box-shadow:0 18px 40px -22px rgba(0,0,0,.3)!important}
.partner-item img{max-width:100%!important;max-height:100%!important;height:auto!important;width:auto!important;object-fit:contain}
.partners-fade-left{background:linear-gradient(to right,#F4F5F2 0%,rgba(244,245,242,0) 100%)!important}
.partners-fade-right{background:linear-gradient(to left,#F4F5F2 0%,rgba(244,245,242,0) 100%)!important}
@media(max-width:760px){.partner-item{width:170px!important;height:96px!important;padding:16px 22px;border-radius:16px}.marquee-group{gap:16px!important;padding-right:16px!important}}
/* ===== Logo : vectoriel + effet holographique / glitch (2026-11-26) ===== */
.nav-logo{color:#0a0a0a;display:flex;align-items:center}
.nav-logo-svg{height:42px;width:auto;display:block;transition:color .3s,transform .3s}
.nav-logo:hover .nav-logo-svg{transform:scale(1.04)}
.nav-logo img{filter:none!important}
.tlvx{height:clamp(110px,16vw,200px);width:auto;overflow:visible;filter:none!important;cursor:pointer;margin-bottom:28px;transition:filter .5s}
.tlvx-r,.tlvx-c{opacity:0;transition:opacity .25s}
.tlvx-fx{opacity:0;transition:opacity .45s}
.tlvx-holo{transform:translateX(0);}
.tlvx-scan{opacity:.85;transform:translateY(0)}
.tlvx:hover,.tlvx.is-fx{filter:drop-shadow(0 0 22px rgba(200,255,0,.45)) drop-shadow(0 0 60px rgba(0,240,255,.18))!important}
.tlvx:hover .tlvx-fx,.tlvx.is-fx .tlvx-fx{opacity:1}
.tlvx:hover .tlvx-holo,.tlvx.is-fx .tlvx-holo{animation:tlvHolo 2.4s linear infinite}
.tlvx:hover .tlvx-scan,.tlvx.is-fx .tlvx-scan{animation:tlvScan 1.6s cubic-bezier(.5,0,.5,1) infinite}
.tlvx:hover .tlvx-r,.tlvx.is-fx .tlvx-r{opacity:.85;animation:tlvR 1.2s steps(1) infinite}
.tlvx:hover .tlvx-c,.tlvx.is-fx .tlvx-c{opacity:.85;animation:tlvC 1.2s steps(1) infinite}
@keyframes tlvHolo{to{transform:translateX(-1284px)}}
@keyframes tlvScan{0%{transform:translateY(0)}100%{transform:translateY(560px)}}
@keyframes tlvR{0%{transform:translate(-9px,0)}20%{transform:translate(-16px,3px)}40%{transform:translate(-6px,-2px)}55%{transform:translate(-22px,0)}70%{transform:translate(-8px,2px)}85%{transform:translate(-12px,-3px)}}
@keyframes tlvC{0%{transform:translate(9px,0)}20%{transform:translate(15px,-3px)}40%{transform:translate(7px,2px)}55%{transform:translate(20px,0)}70%{transform:translate(9px,-2px)}85%{transform:translate(13px,3px)}}
@media(prefers-reduced-motion:reduce){.tlvx *{animation:none!important}}
@media(max-width:768px){.tlvx{height:96px;margin-bottom:14px}}
/* ===== Menu transparent sur la vidéo d'entrée, blanc ensuite ===== */
nav#navbar{transition:background .35s,border-color .35s,box-shadow .35s}
nav#navbar:not(.scrolled){background:transparent!important;border-bottom-color:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
nav#navbar:not(.scrolled) .nav-logo{color:#fff}
nav#navbar:not(.scrolled) .nav-links:not(.open) a:not(.btn-primary):not(.btn-client){color:#fff!important}
nav#navbar:not(.scrolled) .nav-links:not(.open) .btn-client{color:#fff!important;border-color:rgba(255,255,255,.65)!important;background:rgba(255,255,255,.08)!important}
nav#navbar:not(.scrolled) .hamburger:not(.active) span{background:#fff!important}
.hamburger.active span{background:#0a0a0a!important}
@media(max-width:768px){.hero::after{height:34px}.hero .btn-outline{background:rgba(10,10,10,.35)!important}}
/* 2026-11-26 : coupe nette vidéo / page, la page blanche monte sur la vidéo avec des coins arrondis */
.hero::after{display:none!important}
.sf{margin-top:-44px;border-radius:44px 44px 0 0;z-index:4}
.hero-scroll{bottom:84px!important}
@media(max-width:768px){.sf{margin-top:-26px;border-radius:26px 26px 0 0}.hero-scroll{bottom:52px!important}}
header.hero a.btn-outline{background:rgba(10,10,10,.42)!important;border-color:rgba(255,255,255,.5)!important;color:#fff!important}
@media(max-width:860px){.sf-p:nth-child(2) .sf-in::after{background:linear-gradient(to top,rgba(0,0,0,.94) 0%,rgba(0,0,0,.86) 42%,rgba(0,0,0,.35) 68%,rgba(0,0,0,0) 85%)}}
/* 2026-11-26 : plus aucun voile blanc sur les vidéos du carrousel (image nette) */
.tlv-plinth::before{display:none!important}
.tlv-cap::after{display:none!important}
.tlv-plinth::after{background:radial-gradient(135% 62% at 50% 112%,rgba(200,255,0,.12) 0%,rgba(200,255,0,.045) 42%,rgba(200,255,0,0) 72%)!important}
.partner-item img.logo-kassai{filter:none!important}
/* 2026-11-26 : légende hors de la vidéo, sous les cartes hautes, au-dessus des cartes basses */
.tlv-cap.has-lab{overflow:visible;background:transparent}
.tlv-cap.has-lab video{border-radius:19px;background:#f6f7f4}
.cap-lab{position:absolute;left:0;right:0;top:calc(100% + 7px);display:flex;align-items:center;justify-content:center;gap:.45em;font:700 calc(var(--cap-h) * .0268)/1 'Plus Jakarta Sans',system-ui,sans-serif;color:#0A0A0A;white-space:nowrap;letter-spacing:-.01em;pointer-events:none}
.tlv-cap.has-lab:nth-child(even) .cap-lab{top:auto;bottom:calc(100% + 7px)}
.tlv-cap .cap-lab img{width:auto!important;height:1.55em!important;object-fit:contain!important;display:inline-block!important}
/* Réalisations (27/11) : ordinateur sur socle en pierre claire. Écran de la photo : x 32,85 %, y 22,632 %, 34,077 x 36,05 % */
/* cadrage plus large (photo x 10 à 90 %, y 8 à 90,5 %) : le fondu des bords ne touche plus que le fond */
.pv-photo{-webkit-mask-image:none;mask-image:none;background:#fff}
.pv-stage.pv-photo::before{display:none}
.pv-portable{width:125%;left:-12.5%;top:-9.697%}
.pv-ecran{left:28.375%;top:17.454%;width:42.975%;height:44.181%}
.pv-tel{left:69.3%;top:20.1%;width:22.4%;height:64.8%}
/* full blanc (27/11) : plus de halo vert ni de bande grise */
.pw-glow{display:none!important}
.partners-section{background:#fff!important}
.partners-section::before{display:none!important}
/* chiffres sous le texte À propos, sur toute la largeur (27/11) : plus de vide à gauche, dessins plus grands */
.apropos > .stats-banner{max-width:1400px;margin:64px auto 0}
/* dessins des chiffres lisibles sur le blanc (27/11) : bandeau plus haut, carte en encre */
.apropos > .stats-banner .stat-vis{height:clamp(96px,24cqw,170px)}
.carte-lien{stroke:rgba(10,10,10,.42);stroke-width:1.1}
.carte-noeud{fill:#8a8a8a}
.carte-lac{fill:rgba(150,190,0,.14)}
.carte-frontiere{stroke:rgba(10,10,10,.4)}
.carte-lbl{font-size:10px;font-weight:700;fill:#0a0a0a}
.carte-hub{fill:#8fb800}
.carte-anneau{stroke:#8fb800}
section.partners-section{background:#fff!important}
/* 24 h lisible sur le blanc (27/11) : ligne épaisse à l'encre, point d'arrivée chartreuse plus gros */
.tl-regle{color:rgba(10,10,10,.28)}
.tl-regle--on{color:rgba(10,10,10,.55)}
.tl-ligne{height:6px;margin-top:-3px;border-radius:6px;background:#0a0a0a;box-shadow:none}
.tl-ligne::after{top:0;height:6px;width:18%;background:linear-gradient(90deg,transparent,#c8ff00,transparent)}
.tl-pt--a{width:14px;height:14px;margin:-7px;background:#0a0a0a}
.tl-pt--b{width:30px;height:30px;margin:-15px;box-shadow:0 0 0 0 rgba(150,190,0,.5)}
.tl-pt--b path{stroke:#0a0a0a;stroke-width:2.6}
.tl-tete{width:2px;margin-left:-1px}
.tl-lbl{top:calc(50% + 22px);font-size:12px;font-weight:700;color:#0a0a0a}
section.contact{background:#fff!important}
.partners-fade-left{background:linear-gradient(to right,#fff,rgba(255,255,255,0))!important}
.partners-fade-right{background:linear-gradient(to left,#fff,rgba(255,255,255,0))!important}

/* hero : 2e bouton blanc plein, lisible sur la vidéo (27/11) */
header.hero a.btn-outline{background:#fff!important;border-color:#fff!important;color:#0a0a0a!important}
/* récap du configurateur lisible + phrase du hero détachée de la vidéo claire (27/11) */
.cfg-line{color:#444!important;font-weight:500!important}
header.hero .hero-services{text-shadow:0 1px 3px rgba(0,0,0,.75),0 0 18px rgba(0,0,0,.45);font-weight:600}
/* légendes de la vitrine pleine largeur (27/11) : taille fixée par le script, logo un peu plus haut */
.cap-lab{width:max-content;left:50%;right:auto;transform:translateX(-50%);gap:.4em}
.tlv-cap .cap-lab img.lg-haut{height:2.1em!important}
/* légendes vitrine : texte à gauche, logo à droite (27/11) */
.cap-lab{justify-content:space-between}
/* plus de petit trait devant les étiquettes : à l'œil il faisait un tiret long (27/11) */
.sv-label::before,.sf-label::before,.label::before,.section-label::before,.pw-kicker::before{display:none!important}
.sv-label,.sf-label{color:#0A0A0A!important}
/* vitrine (27/11) : seulement le logo de la société, centré au-dessus ou en dessous de la vidéo */
.cap-lab{width:auto!important;left:0!important;right:0!important;transform:none!important;justify-content:center!important;font-size:0!important}
.tlv-cap .cap-lab img{height:calc(var(--cap-h) * .075)!important;max-width:70%!important}
.tlv-cap .cap-lab img.lg-haut{height:calc(var(--cap-h) * .11)!important}
/* listes du configurateur lisibles (27/11) : texte foncé, coche noire */
.cfg-list li{color:#333!important;font-weight:500!important}
.cfg-list li::before{border-color:#0a0a0a!important}
/* coches pro (27/11) : pastille chartreuse pleine + coche noire nette, partout (offres, configurateur) */
.pw-features li::before,.cfg-list li::before{content:""!important;position:absolute!important;left:0!important;top:2px!important;width:20px!important;height:20px!important;border:0!important;border-radius:50%!important;transform:none!important;
  background:#C8FF00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat!important;
  box-shadow:0 2px 6px -2px rgba(110,150,0,.55),inset 0 1px 0 rgba(255,255,255,.6)!important}
.pw-features li::after{display:none!important}
.cfg-list li{padding-left:28px!important}
.cfg-list li::before{width:17px!important;height:17px!important;background-size:17px 17px!important;top:1px!important}
/* pied de page des pages intérieures : texte centré sur des lignes (la règle flex de l'accueil le cassait en colonnes) (27/11) */
footer.pw-footer{display:block!important;text-align:center;line-height:1.9}
