:root{
      --bg:#050505;
      --panel:#0a0a0a;
      --white:#f7f7f4;
      --muted:#b8b8b3;
      --line:rgba(255,255,255,.22);
      --header:112px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;background:var(--bg);color:var(--white);
      font-family:Arial,Helvetica,sans-serif;overflow-x:hidden;
    }
    a{color:inherit;text-decoration:none}
    button{font:inherit}
    header{
      height:var(--header);position:fixed;z-index:50;top:0;left:0;right:0;
      display:flex;align-items:center;justify-content:space-between;
      padding:0 clamp(20px,4vw,70px);
      background:rgba(5,5,5,.84);backdrop-filter:blur(12px);
      border-bottom:1px solid rgba(255,255,255,.08);
    }
    .brand{display:flex;align-items:center}
    .brand img{display:block;width:auto;height:78px;max-width:175px;object-fit:contain}
    nav{display:flex;gap:38px;font-weight:800;font-size:14px}
    nav a{opacity:.9;transition:.2s}
    nav a:hover{opacity:.55}

    .hero{
      min-height:100svh;position:relative;display:grid;place-items:center;
      padding:calc(var(--header) + 35px) 20px 50px;isolation:isolate;
      background:#050505;overflow:hidden;
    }
    .hero-video{
      position:absolute;z-index:-3;inset:0;
      width:100%;height:100%;object-fit:cover;object-position:center;
      pointer-events:none;border:0;
    }
    .hero-overlay{
      position:absolute;inset:0;z-index:-2;
      background:rgba(0,0,0,.58);
    }
    .hero::before{
      content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
      background:linear-gradient(to bottom,rgba(0,0,0,.08),rgba(0,0,0,.20) 60%,rgba(0,0,0,.58));
    }
    .hero-content{text-align:center;width:min(950px,92vw)}
    .hero-logo{display:flex;justify-content:center;align-items:center}
    .hero-logo img{display:block;width:min(1550px,94vw);height:auto;max-height:52vh;object-fit:contain}
    .present{margin:34px 0 20px;font-size:14px;font-weight:900;letter-spacing:9px}
    .outline-btn{
      display:inline-block;border:2px solid #fff;padding:16px 25px;
      font-weight:900;letter-spacing:2px;transition:.2s;background:rgba(0,0,0,.15)
    }
    .outline-btn:hover{background:#fff;color:#000}
    .pills{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:42px}
    .pills a{
      background:#fff;color:#050505;padding:10px 20px;border-radius:12px;
      font-weight:900;font-size:14px;letter-spacing:.7px
    }

    main{
      background:
        radial-gradient(circle at 50% 0,rgba(255,255,255,.045),transparent 25%),
        linear-gradient(#080808,#030303);
    }
    .category{padding:82px clamp(18px,5vw,80px) 25px;scroll-margin-top:var(--header)}
    .category h2{
      text-align:center;font-size:clamp(38px,6vw,72px);line-height:1;
      margin:0 0 28px;font-weight:1000;letter-spacing:-2px
    }
    .slider{position:relative;width:min(1160px,100%);margin:auto}
    .video-shell{
      position:relative;aspect-ratio:16/9;border:2px solid rgba(255,255,255,.9);
      background:#111;overflow:hidden
    }
    .video-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
    .youtube-fallback{position:absolute;inset:0;display:block;color:#fff;text-decoration:none;background:#080808}
    .youtube-fallback img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
    .youtube-fallback::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.12);transition:.2s}
    .youtube-fallback:hover::after{background:rgba(0,0,0,.25)}
    .fallback-play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:74px;height:52px;border-radius:14px;background:#ff0033;display:grid;place-items:center;font-size:25px;padding-left:4px;box-shadow:0 8px 30px rgba(0,0,0,.35)}
    .fallback-note{position:absolute;z-index:2;right:18px;bottom:15px;font-size:10px;font-weight:900;letter-spacing:1px;background:rgba(0,0,0,.7);padding:8px 10px;border-radius:3px}
    .empty-category{width:min(1160px,100%);aspect-ratio:16/5;margin:auto;border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;color:rgba(255,255,255,.28);font-weight:900;letter-spacing:4px;font-size:14px;background:#070707}

    .video-meta{
      display:flex;align-items:center;justify-content:space-between;
      gap:20px;margin-top:13px;color:var(--muted);font-size:12px;letter-spacing:1.3px
    }
    .video-title{color:#fff;font-weight:900;font-size:14px}
    .counter{white-space:nowrap}
    .arrow{
      position:absolute;top:calc(50% - 18px);transform:translateY(-50%);
      width:62px;height:92px;border:0;background:transparent;color:white;
      font-size:66px;font-weight:200;cursor:pointer;z-index:3;opacity:.92;
      display:grid;place-items:center
    }
    .arrow:hover{opacity:.55}
    .prev{left:-76px}.next{right:-76px}

    .contact{
      min-height:420px;display:grid;place-items:center;text-align:center;padding:110px 20px 90px
    }
    .contact h2{font-size:clamp(44px,7vw,78px);margin:0 0 20px;font-weight:1000}
    .mail{
      border:2px solid white;padding:9px 12px;font-size:clamp(13px,2vw,20px);
      font-weight:800;display:inline-block
    }
    footer{text-align:center;color:#777;font-size:11px;padding:0 20px 35px}

    @media(max-width:900px){
      :root{--header:92px}
      nav{gap:18px;font-size:12px}
      .hero-logo img{width:min(1350px,94vw);max-height:48vh}
      .arrow{top:auto;bottom:-2px;width:48px;height:48px;font-size:42px;background:#050505}
      .prev{left:0}.next{right:0}
      .video-meta{padding:0 60px;min-height:48px;justify-content:center;text-align:center}
      .counter{display:none}
      .category{padding-top:68px}
    }
    @media(max-width:580px){
      header{padding:0 18px}.brand img{width:auto;height:64px;max-width:135px}
      nav a:first-child{display:none}nav{gap:13px}
      .hero{min-height:92svh}
      .hero-logo img{width:94vw;max-height:42vh}
      .present{margin-top:50px}
      .pills{gap:9px}.pills a{font-size:11px;padding:9px 12px}
      .category{padding-left:10px;padding-right:10px}
      .video-shell{border-width:1px}
    }

/* Instagram */
.instagram-link{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;color:#fff}
.instagram-link .instagram-icon{width:20px;height:20px;display:block}
.instagram-link:hover,.instagram-contact:hover{opacity:.7}
.instagram-contact{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;color:#fff;text-decoration:none;font-weight:800;letter-spacing:.04em}
.instagram-contact .instagram-icon{width:24px;height:24px}
@media(max-width:700px){.instagram-link{width:24px;height:24px}.instagram-link .instagram-icon{width:18px;height:18px}.instagram-contact{margin-top:14px}}

/* V21 : logo REC709 central légèrement réduit */
.hero-logo img{width:min(1320px,82vw)!important;max-height:44vh!important}
@media(max-width:900px){.hero-logo img{width:min(1120px,84vw)!important;max-height:42vh!important}}
@media(max-width:700px){.hero-logo img{width:86vw!important;max-height:38vh!important}}


/* V23 — Page Notre équipe */
header nav a.active{opacity:.62}

.team-page{
  background:#070707;
  color:#fff;
}
.team-main{
  min-height:calc(100vh - var(--header,112px));
  display:flex;
  align-items:center;
  justify-content:center;
  padding:calc(var(--header,112px) + 55px) clamp(24px,5vw,90px) 100px;
}
.team-section{
  width:min(1420px,100%);
  margin:0 auto;
  text-align:center;
}
.team-section h1{
  margin:0 0 105px;
  font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size:clamp(52px,5.2vw,92px);
  line-height:.95;
  letter-spacing:.01em;
  text-transform:uppercase;
}
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(28px,4vw,72px);
  align-items:start;
}
.team-member{
  text-align:center;
}
.team-photo{
  display:block;
  width:100%;
  max-width:255px;
  aspect-ratio:1;
  margin:0 auto 24px;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  transition:transform .25s ease, opacity .25s ease;
}
.team-photo:hover{
  transform:scale(1.035);
  opacity:.88;
}
.team-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.team-member h2{
  margin:0;
  font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size:clamp(27px,2.1vw,39px);
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.01em;
}
.team-member p{
  margin:8px 0 0;
  font-size:clamp(16px,1.35vw,23px);
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.02em;
}

@media(max-width:900px){
  .team-main{
    padding-top:calc(var(--header,92px) + 50px);
  }
  .team-section h1{
    margin-bottom:70px;
  }
  .team-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:65px;
  }
  .team-photo{
    max-width:230px;
  }
}
@media(max-width:560px){
  .team-main{
    align-items:flex-start;
    padding-left:24px;
    padding-right:24px;
    padding-bottom:75px;
  }
  .team-section h1{
    font-size:48px;
    margin-bottom:55px;
  }
  .team-grid{
    grid-template-columns:1fr;
    gap:58px;
  }
  .team-photo{
    max-width:220px;
  }
}

/* V24 — couleur de fond globale */
html, body, .team-page {
  background: #010a14 !important;
}

/* V25 — correction fond global visible */
html, body,
main,
section,
.projects,
.project,
.project-section,
.projects-section,
.work,
.work-section,
.contact,
#contact,
.team-page,
.team-main,
.team-section {
  background-color: #010a14 !important;
}

/* évite qu'un ancien background noir de section masque la couleur */
body::before,
main::before,
main::after,
section::before,
section::after {
  background-color: transparent;
}

/* V26 — header bleu nuit + suppression contours vidéos */
header {
  background: #010a14 !important;
  border-color: transparent !important;
}

/* Cadres vidéo / carrousels */
.video-frame,
.video-wrap,
.video-container,
.project-video,
.media,
.player,
iframe {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* V27 — suppression réelle du contour blanc des lecteurs vidéo */
.video-shell {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* V28 — page équipe : fond parfaitement uniforme */
.team-page,
.team-page main,
.team-main,
.team-section,
.team-grid,
.team-member {
  background: #010a14 !important;
  background-color: #010a14 !important;
  background-image: none !important;
}
.team-page footer {
  background: #010a14 !important;
  background-color: #010a14 !important;
}

/* V29 — suppression des boutons catégories sous le showreel */
.hero .pills,
.hero .categories,
.hero .category-buttons,
.hero-nav,
.hero-links {
  display: none !important;
}

/* V30 — Présentation REC709 sous l'équipe */
.team-main{
  display:block !important;
  padding-bottom:0 !important;
}
.team-section{
  min-height:calc(100vh - var(--header,112px));
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-bottom:90px;
}
.about-rec709{
  background:#010a14 !important;
  padding:110px clamp(28px,8vw,150px) 140px;
}
.about-inner{
  width:min(1250px,100%);
  margin:0 auto;
}
.about-kicker{
  margin:0 0 22px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.28em;
  opacity:.55;
}
.about-rec709 h2{
  margin:0 0 72px;
  font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;
  font-size:clamp(48px,6vw,92px);
  line-height:.93;
  letter-spacing:.005em;
  text-transform:uppercase;
}
.about-rec709 h2 span{
  opacity:.45;
}
.about-layout{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:clamp(55px,8vw,130px);
  align-items:start;
}
.about-lead p{
  margin:0;
  font-size:clamp(23px,2vw,31px);
  line-height:1.35;
  font-weight:700;
}
.about-copy{
  max-width:690px;
}
.about-copy p{
  margin:0 0 26px;
  font-size:clamp(16px,1.15vw,19px);
  line-height:1.72;
  opacity:.78;
}
.about-signature{
  margin:85px 0 0;
  padding-top:30px;
  border-top:1px solid rgba(255,255,255,.16);
  font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;
  font-size:clamp(25px,2.7vw,42px);
  line-height:1.08;
  letter-spacing:.015em;
}
@media(max-width:800px){
  .team-section{min-height:auto;padding-top:90px;padding-bottom:100px}
  .about-rec709{padding:80px 28px 100px}
  .about-rec709 h2{margin-bottom:50px}
  .about-layout{grid-template-columns:1fr;gap:38px}
  .about-signature{margin-top:60px}
}

/* V31 — présentation en une seule colonne blanche */
.about-rec709 h2{
  color:#fff !important;
  margin-bottom:52px !important;
}
.about-single-copy{
  max-width:850px;
}
.about-single-copy p{
  margin:0 0 25px;
  color:#fff !important;
  opacity:1 !important;
  font-size:clamp(16px,1.15vw,19px);
  line-height:1.72;
  font-weight:400;
}

/* V32 — rapprochement équipe / présentation + centrage complet */
.team-section{
  min-height:auto !important;
  padding-bottom:45px !important;
}
.about-rec709{
  padding-top:45px !important;
  text-align:center !important;
}
.about-inner{
  text-align:center !important;
}
.about-kicker,
.about-rec709 h2,
.about-single-copy,
.about-single-copy p,
.about-signature{
  text-align:center !important;
}
.about-single-copy{
  margin-left:auto !important;
  margin-right:auto !important;
  max-width:900px !important;
}
.about-signature{
  margin-left:auto !important;
  margin-right:auto !important;
}
@media(max-width:800px){
  .team-section{padding-bottom:30px !important}
  .about-rec709{padding-top:35px !important}
}

/* V33 — un peu plus d'air entre équipe et présentation */
.team-section{
  padding-bottom:65px !important;
}
.about-rec709{
  padding-top:60px !important;
}
@media(max-width:800px){
  .team-section{padding-bottom:45px !important}
  .about-rec709{padding-top:45px !important}
}

/* V34 — header centré comme la référence */
header{
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
  padding-left:clamp(28px,5vw,85px) !important;
  padding-right:clamp(28px,5vw,85px) !important;
}
header .brand{
  grid-column:1 !important;
  justify-self:start !important;
}
header nav{
  grid-column:2 !important;
  justify-self:center !important;
  display:flex !important;
  align-items:center !important;
  gap:clamp(24px,2.5vw,42px) !important;
}
header .brand img{
  height:64px !important;
  width:auto !important;
  max-width:150px !important;
  object-fit:contain !important;
}
@media(max-width:700px){
  header{
    display:flex !important;
    justify-content:space-between !important;
    padding-left:22px !important;
    padding-right:22px !important;
  }
  header nav{
    gap:15px !important;
  }
  header .brand img{
    height:52px !important;
    max-width:115px !important;
  }
}

/* V35 — ancien logo dans le hero, nouveau logo uniquement dans le header.
   Le bloc logo + navigation est centré ensemble dans la barre. */
header{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(34px,4vw,68px) !important;
  position:relative !important;
}
header .brand,
header nav{
  grid-column:auto !important;
  justify-self:auto !important;
}
header .brand{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
}
header .brand img{
  display:block !important;
  height:54px !important;
  width:auto !important;
  max-width:125px !important;
  object-fit:contain !important;
}
header nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(24px,2.4vw,40px) !important;
  margin:0 !important;
}
@media(max-width:700px){
  header{
    gap:18px !important;
    justify-content:center !important;
  }
  header .brand img{
    height:46px !important;
    max-width:105px !important;
  }
  header nav{gap:14px !important;}
}

/* V36 — header parfaitement centré + hero exactement à la hauteur de l'écran */
header{
  height:var(--header,112px) !important;
  min-height:var(--header,112px) !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* Centre réellement l'ensemble logo + navigation, sans décalage */
header .brand{
  position:static !important;
  flex:0 0 auto !important;
}
header nav{
  position:static !important;
  flex:0 0 auto !important;
}
header .brand,
header nav{
  transform:none !important;
}

/* Le hero + header occupent exactement 100vh */
.hero{
  height:calc(100vh - var(--header,112px)) !important;
  min-height:0 !important;
  max-height:calc(100vh - var(--header,112px)) !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}

/* Centre le contenu du hero dans l'espace réellement visible */
.hero-content{
  height:100% !important;
  min-height:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}

@media(max-width:900px){
  header{
    height:var(--header,92px) !important;
    min-height:var(--header,92px) !important;
  }
  .hero{
    height:calc(100vh - var(--header,92px)) !important;
    max-height:calc(100vh - var(--header,92px)) !important;
  }
}

/* V37 — header fixe pendant le scroll */
header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  z-index:9999 !important;
}

/* Le hero commence sous le header tout en gardant 100vh au total */
.hero{
  margin-top:var(--header,112px) !important;
}

@media(max-width:900px){
  .hero{
    margin-top:var(--header,92px) !important;
  }
}
