@import url('https://fonts.googleapis.com/css2?family=Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

@font-face {
	font-family: 'adambold';
	src: url('../fonts/Adam-Bold.ttf') format('truetype');
	}

/* Variables de thème */
:root {
  --text-color: #fff;
  --taskbar-bg: rgba(32, 32, 32, 0.8);
  --start-menu-bg: rgba(32, 32, 32, 0.95);
  --window-bg: rgba(32, 32, 32, 0.95);
  --window-border: rgba(0, 0, 0, 0.1);
  --bg-color: #202020;
  --text-secondary: #ccc;
  --accent-color: #60cdff;

  --ombre: rgb(102, 166, 225);
  --back: rgba(62, 130, 182);
  --scroll: rgb(128, 167, 252);
  --select: rgb(65, 88, 138);
}

:root[data-theme="violet"] {
  --ombre: rgb(170, 102, 225);
  --back: rgb(113, 44, 170);
  --scroll: rgb(198, 136, 255);
  --select: rgb(95, 55, 133);
}

:root[data-theme="bleu"] {
  --ombre: rgb(102, 166, 225);
  --back: rgba(62, 130, 182);
  --scroll: rgb(128, 167, 252);
  --select: rgb(65, 88, 138);
}

:root[data-theme="vert"] {
  --ombre: rgb(131, 225, 102);
  --back: rgb(90, 182, 62);
  --scroll: rgb(138, 252, 128);
  --select: rgb(73, 138, 65);
}

:root[data-theme="rouge"] {
  --ombre: rgb(225, 102, 102);
  --back: rgb(182, 62, 62);
  --scroll: rgb(252, 128, 128);
  --select: rgb(138, 65, 65);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: 'Overlock', cursive;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.4) }
::-webkit-scrollbar-thumb { background: var(--scroll); border-radius: 15px; }
::-webkit-scrollbar-button { display: var(--bg-color); }
::-webkit-scrollbar-corner { display: none; }



body {
  background-color: grey;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background-image: url('../decors/fond.jpg');
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  min-width: 1100px;
}


/*! ENTETE */
#entete {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  z-index: 1000;
  /*border: 1px dashed yellow;*/
}
#entete #logo {
  position: absolute;
  height: 200px;
  width: 180px;
  background: var(--back);
  box-shadow: 0 0 10px black;
  border-radius: 50%;
  top: -100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5px 0;
  border: 4px solid white;
}
#entete #logo img {
  padding-top: 4px;
  height: 90px;
}
#entete #titre {
  text-indent: 220px;
  font-size: 2.1vw;
  font-family: 'Adam', sans-serif;
  color: white;
  letter-spacing: 0.10em;
  text-shadow: 3px 3px 2px var(--ombre);
  margin-top: -30px;
}
#entete #param {
  position: absolute;
  top: 25px; right: -230px;
  height: 50px;
  width: 280px;
  background: var(--back);
  box-shadow: 0 0 10px black;
  border-radius: 20px;
  padding: 0 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 4px solid white;
  transition-duration: 1s;
}
#entete #param.active {
  transform: translateX(-210px);
  transition-duration: 1s;
}
#entete #param ion-icon {
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition-duration: 0.5s;
}

#entete #param ion-icon:nth-child(1):hover {
  transform:rotateZ(180deg);
  transition-duration: 1s;
}









#color {
  position: absolute;
  background-color: var(--back);
  border: 0px solid white;
  width: 46px;
  height: 0px;
  top: 70px;
  right: 60px;
  z-index: 1000;
  transition-duration: 0.3s;
}
#color.active {
  height: 150px;
  border: 4px solid white;
  border-top: 4px solid var(--back);
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px 0;
}
#color.active .theme-option {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid white;
  cursor: pointer;
}
#color div:nth-child(1) {
  background-color: #0078d4;
}
#color div:nth-child(2) {
  background-color: #8600d4;
}
#color div:nth-child(3) {
  background-color: #12d400;
}
#color div:nth-child(4) {
  background-color: #d40000;
}



/*! CENTRE */
#centre {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#centre #affichage {
  width: 98%;
  height: 98%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
#centre #affichage #vid {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}
#centre #affichage #vid video {
  object-fit: cover;
  filter: grayscale(60%);
  width: 100%;
}

#centre #welcome-popup {
  position: absolute;
  z-index: 500;
  font-size: 56px;
  text-shadow: 2px 2px 2px black;
  text-align: center;
  color: white;
  padding: 10px 30px;
  margin: 0 50px;
  background: var(--back);
  letter-spacing: 0.2em;
  border-radius: 15px;
  filter: drop-shadow(2px 2px 2px black);
  opacity: 1;
      /* FORCE LA TRANSITION */
      transition-property: opacity;
      transition-duration: 2s;
      transition-timing-function: ease-out;
}



/* Barre des tâches flottante */
.taskbar {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  height: 48px;
  background: var(--back);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
  border: thin rgb(78, 78, 78) solid;
  border-radius: 12px;
  width: 65vw;
  max-width: 1200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.taskbar .boutons {
  background: none;
  color: var(--text-color);
  font-size: 28px;
  width: 42px; height: 42px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.taskbar .boutons:hover {
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}


.taskbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

#clock {
  font-size: 16px;
}
.taskbar-right .boutons {
  margin-right: -5px;
}

.dark-mode-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Menu Démarrer */
.start-menu {
    position: fixed;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    max-width: calc(100% - 32px);
    background: var(--start-menu-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.start-menu.active {
    display: block;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}
.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
    color: white;
    font-size: 1.4rem;
    text-shadow: 1px 1px 0.6px black;
}
.app-item ion-icon {
  font-size: 2.4rem;
  color: white;
  filter: drop-shadow(1px 1px 0.2px black);
}

.app-item:hover {
    background: var(--back);
}
.app-item.param:hover {
  background: transparent;
}

.app-item svg {
    margin-bottom: 8px;
}

/* Pages et fenêtres */
.page-content {
    position: fixed;
    top: 140px;
    left: 0;
    right: 0;
    bottom: 16px;
    overflow: auto;
    padding: 0 16px;
    z-index: 900;
}

.page {
    display: none;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.page.active {
    display: block;
}

/* Animation uniquement quand on ferme */
@keyframes slideOutUp {
    to {
        transform: translateY(-180px);
        opacity: 0;
    }
}

.page.closing {
    animation: slideOutUp 0.65s ease-out forwards;
    pointer-events: none;
}

.window {
    background: var(--window-bg);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--window-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: fixed;
    cursor: default;
    user-select: none;
    margin-left: 10px;
}

.window-header {
  padding: 6px 16px;
  background: var(--back);
    display: flex;
    justify-content: space-between;
    align-items: center;  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 12px 12px 0 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid var(--window-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),      /* reflet blanc du haut */
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),           /* ombre interne bas */
    inset 2px 0 4px rgba(0, 0, 0, 0.25),         /* ombre interne gauche */
    inset -2px 0 4px rgba(0, 0, 0, 0.25),        /* ombre interne droite */
    0 2px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.15s ease;
}
.window-header:hover { 
  background: var(--ombre);
  cursor: move;
}
.window-header:active { background-color: var(--ombre); }

.window-header span {
  font-size: 24px;
}
.window-header ion-icon {
  font-size: 22px;
  color: white;
  margin-right: 5px;
}

.window-header .close-button {
  border: none;
  border-radius: 50%;
  padding: 4px 0 4px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 0, 0.6);
}
.window-header .close-button ion-icon {
  color: white;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

.window-header .close-button:hover {
  background: rgba(255, 0, 0, 0.808);
}

.window-content {
  padding: 20px;
  border-bottom: 4px solid var(--back);
  max-height: calc(100vh - 258px);
  width: 100%;
  overflow: hidden;
}

.window-content .double {
  display: flex;
  width: 100%;
  overflow: auto;
  gap: 5px;
}

.window-content .double .schoix {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  height: 75%;
  border-right: 1px solid var(--back);
  gap: 10px;
}
.window-content .double .schoix a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  width: 120px; height: 120px;
  border-radius: 12px;
}
.window-content .double .schoix a ion-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 3rem;
}
.window-content .double .schoix a:hover {
  background: rgba(80, 76, 76, 0.288);
  color: var(--scroll);
}

.window-content .double .scontenu {
  /*border: 1px dashed red;*/
  flex: 1;
  margin-left: 175px;
  height: calc(100vh - 360px);
  /*scroll-behavior: smooth;*/
  scroll-snap-type: y mandatory;
  overflow: hidden;
}
.window-content .double .scontenu .cadre {
  height: 100%;
  /*border: 1px dashed yellow;*/
  scroll-snap-align: start;
}
.window-content .double .scontenu .cadre h2 {
  color: var(--scroll);
  margin-bottom: 10px;
}

/* ACTU */
#pactu .window {
  max-width: 1400px;
  margin-left: -80px;
}
#news-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  overflow-y: auto;
  height: calc(100vh - 100px);
}
.news-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 320px;
  height: 300px;
  max-height: 300px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.news-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}
.news-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.news-item img[src*="logo.svg"] {
  width: 60%; /* Largeur de 90% */
  height: auto; /* Hauteur automatique pour conserver les proportions */
  display: block; /* Centrer l'image */
  margin: 0 auto; /* Centrer l'image */
  padding: 20px 0; /* Espacement vertical */
}
.news-item .content {
  padding: 15px;
}
.news-item h2 {
  font-size: 1em;
  margin: 0 0 10px;
  color: var(--ombre);
}
.news-item p {
  font-size: 0.8em;
  color: #555;
  margin: 0 0 10px;
}


/* SITES */

#psites .window .window-content {
  height: calc(100vh - 200px);
}
#psites .window .window-content img {
  height: 250px;
}
#psites .window .window-content .det {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 60px;
  height: calc(100% - 50px);
  overflow-y: auto;
}

#pbureau .window .window-content .det img {
  height: 250px;
}
#pbureau .window .window-content {
  overflow-y: auto;
}
#pbureau .window .window-content .det {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 60px;
  height: calc(100% - 50px);
  overflow-y: auto;
}

/* APPLIS */

#papplis .window-content .scontenu .det {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 60px;
}
#papplis .window-content .scontenu .det a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}
#papplis .window-content .scontenu .det a img {
  border-radius: 12px;
  margin-bottom: 5px;
  height: 80px;
}


/* WINDOWS */

#pwindows .window-content {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}
#pwindows .window-content div {
  padding: 5px 10px;
  text-align: justify;
  border-radius: 12px;
  background-color: var(--back);
  font-size: 1.15rem;
}
#pwindows .window-content {
  overflow-y: auto;
}
#pwindows .window-content .wimgs {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#pwindows .details {
  text-indent: 10px;
}
#pwindows .details::before {
  content:'=> ';
}
#pwindows .window-content .btLien {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pwindows .window-content a {
  background-color: var(--back);
  padding: 5px 20px;
  color: white;
  border-radius: 12px;
}


/* MATERIELS */

#pmateriels .window-content .scontenu .cadre {
  position: relative;
  overflow-y: auto;
}
#pmateriels .window-content .scontenu .matos {
  position: absolute;
  right: 0px; top: 35px;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pmateriels .window-content .scontenu .matos img {
  width: 90%;
  height: 90%;
}
#pmateriels .window-content .scontenu .config {
  margin-top: 20px;
  width: 100%;
  border-radius: 0 25px 0 0;
  border: 2px solid white;
  box-shadow: 4px 4px 10px black;
  overflow: hidden;
  position: relative;
}
#pmateriels .window-content .scontenu .config ion-icon {
  padding-right: 10px;
}
#pmateriels .window-content .scontenu .config h4 {
  font-size: 20px;
  padding: 5px 10px;
  letter-spacing: 0.1em;
  background-color: var(--back);
  border-bottom: 2px solid white;
}
#pmateriels .window-content .scontenu .config .mlogo {
  position: absolute;
  top: 2px;
  right: 10px;
  font-size: 28px;
  color: white;
}
#pmateriels .window-content .scontenu .config .matos_det li {
  margin: 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
}
#pmateriels .window-content .scontenu .down {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 15px;
}
#pmateriels .window-content .scontenu .down .btDown {
  width: 250px;
  border-radius: 12px;
  background-color: var(--back);
  font-size: 1.5rem;
  padding: 5px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Liens */
#pliens .window-content .scontenu #spl2 {
  overflow-y: auto;
}
#pliens .window-content .scontenu #spl2 .prod {
  display: flex;
}
#pliens .window-content .scontenu #spl2 .prod .isos {
  display: flex;
  
}
#pliens .window-content .scontenu #spl2 .prod .isos img {
  height: 200px;
}
#pliens .window-content .scontenu #spl2 .prod .isos div {
  width: 280px;
  display: flex;
  flex-wrap: wrap;
}
#pliens .window-content .scontenu #spl2 .prod .isos div > * {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pliens .window-content .scontenu #spl2 .prod .isos a {
  background-color: black;
  color: var(--scroll);
  font-size: 18px;
  font-weight: bold;
  border-radius: 20px;
}

#pliens .window-content .scontenu #spl3 {
  overflow-y: auto;
}

#pliens .window-content .scontenu #spl3 .outli_det {
  display: flex;
  flex-wrap: wrap;
  gap: 75px;
  justify-content: space-around;
}
#pliens .window-content .scontenu #spl3 .outli_det a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  color: var(--scroll)
}
#pliens .window-content .scontenu #spl3 .outli_det a img {
  height: 120px;
  border-radius: 20px;
  transition: transform 0.6s ease-in-out;
}
#pliens .window-content .scontenu #spl3 .outli_det a:hover img {
  transform: rotateY(360deg);
}

#pliens .window-content .scontenu #spl4 {
  overflow-y: auto;
}

#pliens .window-content .scontenu #spl4 .liens_det a {
  display: inline-block;
  width: 92px;
  height: 92px;
  padding: 6px;
  background: transparent;
  border: 3px solid var(--ombre);
  border-radius: 50%;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#pliens .window-content .scontenu #spl4 .liens_det {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-around;
  overflow-y: auto;
  padding: 5px 20px;
}
#pliens .window-content .scontenu #spl4 .liens_det img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;   /* zoom fluide */
}
#pliens .window-content .scontenu #spl4 .liens_det a:hover img {
  transform: scale(1.15);
}


/* FONDS */

#pfonds .window-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow-y: auto;
}
#pfonds .window-content .image {
  position: relative;
}
#pfonds .window-content .image img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  filter: brightness(110%);
}
#pfonds .window-content .image .survol {
  position: absolute;
  z-index: -1;
  bottom: 5px;
  right: 5px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.50s ease-in-out;
}
#pfonds .window-content .image:hover .survol {
  z-index: 5;
  transition: background 0.50s ease-in-out;
}
#pfonds .window-content .image:hover {
  cursor: pointer;
}
#pfonds .window-content .image .survol ion-icon {
  font-size: 32px;
  color: white;
  filter: drop-shadow(1px 1px 0px black);
  
}
#pfonds .window-content .image .survol a {
  background: var(--scroll);
  padding: 5px 5px 3px 5px;
  border-radius: 50%;
}

/*! Infos */

#pinfos .window-content {
  height: 600px;
  font-family: 'adambold', cursive;
}

.cardBox {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	perspective: 1000px;
}
.cardBox .card {
	position: relative;
	width: 525px;
	height: 300px;
	background: #262626;
	transform-style: preserve-3d;
	transition: 1s ease;
}
.cardBox .card .card-front,
.cardBox .card .card-back {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
}
.cardBox .card .card-front {
	display: flex;
	font-size: 56px;
	justify-content: center;
	align-items: center;
	background: var(--select);
	color: #fff;
	font-family: 'adambold';
	overflow: hidden;
}
.cardBox .card .card-front .content {
	text-align: center;
}
.cardBox .card .card-front img {
	height: 150px;
}
.cardBox .card .card-front p {
	margin: 20px 0 0;
	padding: 0;
	font-size: 24px;
  font-family: 'adambold', cursive;
	text-transform: uppercase;
	letter-spacing: 5px;
	color: #fff;
  text-shadow: 1px 1px 4px black;
}
.cardBox .card .card-back {
	background: #fff;
	color: #262626;
}
.cardBox .card .card-back .content {
	position: relative;
	width: 100%;
	height: 100%;
}
.cardBox .card .card-back .content .logo {
	padding: 20px 40px 0;
	display: flex;
	justify-content: left;
	align-items: center;
}
.cardBox .card .card-back .content .logo img {
	height: 110px;
	padding-right: 20px;
	border-right: 1px solid #262626;
}
.cardBox .card .card-back .content .logo h2 {
	margin: 0;
	padding: 0;
	padding-left: 20px;
	text-transform: uppercase;
}
.cardBox .card .card-back .content ul {
	position: absolute;
	width: 100%;
	height: 150px;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 20px 40px;
	box-sizing: border-box;
	background-color: silver;
	border-top: 10px solid var(--select);
}
.cardBox .card .card-back .content ul li {
	list-style: none;
	color: #000;
	padding: 4px 0;
	font-size: 16px;
	
	text-transform: uppercase;
}
.cardBox .card .card-back .content ul li span {
  font-family: 'adambold', cursive;
}
.cardBox .card .card-back .content ul li span:nth-child(1) {
	width: 40px;
	display: inline-block;
}
.cardBox:hover .card {
	transform: rotateY(180deg)
}
.cardBox .card .card-back {
	transform: rotateY(180deg)
}

/*! PVoyages */

  #pvoyages .window .window-content {
    overflow-y: auto;
  }

    #diaporama ul {
      display: flex;
      justify-content: center;
      margin-bottom: 10px;
    }
    #diaporama ul li {
      background-image: url('decors/bois.jpg');
      padding: 5px 20px;
      margin: 5px;
      letter-spacing: 1px;
      border-radius: 30px;
      cursor: pointer;
      display: flex;
      align-items: center;
      font-size: 18px;
      letter-spacing: 3px;
      text-shadow: 2px 2px 2px black;
    }
    #diaporama ul li img {
      width: 36px; height: 36px;
      object-fit: fill;
      border-radius: 50%;
      margin-right: 10px;
      box-shadow: 0px 0px 10px black;
    }
    #diaporama ul li.active {
      background-color: var(--select);
      color: white;
    }
    #diaporama #listing {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 20px;
      overflow-y: auto;
      height: calc(100% - 70px);
      /*border: 4px dashed cyan;*/
    }
    #diaporama #listing .itemBox {
      position: relative;
      width: 300px;
      height: 200px;
      margin: 5px;
      display: flex;
      flex-direction: column;
      text-align: center;
      border-radius: 20px;
      overflow: hidden;
    }
    #diaporama #listing .itemBox:hover img {
      transition: all 0.8s;
      transform: scale(1.05);
      filter: grayscale(0);
    }
    #diaporama #listing .itemBox img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: grayscale(1);
      transition: all 0.8s;
    }
    #diaporama #listing .itemBox .label {
      position: absolute;
      width: 100%;
      bottom: 0;
      padding: 5px 0;
      color: black;
      letter-spacing: 5px;
      background: rgba(255,255,255,0.6);
    }

/*! PCV */

#pcv .window {
  max-width: 1400px;
  margin-left: -70px;
}

#pcv .window .window-content .timeline-h {
  display: flex;
  gap: 0 50px;
  position: relative;
  height: 600px;               /* ← indispensable */
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  scroll-behavior:smooth;
  z-index: 2;
  padding: 80px 40px 0 40px;
}
#pcv .timeline-h::-webkit-scrollbar {
  height:4px;
}
#pcv .timeline-h::-webkit-scrollbar-thumb {
  background:var(--scroll);
  border-radius:2px;
}
#pcv .window .window-content .timeline-h > .line {
  position: absolute;
  top: 55%;
  left: 50px;
  width: 4350px;
  height: 6px;
  background: linear-gradient(to right, #ff3366, #3366ff);
  border-radius: 3px;
  z-index: 5;                   /* ← devant le fond, derrière les cartes */
  transform: translateY(-50%);
  pointer-events: none;
}
#pcv .window .window-content .timeline-h .event-h {
  text-align: center;
  width: 360px;             /* ← largeur carte à adapter */
  flex-shrink: 0;
}
#pcv .window .window-content .timeline-h .date {
  font-size: 1.7em;
  font-weight: bold;
  color: var(--ombre);
  margin-bottom: 25px;
}
#pcv .window .window-content .timeline-h .card {
  background: #1a1a1a;
  padding: 20px 14px;       /* ← padding à retoucher */
  border-radius: 20px;
  box-shadow: 0 10px 35px var(--select);
  border: 1px solid #333;
  transition: transform .4s ease;
  height: 320px;            /* ← hauteur à ajuster selon ton contenu */
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.event-h .card:hover { transform: translateY(-18px); }

.event-h ion-icon {
  font-size: 48px;
  color: var(--ombre);
  height: 56px;
}
.event-h .title   { font-size: 1.5em; color: #fff; margin-top: 25px;}
.event-h .company { color: var(--ombre); font-style: italic; font-size: 1.2em; margin-bottom: 25px; }
.event-h .desc {
  flex: 1;
  font-size: 1.05em;
  line-height: 1.75;
  color: #eee;
  text-align: center;
  word-wrap: break-word;
  white-space: normal;
  font-style:italic;
  letter-spacing: 0.075em;
}

/*! BAS */
#pied {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pied p {
  background: black;
  z-index: 10;
  padding: 0 20px;
}
#piedLigne {
  width: 100%;
  height: 4px;
  background-color: var(--back);
  position: absolute;
  bottom: 10px;
}




@media (max-width: 2100px) {
  #centre #affichage #vid video {
    object-fit: cover;
    height: 100%;
  }
}