:root{
  --bg:#050505;
  --bg2:#0b0b0b;
  --panel:#111114;
  --text:#ffffff;
  --muted:rgba(255,255,255,0.72);
  --muted2:rgba(255,255,255,0.55);
  --line:rgba(255,255,255,0.08);
  --line2:rgba(255,255,255,0.14);
  --radius:14px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit;}

/* TOPBAR */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:70px;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:50;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.logo{
  color:white;
  text-decoration:none;
  font-size:13px;
  letter-spacing:3px;
  text-transform:uppercase;
  opacity:0.95;
}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
}

.nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  transition:0.2s;
  white-space:nowrap;
}

.nav a:hover{
  color:white;
}

/* HERO */
.hero{
  position:relative;
  height:100vh;
  width:100%;
  overflow:hidden;
}

.hero-video{
  position:absolute;
  top:50%;
  left:50%;
  width:120%;
  height:120%;
  transform:translate(-50%,-50%);
  border:0;
}

.hero-overlay,
.page-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    0deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.08) 50%,
    rgba(0,0,0,0.22) 100%
  );
}

.hero-text{
  position:absolute;
  left:60px;
  bottom:70px;
  z-index:5;
  max-width:820px;
  text-shadow:0 8px 40px rgba(0,0,0,0.7);
}

.hero-text h1,
.page-hero h1{
  font-size:64px;
  line-height:1;
  margin:0 0 14px 0;
  font-weight:500;
  letter-spacing:-1px;
}

.hero-text p,
.page-hero p{
  margin:0 0 24px 0;
  font-size:15px;
  color:var(--muted);
  max-width:760px;
  line-height:1.7;
}

.hero-actions,
.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  background:white;
  color:black;
  text-decoration:none;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  border:1px solid transparent;
  transition:0.2s;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-outline{
  background:transparent;
  color:white;
  border:1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover{
  border-color:rgba(255,255,255,0.85);
}

/* GLOBAL SECTIONS */
.section{
  padding:110px 0;
}

.section-inner{
  width:min(1200px, 88%);
  margin:0 auto;
}

.section-header{
  margin-bottom:28px;
}

.section h2{
  margin:0 0 18px 0;
  font-size:34px;
  line-height:1.08;
  font-weight:500;
  letter-spacing:-0.4px;
}

.section h3{
  margin:0 0 12px 0;
  font-size:20px;
  font-weight:500;
}

.section p{
  margin:0;
  max-width:860px;
  font-size:16px;
  line-height:1.7;
  color:var(--muted);
}

.subtitle{
  margin-top:8px !important;
  color:var(--muted2) !important;
}

.kicker{
  display:block;
  margin-bottom:18px;
  font-size:12px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:var(--muted2);
}

.featured{
  background:var(--bg2);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.catalog{
  background:var(--bg);
}

.contact{
  background:var(--bg);
  border-top:1px solid var(--line);
}

.final-cta{
  background:var(--bg2);
  border-top:1px solid var(--line);
}

/* FEATURED */
.featured-row{
  margin-top:35px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}

.featured-card,
.card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  cursor:pointer;
  background:black;
  border:1px solid rgba(255,255,255,0.06);
  transition:0.25s;
}

.featured-card:hover,
.card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,0.28);
}

.featured-thumb,
.thumb{
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#000;
}

.featured-thumb img,
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:contrast(1.05) brightness(0.86);
  transform:scale(1.02);
}

.featured-meta,
.meta{
  padding:12px 12px 14px 12px;
}

.featured-meta h3,
.meta h3{
  margin:0;
  font-size:13px;
  line-height:1.35;
  font-weight:500;
  color:white;
}

.meta span{
  display:block;
  margin-top:6px;
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.55);
}

/* FILTERS */
.filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:20px 0 28px 0;
}

.filter{
  background:transparent;
  color:rgba(255,255,255,0.75);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:999px;
  padding:10px 14px;
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  cursor:pointer;
  transition:0.2s;
}

.filter:hover{
  border-color:rgba(255,255,255,0.6);
  color:white;
}

.filter.active{
  background:white;
  color:black;
  border-color:white;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.loadmore-wrap{
  margin-top:34px;
  display:flex;
  justify-content:center;
}

/* LIGHTBOX */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.95);
  z-index:999;
  justify-content:center;
  align-items:center;
  padding:30px;
}

.lightbox-content{
  width:min(1200px, 92vw);
  aspect-ratio:16/9;
  background:black;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.15);
}

.lightbox iframe{
  width:100%;
  height:100%;
  border:0;
}

.lightbox-close{
  position:absolute;
  top:22px;
  right:22px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.3);
  background:rgba(0,0,0,0.3);
  color:white;
  font-size:18px;
  cursor:pointer;
}

.lightbox-close:hover{
  border-color:rgba(255,255,255,0.9);
}

/* PAGES HERO */
.page-hero{
  position:relative;
  min-height:58vh;
  display:flex;
  align-items:flex-end;
  padding:140px 0 80px 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(135deg, #080808 0%, #101014 45%, #050505 100%);
  border-bottom:1px solid var(--line);
}

.page-hero-content{
  position:relative;
  z-index:2;
  width:min(1200px, 88%);
  margin:0 auto;
}

/* CARDS */
.content-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

.content-card,
.service-card,
.process-step,
.tool-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border:1px solid rgba(255,255,255,0.10);
  border-radius:18px;
  padding:26px;
}

.content-card p,
.service-card p,
.process-step p,
.tool-card p{
  font-size:15px;
}

.number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.2);
  color:var(--muted);
  font-size:12px;
  margin-bottom:18px;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

/* PROCESS PLAYER */
.playlist-player{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.12);
  background:black;
}

.playlist-player iframe{
  width:100%;
  height:520px;
  border:0;
}

/* REFERENCES PAGE */
.references-page .references-hero{
  min-height:auto;
  height:auto;
  max-height:none;
  padding-top:130px;
  padding-bottom:60px;
  overflow:visible;
}

.references-page .references-hero .section-inner{
  text-align:left;
  overflow:visible;
}

.references-page .references-main-logo{
  display:block;
  width:100%;
  max-width:1200px;
  height:auto;
  max-height:none;
  min-height:0;
  object-fit:contain;
  object-position:center center;
  margin:38px auto 32px auto;
  transform:none;
}

.references-page .references-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:0;
  position:static;
  transform:none;
}

.references-page .references-affiches{
  border-top:1px solid var(--line);
  padding-top:60px;
}

.references-page .references-affiches .section-inner{
  width:min(1200px, 88%);
  max-width:1200px;
  margin:0 auto;
}

.references-page .references-intro{
  max-width:1200px;
  margin:0 0 50px 0;
  padding:0;
  font-size:16px;
  line-height:1.7;
  color:var(--muted);
  position:static;
  transform:none;
}

.references-page .references-affiche{
  display:block;
  width:100%;
  max-width:1200px;
  height:auto;
  margin:0;
  transform:none;
}

.references-page .final-cta{
  border-top:1px solid var(--line);
}

.references-page .hero-actions,
.references-page .hero-text{
  position:static;
  transform:none;
}

/* TOOLS SECTION */
.tools-section{
  background:
    radial-gradient(circle at 85% 5%, rgba(255,255,255,0.09), transparent 30%),
    linear-gradient(180deg, #050505 0%, #0b0b0d 100%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.tools-intro{
  max-width:760px;
  margin-bottom:42px;
}

.tools-group-title{
  margin:34px 0 16px 0;
  font-size:12px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:var(--muted2);
}

.tools-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:14px;
}

.tool-card{
  min-height:160px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:10px;
  transition:0.25s ease;
}

.tool-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,0.25);
  background:linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
}

.tool-card img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.tool-card h3{
  margin:6px 0 0 0;
  font-size:16px;
}

.tool-card p{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:var(--muted2);
}

.tools-manifesto{
  margin-top:44px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:28px;
  border-radius:22px;
  background:linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border:1px solid rgba(255,255,255,0.10);
}

.manifesto-icon{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,0.16);
  font-size:24px;
}

.tools-manifesto strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
  font-weight:500;
}

.tools-manifesto p{
  font-size:15px;
}

/* CONTACT / FOOTER */
.contact-email{
  display:inline-block;
  margin-top:24px;
  font-size:18px;
  color:white;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,0.3);
  padding-bottom:3px;
}

.contact-email:hover{
  border-bottom-color:white;
}

.footer{
  margin-top:50px;
  font-size:12px;
  line-height:1.8;
  color:rgba(255,255,255,0.4);
  letter-spacing:1px;
  text-transform:uppercase;
}

/* RESPONSIVE */
@media(max-width:1100px){
  .tools-grid{
    grid-template-columns:repeat(3, 1fr);
  }

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

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

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

@media(max-width:900px){
  body{
    padding-bottom:64px;
  }

  .topbar{
    padding:0 18px;
    justify-content:center;
  }

  .logo{
    font-size:12px;
  }

  .nav{
    display:flex;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:100;
    background:rgba(0,0,0,0.88);
    backdrop-filter:blur(12px);
    border-top:1px solid rgba(255,255,255,0.12);
    padding:12px 14px;
    gap:14px;
    overflow-x:auto;
    justify-content:flex-start;
  }

  .nav::-webkit-scrollbar{
    display:none;
  }

  .nav a{
    font-size:11px;
    white-space:nowrap;
  }

  .hero-text{
    left:22px;
    right:22px;
    bottom:50px;
  }

  .hero-text h1,
  .page-hero h1{
    font-size:42px;
  }

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

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

  .tools-manifesto{
    grid-template-columns:1fr;
    text-align:left;
  }

  .playlist-player iframe{
    height:360px;
  }

  .references-page .references-hero{
    padding-top:112px;
    padding-bottom:48px;
  }

  .references-page .references-main-logo{
    width:96vw;
    max-width:96vw;
    height:auto;
    max-height:none;
    margin:32px 0 30px 50%;
    transform:translateX(-50%);
    object-fit:contain;
  }

  .references-page .references-actions{
    flex-direction:column;
    align-items:center;
  }

  .references-page .references-actions .btn{
    width:100%;
    max-width:320px;
    text-align:center;
  }

  .references-page .references-affiches .section-inner{
    width:min(1200px, 88%);
  }

  .references-page .references-intro,
  .references-page .references-affiche{
    width:100%;
    max-width:100%;
  }
}

@media(max-width:560px){
  .section{
    padding:78px 0;
  }

  .grid,
  .featured-row,
  .process-grid,
  .services-grid,
  .tools-grid{
    grid-template-columns:1fr;
  }

  .hero-text h1,
  .page-hero h1{
    font-size:34px;
  }

  .hero-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .btn{
    width:100%;
  }

  .page-hero{
    min-height:52vh;
  }

  .tool-card{
    min-height:135px;
  }

  .playlist-player iframe{
    height:260px;
  }

  .references-page .references-main-logo{
    width:96vw;
    max-width:96vw;
  }
}
@media (max-width:768px){

  #unmuteBtn{
    display:none !important;
  }
