:root{
  --bg:#0b0c10;
  --bg2:#0f1117;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --stroke: rgba(255,255,255,.12);
  --text:#f5f7ff;
  --muted: rgba(245,247,255,.72);
  --muted2: rgba(245,247,255,.52);
  --shadow: 0 20px 80px rgba(0,0,0,.45);
  --radius: 22px;
  --radius2: 28px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(104,158,255,.25), transparent 55%),
    radial-gradient(900px 700px at 85% 10%, rgba(164,104,255,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}

.bgGlow{
  position:fixed; inset:-200px;
  background:
    radial-gradient(600px 500px at 20% 15%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(900px 700px at 80% 10%, rgba(255,255,255,.06), transparent 55%);
  filter: blur(30px);
  pointer-events:none;
  opacity:.65;
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(10,11,16,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  height:64px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand__dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 6px rgba(255,255,255,.06);
}
.brand__name{font-weight:600; letter-spacing:.2px}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  color:var(--text);
  transform: translateY(-1px);
}
.pill{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);

  /* AJOUTS */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

/* hover "premium" */
.pill:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

/* clic */
.pill:active{
  transform: translateY(0);
}

/* accessibilité clavier */
.pill:focus-visible{
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 3px;
}


.burger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
.burger span{
  display:block;
  width:18px; height:2px;
  background: rgba(255,255,255,.85);
  margin:6px auto;
  border-radius:999px;
  transition: transform .25s ease, opacity .25s ease;
}
.mobileNav{
  display:none;
  padding: 0 20px 16px 20px;
}
.mobileNav a{
  display:block;
  padding: 12px 10px;
  border-radius:14px;
  color:var(--muted);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  margin-top:10px;
}
.mobileNav a:hover{color:var(--text)}

/* Sections */
.section{padding: 88px 0}
.section--soft{
  background: rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.sectionHead h2{
  margin:0 0 10px 0;
  font-size: 34px;
  letter-spacing:-.6px;
}
.sectionHead p{margin:0; color:var(--muted)}

/* Hero */
.hero{padding-top: 86px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items:center;
}
.kicker{
  margin:0 0 14px 0;
  color: var(--muted2);
  font-size: 13px;
  letter-spacing:.25px;
}
h1{
  margin:0 0 14px 0;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.03;
  letter-spacing:-1.2px;
}
.accent{
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.lead{
  margin:0 0 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}

.cta{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  color:#0b0c10;
  font-weight:600;
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover{transform: translateY(-2px); box-shadow: var(--shadow)}
.btn--ghost{
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
}
.btn--ghost:hover{background: rgba(255,255,255,.09)}

.chips{margin-top:18px; display:flex; gap:10px; flex-wrap:wrap}
.chip{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

/* Glass card */
.glassCard{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.glassCard__head{
  padding: 14px 16px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dots{display:flex; gap:6px}
.dots i{width:8px; height:8px; border-radius:999px; background: rgba(255,255,255,.25)}
.glassCard__label{font-size: 13px; color: var(--muted)}

.showreel{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  filter: saturate(0.9) contrast(1.05);

  /* ✅ utilise la variable CSS --bg définie dans le HTML */
  background-image: var(--bg);
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 28%;
}




.showreel::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to right,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.25)
  );
  pointer-events:none;
  z-index:0;
}

.showreel > *{
  position: relative;
  z-index: 1;
}

.showreel:hover::after{
  background: linear-gradient(to right,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.18)
  );
}




.play{
  position: absolute;
  top: 44px;        /* ✅ aligné avec le header visuel */
  left: 32px;       /* ✅ marge premium */
  
  width: 52px;
  height: 52px;
  border-radius: 16px;

  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);

  display: grid;
  place-items: center;

  z-index: 2;
  transition: transform .25s ease, background .25s ease;
}

.play:hover{
  background: rgba(255,255,255,.28);
  transform: scale(1.05);
}



.play:before{
  content:"";
  position:absolute;
  left: 22px; top: 17px;
  width:0; height:0;
  border-left: 14px solid rgba(255,255,255,.85);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.showreel__title{font-weight:650; letter-spacing:-.2px}
.showreel__sub{color: var(--muted2); font-size: 13px; margin-top:4px}

.glassCard__footer{
  padding: 14px 16px;
  display:flex; align-items:center; gap:12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.link{color: var(--muted); font-size: 13px}
.link:hover{color: var(--text)}
.sep{flex:1}
.floatBadges{margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap}
.badge{
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 13px;
}

/* Grid cards */
.grid{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card{
  grid-column: span 6;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.thumb{
  height: 170px;
  background:
    radial-gradient(800px 260px at 20% 20%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(255,255,255,.08);
  position:relative;
  display:flex; align-items:flex-end; justify-content:space-between;
  padding: 14px;
}
.tag{
  font-size:12px;
  padding: 6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
}
.thumb__hint{font-size:12px; color: var(--muted2)}
.card__body{padding: 16px}
.card__body h3{margin:0 0 8px 0; letter-spacing:-.3px}
.card__body p{margin:0 0 12px 0; color: var(--muted); line-height:1.5}
.meta{display:flex; gap:8px; flex-wrap:wrap}
.meta span{
  font-size:12px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.card__link{display:inline-block; margin-top: 12px; color: var(--text); opacity:.9}
.card__link:hover{opacity:1}

.grid--3 .miniCard{grid-column: span 4}
.miniCard{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 18px;
}
.miniCard h3{margin:0 0 10px 0}
.miniCard p{margin:0; color:var(--muted); line-height:1.55}

.aboutCard{
  margin-top: 22px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 18px;
}
.aboutCard p{margin:0; color:var(--muted); line-height:1.7}
.aboutMeta{margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap}
.aboutMeta span{
  color:var(--muted);
  font-size:13px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.contactCard{
  margin-top: 22px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 18px;
  display:flex; gap:12px; flex-wrap:wrap;
}

.footer{
  margin-top: 28px;
  color: var(--muted2);
  font-size: 13px;
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
}
.dotSep{opacity:.4}
.footerLink{color:var(--muted)}
.footerLink:hover{color:var(--text)}

/* Reveal animation */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr; gap:22px}
  .nav{display:none}
  .burger{display:inline-flex; align-items:center; justify-content:center}
  .mobileNav.open{display:block}
  .card{grid-column: span 12}
  .grid--3 .miniCard{grid-column: span 12}
  .section{padding: 74px 0}
}

.showreel__actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}
.btn--small{
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
}
.mini{
  font-size: 12px;
  color: var(--muted2);
}

.filters{
  margin: 18px 0 6px 0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.filter{
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: pointer;
  transition: all .25s ease;
}

.filter:hover{
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.filter.is-active{
  background: rgba(255,255,255,.9);
  color: #0b0c10;
  border-color: transparent;
}

.card{
  transition: transform .25s ease, background .25s ease, border-color .25s ease, opacity .2s ease;
}

.grid--4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px){
  .grid--4{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px){
  .grid--4{
    grid-template-columns: 1fr;
  }
}

.logosMarquee{
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.logosMarquee__label{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
}

.logosMarquee__wrap{
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.logosMarquee__wrap::before,
.logosMarquee__wrap::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 90px;
  pointer-events:none;
  z-index: 2;
}

.logosMarquee__wrap::before{
  left:0;
  background: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,0));
}

.logosMarquee__wrap::after{
  right:0;
  background: linear-gradient(to left, rgba(0,0,0,.75), rgba(0,0,0,0));
}

.logosMarquee__track{
  display: flex;
  gap: 12px;
  width: max-content;
  padding-inline: 40px;

  animation: marquee 22s linear infinite;
}

/* Centre visuellement la piste dans le rail */
.logosMarquee__wrap{
  display: flex;
  justify-content: center;
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


.logo{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  font-size: 13px;
  opacity: .85;
  transform: translateZ(0);
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respecte l’accessibilité */
@media (prefers-reduced-motion: reduce){
  .logosMarquee__track{ animation: none; }
}

.logosMarquee__wrap:hover .logosMarquee__track{
  animation-play-state: paused;
}

/* Logos en bas du hero, pleine largeur */
.hero__logos{
  grid-column: 1 / -1;
  margin-top: 22px;
}

/* Le bloc doit remplir visuellement la zone (centré + large) */
.logosMarquee{
  width: 100%;
}

.logosMarquee__label{
  opacity: .75;
  letter-spacing: .22em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Le "rail" centré qui occupe la largeur */
.logosMarquee__wrap{
  width: min(980px, 100%);
  margin: 0 auto;              /* centre */
  padding: 10px 14px;
  border-radius: 999px;
  overflow: hidden;            /* masque l'animation */
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
}

/* Le track défile doucement */
.logosMarquee__track{
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 18s linear infinite;
}

/* Chaque “logo pill” */
.logosMarquee .logo{
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
  opacity: .9;
}

/* Animation */
@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause au hover (classe) */
.logosMarquee__wrap:hover .logosMarquee__track{
  animation-play-state: paused;
}

/* ===== Logos marquee : centré + plus grand ===== */

.logosMarquee{
  margin-top: 22px;
  opacity: 0.8;
}

.logosMarquee:hover {
  opacity: 1;
}


/* le titre "ILS M'ONT FAIT CONFIANCE" */
.logosMarquee__label{
  text-align: center;
  font-size: 12px;
  letter-spacing: .22em;
  opacity: .85;
  margin-bottom: 12px;
}

/* le rail (fond arrondi) : largeur max + centré */
.logosMarquee__wrap{
  width: min(860px, 100%);
  margin: 0 auto;               /* ✅ centre */
  padding: 14px 18px;           /* ✅ plus haut */
  border-radius: 999px;
  overflow: hidden;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

/* la piste qui bouge */
.logosMarquee__track{
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

/* chaque "logo chip" : plus grand */
.logosMarquee .logo{
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  opacity: .92;
}

/* option premium : pause au hover */
.logosMarquee__wrap:hover .logosMarquee__track{
  animation-play-state: paused;
}

/* animation */
@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logosMarquee__wrap{
  padding: 18px 22px; /* au lieu de 14px 18px */
}

.logosMarquee .logo{
  transition: 
    background .25s ease,
    transform .25s ease,
    opacity .25s ease;
}

.logosMarquee .logo:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
  opacity: 1;
}

/* =========================
   MOBILE OPTIMIZATION
   ========================= */
@media (max-width: 768px) {

  /* Global spacing */
  .section {
    padding: 56px 0;
  }

  /* Topbar */
  .topbar__inner {
    padding: 14px 0;
  }

  /* HERO: stack */
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
    align-items: start;
  }

  /* Title scale */
  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .kicker {
    font-size: 12px;
    opacity: 0.85;
  }

  .lead {
    font-size: 15px;
    line-height: 1.6;
    max-width: 42ch;
  }

  /* CTA full-width */
  .cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .cta .btn,
  .contactCard .btn {
    width: 100%;
    justify-content: center;
  }

  /* Chips wrap nicely */
  .chips {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Showreel card sizing */
  .hero__card {
    margin-top: 8px;
  }

  .glassCard {
    border-radius: 18px;
  }

  .showreel {
    min-height: 170px;
    border-radius: 16px;
    background-position: center;
    background-size: cover;
	filter: saturate(0.95) contrast(1.03);
  }

  /* Keep showreel text readable */
  .showreel__txt {
    padding: 16px;
  }

  .showreel__title {
    font-size: 16px;
  }

  .showreel__sub {
    font-size: 13px;
    opacity: 0.85;
  }

  /* Floating badges: wrap / smaller */
  .floatBadges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }

  .badge {
    font-size: 12px;
    padding: 8px 10px;
  }

  /* Logos marquee: put it under hero, centered */
  .hero__logos {
    margin-top: 14px;
  }

  .logosMarquee__label {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.18em;
    opacity: 0.8;
    margin-bottom: 10px;
  }

  .logosMarquee__wrap {
    width: 100%;
    overflow: hidden;
  }

  /* PROJECT GRID: 1 column */
  .grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* Services grid: 1 column */
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* Filters: scrollable row */
  .filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .filters::-webkit-scrollbar {
    height: 0;
  }

  .filter {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 34px;
  }

  .showreel {
    min-height: 160px;
  }
}

/* ===========================
   SHOWREEL BG POSITION (RESP)
   =========================== */

/* IMPORTANT : ne pas écraser l'image avec "background:" dans :hover */
.showreel:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* Desktop large */
@media (min-width: 1200px) {
  .showreel {
    background-position: center 28% !important;
  }
}

/* Laptop */
@media (max-width: 1199px) {
  .showreel {
    background-position: center 35% !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .showreel {
    background-position: center center !important;
  }
}

/* ===== SHOWREEL SIZE – BALANCED DESKTOP ===== */
@media (min-width: 900px){
  .showreel{
    min-height: 220px;   /* ✅ équilibre parfait */
  }
}

@media (min-width: 1200px){
  .showreel{
    min-height: 240px;   /* ✅ grand écran sans excès */
  }
}

/* ===== SHOWREEL CONTENT OVERLAY ===== */

.showreel{
  position: relative;
  display: flex;
  align-items: flex-end;
}

/* Bloc texte */
.showreel__txt{
  padding: 18px;
  max-width: 60%;
}

/* Play button */
.play{
  position: absolute;
  top: 16px;
  left: 16px;

  width: 52px;
  height: 52px;
  border-radius: 16px;

  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);

  display: grid;
  place-items: center;
}

.play::before{
  content:"";
  width: 0;
  height: 0;
  border-left: 14px solid rgba(255,255,255,.95);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 2px;
}

/* Texte */
.showreel__title{
  font-size: 18px;
  font-weight: 650;
}

.showreel__sub{
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted2);
}

/* Actions */
.showreel__actions{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===========================
   SHOWREEL MOBILE: play + texte (fix)
   =========================== */
@media (max-width: 768px){

  .showreel{
    position: relative !important;
  }

  /* Play: petit, en haut à gauche (ne couvre pas le texte) */
  .play{
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    margin: 0 !important;

    width: 52px !important;
    height: 52px !important;
    border-radius: 18px !important;
    z-index: 3 !important;
  }

  /* Le texte descend sous le play */
  .showreel__txt{
    padding-top: 78px !important;
  }
}

/* ===========================
   PLAY ICON — PERFECT CENTER
   =========================== */
.play{
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.play::before{
  position: relative !important;
  left: 2px !important;   /* micro offset optique (triangle pointe à droite) */
  top: 0 !important;

  border-left: 14px solid rgba(255,255,255,.9);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* 🔥 FORCE le style des boutons pill dans la navigation */
.topbar .nav a.pill,
.topbar .nav button.pill {
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  line-height: 1 !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;

  transition: background .15s ease, transform .15s ease !important;
}

.topbar .nav a.pill:hover,
.topbar .nav button.pill:hover {
  background: rgba(255,255,255,.14) !important;
  transform: translateY(-1px) !important;
}

/* FORCE le style du bouton EN */
#langToggle{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 10px 16px !important;
  border-radius: 999px !important;

  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;

  line-height: 1 !important;
  font-weight: 600 !important;
  cursor: pointer !important;

  transition: background .15s ease, transform .15s ease !important;
}

#langToggle:hover{
  background: rgba(255,255,255,.14) !important;
  transform: translateY(-1px) !important;
}

/* ✅ Force uniquement le bouton langue */
#langToggle{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 10px 16px !important;
  border-radius: 999px !important;

  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;

  line-height: 1 !important;
  font-weight: 600 !important;
  cursor: pointer !important;

  transition: background .15s ease, transform .15s ease !important;
}

#langToggle:hover{
  background: rgba(255,255,255,.14) !important;
  transform: translateY(-1px) !important;
}

/* 🔒 Harmonisation des boutons Contact + Langue */
.topbar .nav .pill,
#langToggle {
  padding: 10px 16px;
  min-height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);

  font-weight: 600;
  line-height: 1;
  cursor: pointer;

  transition: background .15s ease, transform .15s ease;
}

.topbar .nav .pill:hover,
#langToggle:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.videoThumb {
  position: relative;
  overflow: hidden;
}

.videoThumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card vidéo full background */
.card--video{
  position: relative;
  overflow: hidden;
}

.cardBgVideo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* voile sombre pour la lisibilité */
.card--video::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,.70) 100%);
  z-index: 1;
}

.cardOverlay{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Place le tag en haut */
.card--video .tag{
  position: absolute;
  left: 16px;
  top: 16px;
}

/* Pousse le texte en bas de la card */
.card--video .card__body{
  margin-top: auto;
}

/* Bonus hover léger (optionnel) */
.card--video:hover .cardBgVideo{
  transform: scale(1.02);
  transition: transform .35s ease;
}

/* ✅ Vidéo preview: remplir parfaitement la thumb */
.thumb.videoThumb {
  position: relative;
  overflow: hidden;
}

.thumb.videoThumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* <<< le plus important */
  object-position: center;
  transform: scale(1.08); /* petit zoom pour éviter les bords */
}

/* ===== Services tool logos (FINAL – Apple-like micro motion) ===== */
.miniCardHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.toolStack{
  display:flex;
  align-items:center;
  gap:10px;
}

/* État de base : discret, légèrement "posé" */
.toolLogo{
  width:18px !important;
  height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  object-fit:contain !important;
  display:block !important;
  flex:0 0 18px !important;

  opacity:.55 !important;
  filter:grayscale(1) !important;
  transform: translateY(2px) scale(.98) !important;

  transition:
    transform .45s cubic-bezier(.2,.8,.2,1),
    opacity .35s ease,
    filter .35s ease !important;

  will-change: transform, opacity;
}

/* Hover : micro lift + netteté (Apple style) */
.miniCard:hover .toolLogo{
  opacity:1 !important;
  filter:grayscale(0) !important;
  transform: translateY(0) scale(1) !important;
}

/* Décalage très léger pour le 2e logo (Motion & VFX) */
.toolStack .toolLogo:nth-child(2){
  transition-delay: 70ms;
}

/* ===== Video perf (safe, sans changer la taille) ===== */
.videoThumb video{
  display:block;                 /* évite les petits gaps inline */
  width:100%;
  height:100%;
  object-fit:cover;              /* si déjà cover, ça ne change rien */
  transform:translateZ(0);       /* aide à la fluidité (GPU) */
  backface-visibility:hidden;    /* anti flicker */
  -webkit-transform:translateZ(0);
}

/* Mobile : micro gain, sans toucher au layout */
@media (max-width:768px){
  .videoThumb video{
    -webkit-backface-visibility:hidden;
  }
}

/* Si l'utilisateur préfère réduire les animations */
@media (prefers-reduced-motion: reduce){
  .videoThumb video{
    transition:none !important;
    animation:none !important;
  }
}









