/* =========================================================
   AKORESPRIT – BANNER : logo + titre côte à côte
   ========================================================= */

/* === AKORESPRIT : justification globale des paragraphes === */
p {
  text-align: justify;
}


#banner .inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: left;
  padding-left: 2rem;
}

/* Sous-titre sur la ligne suivante */
#banner .inner > p {
  flex-basis: 100%;
  margin-top: .6rem;
  text-align: left;
}

/* Cercle logo */
#banner .logo .image-circle {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

#banner .logo .image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Titre */
#banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* Mobile banner */
@media (max-width: 480px) {
  #banner .inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1.5rem;
  }

  #banner .inner > p {
    margin-top: .4rem;
  }
}

/* =========================================================
   Mini logo inline
   ========================================================= */

.mini-image-logo {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #cfcfcf;
  background-color: transparent;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-image-logo img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

.mini-image-logo:hover {
  transform: scale(1.08);
  border-color: #999;
}

/* =========================================================
   Typographie utilitaire
   ========================================================= */

.colorise-letter {
  color: aqua;
}

.important {
  color: rgb(242, 136, 6);
  font-weight: bold;
}

.capitalize {
  color: #00ffff;
  font-size: 2em;
  text-transform: capitalize;
}

.nocapitalize {
  text-transform: lowercase;
}

/* =========================================================
   MEDIA SYSTEM – Images & vidéos
   ========================================================= */

/* Base : la vidéo se comporte comme une image */
.image video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Sécurité left / right (texte qui s’enroule) */
.image.left video,
.image.right video {
  width: 100%;
  margin: 0;
}

/* FIT : comportement standard (image + vidéo) */
.image.fit video {
  width: 100%;
}

/* =========================================================
   VIDEO SMALL – réduction volontaire desktop
   ========================================================= */

.image.fit.video-small video {
  width: 50%;
  margin: auto auto auto auto;       /* centre le cadre */
  
}


/* Mobile : toujours plein format */
@media screen and (max-width: 736px) {
  .image.fit.video-small video {
    width: 100%;
  }
}

/* === Video frame : refined & left aligned === */
.image.fit.video-small {
  display: block;
  padding: 0.6em;                 /* DIVISÉ PAR DEUX */
  border-radius: 10px;  
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);

}

.date {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.statut {
    font-weight: bold;
}

/* 🟢 OUVERT */
.statut.ouvert {
    color: green;
}

/* 🔴 COMPLET */
.statut.complet {
    color: red;
}

/* ⚪ ANNULÉ / REPORTÉ */
.statut.annule,
.statut.reporte {
    color: gray;
}

/* 🔵 TERMINÉ */
.statut.termine {
    color: blue;
}


@media screen and (max-width: 736px) {
    #header nav a[href="#menu"]:before {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 480px) {
    #header nav a[href="#menu"]:before {
        font-size: 2em;
    }
}


/* Headerbis : remplace le h1 du header sans sémantique H1 */

#header .headerbis {
	-moz-transition: opacity 0.2s ease-in-out, visibility 0.2s;
	-webkit-transition: opacity 0.2s ease-in-out, visibility 0.2s;
	-ms-transition: opacity 0.2s ease-in-out, visibility 0.2s;
	transition: opacity 0.2s ease-in-out, visibility 0.2s;
	border-bottom: 0;
	font-family: Raleway, Helvetica, sans-serif;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0;
	opacity: 1;
	visibility: visible;
	line-height: inherit;
}

#header .headerbis a {
	border: 0;
	color: inherit;
	text-decoration: none;
}

/* Comportement identique au header.alt */

#header.alt .headerbis {
	opacity: 0;
	visibility: hidden;
}
