:root{
  --noir:#0a0a0a;
  --noir-2:#121212;
  --noir-3:#1a1a1a;
  --blanc:#f7f6f4;
  --blanc-pur:#ffffff;
  --orange:#ff6a1a;
  --orange-2:#ff8a3d;
  --orange-dim:#c9500f;
  --line:rgba(255,255,255,.09);
  --line-orange:rgba(255,106,26,.35);
  --muted:rgba(247,246,244,.58);
  --ff-display:'Clash Display', 'Space Grotesk', sans-serif;
  --ff-body:'Plus Jakarta Sans', 'Inter', sans-serif;
  --ff-mono:'Space Mono', 'JetBrains Mono', monospace;
  --ease:cubic-bezier(.16,.84,.44,1);
}


*{box-sizing:border-box; margin:0; padding:0;}
h1,h2,h3,h4,h5,h6,p,a,span,li,blockquote,button,input,textarea{
  overflow-wrap:break-word;
  word-break:break-word;
}
html{scroll-behavior:smooth;}
html.lenis, html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior:contain; }

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:.001ms !important; animation-delay:0s !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}

body{
  background:var(--noir);
  color:var(--blanc);
  font-family:var(--ff-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none;}
ul{list-style:none;}
img{max-width:100%; display:block;}
button{font:inherit; cursor:pointer;}

:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
}

.wrap{
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
  min-width:0;
  overflow:hidden;
}
@media (max-width:640px){ .wrap{padding:0 22px;} }

.eyebrow{
  font-family:var(--ff-mono);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--orange);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}
.eyebrow::before{
  content:'';
  width:22px; height:1px;
  background:var(--orange);
  display:inline-block;
}

.h-display{
  font-family:var(--ff-display);
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.04;
}
.accent{color:var(--orange);}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:16px 28px;
  border-radius:2px;
  font-family:var(--ff-mono);
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-weight:500;
  transition:transform .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space:nowrap;
  border:none;
}
.btn-primary{
  background:var(--orange);
  color:var(--noir);
  border:1px solid var(--orange);
}
.btn-primary:hover{ transform:translateY(-2px); background:var(--orange-2); }
.btn-ghost{
  border:1px solid var(--line);
  color:var(--blanc);
  background:transparent;
}
.btn-ghost:hover{ border-color:var(--orange); color:var(--orange); transform:translateY(-2px); }

/* ===== signature motif ===== */
.motif{
  position:absolute; inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:0;
}
.motif svg{ width:100%; height:100%; display:block; }

/* ===== reveal-on-scroll ===== */
.reveal{
  opacity:0;
  transform:translateY(28px) scale(.98);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view{ opacity:1; transform:translateY(0) scale(1); }
.reveal-delay-1.in-view{ transition-delay:.08s; }
.reveal-delay-2.in-view{ transition-delay:.16s; }
.reveal-delay-3.in-view{ transition-delay:.24s; }
.reveal-delay-4.in-view{ transition-delay:.32s; }
.reveal-delay-5.in-view{ transition-delay:.4s; }

/* ===== NAV ===== */
header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  background:rgba(10,10,10,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  transition:border-color .3s;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.logo-lockup{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--ff-display);
  font-weight:700;
  font-size:19px;
  letter-spacing:.02em;
  flex:0 0 auto;
  white-space:nowrap;
  min-width:0;
  position:relative;
  z-index:2;
  max-width:42%;
}
#logo-text{
  display:inline-block;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
  line-height:1.05;
}
.logo-mark{
  width:34px; height:34px;
  border:1.5px solid var(--orange);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  background:var(--noir);
}
.logo-mark span{
  font-family:var(--ff-display);
  color:var(--orange);
  font-weight:700;
  font-size:15px;
}
.logo-mark::after{
  content:'';
  position:absolute; top:-5px; right:-5px;
  width:6px; height:6px;
  background:var(--orange);
}
.logo-sub{
  font-size:10px;
  font-family:var(--ff-mono);
  letter-spacing:.14em;
  color:var(--muted);
  text-transform:uppercase;
  display:block;
  margin-top:1px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:2px;
  flex:1 1 auto;
  min-width:0;
  justify-content:flex-end;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding:0 8px;
}
.nav-links::-webkit-scrollbar{ display:none; }
.nav-links a{
  font-family:var(--ff-mono);
  font-size:12.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--blanc);
  position:relative;
  flex:0 0 auto;
  white-space:nowrap;
  padding:6px 14px;
  border-radius:3px;
  transition:background .25s, color .25s;
}
.nav-links a::after{
  content:'';
  position:absolute; left:14px; bottom:2px;
  width:0; height:1px;
  background:var(--orange);
  transition:width .3s var(--ease);
}
.nav-links a:hover::after{ width:calc(100% - 28px); }
.nav-links a:hover{ color:var(--orange-2); background:rgba(255,106,26,.06); }
.nav-links a.active{
  color:var(--orange);
  background:rgba(255,106,26,.08);
}
.nav-links a.active::after{ width:calc(100% - 28px); }

.nav-cta{ display:flex; align-items:center; gap:16px; flex:0 0 auto; }
.nav-cta .btn{ padding:12px 16px; white-space:nowrap; }

.burger{
  display:none;
  width:26px; height:18px;
  position:relative;
  background:none; border:0;
}
.burger span{
  position:absolute; left:0; width:100%; height:1.5px;
  background:var(--blanc);
  transition:all .3s var(--ease);
}
.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2){ top:8px; }
.burger span:nth-child(3){ top:16px; }
.burger.open span:nth-child(1){ top:8px; transform:rotate(45deg); background:var(--orange);}
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ top:8px; transform:rotate(-45deg); background:var(--orange);}

.mobile-panel{
  position:fixed;
  top:76px; left:0; right:0; bottom:0;
  background:var(--noir);
  z-index:99;
  display:flex;
  flex-direction:column;
  padding:40px 28px 60px;
  gap:26px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  transform:translateX(100%);
  transition:transform .45s var(--ease);
}
.mobile-panel.open{ transform:translateX(0); }
.mobile-panel.open a{
  animation:mobileLinkIn .4s var(--ease) both;
}
.mobile-panel.open a:nth-child(1){ animation-delay:.08s; }
.mobile-panel.open a:nth-child(2){ animation-delay:.13s; }
.mobile-panel.open a:nth-child(3){ animation-delay:.18s; }
.mobile-panel.open a:nth-child(4){ animation-delay:.23s; }
.mobile-panel.open a:nth-child(5){ animation-delay:.28s; }
.mobile-panel.open a:nth-child(6){ animation-delay:.33s; }
.mobile-panel.open a:nth-child(7){ animation-delay:.38s; }
@keyframes mobileLinkIn{
  from{ opacity:0; transform:translateX(24px); }
}
.mobile-panel a{
  font-family:var(--ff-display);
  font-size:28px;
  font-weight:600;
  color:var(--blanc);
  border-bottom:1px solid var(--line);
  padding-bottom:18px;
}
.mobile-panel a.mobile-cta{
  border:1px solid var(--orange);
  background:rgba(255,106,26,.1);
  color:var(--orange);
  border-radius:8px;
  text-align:center;
  font-size:17px;
  padding:16px 18px;
  margin-top:8px;
}
.mobile-panel a:hover{ color:var(--orange); }

@media (max-width:900px){
  .nav-links{ display:none; }
  .nav-cta .btn{ display:none; }
  .nav-cta{ display:flex; }
  .burger{ display:block; position:relative; z-index:101; }
  .burger span{ height:2px; }
  .burger span:nth-child(2){ top:9px; }
  .burger span:nth-child(3){ top:18px; }
  .burger.open span:nth-child(1),
  .burger.open span:nth-child(3){ top:9px; }
  .nav-cta{ gap:0; }
  footer{ padding-bottom:30px; }
}
/* Mobile: nav links shown as a horizontal scrolling bar at the top (under header) */
.mobile-top-nav{
  display:none;
}
@media (max-width:900px){
  .mobile-top-nav{
    display:flex;
    position:fixed;
    top:76px; left:0; right:0;
    z-index:97;
    background:rgba(10,10,10,.92);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .mobile-top-nav::-webkit-scrollbar{ display:none; }
  .mobile-top-nav a{
    flex:0 0 auto;
    padding:13px 20px;
    font-family:var(--ff-mono);
    font-size:12px;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--muted);
    white-space:nowrap;
    border-right:1px solid var(--line);
  }
  .mobile-top-nav a.active,
  .mobile-top-nav a:active{ color:var(--orange); }
}

/* ===== HERO ===== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding-top:76px;
  overflow-x:hidden;
  background:
    radial-gradient(ellipse 900px 500px at 82% 18%, rgba(255,106,26,.12), transparent 60%),
    var(--noir);
  border-bottom:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:60px;
  align-items:center;
  position:relative;
  z-index:1;
  padding:70px 0 60px;
}
.hero > .photo-carousel{
  position:absolute;
  top:calc(50% - 20px);
  right:0;
  left:0;
  transform:translateY(-50%);
  width:100vw;
  max-width:none;
  z-index:0;
  pointer-events:none;
}
.hero > .photo-carousel .photo-carousel-item{
  pointer-events:auto;
  opacity:.45;
}
.hero > .photo-carousel .photo-carousel-track{
  animation:carousel-hero-scroll 22s linear infinite;
}
@keyframes carousel-hero-scroll{
  from{ transform:translateX(100vw); }
  to{ transform:translateX(-100vw); }
}
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; padding:40px 0 0; }
  .hero{ padding-bottom:0; }
  .hero > .photo-carousel{
    top:auto;
    right:0;
    left:0;
    transform:none;
    bottom:0;
    height:170px;
    padding:10px 0;
    z-index:2;
    background:linear-gradient(90deg, rgba(10,10,10,.2), rgba(10,10,10,.1));
    border-top:1px solid var(--line);
  }
  .hero > .photo-carousel .photo-carousel-item{
    opacity:.5;
    width:150px;
    height:150px;
    border-radius:16px;
  }
  .hero-grid{ padding-bottom:100px; }
}
.hero-kicker{
  font-family:var(--ff-mono);
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:22px;
}
.hero-kicker strong{ color:var(--blanc-pur); font-weight:600; }
.hero-role{
  font-family:var(--ff-mono);
  font-size:13px;
  color:var(--orange);
  letter-spacing:.06em;
  margin-top:10px;
  display:block;
}
.hero h1{
  font-size:clamp(34px, 4.6vw, 66px);
  margin-top:26px;
  max-width:15ch;
}
.hero p.lead{
  max-width:46ch;
  color:var(--muted);
  font-size:17px;
  margin-top:26px;
}
.hero-ctas{
  display:flex;
  gap:16px;
  margin-top:38px;
  flex-wrap:wrap;
}
.hero-scroll-hint{
  margin-top:60px;
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--ff-mono);
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
}
@media (max-width:900px){
  .hero-scroll-hint{ margin-top:30px; }
}
.hero-scroll-hint .line{
  width:1px; height:34px;
  background:linear-gradient(var(--orange), transparent);
  animation:scrollpulse 2s infinite;
}
@keyframes scrollpulse{ 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* ===== SECTION shell ===== */
section{ position:relative; }
.section{
  padding:130px 0;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
@media (max-width:640px){ .section{ padding:86px 0; } }
.section-head{
  max-width:640px;
  margin-bottom:64px;
}
.section-head h2{
  font-size:clamp(28px,3.4vw,44px);
}
.section-head p{
  color:var(--muted);
  margin-top:18px;
  font-size:16px;
  max-width:52ch;
}
.section-alt{ background:var(--noir-2); }

/* ===== ABOUT ===== */
.about-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
  align-items:center;
}
.about-photo-box{
  width:100%;
  max-width:260px;
  aspect-ratio:1/1;
  border:1px solid var(--line);
  background:linear-gradient(170deg, var(--noir-3), var(--noir));
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  overflow:hidden;
}
.about-photo-box img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.about-monogram-text{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:56px;
  color:transparent;
  -webkit-text-stroke:1.5px var(--orange);
  user-select:none;
}
.about-lede{
  font-family:var(--ff-display);
  font-size:clamp(20px,2vw,26px);
  font-weight:500;
  max-width:26ch;
  margin-bottom:34px;
  color:var(--blanc-pur);
}
.axis-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.axis{
  background:var(--noir);
  padding:28px 26px;
}
.axis-num{
  font-family:var(--ff-mono);
  font-size:11px;
  color:var(--orange);
  letter-spacing:.1em;
}
.axis h3{
  font-family:var(--ff-display);
  font-size:19px;
  margin:12px 0 10px;
}
.axis p{ color:var(--muted); font-size:14.5px; }
@media (max-width:900px){
  .about-grid{ grid-template-columns:1fr; gap:40px; }
  .about-photo-box{ max-width:200px; margin:0 auto; }
  .axis-list{ grid-template-columns:1fr 1fr; }
  .axis{ padding:22px 18px; }
  .axis h3{ font-size:16px; }
}
@media (max-width:420px){
  .axis-list{ grid-template-columns:1fr; }
}

/* ===== JDS block ===== */
.jds-block{
  border:1px solid var(--line-orange);
  background:var(--noir);
  padding:60px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  grid-template-areas:
    "text services"
    "media media";
  gap:56px;
  position:relative;
  min-width:0;
}
.jds-block > div:nth-child(1){ grid-area:text; min-width:0; }
.jds-block > .jds-services{ grid-area:services; min-width:0; }
.jds-block > .media-strip-wrap{ grid-area:media; min-width:0; }
.jds-block::before{
  content:'';
  position:absolute; top:0; left:0;
  width:46px; height:2px;
  background:var(--orange);
}
.jds-title{
  font-family:var(--ff-display);
  font-size:clamp(26px,3vw,36px);
  margin-bottom:10px;
}
.jds-sub{ color:var(--muted); font-size:15px; max-width:34ch; margin-bottom:30px;}
.jds-services{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 24px;
}
.jds-services li{
  font-size:14px;
  padding:10px 0 10px 20px;
  border-bottom:1px solid var(--line);
  position:relative;
  color:var(--blanc);
}
.jds-services li::before{
  content:'';
  position:absolute; left:0; top:17px;
  width:8px; height:1px;
  background:var(--orange);
}
@media (max-width:900px){
  .jds-block{
    grid-template-columns:1fr;
    grid-template-areas:
      "text"
      "services"
      "media";
    padding:36px 22px;
    gap:32px;
  }
  .jds-services{ grid-template-columns:1fr 1fr; gap:10px 18px; }
  .jds-services li{ font-size:13px; }
}
@media (max-width:420px){
  .jds-block{ padding:28px 18px; }
  .jds-services{ grid-template-columns:1fr 1fr; }
}

/* Photos de l'entreprise : affichage plus grand mais en défilement horizontal (peu d'espace) */
.jds-block .media-strip{
  display:flex;
  flex-wrap:nowrap;
  gap:12px;
  overflow-x:auto;
  padding:4px 0 8px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:var(--line) transparent;
}
.jds-block .media-strip-item{
  flex:0 0 auto;
  width:240px;
  height:150px;
  border-radius:10px;
}
@media (max-width:900px){
  .jds-block .media-strip-item{ width:200px; height:130px; }
}
@media (max-width:480px){
  .jds-block .media-strip-item{ width:150px; height:100px; }
}

/* ===== EXPERTISES grid ===== */
.expertise-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.expertise-card{
  background:var(--noir);
  padding:38px 32px;
  transition:background .4s, transform .4s var(--ease);
  position:relative;
  overflow:hidden;
}
.expertise-card::before{
  content:'';
  position:absolute; left:0; top:0; bottom:0;
  width:2px;
  background:var(--orange);
  transform:scaleY(0);
  transform-origin:bottom;
  transition:transform .45s var(--ease);
}
.expertise-card:hover{ background:var(--noir-3); transform:translateY(-4px); }
.expertise-card:hover::before{ transform:scaleY(1); }
.expertise-ico{
  width:38px; height:38px;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:24px;
  transition:border-color .3s;
  font-family:var(--ff-mono);
  font-size:12px;
  color:var(--muted);
}
.expertise-card:hover .expertise-ico{ border-color:var(--orange); }
.expertise-card h3{
  font-family:var(--ff-display);
  font-size:18px;
  margin-bottom:10px;
}
.expertise-card p{ color:var(--muted); font-size:14px; }
@media (max-width:900px){ .expertise-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .expertise-grid{ grid-template-columns:1fr 1fr; gap:1px; } .expertise-card{ padding:26px 20px; } }
@media (max-width:380px){ .expertise-grid{ grid-template-columns:1fr; } }

/* ===== PROJECTS / FLUXA ===== */
.fluxa-panel{
  position:relative;
  background:var(--noir);
  border:1px solid var(--line);
  padding:64px;
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:50px;
  align-items:center;
  overflow:hidden;
}
.fluxa-panel > div{ min-width:0; }
.fluxa-panel .media-strip{ max-width:100%; }
.fluxa-glow{
  position:absolute; width:520px; height:520px;
  background:radial-gradient(circle, rgba(255,106,26,.16), transparent 65%);
  top:-160px; right:-140px;
  pointer-events:none;
}
.fluxa-tag{
  font-family:var(--ff-mono);
  font-size:12px;
  color:var(--orange);
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:16px;
  display:block;
}
.fluxa-panel h3{
  font-family:var(--ff-display);
  font-size:clamp(30px,3.6vw,46px);
  margin-bottom:8px;
}
.fluxa-panel .sub{ color:var(--muted); font-size:16px; margin-bottom:32px; max-width:38ch;}
.fluxa-modules{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:36px;
}
.fluxa-module{
  border:1px solid var(--line);
  padding:18px 18px;
  transition:border-color .3s, transform .3s var(--ease);
}
.fluxa-module:hover{ border-color:var(--orange); transform:translateY(-3px); }
.fluxa-module b{
  font-family:var(--ff-display);
  color:var(--orange);
  font-size:14px;
  display:block;
  margin-bottom:6px;
}
.fluxa-module span{ font-size:12.5px; color:var(--muted); }

.phone-mock{
  position:relative;
  z-index:1;
  width:220px;
  height:450px;
  margin:0 auto;
  border:2px solid #2a2a2a;
  border-radius:32px;
  background:var(--noir-2);
  padding:10px;
  box-shadow:0 40px 80px rgba(0,0,0,.5);
}
.phone-mock .screen{
  width:100%; height:100%;
  border-radius:22px;
  background:linear-gradient(165deg, #0d0d0d, #171717);
  border:1px solid var(--line);
  display:flex; flex-direction:column;
  padding:20px 16px;
  position:relative;
  overflow:hidden;
}
.phone-mock .screen::before{
  content:'';
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:60px; height:5px; background:#333; border-radius:4px; margin-top:8px;
}
.phone-brand{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:16px;
  margin:26px 0 20px;
}
.phone-brand span{ color:var(--orange); }
.phone-row{
  display:flex; align-items:center; gap:10px;
  padding:11px 10px;
  border:1px solid var(--line);
  margin-bottom:9px;
  font-family:var(--ff-mono);
  font-size:10px;
  letter-spacing:.05em;
  color:var(--muted);
}
.phone-row .dot{ width:6px; height:6px; background:var(--orange); flex-shrink:0; }
@media (max-width:900px){
  .fluxa-panel{ grid-template-columns:1fr; padding:40px 26px; }
  .fluxa-modules{ grid-template-columns:1fr; }
  .phone-mock{ order:-1; width:180px; height:360px; margin-bottom:20px; }
  .phone-mock .screen{ padding:14px 12px; }
  .phone-brand{ font-size:13px; margin:18px 0 14px; }
  .phone-row{ padding:7px 8px; font-size:9px; gap:7px; margin-bottom:6px; }
  .phone-row .dot{ width:5px; height:5px; }
}

/* ===== PROJECTS GRID ===== */
.projects-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:30px;
  min-width:0;
}
.project-card{
  background:var(--noir);
  border:1px solid var(--line);
  padding:30px 26px;
  display:flex;
  flex-direction:column;
  transition:border-color .3s, transform .3s var(--ease);
  min-width:0;
  overflow:hidden;
}
.project-card .media-strip{ max-width:100%; }
.project-card:hover{ border-color:var(--orange); transform:translateY(-3px); }
.pcard-tag{
  font-family:var(--ff-mono);
  font-size:11px;
  color:var(--orange);
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:12px;
  display:block;
}
.pcard-title{
  font-family:var(--ff-display);
  font-size:clamp(18px,2vw,24px);
  margin-bottom:8px;
}
.pcard-sub{ font-size:14px; color:var(--muted); margin-bottom:16px; line-height:1.55; }
.pcard-mods{
  list-style:none;
  margin-top:auto;
  padding:0;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.pcard-mod{
  font-size:12.5px;
  color:var(--muted);
  margin-bottom:6px;
  line-height:1.45;
}
.pcard-mod b{ color:var(--blanc); font-size:11px; }
.pcard-more{
  font-family:var(--ff-mono);
  font-size:11px;
  color:var(--orange);
  margin-top:4px;
}
.pcard-links{
  margin-top:14px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.media-strip{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:12px 0;
  scrollbar-width:thin;
  scrollbar-color:var(--line) transparent;
  overscroll-behavior-x:contain;
  scroll-behavior:smooth;
  scroll-snap-type:x proximity;
  scroll-padding:0 4px;
  -webkit-overflow-scrolling:touch;
}
.media-strip::-webkit-scrollbar{ height:5px; }
.media-strip::-webkit-scrollbar-track{ background:transparent; }
.media-strip::-webkit-scrollbar-thumb{ background:var(--line); border-radius:4px; }
.media-strip::-webkit-scrollbar-thumb:hover{ background:var(--orange); }
.media-strip-item{
  flex:0 0 auto;
  width:120px;
  height:90px;
  border-radius:8px;
  overflow:hidden;
  border:1px solid var(--line);
  scroll-snap-align:start;
}
.media-strip-item:hover{
  border-color:var(--orange);
}
.media-strip-item img,
.media-strip-item video{
  width:100%;
  height:100%;
  object-fit:cover;
}
.media-strip-wrap{
  margin-top:16px;
}
.media-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:8px;
}
.media-thumb{
  position:relative;
  width:80px;
  height:80px;
  border-radius:6px;
  overflow:hidden;
  border:1px solid var(--line);
}
.media-thumb img,
.media-thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
}
.media-thumb .upload-del{
  position:absolute;
  top:2px;
  right:2px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:rgba(0,0,0,.7);
  color:var(--blanc);
  border:none;
  font-size:11px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.projects-more{
  text-align:center;
  margin-top:40px;
}
.projects-grid-label{
  font-family:var(--ff-mono);
  font-size:12px;
  color:var(--muted);
  letter-spacing:.1em;
  text-transform:uppercase;
  margin:40px 0 16px;
}
@media (max-width:900px){
  .projects-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .projects-grid{ grid-template-columns:1fr 1fr; }
  .project-card{ padding:20px 16px; }
  .pcard-sub{ font-size:13px; }
  .pcard-mod{ font-size:11.5px; }
}
@media (max-width:380px){
  .projects-grid{ grid-template-columns:1fr; }
}

/* ===== EVENT sections (initiatives) ===== */
.event-band{
  position:relative;
  padding:110px 0;
  background:var(--noir);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.event-inner{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  min-width:0;
}
.event-inner > .reveal,
.event-inner > .event-visual{ min-width:0; }
.event-inner .media-strip{ max-width:100%; }
.event-band h3{
  font-family:var(--ff-display);
  font-size:clamp(30px,3.8vw,50px);
  letter-spacing:-.01em;
}
.event-band .slogan{
  font-family:var(--ff-display);
  font-size:19px;
  color:var(--orange-2);
  margin:16px 0 22px;
  max-width:24ch;
}
.tag-cloud{
  display:flex; flex-wrap:wrap; gap:10px;
  margin:26px 0 34px;
}
.tag-cloud span{
  font-family:var(--ff-mono);
  font-size:11.5px;
  letter-spacing:.04em;
  padding:9px 14px;
  border:1px solid var(--line);
  color:var(--muted);
  transition:.3s;
}
.tag-cloud span:hover{ border-color:var(--orange); color:var(--orange-2); }
.event-visual{
  aspect-ratio:1/1;
  border:1px solid var(--line);
  position:relative;
  display:flex; align-items:center; justify-content:center;
  background:var(--noir-2);
  overflow:hidden;
}
.event-visual .label{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:clamp(50px,7vw,88px);
  color:rgba(255,106,26,.9);
  opacity:.14;
  z-index:0;
  position:absolute;
}
.event-visual .core{
  position:relative; z-index:1;
  font-family:var(--ff-mono);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--blanc-pur);
  text-align:center;
  padding:0 30px;
}
@media (max-width:900px){
  .event-inner{ grid-template-columns:1fr; gap:40px; }
  .event-visual{ order:-1; max-width:280px; margin:0 auto; }
  .event-band{ padding:70px 0; }
}

/* ===== Pages détail : projet / initiative / parcours ===== */
#project-detail, #initiative-detail, #parcours-detail{
  max-width:960px;
  margin:0 auto;
}
.detail-head{ margin-bottom:36px; }
.detail-head .eyebrow{ margin-bottom:16px; }
.detail-head h1{ margin:14px 0 12px; }
.detail-lead{
  font-size:18px;
  color:var(--muted);
  line-height:1.6;
  max-width:60ch;
}
.detail-desc p{
  color:var(--blanc);
  font-size:16.5px;
  line-height:1.75;
  margin-bottom:24px;
  max-width:70ch;
}
.detail-desc p:first-child{ margin-top:8px; }
.detail-modules, .detail-gallery{ margin:38px 0; }
.detail-modules h3, .detail-gallery h3{
  font-family:var(--ff-display);
  font-size:22px;
  margin-bottom:18px;
}
.detail-visual{ margin:34px 0; }
.detail-visual .event-visual{
  width:220px;
  height:220px;
  margin:0 auto;
  border:1px solid var(--line);
}
.detail-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:40px;
  padding-top:32px;
  border-top:1px solid var(--line);
}

/* Timeline parcours */
.parcours-head{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:44px;
  align-items:start;
  margin-bottom:56px;
}
.parcours-photo{
  width:220px;
  height:220px;
  border-radius:50%;
  overflow:hidden;
  border:2.5px solid var(--orange);
  box-shadow:0 0 40px rgba(255,106,26,.22), 0 0 80px rgba(255,106,26,.08);
  background:var(--noir-3);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  flex-shrink:0;
}
.parcours-photo img{
  width:100%; height:100%;
  object-fit:cover;
}
.parcours-photo .orbit-initial{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:60px;
  color:var(--orange);
}
.parcours-timeline{
  position:relative;
  margin:10px 0 46px;
  padding-left:34px;
}
.parcours-timeline::before{
  content:'';
  position:absolute;
  left:8px; top:6px; bottom:6px;
  width:2px;
  background:linear-gradient(180deg, var(--orange), var(--line));
}
.parcours-step{
  position:relative;
  margin-bottom:36px;
  padding-left:28px;
}
.parcours-step::before{
  content:'';
  position:absolute;
  left:-31px; top:6px;
  width:14px; height:14px;
  border-radius:50%;
  background:var(--noir);
  border:2.5px solid var(--orange);
}
.parcours-period{
  font-family:var(--ff-mono);
  font-size:12.5px;
  letter-spacing:.08em;
  color:var(--orange);
  text-transform:uppercase;
  display:block;
  margin-bottom:6px;
}
.parcours-body h3{
  font-family:var(--ff-display);
  font-size:20px;
  margin-bottom:6px;
}
.parcours-body p{
  color:var(--muted);
  font-size:15.5px;
  line-height:1.65;
  max-width:62ch;
}
@media (max-width:640px){
  .parcours-head{
    grid-template-columns:1fr;
    gap:28px;
  }
  .parcours-photo{
    width:150px;
    height:150px;
  }
}

/* ===== Formations : liste & détail ===== */
#formations-container{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
  gap:22px;
}
.formation-card{
  background:var(--noir-2);
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px 26px 22px;
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:.3s;
}
.formation-card:hover{
  border-color:var(--orange);
  box-shadow:0 18px 50px rgba(255,106,26,.10);
  transform:translateY(-4px);
}
.formation-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.formation-card .eyebrow{ margin:0; }
.formation-card .h-display{ font-size:24px; line-height:1.2; margin:0; }
.formation-card .detail-lead{ font-size:15px; margin:0; }
.formation-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}
.formation-chip{
  font-family:var(--ff-mono);
  font-size:11.5px;
  letter-spacing:.04em;
  color:var(--orange-2);
  border:1px solid var(--line);
  border-radius:999px;
  padding:4px 12px;
}
.formation-price{
  font-family:var(--ff-display);
  font-weight:600;
  font-size:16px;
  color:var(--orange);
  white-space:nowrap;
}
.formation-price--big{
  font-size:clamp(28px,4vw,42px);
  line-height:1.1;
}
.formation-card .formation-cover{
  width:100%;
  aspect-ratio:16/9;
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--line);
  margin-bottom:2px;
  background:#000;
}
.formation-card .formation-cover img,
.formation-detail-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.formation-card .formation-cover-placeholder,
.formation-detail-cover-placeholder{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:10px;
  border:1px solid var(--line);
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,106,26,.16), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255,106,26,.10), transparent 45%),
    var(--noir-2);
  display:flex;
  align-items:center;
  justify-content:center;
}
.formation-card .formation-cover-placeholder span,
.formation-detail-cover-placeholder span{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:clamp(34px,5vw,56px);
  color:rgba(255,255,255,.10);
  letter-spacing:.02em;
  user-select:none;
}
.formation-detail-cover{
  width:100%;
  aspect-ratio:21/9;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  margin:6px 0 30px;
  background:#000;
}
.formation-detail-cover-placeholder{
  aspect-ratio:21/9;
  border-radius:14px;
}
.formation-detail-hero{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  align-items:flex-start;
  justify-content:space-between;
  padding:26px 0;
  margin-bottom:8px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.formation-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 30px;
  flex:1 1 320px;
  min-width:0;
}
.formation-field{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.formation-field-label{
  font-family:var(--ff-mono);
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
}
.formation-field > span:last-child{
  font-size:15.5px;
  color:var(--blanc);
  line-height:1.5;
  word-break:break-word;
}
.formation-detail-actions{
  justify-content:flex-start;
}
@media (max-width:640px){
  #formations-container{
    grid-template-columns:1fr;
  }
  .formation-fields{
    grid-template-columns:1fr;
  }
}


.vision{
  padding:150px 0;
  text-align:center;
  position:relative;
  background:
    radial-gradient(ellipse 700px 400px at 50% 0%, rgba(255,106,26,.08), transparent 65%),
    var(--noir);
}
@media (max-width:900px){
  .vision{ padding:80px 0; }
}
.vision blockquote{
  font-family:var(--ff-display);
  font-weight:600;
  font-size:clamp(24px,3.6vw,42px);
  line-height:1.28;
  max-width:920px;
  margin:0 auto;
  letter-spacing:-.01em;
}
.vision .quote-mark{
  font-family:var(--ff-display);
  font-size:80px;
  color:var(--orange);
  opacity:.5;
  line-height:1;
  margin-bottom:10px;
}
.vision-points{
  display:flex; flex-wrap:wrap;
  justify-content:center;
  gap:14px 10px;
  margin-top:50px;
  max-width:760px;
  margin-left:auto; margin-right:auto;
}
.vision-points span{
  font-family:var(--ff-mono);
  font-size:12px;
  letter-spacing:.05em;
  color:var(--muted);
  padding:9px 16px;
  border:1px solid var(--line);
}

/* ===== STATS ===== */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
}
.stat{
  padding:48px 30px;
  border-right:1px solid var(--line);
  text-align:left;
}
.stat:last-child{ border-right:none; }
.stat .num{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:clamp(38px,4.4vw,58px);
  color:var(--orange);
  line-height:1;
}
.stat .lbl{
  margin-top:14px;
  font-family:var(--ff-mono);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}
@media (max-width:900px){
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .stat{ border-bottom:1px solid var(--line); padding:36px 22px; }
}
@media (max-width:420px){
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .stat{ padding:28px 18px; }
  .stat .num{ font-size:32px; }
}

/* ===== CONTACT ===== */
.contact{
  padding:150px 0 130px;
  position:relative;
}
@media (max-width:900px){
  .contact{ padding:80px 0 60px; }
}
.contact h2{
  font-size:clamp(34px,5.2vw,68px);
  max-width:14ch;
}
.contact .sub{ color:var(--muted); font-size:17px; margin:22px 0 50px; max-width:44ch;}
.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin-top:10px;
}
.contact-card{
  background:var(--noir);
  padding:34px 30px;
  transition:background .3s;
}
.contact-card:hover{ background:var(--noir-3); }
.contact-card.wa-highlight{
  border-left:3px solid #25d366;
}
.contact-card.wa-highlight a.big{ color:#25d366; }
.contact-card.wa-highlight a.big:hover{ color:#1da855; }
.contact-card .eyebrow{ margin-bottom:14px; }
.contact-card a.big{
  font-family:var(--ff-display);
  font-size:19px;
  display:block;
  margin-bottom:6px;
}
.contact-card a.big:hover{ color:var(--orange); }
.contact-card .note{ font-size:13px; color:var(--muted); }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* ===== CONTACT SOCIALS ===== */
.contact-socials{ margin-top:36px; }
.socials-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.social-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border:1px solid var(--line);
  border-radius:6px;
  font-family:var(--ff-mono);
  font-size:13px;
  color:var(--blanc);
  text-decoration:none;
  transition:border-color .3s, color .3s, background .3s;
}
.social-link:hover{
  border-color:var(--orange);
  color:var(--orange);
  background:rgba(255,106,26,.06);
}
.social-icon{
  display:flex;
  width:16px;
  height:16px;
  flex-shrink:0;
}
.social-icon svg{
  width:100%;
  height:100%;
}
.social-label{ white-space:nowrap; }
.socials-subtitle{
  font-family:var(--ff-mono);
  font-size:12px;
  color:var(--muted);
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.socials-links-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.social-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 16px;
  border:1px solid var(--line);
  border-radius:24px;
  font-family:var(--ff-mono);
  font-size:12px;
  color:var(--blanc);
  text-decoration:none;
  transition:all .25s var(--ease);
}
.social-pill:hover{
  border-color:var(--orange);
  color:var(--orange);
  background:rgba(255,106,26,.06);
}
.social-pill-icon{
  display:flex;
  width:15px;
  height:15px;
  flex-shrink:0;
}
.social-pill-icon svg{ width:100%; height:100%; }

/* ===== FOOTER ===== */
footer{
  background:var(--noir);
  padding:70px 0 30px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr auto;
  gap:50px;
  padding-bottom:50px;
  border-bottom:1px solid var(--line);
}
.footer-name{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:20px;
  margin-bottom:8px;
}
.footer-role{
  font-family:var(--ff-mono);
  font-size:11.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:20px;
  display:block;
}
.footer-company{
  font-size:14px;
  color:var(--muted);
  max-width:34ch;
}
.footer-col h4{
  font-family:var(--ff-mono);
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:18px;
}
.footer-col ul li{ margin-bottom:12px; }
.footer-col ul li a{ font-size:14px; color:var(--blanc); transition:color .3s; }
.footer-col ul li a:hover{ color:var(--orange); }
#footer-socials .socials-links{ flex-direction:column; gap:10px; }
#footer-socials .social-link{
  border-color:rgba(255,255,255,.1);
  font-size:12px;
  padding:8px 14px;
}
#footer-socials .social-link:hover{ border-color:var(--orange); color:var(--orange); }
#footer-socials h4{
  font-family:var(--ff-mono);
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:18px;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:26px;
  flex-wrap:wrap;
  gap:14px;
  font-family:var(--ff-mono);
  font-size:11px;
  color:var(--muted);
  letter-spacing:.03em;
}
@media (max-width:760px){
  .footer-top{ grid-template-columns:1fr; gap:34px; }
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float{
  position:fixed;
  bottom:26px; right:26px;
  z-index:200;
  width:58px; height:58px;
  border-radius:50%;
  background:var(--orange);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px rgba(255,106,26,.35);
  transition:transform .3s var(--ease);
  border:2px solid var(--noir);
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:26px; height:26px; }

/* =========================================================
   ORBIT PROFIL : photo circulaire + satellites expertise
   ========================================================= */
.orbit-scene{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  max-width:420px;
  margin:40px auto 0;
  perspective:900px;
  transform-style:preserve-3d;
  overflow:visible;
  cursor:default;
}
.orbit-photo{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:130px; height:130px;
  border-radius:50%;
  border:2.5px solid var(--orange);
  box-shadow:0 0 40px rgba(255,106,26,.25), 0 0 80px rgba(255,106,26,.08);
  overflow:hidden;
  background:var(--noir-3);
  display:flex; align-items:center; justify-content:center;
  z-index:3;
}
.orbit-photo img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:50%;
}
.orbit-initial{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:44px;
  color:var(--orange);
  opacity:.85;
  user-select:none;
}

/* --- orbit items --- */
.orbit-item{
  position:absolute;
  top:50%; left:50%;
  width:68px; height:68px;
  margin:-34px 0 0 -34px;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  z-index:2;
  pointer-events:auto;
  will-change:transform, opacity;
}
.orbit-item-ico{
  width:42px; height:42px;
  border-radius:50%;
  border:1.5px solid var(--line-orange);
  background:rgba(10,10,10,.85);
  backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--ff-mono);
  font-size:12px;
  font-weight:600;
  color:var(--orange);
  letter-spacing:.02em;
  transition:border-color .3s, box-shadow .3s;
}
.orbit-item:hover .orbit-item-ico{
  border-color:var(--orange);
  box-shadow:0 0 18px rgba(255,106,26,.35);
}
.orbit-item-label{
  font-family:var(--ff-mono);
  font-size:9px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  margin-top:4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:80px;
  opacity:0;
  transition:opacity .3s;
}
.orbit-item:hover .orbit-item-label{
  opacity:1;
  color:var(--blanc);
}

/* --- responsive orbit --- */
@media (max-width:900px){
  .orbit-scene{ max-width:320px; margin-top:30px; }
  .orbit-photo{ width:108px; height:108px; }
  .orbit-initial{ font-size:36px; }
  .orbit-item{ width:58px; height:58px; margin:-29px 0 0 -29px; }
  .orbit-item-ico{ width:36px; height:36px; font-size:10px; }
  .orbit-item-label{ font-size:8px; max-width:68px; }
}
@media (max-width:560px){
  .orbit-scene{
    max-width:260px;
    margin-top:24px;
    /* Sur mobile, pas de 3D : items en pastilles statiques autour */
  }
  .orbit-photo{ width:90px; height:90px; }
  .orbit-initial{ font-size:30px; }
  .orbit-item{ width:50px; height:50px; margin:-25px 0 0 -25px; }
  .orbit-item-ico{ width:32px; height:32px; font-size:9px; }
  .orbit-item-label{ display:none; }
}

::selection{ background:var(--orange); color:var(--noir); }

/* =========================================================
   CARROUSEL CIRCULAIRE DE PHOTOS
   Photos rondes défilant en boucle de la gauche vers la droite
   ========================================================= */
.photo-carousel{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:30px 0;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.photo-carousel-track{
  display:flex;
  align-items:center;
  gap:26px;
  width:max-content;
  animation:carousel-scroll 32s linear infinite;
}
.photo-carousel:hover .photo-carousel-track{ animation-play-state:paused; }
.photo-carousel-item{
  flex:0 0 auto;
  width:150px;
  height:150px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid var(--line-orange);
  background:var(--noir-2);
  box-shadow:0 10px 26px rgba(0,0,0,.4);
  transition:transform .3s var(--ease), border-color .3s;
}
.photo-carousel-item:hover{ transform:translateY(-6px) scale(1.05); border-color:var(--orange); }
.photo-carousel-item img{
  width:100%; height:100%;
  object-fit:contain;
}
@keyframes carousel-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (max-width:640px){
  .hero > .photo-carousel{ display:block; }
  .photo-carousel-track{ gap:12px; }
}

/* ===== états de chargement ===== */
[data-loading]{
  opacity:.35;
  filter:blur(1px);
}
.load-error-banner{
  position:fixed;
  bottom:0; left:0; right:0;
  background:var(--orange-dim);
  color:var(--noir);
  font-family:var(--ff-mono);
  font-size:12px;
  text-align:center;
  padding:10px;
  z-index:500;
}

/* =========================================================
   CURSEUR PERSONNALISÉ
   ========================================================= */
.cursor-dot{
  position:fixed;
  top:0; left:0;
  width:18px; height:18px;
  border-radius:50%;
  background:var(--orange);
  pointer-events:none;
  z-index:9999;
  opacity:0;
  transform:translate(-50%,-50%);
  transition:width .3s var(--ease), height .3s var(--ease), opacity .3s var(--ease), background .3s;
  will-change:transform;
}

.has-custom-cursor{ cursor:none !important; }
.has-custom-cursor body,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor .btn{ cursor:none !important; }
.has-custom-cursor .cursor-dot{ opacity:.85; }
.has-custom-cursor .cursor-hover .cursor-dot{
  width:42px; height:42px;
  opacity:.25;
  background:var(--orange-2);
}

@media (pointer: coarse){
  .cursor-dot{ display:none !important; }
}

/* =========================================================
   LOADER SCREEN : compteur 0→100 + photo + fond animé
   ========================================================= */
.loader-screen{
  position:fixed;
  inset:0;
  z-index:1000;
  background:var(--noir);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transition:opacity .5s ease;
}
.loader-screen.is-done{
  opacity:0;
  pointer-events:none;
}

/* --- photo circulaire (même style que .orbit-photo) --- */
.loader-photo{
  width:110px; height:110px;
  border-radius:50%;
  border:2.5px solid var(--orange);
  box-shadow:0 0 40px rgba(255,106,26,.25), 0 0 80px rgba(255,106,26,.08);
  overflow:hidden;
  background:var(--noir-3);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  z-index:2;
}
.loader-photo img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:50%;
}
.loader-initial{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:40px;
  color:var(--orange);
  opacity:.85;
  user-select:none;
}

/* --- compteur --- */
.loader-counter{
  font-family:var(--ff-mono);
  font-size:13px;
  letter-spacing:.12em;
  color:var(--muted);
  margin-top:22px;
  position:relative;
  z-index:2;
}
.loader-percent{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:28px;
  color:var(--blanc);
  min-width:3ch;
  text-align:center;
}

/* --- arrière-plan animé --- */
.loader-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:0;
}
.loader-shape{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(255,106,26,.12);
  animation:loaderShapePulse 4s ease-in-out infinite alternate;
}
.loader-shape:nth-child(1){
  width:260px; height:260px;
  top:15%; left:10%;
  animation-duration:5s;
}
.loader-shape:nth-child(2){
  width:180px; height:180px;
  bottom:20%; right:12%;
  border-color:rgba(255,255,255,.06);
  animation-duration:6s;
  animation-delay:1s;
}
.loader-shape:nth-child(3){
  width:120px; height:120px;
  top:55%; left:65%;
  border-color:rgba(255,106,26,.08);
  animation-duration:4.5s;
  animation-delay:.5s;
}
.loader-line{
  position:absolute;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,106,26,.14), transparent);
  animation:loaderLineSlide 6s ease-in-out infinite alternate;
}
.loader-line:nth-child(4){
  width:300px;
  top:30%; left:5%;
  animation-duration:7s;
}
.loader-line:nth-child(5){
  width:220px;
  bottom:35%; right:8%;
  animation-duration:5.5s;
  animation-delay:2s;
}
.loader-dot{
  position:absolute;
  width:4px; height:4px;
  border-radius:50%;
  background:var(--orange);
  animation:loaderDotPulse 3s ease-in-out infinite alternate;
}
.loader-dot:nth-child(6){
  top:22%; right:25%;
  animation-delay:.3s;
}
.loader-dot:nth-child(7){
  bottom:28%; left:22%;
  animation-delay:1.5s;
}
.loader-dot:nth-child(8){
  top:60%; left:40%;
  animation-delay:2.2s;
}
@keyframes loaderShapePulse{
  from{ opacity:.3; transform:scale(.92); }
  to{ opacity:.7; transform:scale(1.06); }
}
@keyframes loaderLineSlide{
  from{ transform:translateX(-30px); opacity:.2; }
  to{ transform:translateX(30px); opacity:.6; }
}
@keyframes loaderDotPulse{
  from{ opacity:.2; transform:scale(.6); }
  to{ opacity:.8; transform:scale(1.4); }
}

/* --- responsive --- */
@media (max-width:640px){
  .loader-photo{ width:88px; height:88px; }
  .loader-initial{ font-size:32px; }
  .loader-percent{ font-size:22px; }
  .loader-shape:nth-child(1){ width:180px; height:180px; }
  .loader-shape:nth-child(2){ width:120px; height:120px; }
  .loader-shape:nth-child(3){ width:80px; height:80px; }
  .loader-line:nth-child(4){ width:180px; }
  .loader-line:nth-child(5){ width:120px; }
}

/* =========================================================
   ENTRÉE STAGÉE (header + hero)
   ========================================================= */
header{
  animation:headerFadeIn .45s var(--ease) .08s both;
}
@keyframes headerFadeIn{
  from{ opacity:0; transform:translateY(-12px); }
}

.hero .reveal.in-view{ transition-delay:.18s; }
.hero .reveal.reveal-delay-1.in-view{ transition-delay:.26s; }
.hero .reveal.reveal-delay-2.in-view{ transition-delay:.34s; }
.hero .reveal.reveal-delay-3.in-view{ transition-delay:.42s; }

/* ===== LIGHTBOX ===== */
.clickable{ cursor:pointer; }
.clickable img{ transition:transform .3s var(--ease); }
.clickable:hover img{ transform:scale(1.04); }
.lightbox-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  align-items:center;
  justify-content:center;
  padding:40px;
  animation:lbFadeIn .25s ease;
}
.lightbox-overlay.active{ display:flex; }
.lightbox-inner{
  position:relative;
  max-width:80vw;
  max-height:80vh;
}
.lightbox-inner img{
  max-width:100%;
  max-height:80vh;
  border-radius:12px;
  border:2px solid var(--line);
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  object-fit:contain;
}
.lightbox-close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--noir);
  color:var(--blanc);
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .2s;
}
.lightbox-close:hover{ border-color:var(--orange); color:var(--orange); }
@keyframes lbFadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

/* ===== Mobile: offset content under fixed header(76px) + top nav bar ===== */
@media (max-width:900px){
  .hero{ padding-top:132px; }
  .section:first-of-type{ padding-top:132px; }
  body{ padding-top:0; }
}
