/* 01) Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #030303;
}

#particles-js {
  display: none;
}

/* CANVAS WEBGL FOND */
#webgl-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* 02) BANDEAU */
.bandeau {
  background-image: url("Images/environnement.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
  position: relative;
}

/* Overlay */
.bandeau::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.32) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.bandeau-contenu {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.texte-bandeau {
  text-align: left;
  flex: 1;
}

.texte-bandeau h1 {
  font-family: 'theblacklist', Arial, sans-serif;
  font-size: 2.4em;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85), 0 0 30px rgba(0,0,0,0.6);
}

.texte-bandeau h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.4em;
  margin-top: 10px;
  color: rgba(230, 240, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

#logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgb(134, 129, 134);
  box-shadow: 0 3px 7px rgb(71, 72, 87);
}

/* Bandeau : Responsive */
@media screen and (max-width: 768px) {
  .bandeau-contenu {
    flex-direction: column-reverse;
    text-align: center;
    gap: 20px;
  }
  .texte-bandeau {
    text-align: center;
  }
  #logo {
    width: 120px;
    height: 120px;
  }
}

/* 03) NAVIGATION */
nav {
  background: rgba(10, 10, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(0, 215, 255, 0.15);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Bouton Burger */
.btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  margin-right: 20px;
}

.ligne {
  height: 3px;
  width: 100%;
  background-color: rgba(220, 230, 255, 0.88);
  border-radius: 2px;
  transition: background-color 0.2s;
}

/* Menu UL */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  color: rgba(220, 230, 255, 0.88);
  font-weight: 600;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: #00d7ff;
}

/* Sous-menu dans la navigation */
.has-submenu {
  position: relative;
}

.has-submenu > .submenu {
  display: none;
  position: absolute;
  top: 100%;            
  left: 0;
  background: rgba(12, 12, 22, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  border-radius: 12px;
  border: 1px solid rgba(0, 215, 255, 0.15);
  min-width: 220px;
  z-index: 20;
}

.has-submenu:hover > .submenu {
  display: block;
}

/* Liens du sous-menu */
.submenu li {
  width: 100%;
}

.submenu li a {
  display: block;
  padding: 9px 18px;
  color: rgba(200, 215, 255, 0.85);
  font-size: 0.9em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.submenu li a:hover {
  background-color: rgba(0, 215, 255, 0.1);
  color: #00d7ff;
}

/* Responsive Nav */
@media screen and (max-width: 768px) {
  .box {
    padding-top: 20px;
  }
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .intro {
    margin-top: 60px;
    padding-top: 20px;
  }
  nav .box {
    justify-content: space-between;
    padding: 0 20px;
  }
  nav .btn {
    display: flex;
    margin-left: 10px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 215, 255, 0.15);
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
    width: 90%;
  }
  nav ul.active {
    display: flex;
  }
}

/* 04) SECTIONS INTRO / TITRES / ANIMATIONS */ 
.intro {
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
  text-align: center;
}

.intro h3 {
  font-size: 2em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00d7ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.texte-bienvenue {
  background: rgba(10, 12, 28, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 215, 255, 0.12);
  font-size: 1.15em;
  line-height: 1.9em;
  color: rgba(200, 210, 230, 0.9);
  max-width: 1200px;
  margin: 20px auto 20px auto;
  text-align: justify;
  padding: 1.4rem 1.8rem;
  border-radius: 16px;
  text-shadow: none;
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* 05) Domaines de compétences */
#Domaines_De_Compétences {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1rem;
}

#Domaines_De_Compétences h3 {
  margin-bottom: 40px;
}

/* Grille */
.competence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

/* Espacement vertical régulier */
.contener section + section {
  margin-top: 60px;
}

/* Cartes IA */
.competence-card {
  width: 90%;
  height: 170px;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.competence-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.competence-card-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.competence-card-content h4 {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
}

.competence-card-content p {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 8px;
}

.competence-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

/* Images des 4 cartes IA */
.competence-1 { background-image: url("Images/IA.jpg"); background-size: cover; background-position: center; }
.competence-2 { background-image: url("Images/videos.png"); background-size: cover; background-position: center; }
.competence-3 { background-image: url("Images/musiques.png"); background-size: cover; background-position: center; }

.montage-1 { background-image: url("Images/Davinci.png"); background-size: cover; background-position: center; }
.montage-2 { background-image: url("Images/Filmora.png"); background-size: cover; background-position: center; }
.montage-3 { background-image: url("Images/Capcut.png"); background-size: cover; background-position: center; }

.Le-Cube-1 { background-image: url("Images/Make.png"); background-size: cover; background-position: center; }
.Le-Cube-2 { background-image: url("Images/Airtable.png"); background-size: cover; background-position: center; }
.Le-Cube-3 { background-image: url("Images/Webflox.png"); background-size: cover; background-position: center; }
.Le-Cube-4 { background-image: url("Images/Lovable.png"); background-size: cover; background-position: center; }

.ecosys-1 { background-image: url("Images/Ecosysteme.png"); background-size: cover; background-position: center; }
.ecosys-2 { background-image: url("Images/Ia-&-Montage.png"); background-size: cover; background-position: center; }
.ecosys-3 { background-image: url("Images/mini-film.png"); background-size: cover; background-position: center; }
.ecosys-4 { background-image: url("Images/Fab-Lab.png"); background-size: cover; background-position: center; }

.section-projets-ecosysteme { margin-top: 40px; }

/* Responsive Mes Réalisations IA */
@media (max-width: 1100px) {
  .competence-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .competence-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .competence-card { max-width: 100%; height: 160px; }
}

/* Titres h3 des sections principales */
.contener section h3 {
  font-size: 2em;
  margin-bottom: 28px;
  text-align: center;
  background: linear-gradient(90deg, #00d7ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 992px) {
  .grille-Domaines_De_Compétences { grid-template-columns: repeat(2, 1fr); }
}

/* 06) DOSSIERS TECHNIQUES & RÉALISATIONS */
#projets-divers {
  margin-top: 60px;
  text-align: center;
  color: #00d7ff;
}

#projets-divers h4 {
  font-size: 2em;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #00d7ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grille-dossiers-techniques-et-réalisations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
}

.bloc-dossiers-techniques-et-réalisations {
  background: rgba(10, 12, 28, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 215, 255, 0.14);
  max-height: 340px;
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bloc-dossiers-techniques-et-réalisations:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.bloc-dossiers-techniques-et-réalisations h4 {
  font-size: 1.15em;
  margin-bottom: 20px;
  color: #00d7ff;
  text-shadow: 0 0 18px rgba(0, 215, 255, 0.45), 0 2px 8px rgba(0,0,0,0.9);
  font-weight: 800;
  line-height: 1.4;
}

.bloc-dossiers-techniques-et-réalisations strong {
  margin-top: 20px;
  font-size: 1em;
  display: block;
}

.boutons-dossier {
  margin-top: 5px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-dossier {
  background: rgba(0, 215, 255, 0.12);
  color: #e0f4ff;
  padding: 8px 16px;
  font-size: 0.85em;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(0, 215, 255, 0.35);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.btn-dossier:hover {
  background: rgba(0, 215, 255, 0.28);
  border-color: rgba(0, 215, 255, 0.7);
  transform: translateY(-2px);
}

/* Bouton dossier désactivé */
.btn-dossier.désactivée {
  background: rgba(80, 80, 100, 0.3);
  border-color: rgba(120, 120, 160, 0.3);
  color: rgba(180, 180, 200, 0.5);
  cursor: not-allowed;
  pointer-events: none;
}

/* Background spécifiques */
.zone-brevet {
  background-image: url("Images/CAO.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.brevet-Déployer-des-systèmes-no-code-automatisés{ 
  background-image: url("Images/Automatisation.png"); 
}

.brevet-Creation-de-contenus-redactionnels-et-visuels { 
  background-image: url("Images/niagara.png"); 
}

.brevet-Vidéo-Motion-Design { 
  background-image: url("Images/Davinci.png"); 
}

.zone-brevet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(4, 6, 20, 0.45) 0%,
    rgba(4, 6, 20, 0.60) 100%
  );
  z-index: 0;
}

.zone-brevet * {
  position: relative;
  z-index: 1;
}

.dark-box {
  background-color: #111;
  color: rgb(10, 10, 10);
  border-radius: 10px;
  padding: 15px;
}

/* Responsive Dossiers */
@media (max-width: 768px) {
  .grille-dossiers-techniques-et-réalisations { grid-template-columns: 1fr; }
}


/* 07) CV */
#CV {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.cv-titre {
  text-align: center;
  font-size: 2.4em;
  margin-top: 10px;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #00d7ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: capitalize;
}

#CV p {
  font-size: 1.15em;
  margin-bottom: 10px;
  color: rgba(210, 220, 240, 0.9);
}

.btn-cv-wrapper {
  text-align: center;
  margin-bottom: 24px;
}

.cv-box {
  padding: 30px;
  background: rgba(10, 12, 28, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 215, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  margin-top: 20px;
  text-align: left;
}

.cv-box ul {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.5;
}

.btn-cv {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #00d7ff22, #7c3aed22);
  border: 1px solid rgba(0, 215, 255, 0.5);
  color: #e0f4ff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1em;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.25s ease, border-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 215, 255, 0.15);
}

.btn-cv:hover {
  background: linear-gradient(135deg, #00d7ff44, #7c3aed44);
  border-color: rgba(0, 215, 255, 0.8);
  transform: translateY(-2px);
  color: white;
}

.cv-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  text-align: center;
  margin-top: 20px;
  color: rgba(200, 215, 240, 0.85);
}

.cv-box:hover .cv-details {
  max-height: none;
  opacity: 1;
  margin-top: 20px;
}

.cv-text { 
  text-align: left; 
  margin-bottom: 15px; 
}

.btn-certifications:hover { 
  background-color: #0056b3; 
}


/* 08) CONTACT + SOCIAUX */
#contact {
  background: rgba(10, 12, 28, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 215, 255, 0.15);
  padding: 30px 30px;
  border-radius: 18px;
  margin: 60px auto;
  max-width: 860px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  text-align: center;
}

#contact h6 {
  font-size: 2em;
  font-weight: 800;
  margin: 40px auto 20px;
  text-transform: uppercase;
}

.btn-contact {
  background: rgba(0, 215, 255, 0.12);
  color: #e0f4ff;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 215, 255, 0.35);
  margin-left: 10px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-contact i { 
  margin-right: 5px; 
}

.btn-contact:hover {
  background: rgba(0, 215, 255, 0.28);
  border-color: rgba(0, 215, 255, 0.7);
  transform: translateY(-2px);
}

#contact p strong { color: rgba(210, 225, 255, 0.9); }

.contact-box {
  background: rgba(10, 12, 28, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 215, 255, 0.13);
  padding: 22px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  max-width: 780px;
  margin: 30px auto;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-box i { 
  color: #00d7ff; 
}

.contact-box a {
  color: #00d7ff;
  text-decoration: none;
}

.contact-box a:hover { 
  text-decoration: underline; 
}

.contact-box p { 
  margin: 10px 0; 
  color: rgba(200, 215, 240, 0.9); 
}

/* Boutons Sociaux */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 25px auto 30px;
  flex-wrap: wrap;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(20, 22, 40, 0.7);
  border: 1px solid rgba(33, 100, 243, 0.35);
  color: #2164f3;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-social:hover {
  background: rgba(33, 100, 243, 0.2);
  border-color: rgba(33, 100, 243, 0.7);
  color: #fff;
  transform: scale(1.12) translateY(-2px);
}

.btn-social i { 
  line-height: 1; 
}

.icon-img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
}

/* Contact responsive */
@media (max-width: 600px) {
  .contact-box {
    padding: 15px;
    font-size: 0.95rem;
    text-align: center;
  }
  .btn-contact {
    margin-top: 15px;
    display: inline-block;
    font-size: 1rem;
  }
  .contact-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }
  .btn-social,
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .contact-icon img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
  }
}

/* Titre global Contact */
h6 {
  font-size: 2em;
  margin-bottom: 20px;
  margin-top: 40px;
  text-align: center;
  background: linear-gradient(90deg, #00d7ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* 09) FOOTER */
footer {
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 215, 255, 0.12);
  color: rgba(160, 175, 200, 0.8);
  text-align: center;
  padding: 24px 20px;
  font-size: 0.9em;
  position: relative;
}

.footer-content {
  margin-bottom: 15px;
  line-height: 1.6;
}

footer small {
  display: block;
  margin-top: 10px;
  font-size: 0.8em;
  opacity: 0.7;
}


/* 10) BOUTON TOP */
#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  font-size: 18px;
  border: 1px solid rgba(0, 215, 255, 0.4);
  outline: none;
  background: rgba(10, 12, 28, 0.75);
  backdrop-filter: blur(10px);
  color: #00d7ff;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: opacity 0.5s ease, transform 0.3s ease, visibility 0.5s, background 0.25s ease;
  z-index: 100;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

#topBtn:hover {
  background: rgba(0, 215, 255, 0.2);
  border-color: rgba(0, 215, 255, 0.7);
  transform: scale(1.1) translateY(-2px);
}


/* 11) CARTES / IA / LIGHTBOX / THUMBS */
.Créations.vertical video {
  width: auto;
  height: 300px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Cartes IA génériques */
.ia-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  overflow: hidden;
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ia-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ia-card p {
  margin: 10px 0;
  font-weight: bold;
  color: #a30202;
  padding: 12px;
  background-color: white;
  width: 100%;
  text-align: center;
}

/* Formats IA */
.ia-card.vertical {
  width: 220px;
  height: 390px;
}

.ia-card.vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ia-card.horizontal {
  width: 390px;
  height: 220px;
}

.ia-card.horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox.hidden { 
  display: none; 
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 90vw;
  max-height: 90vh;
}

.lb-content img {
  max-width: 90%;
  max-height: 70vh;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.lb-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
}

.btn-retour {
  display: inline-block;
  margin-bottom: 15px;
  padding: 10px 18px;
  background: #a30266;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.btn-retour:hover { 
  background: #0b73eb; 
}

#lb-img, #lb-video, #lb-audio { 
  display: none; 
}

#lb-img, #lb-video {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 8px;
}

#lb-audio { 
  margin-top: 16px; 
}

/* Thumbs & embed */
.thumb { position: relative; }

.thumb .play {
  position: absolute;
  inset: auto 8px 8px auto;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
}

.thumb.ar-9-16 { 
  aspect-ratio: 9 / 16; 
}

.thumb.ar-16-9 { 
  aspect-ratio: 16 / 9; 
}

.thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.embed {
  display: none;
  width: min(90vw, 900px);
}

.embed .frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.embed.ar-16-9 { 
  aspect-ratio: 16 / 9; 
}

.embed.ar-9-16 { 
  aspect-ratio: 9 / 16; 
}

/* Option désactivée */
.désactivée {
  opacity: 0.4;
  cursor: not-allowed;
  transition: opacity 0.3s ease;
}

/* 12) VIDÉOS + SECTIONS YT / TIKTOK */
.video-container{
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  transform: translateZ(0);
  backface-visibility: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.video-container::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.001);
}

.video-container iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: inherit;
}

.video-container.landscape { 
  aspect-ratio: 16 / 9; 
}

/* Portrait 9/16 */
.video-container.portrait {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

#youtube-section {
  text-align: center;
  margin: 60px auto;
  color: #00d7ff;
  max-width: 450px;
  background-color: #999898;
  margin-bottom: 40px;
  padding: 15px;
  border: 2px solid #00d7ff;
  border-radius: 8px;
}

.présentation {
  max-width: 900px;
  margin: 40px auto 40px auto;
  padding: 0 20px;
  text-align: center;
}

.texte {
  background-color: rgba(26, 25, 25, 0.5);
  font-size: 1.2em;
  line-height: 1.8em;
  color: rgb(155, 154, 154);
  margin-bottom: 20px;
  text-align: justify;
  padding: 1rem;
  border-radius: 10px;
  text-shadow: 1px 1px 1px white;
}

#TikTok-section {
  text-align: center;
  margin: 60px auto;
  color: #00d7ff;
  max-width: 450px;
  background-color: #999898;
  margin-bottom: 40px;
  padding: 15px;
  border: 2px solid #00d7ff;
  border-radius: 8px;
}

/* 13) BACKGROUND RESPONSIVE + UTILITAIRES IMAGES */
@media screen and (min-width: 1024px) {
  body {
    background-size: cover;
    background-position: top center;
  }
}

@media screen and (max-width: 1023px) and (min-width: 601px) {
  body {
    background-size: cover;
    background-position: center center;
  }
}

@media screen and (max-width: 600px) {
  body {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: scroll;
  }
}

.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .responsive-image {
    width: 100%;
    object-fit: contain;
  }
}

@media screen and (min-width: 601px) {
  .responsive-image {
    height: auto;
    max-height: 100vh;
    object-fit: cover;
  }
}

/* 14) ENCADREMENT GLOBAL DES TITRES */
h3,
.cv-titre,
#projets-divers > h4,
h6,
.format-subtitle {
  font-size: 2em;
  margin-bottom: 40px;
  padding: 15px;
  text-align: center;
  background-color: #999898;
  color: #00d7ff;
  border: 2px solid #00d7ff;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* Sous-titres format */
.format-subtitle {
  font-size: 1.2em;
  margin: 18px auto 10px auto;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* GRILLE DES CARTES VIDEOS */
.grille-Domaines_De_Compétences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;               
  margin-top: 40px;
  padding: 0 20px;
}

/* LIENS DES CARTES */
.Domaines_De_Compétences-link {
  text-decoration: none;  
  color: inherit;        
}

/* STYLE DES CARTES IA (Musique) */
.ia-card {
  background: #ffffff;        
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

/* Effet hover */
.ia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.45);
}

/* IMAGES DES CARTES */
.ia-card img.horizontal {
  width: 100%;
  height: 180px;          
  object-fit: cover;      
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* TEXTE DES CARTES */
.ia-card p {
  text-align: center;
  padding: 12px 10px 18px;
  margin: 0;
  font-size: 16px;
  color: #000;             
  font-weight: 600;
}

.ia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

/* SECTION ÉCOSYSTÈME IA */
.section-ecosysteme-ia {
  padding: 60px 0;
  background: radial-gradient(circle at top,#222b4d 0%,#080b1a 55%,#040512 100%);
  border-radius: 30px;
  margin-top: 40px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
}

.section-ecosysteme-ia h3 {
  color: #f5f7ff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 24px;
  margin-bottom: 10px;
}

.section-ecosysteme-ia .texte-bienvenue {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 10px;
  color: #c4c9ff;
  font-size: 15px;
  text-align: center;
}

/* Grille des cartes */
.ecosysteme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
  padding: 0 30px 10px;
}

/* Cartes premium */
.eco-card {
  position: relative;
  background: radial-gradient(circle at top left, #1f2a48 0, #0b0f1e 45%, #050814 100%);
  border-radius: 20px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(120, 220, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Glow discrète autour de la carte */
.eco-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(0, 255, 255, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.85);
  border-color: rgba(0, 255, 255, 0.5);
}

.eco-card:hover::before {
  opacity: 1;
}

/* Header de carte (icône + titre) */
.eco-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eco-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #00f0ff, #0070ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.8);
}

.eco-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.8));
}

.eco-card h4 {
  font-size: 17px;
  margin: 0;
  color: #f5f7ff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Liste d’outils */
.tool-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tool-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #d2d7ff;
}

/* Logo d’outil */
.tool-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

/* Cas où pas de logo pour un outil */
.tool-no-logo {
  padding-left: 2px;
  opacity: 0.9;
}

/* Responsive léger */
@media (max-width: 768px) {
  .section-ecosysteme-ia {
    border-radius: 0;
    padding: 40px 0;
  }

  .ecosysteme-grid {
    padding: 0 15px;
  }

  .eco-card {
    padding: 18px 16px 16px;
  }
}

/* SECTION IMAGES (cercles) */
.Domaines_De_Compétences-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.grille-Domaines_De_Compétences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
  padding: 20px;
}

/* Le cercle */
.ia-card {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  margin: 0 auto 25px;          
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  border: 2px solid rgb(134, 129, 134);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image en fond du cercle */
.ia-card img.horizontal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* léger dégradé pour lire le texte */
.ia-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
}

/* Texte au centre du cercle */
.ia-card p {
  position: relative;          
  z-index: 1;
  margin: 0;
  padding: 0 12px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.ia-card img.horizontal {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;  
}

@media (max-width: 1400px) {
  .grille-Domaines_De_Compétences { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .grille-Domaines_De_Compétences { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .grille-Domaines_De_Compétences { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grille-Domaines_De_Compétences { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grille-Domaines_De_Compétences { grid-template-columns: repeat(1, 1fr); }
} 

@media (max-width: 480px) {
  .grille-Domaines_De_Compétences { grid-template-columns: repeat(1, 1fr); }
}

/* SECTION PROJET VITRINE + PROMPTS */
.section-projet-vitrine {
  max-width: 1200px;
  margin: 40px auto 80px auto;
  padding: 0 20px;
}

/* Layout global : vidéo vitrine + fiche outils */
.project-showcase {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 30px;
}

/* IMPORTANT : le 16/9, landscape/portrait gérer */
.project-video .video-container {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  background: #000;
}

/* L’iframe */
.project-video .video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: inherit;
}

/* Fiche outils / pipeline à droite */
.project-info {
  background: rgba(3, 3, 3, 0.92);
  border-radius: 18px;
  padding: 20px 22px;
  color: #f5f5f5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 215, 255, 0.35);
}

.project-info h4 {
  color: #00d7ff;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.project-tagline {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #d0d0d0;
}

.tool-group + .tool-group { 
  margin-top: 12px; 
}

.tool-group h5 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9be8ff;
  margin-bottom: 4px;
}

.tool-group ul {
  padding-left: 18px;
  margin: 0;
  font-size: 0.9rem;
}

.tool-group li { 
  margin-bottom: 4px; 
}

.project-prompts {
  margin-top: 60px;
  background: rgba(8, 8, 12, 0.92);
  border-radius: 18px;
  padding: 30px 24px;
  border: 1px solid rgba(0, 215, 255, 0.25);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
}

.project-prompts h4 {
  color: #00d7ff;
  margin-bottom: 10px;
}

.project-prompts-intro {
  font-size: 0.95rem;
  color: #d4d4d4;
  margin-bottom: 18px;
}

/* Grille PROMPTS */
.prompts-grid {
  display: grid;
  grid-template-columns: 1fr;      
  gap: 22px;
  max-width: 1020px;               
  margin: 0 auto;                 
}

/* Cards prompts */
.prompt-card {
  width: 100%;
  background: radial-gradient(circle at top, #232b45 0%, #050811 70%);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(151, 211, 255, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  color: #e5ecff;
  line-height: 1.45;
}

.prompt-card h5 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .project-showcase { grid-template-columns: 1fr; }
  .project-prompts { margin-top: 40px; }

  /* Sur mobile, full width */
  .prompts-grid {
    max-width: 100%;
  }

  /* Portrait */
  .video-container.portrait {
    max-width: 100%;
  }
}

/* FORMAT 9:16 – CENTRAGE OPTIQUE */
.project-showcase.coming-soon{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;                
  flex-wrap: wrap;           
}

.project-showcase.coming-soon .project-video{
  flex: 0 0 340px;
  display: flex;
  justify-content: center;
}

.project-showcase.coming-soon .project-info{
  flex: 0 0 420px;
}

/* MOBILE : le 9/16 */
@media (max-width: 900px){
  .project-showcase.coming-soon{
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .project-showcase.coming-soon .project-video,
  .project-showcase.coming-soon .project-info{
    flex: 0 0 auto;
    width: 100%;
    max-width: 520px;
  }

  /* le 9/16 largeur cohérente sur téléphone */
  .project-showcase.coming-soon .video-container.portrait{
    width: 100%;
    max-width: 420px;        
    margin-left: auto;
    margin-right: auto;
  }
}

.format-subtitle {
  margin: 50px auto 50px auto;   
  padding: 22px 20px;            
  max-width: 1200px;             
}

/* AstraCore.AI */
.intro {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); 
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); 
    text-align: center;
}

.intro h2 {
    font-size: 2.5em; 
    margin-bottom: 20px;
    color: #00d7ff; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); 
}

.intro p {
    font-size: 1.2em;
    line-height: 1.8em;
    color: rgba(184, 182, 182, 0.85);
    margin-bottom: 20px;
}

.intro h2:hover {
    color: #e63946; 
    text-decoration: underline; 
}

.intro {
    border-top: 5px solid #00d7ff; 
    padding-top: 30px; 
}

.fonctionnalites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.fonctionnalite {
    background-color: rgba(26, 25, 25, 0.7);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.fonctionnalite h3 {
    font-size: 1.8em;
    color: #00d7ff;
    margin-bottom: 15px;
}

.fonctionnalite p {
    font-size: 1.1em;
    color: rgba(184, 182, 182, 0.85);
}

.fonctionnalite:hover h3 {
    color: #2c2b2b;
}

.intro .btn {
    background-color: #00d7ff;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 8px;
    text-decoration: none;
    margin: 10px;
    transition: background-color 0.3s ease;
}

.intro .btn:hover {
  background-color: #006c8e;
} 

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fonctionnalites-grid {
        grid-template-columns: 1fr;
    }
}

#acces {
  text-align: center;
}

.btn-acceder-wrapper {
  display: inline-block;
  margin-top: 20px;
}

.btn-acceder {
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(135deg, #ff7f00, #ffbf00); 
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transform: skewX(-20deg); 
  transition: transform 0.3s ease;
}

.btn-acceder:hover {
  background: linear-gradient(135deg, #ffbf00, #ff7f00); 
  transform: skewX(0deg) scale(1.05); 
}

.btn-acceder:active {
  transform: skewX(-10deg) scale(0.98); 
}

/* CAT07 + CAT08 — PROMPTS VEO3 / JSON */

/* Sécurité globale */
#cat07,
#cat08 {
  overflow-x: hidden;
}

/* Liste des scènes */
#cat07 .veo3-scenes,
#cat08 .veo3-scenes {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

/* CARTE SCÈNE */
#cat07 .scene-card,
#cat08 .scene-card {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(
    circle at top,
    rgba(35, 43, 69, 0.65) 0%,
    rgba(5, 8, 17, 0.92) 70%
  );
  border: 1px solid rgba(0, 215, 255, 0.22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

/* Glow discret */
#cat07 .scene-card::before,
#cat08 .scene-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    circle at top,
    rgba(0, 215, 255, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

#cat07 .scene-card:hover::before,
#cat08 .scene-card:hover::before {
  opacity: 1;
}

/* HEADER SCÈNE */
#cat07 .scene-header,
#cat08 .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 10px;
  gap: 14px;
}

#cat07 .scene-title-wrap,
#cat08 .scene-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

#cat07 .scene-pill,
#cat08 .scene-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #041018;
  background: linear-gradient(135deg, #00d7ff, #0b73eb);
  box-shadow: 0 0 18px rgba(0, 215, 255, 0.45);
}

#cat07 .scene-title,
#cat08 .scene-title {
  font-size: 16px;
  font-weight: 800;
  color: #eaf6ff;
  margin: 0;
}

/* GRILLE 2 COLONNES */
#cat07 .scene-grid,
#cat08 .scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 16px 20px 20px;
}

@media (max-width: 900px) {
  #cat07 .scene-grid,
  #cat08 .scene-grid {
    grid-template-columns: 1fr;
  }
}

/* COLONNES */
#cat07 .scene-col,
#cat08 .scene-col {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* EN-TÊTE COLONNE */
#cat07 .col-head,
#cat08 .col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#cat07 .col-title,
#cat08 .col-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9be8ff;
  margin: 0;
}

/* BLOC CODE */
#cat07 .code-block,
#cat08 .code-block {
  background: rgba(2, 6, 12, 0.75);
  border-radius: 14px;
  padding: 14px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);

  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;

  max-width: 100%;
  overflow: auto;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(235, 245, 255, 0.92);
}

/* VOIX OFF */
#cat07 .voice,
#cat08 .voice {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 245, 245, 0.95);
}

/* BOUTON COPIER — STYLE CAT07 + CAT08 */
#cat07 .btn-copy,
#cat08 .btn-copy {
  background: rgba(0, 215, 255, 0.14);
  border: 1px solid rgba(0, 215, 255, 0.45);
  color: #eaf6ff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

#cat07 .btn-copy:hover,
#cat08 .btn-copy:hover {
  background: rgba(0, 215, 255, 0.25);
  transform: translateY(-1px);
}

/* CAT09 — PROMPTS SORA v2 */
#cat09 { overflow-x: hidden; }

#cat09 .veo3-scenes{
  display:grid;
  gap:24px;
  margin-top:26px;
}

#cat09 .scene-card{
  position:relative;
  border-radius:22px;
  background: radial-gradient(circle at top,
    rgba(35,43,69,0.65) 0%,
    rgba(5,8,17,0.92) 70%
  );
  border:1px solid rgba(0,215,255,0.22);
  box-shadow:0 22px 55px rgba(0,0,0,0.85);
  overflow:hidden;
}

#cat09 .scene-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background: radial-gradient(circle at top,
    rgba(0,215,255,0.18),
    transparent 60%
  );
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}

#cat09 .scene-card:hover::before{ opacity:1; }

#cat09 .scene-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 20px 10px;
  gap:14px;
}

#cat09 .scene-title-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

#cat09 .scene-pill{
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#041018;
  background: linear-gradient(135deg,#00d7ff,#0b73eb);
  box-shadow:0 0 18px rgba(0,215,255,.45);
}

#cat09 .scene-title{
  font-size:16px;
  font-weight:800;
  color:#eaf6ff;
  margin:0;
}

#cat09 .scene-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

#cat09 .scene-tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  color:rgba(235,245,255,.9);
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
}

#cat09 .scene-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:16px 20px 20px;
}

@media (max-width:900px){
  #cat09 .scene-grid{ grid-template-columns:1fr; }
}

#cat09 .scene-col{
  background:rgba(0,0,0,.18);
  border-radius:18px;
  padding:14px;
  border:1px solid rgba(255,255,255,.1);
}

#cat09 .col-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

#cat09 .col-title{
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9be8ff;
  margin:0;
}

#cat09 .btn-copy{
  background:rgba(0,215,255,.14);
  border:1px solid rgba(0,215,255,.45);
  color:#eaf6ff;
  padding:8px 12px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease, transform .15s ease;
}

#cat09 .btn-copy:hover{
  background:rgba(0,215,255,.25);
  transform:translateY(-1px);
}

#cat09 .btn-copy.is-copied{
  background:rgba(0,215,255,.32);
  border-color:rgba(0,215,255,.7);
}

#cat09 .code-block{
  background:rgba(2,6,12,.75);
  border-radius:14px;
  padding:14px;
  border:0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  max-width:100%;
  overflow:auto;
  font-size:12.5px;
  line-height:1.55;
  color:rgba(235,245,255,.92);
}

#cat09 .stack{ display:grid; gap:12px; }

#cat09 .stack-card{
  background:rgba(0,0,0,.14);
  border-radius:14px;
  padding:12px;
  border:0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

#cat09 .stack-label{
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(235,245,255,.85);
  margin-bottom:8px;
}

#cat09 .voice{
  background:rgba(255,255,255,.06);
  border-radius:14px;
  padding:12px;
  font-size:13px;
  line-height:1.65;
  color:rgba(245,245,245,.95);
  text-shadow:0 0 10px rgba(0,0,0,.35);
}

#cat09 pre,
#cat09 code,
#cat09 .scene-card,
#cat09 .scene-grid,
#cat09 .scene-col,
#cat09 .stack,
#cat09 .stack-card{
  max-width:100%;
}

/* OVERLAY "À VENIR" SUR VIDÉO */
.video-overlay {
  position: relative;
}

.video-overlay iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Assombrit légèrement la vidéo */
.video-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.65)
  );
  pointer-events: none;
}

/* Texte centré */
.video-coming {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #eaf6ff;
  text-shadow:
    0 0 25px rgba(0, 215, 255, 0.35),
    0 0 60px rgba(0, 0, 0, 0.85);
  z-index: 2;
  pointer-events: none; 
}

/* CAT 06 — MUSIQUE */
#cat06 .music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

#cat06 .music-card {
  background: radial-gradient(
    circle at top,
    rgba(35, 43, 69, 0.55),
    rgba(5, 8, 17, 0.9)
  );
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 215, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

#cat06 .music-card h5 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #eaf6ff;
}

#cat06 audio {
  width: 100%;
  margin-bottom: 12px;
}

#cat06 .music-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(235, 245, 255, 0.9);
}

#cat06 .music-meta li {
  margin-bottom: 6px;
}

/* CAT02 — PERSONNAGES */
#cat02 { overflow-x: hidden; }

#cat02 .char-scenes{
  display:grid;
  gap:24px;
  margin-top:26px;
}

/* Carte personnage */
#cat02 .char-card{
  position:relative;
  border-radius:22px;
  background: radial-gradient(circle at top, rgba(35,43,69,.65) 0%, rgba(5,8,17,.92) 70%);
  border:1px solid rgba(0,215,255,.22);
  box-shadow:0 22px 55px rgba(0,0,0,.85);
  overflow:hidden;
}

#cat02 .char-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background: radial-gradient(circle at top, rgba(0,215,255,.18), transparent 60%);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
#cat02 .char-card:hover::before{ opacity:1; }

/* Header */
#cat02 .char-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 20px 10px;
  gap:14px;
}
#cat02 .char-title-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}
#cat02 .char-pill{
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#041018;
  background:linear-gradient(135deg,#00d7ff,#0b73eb);
  box-shadow:0 0 18px rgba(0,215,255,.45);
}
#cat02 .char-title{
  font-size:16px;
  font-weight:800;
  color:#eaf6ff;
  margin:0;
}
#cat02 .char-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
#cat02 .char-tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  color:rgba(235,245,255,.9);
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
}

/* Grille 2 colonnes */
#cat02 .char-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:16px 20px 20px;
}
@media (max-width: 900px){
  #cat02 .char-grid{ grid-template-columns:1fr; }
}

/* Colonnes */
#cat02 .char-col{
  background:rgba(0,0,0,.18);
  border-radius:18px;
  padding:14px;
  border:1px solid rgba(255,255,255,.1);
}

/* En-tête colonne */
#cat02 .col-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
#cat02 .col-title{
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9be8ff;
  margin:0;
}

/* Bouton copier */
#cat02 .btn-copy{
  background:rgba(0,215,255,.14);
  border:1px solid rgba(0,215,255,.45);
  color:#eaf6ff;
  padding:8px 12px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease, transform .15s ease;
}
#cat02 .btn-copy:hover{
  background:rgba(0,215,255,.25);
  transform:translateY(-1px);
}
#cat02 .btn-copy.copied{
  background:rgba(0,215,255,.28);
  box-shadow:0 0 18px rgba(0,215,255,.25);
}

/* Bloc texte (lisible) */
#cat02 .code-block{
  background:rgba(2,6,12,.75);
  border-radius:14px;
  padding:14px;
  border:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);

  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;

  max-width:100%;
  overflow:auto;
  font-size:12.5px;
  line-height:1.55;
  color:rgba(235,245,255,.92);
}

/* Stack (col droite) */
#cat02 .stack{ display:grid; gap:12px; }
#cat02 .stack-card{
  background:rgba(0,0,0,.14);
  border-radius:14px;
  padding:12px;
  border:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}

/* Anti débordement */
#cat02 pre,
#cat02 code,
#cat02 .char-card,
#cat02 .char-grid,
#cat02 .char-col,
#cat02 .stack,
#cat02 .stack-card{
  max-width:100%;
}

/* CAT02 — KUROHA : pas de boutons Copier */
#cat02 #char-kuroha .btn-copy{
  display:none !important;
}

/* KUROHA */
#cat02 #char-kuroha .code-block{
  user-select:none;
  -webkit-user-select:none;
}

/* CAT03 — PITCH / SCRIPT / INTRO / RÉSUMÉ */

/* Sécurité globale */
#cat03 {
  overflow-x: hidden;
}

/* Liste des documents */
#cat03 .veo3-scenes {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

/* CARTE DOCUMENT */

#cat03 .scene-card {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(
    circle at top,
    rgba(35, 43, 69, 0.65) 0%,
    rgba(5, 8, 17, 0.92) 70%
  );
  border: 1px solid rgba(0, 215, 255, 0.22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

/* Glow discret */
#cat03 .scene-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    circle at top,
    rgba(0, 215, 255, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

#cat03 .scene-card:hover::before {
  opacity: 1;
}

/* HEADER DOCUMENT */
#cat03 .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 10px;
  gap: 14px;
}

#cat03 .scene-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

#cat03 .scene-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #041018;
  background: linear-gradient(135deg, #00d7ff, #0b73eb);
  box-shadow: 0 0 18px rgba(0, 215, 255, 0.45);
}

#cat03 .scene-title {
  font-size: 16px;
  font-weight: 800;
  color: #eaf6ff;
  margin: 0;
}

#cat03 .scene-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#cat03 .scene-tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(235, 245, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* GRILLE CONTENU (1 COLONNE PAR DOC) */
#cat03 .scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 16px 20px 20px;
}

/* COLONNE TEXTE */
#cat03 .scene-col {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* EN-TÊTE DE BLOC */
#cat03 .col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#cat03 .col-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9be8ff;
  margin: 0;
}

/* TEXTE / SCRIPT / PITCH */
#cat03 .code-block {
  background: rgba(2, 6, 12, 0.75);
  border-radius: 14px;
  padding: 16px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);

  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;

  max-width: 100%;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(235, 245, 255, 0.92);
}

/* SÉCURITÉ ANTI-DÉBORDEMENT */
#cat03 pre,
#cat03 code,
#cat03 .scene-card,
#cat03 .scene-grid,
#cat03 .scene-col {
  max-width: 100%;
}

/* CAT04 — SCÉNARIO */
#cat04 { overflow-x: hidden; }

#cat04 .veo3-scenes {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

#cat04 .scene-card {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(
    circle at top,
    rgba(35, 43, 69, 0.65) 0%,
    rgba(5, 8, 17, 0.92) 70%
  );
  border: 1px solid rgba(0, 215, 255, 0.22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

#cat04 .scene-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(0, 215, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

#cat04 .scene-card:hover::before { opacity: 1; }

#cat04 .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 10px;
  gap: 14px;
}

#cat04 .scene-title-wrap { display: flex; align-items: center; gap: 12px; }

#cat04 .scene-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #041018;
  background: linear-gradient(135deg, #00d7ff, #0b73eb);
  box-shadow: 0 0 18px rgba(0, 215, 255, 0.45);
}

#cat04 .scene-title {
  font-size: 16px;
  font-weight: 800;
  color: #eaf6ff;
  margin: 0;
}

#cat04 .scene-meta { display: flex; gap: 8px; flex-wrap: wrap; }

#cat04 .scene-tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(235, 245, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#cat04 .scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 16px 20px 20px;
}

#cat04 .scene-col {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#cat04 .col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#cat04 .col-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9be8ff;
  margin: 0;
}

#cat04 .btn-copy {
  background: rgba(0, 215, 255, 0.14);
  border: 1px solid rgba(0, 215, 255, 0.45);
  color: #eaf6ff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

#cat04 .btn-copy:hover {
  background: rgba(0, 215, 255, 0.25);
  transform: translateY(-1px);
}

#cat04 .code-block {
  background: rgba(2, 6, 12, 0.75);
  border-radius: 14px;
  padding: 16px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);

  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;

  max-width: 100%;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(235, 245, 255, 0.92);
}

#cat04 pre,
#cat04 code,
#cat04 .scene-card,
#cat04 .scene-grid,
#cat04 .scene-col {
  max-width: 100%;
}

/* CAT05 — SCÈNES */

/* Sécurité globale */
#cat05 {
  overflow-x: hidden;
}

/* Liste des scènes */
#cat05 .veo3-scenes {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

/* CARTE SCÈNE */
#cat05 .scene-card {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(
    circle at top,
    rgba(35, 43, 69, 0.65) 0%,
    rgba(5, 8, 17, 0.92) 70%
  );
  border: 1px solid rgba(0, 215, 255, 0.22);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

/* Glow discret au hover */
#cat05 .scene-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    circle at top,
    rgba(0, 215, 255, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

#cat05 .scene-card:hover::before {
  opacity: 1;
}

/* HEADER SCÈNE */
#cat05 .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 10px;
  gap: 14px;
}

#cat05 .scene-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

#cat05 .scene-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #041018;
  background: linear-gradient(135deg, #00d7ff, #0b73eb);
  box-shadow: 0 0 18px rgba(0, 215, 255, 0.45);
}

#cat05 .scene-title {
  font-size: 16px;
  font-weight: 800;
  color: #eaf6ff;
  margin: 0;
}

#cat05 .scene-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#cat05 .scene-tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(235, 245, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* GRILLE CONTENU (1 COLONNE) */
#cat05 .scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 16px 20px 20px;
}

/* COLONNE TEXTE */
#cat05 .scene-col {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* EN-TÊTE DE BLOC */
#cat05 .col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#cat05 .col-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9be8ff;
  margin: 0;
}

/* Bouton copier */
#cat05 .btn-copy {
  background: rgba(0, 215, 255, 0.14);
  border: 1px solid rgba(0, 215, 255, 0.45);
  color: #eaf6ff;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

#cat05 .btn-copy:hover {
  background: rgba(0, 215, 255, 0.25);
  transform: translateY(-1px);
}

/* BLOC TEXTE / PROMPTS / DÉCOUPAGE */
#cat05 .code-block {
  background: rgba(2, 6, 12, 0.75);
  border-radius: 14px;
  padding: 16px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);

  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;

  max-width: 100%;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(235, 245, 255, 0.92);
}

/* SÉCURITÉ ANTI-DÉBORDEMENT */
#cat05 pre,
#cat05 code,
#cat05 .scene-card,
#cat05 .scene-grid,
#cat05 .scene-col {
  max-width: 100%;
}

/* ASTRA CORE — GALERIE IA (10 CARDS) */
.astracore-gallery{
  margin-top: 26px;
  padding: 22px 22px 26px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.astracore-gallery-title{
  text-align: center;
  color: #00e5ff;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin-bottom: 8px;
  font-weight: 800;
}

.astracore-gallery-sub{
  text-align: center;
  opacity: 0.9;
  margin-bottom: 18px;
  line-height: 1.5;
}

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

.ac-shot{
  border: 0;
  cursor: pointer;
  padding: 0;
  text-align: left;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 10, 14, 0.65);
  border: 1px solid rgba(255, 200, 40, 0.28);
  box-shadow: 0 10px 18px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, border-color .15s ease;
}

.ac-shot:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  border-color: rgba(255, 200, 40, 0.55);
  box-shadow: 0 14px 26px rgba(0,0,0,.45);
}

.ac-shot-thumb{
  display: block;
  aspect-ratio: 16 / 10;
  background: rgba(0,0,0,.35);
}

.ac-shot-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ac-shot-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px;
}

.ac-shot-title{
  font-weight: 700;
  font-size: .9rem;
  color: #e5e7eb;
}

.ac-shot-tag{
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(90deg, #ff9800, #ffd54a);
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1200px){
  .astracore-gallery-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px){
  .astracore-gallery-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px){
  .astracore-gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Correctif intro */
.intro ul{
  list-style: none;
  padding-left: 0;
}

.intro li{
  margin-bottom: 8px;
}

/* Affiche La recette de minuit*/
.project-poster {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.project-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.bandeau-links{
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bandeau-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(114, 113, 113, 0.55);
  border: 1px solid rgba(0,0,0,0.08);

  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;

  backdrop-filter: blur(6px);
  transition: transform .15s ease, background .2s ease;
}

.bandeau-link:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.75);
}

.bandeau-link i{
  font-size: 14px;
}

/* Mobile : liens en colonne */
@media (max-width: 768px){
  .bandeau-links{
    flex-direction: column;
    align-items: flex-start;
  }

  .bandeau-link{
    width: fit-content;
  }
}

/* BANDEAU : Banner Houdini FX Lab */
.bandeau-links{
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* Carte bannière */
.bandeau-banner{
  position: relative;
  width: min(520px, 100%);
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  display: block;

  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);

  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.bandeau-banner:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  filter: brightness(1.03);
}

/* Image */
.bandeau-banner-img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

/* Overlay */
.bandeau-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.05) 100%
  );
  pointer-events:none;
}

.bandeau-banner-text{
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #fff;
  text-shadow: 0 10px 25px rgba(0,0,0,0.7);
  padding: 10px;
}

.bandeau-banner-title{
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.bandeau-banner-sub{
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

.bandeau-banner-badge{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;

  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 215, 255, 0.22);
  border: 1px solid rgba(0, 215, 255, 0.55);
}

/* Responsive */
@media (max-width: 768px){
  .bandeau-links{
    align-items: center;
  }

  .bandeau-banner{
    border-radius: 22px;
  }

  .bandeau-banner-img{
    height: 150px;
  }

  .bandeau-banner-title{
    font-size: 20px;
  }
}

/* A supprimer des que le contenu et dedans */
.bandeau-banner.verrouille{
  opacity:.75;
  filter:grayscale(15%);
  cursor:not-allowed;
}