 /* STYLES GÉNÉRAUX  */

h1 {
  text-transform: uppercase;
}

.h1low {
  text-transform: none !important;
}

h2 {
  color: #1b8c72;
}

h3 {
  color: #003d5a;
}

main ul {
  list-style: none;
  padding-left: 0;
}

main ul li {
  position: relative;
  padding-left: 28px;
}

main ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 12px;
  height: 12px;
  background-image: url('icone/list.png');
  background-size: contain;
  background-repeat: no-repeat;
}

main .list-reseaux li::before {
  background-image: url('icone/fb_logo_apropos.png');
}

main .list-courriel li::before {
  background-image: url('icone/mail_contour_noir.png');
}

.bordure {
  border: #9addaa solid 3px;
  border-radius: 10px;
  margin-top: -40px;
  margin-left: 20px;
}

main .btn {
  text-transform: uppercase;
  box-shadow: 2px 4px 6px -1px rgba(0, 0, 0, 0.243);
  border-radius: 10px !important;

}
/*===================
FOOTER
====================*/
footer,
footer a {
  color: white !important;
  font-size: 1.3rem;
  text-decoration: none !important;
  transition: ease-in-out .1s;
}

footer a:hover {
  text-decoration: underline !important;
  font-weight: 600;
}

.footer-logo {
    max-height: 80px; 
    width: auto;
}

.footer-adresse {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 10px;
  align-items: start;

  max-width: 100%; /* Pas plus large que le parent */
  white-space: normal; /* Permet le retour à la ligne naturel */
}

.footer-adresse i {
  font-size: 18px; 
  line-height: 1.4;
}

.ico-top {
    font-size: 1.4rem;
    color: #fff;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6)); /* Glow effect */
    position: relative;
}

.ico-top:hover {
    color: #219ebc;
    transform: translateY(-10px);
    filter: drop-shadow(0 0 20px rgba(33, 158, 188, 1));
    animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(33, 158, 188, 1));
    }
}

.icone-media{
    width: 20px;
    margin: 0 10px 0 20px;
}

.btn-secondary {
  color: #fff;
  background-color: #f7912d;
  border-color: #f7912d;
  transition: ease-in-out .25s;

  &:hover,
  &:focus,
  &:active {
    color: #003d5a !important; 
    background-color: white;
    border-color: #f7912d;
    text-decoration: none !important;
    transform: scale(1.02);
  }
}

.btn-info {
  color: #fff;
  background-color: #219ebc;
  border-color: #219ebc;
  transition: ease-in-out .25s;

  &:hover,
  &:focus,
  &:active {
    color: #003d5a !important; 
    background-color: white;
    border-color: #219ebc;
    transform: scale(1.02);
  }
}

.btn-danger {
  color: #fff;
  background-color: #1b8c72;
  border-color: #1b8c72;
  transition: ease-in-out .25s;

  &:hover,
  &:focus,
  &:active {
    color: #1b8c72 !important; 
    background-color: white;
    border-color: #1b8c72;
    transform: scale(1.02);
  }
}

.btn-success {
  color: #003d5a;
  background-color: #9addaa;
  border-color: #9addaa;
  transition: ease-in-out .25s;

  &:hover,
  &:focus,
  &:active {
    color: #003d5a !important; 
    background-color: white;
    border-color: #9addaa;
    transform: scale(1.02);
  }
}


.btn-primary {
  color: #fff;
  background-color: #003d5a;
  border-color: #003d5a;
  transition: ease-in-out .3s;

  &:hover,
  &:focus,
  &:active {
    color: #003d5a; 
    background-color: white;
    border-color: #003d5a;
  }
}



 /* NAVBAR  */
.custom-logo {
    background-color: #fff;
    max-height: 80px; /* Hauteur maximale */
    width: auto;
}
.navbar-custom {
  background-color: #003d5a;
  padding: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Links */
.navbar-custom .nav-link {
  color: white !important;
  padding: 20px;
  white-space: nowrap;
  border-radius: 10px;
  transition: ease-in-out .15s;
}

.navbar-custom .nav-link:hover {
  text-decoration: underline;
  color: #9addaa !important;
}

.navbar-custom .nav-link.active,
.navbar-custom .nav-item.show > .nav-link {
  font-weight: 700;
  text-decoration: underline;
}

/* Nav item */
.navbar-custom .nav-item {
  padding: 0px 20px;
}

/* Dropdown */
.navbar-custom .dropdown-menu {
  background-color: #003d5a;
  border: none;
  margin-top: 0;
  border-radius: 0;
}

.navbar-custom .dropdown-item {
  color: white;
  padding: 12px 20px;
  transition: background-color 0.25s ease, font-weight 0.25s ease;
}

.navbar-custom .dropdown-item:hover {
  background-color: #9addaa;
  color: #003d5a !important;
}

.navbar-custom .dropdown-item.active {
  font-weight: 700;
}

/* Burger */
.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .icone {
  width: 40px;
}


.logo-container {
  background-color: white;
  padding: 0px 30px;
}

.btn-member {
  background-color: transparent;
  color: #9addaa;
  margin: 0 10px;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
  transition: ease-in-out .15s;

  &:hover,
  &.active,
  &.current-menu-item,
  &.current_page_item {
    background-color: #9addaa;
    color: #003d5a;
  }
}



.btn-account {
  background-color: transparent;
  color: #f7912d;
  margin: 0 10px;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  border: solid #f7912d 2px;
  white-space: nowrap;
  transition: ease-in-out .15s;


  &:hover,
  &.active,
  &.current-menu-item,
  &.current_page_item {
    background-color: #f7912d;
    color: #003d5a;
    border-color: #f7912d;
  }
}

/* Dropdown hover effect (desktop) */
@media (min-width: 992px) {
  .navbar-custom {
    .dropdown-menu {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .dropdown:hover > .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
  }
}

/* Responsive navbar - Écrans moyens (1538px - 992px) */
@media (max-width: 1538px) and (min-width: 992px) {
  .navbar-custom {
    .nav-item {
      padding: 0px 8px; 
    }
    
    .nav-link {
      padding: 15px 12px; 
      font-size: 1.35rem; 
    }
  }
  
  .btn-member,
  .btn-account {
    font-size: 1.25rem !important; 
    margin: 0 5px;
    padding: 0.6rem 1.2rem !important;
  }
}

/* Responsive navbar - Très petits écrans desktop (1200px - 992px) */
@media (max-width: 1316px) and (min-width: 1071px) {
  .navbar-custom {
    .nav-item {
      padding: 0px 5px;
    }
    
    .nav-link {
      padding: 12px 8px;
      font-size: 1.15rem;
    }
  }
  
  .btn-member,
  .btn-account {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
  }
  .custom-logo {
    max-height: 50px; /* Hauteur maximale */
  }
}

@media (max-width: 1070px) and (min-width: 992px) {
  .navbar-custom {
    .nav-item {
      padding: 0px 2px;
    }
    
    .nav-link {
      font-size: 1.15rem;
    }
  }
  
  .btn-member,
  .btn-account {
    font-size: 1rem !important;
    padding: 0.5rem 0.5rem !important;
  }
  .custom-logo {
    max-height: 45px; /* Hauteur maximale */
  }
}



/* Responsive navbar - Mobile */
@media (max-width: 991px) {
  .action-buttons {
    margin-top: 15px;
  }

  .navbar-custom {
    .nav-link {
      padding: 12px 20px;
    }
  }
    .custom-logo {
    max-height: 60px; /* Hauteur maximale */
  }
    .navbar-collapse {
      padding: 20px 0;
  }
}

@media (max-width: 329px) {
    .custom-logo {
    max-height: 50px; /* Hauteur maximale */
  }
}

/* =========================================
   NAVBAR STICKY – VERSION CORRIGÉE
   ========================================= */

.navbar-custom {
  transition: all 0.3s ease-in-out;
  z-index: 1030;
}

/* ========================================
   BANDEAU ANNONCE ÉVÉNEMENT - RESPONSIVE
   ======================================== */

/* Bandeau sur la page d'accueil - PAS de margin car header non fixe */
body.home .bandeau-event {
  margin-top: 0 !important;
}

/* Bandeau pour toutes les autres pages - avec margin pour header fixe */
body:not(.home) .bandeau-event {
  margin-top: 80px; /* Hauteur du header fixe par défaut */
}

/* Styles généraux du bandeau */
.bandeau-event {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bandeau-event a {
  height: auto !important;
  min-height: 100px;
  padding: 15px 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.bandeau-event .event-date {
  font-size: 1.1rem;
  font-weight: 600;
}

.bandeau-event .event-title {
  font-size: 1.2rem;
  font-weight: 500;
}

/* ========================================
   RESPONSIVE - MOBILE (max 767px)
   Date + icône sur ligne 1, titre sur ligne 2
   ======================================== */
@media (max-width: 767px) {
  /* Page d'accueil - toujours 0 */
  body.home .bandeau-event {
    margin-top: 0 !important;
  }

  /* Autres pages */
  body:not(.home) .bandeau-event {
    margin-top: 60px; /* Header mobile plus petit */
  }

  .bandeau-event a {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 12px 15px;
    min-height: 100px;
  }

  /* Date et icône sur la même ligne */
  .bandeau-event .event-date {
    font-size: 1rem;
    flex: 0 0 auto;
  }

  .bandeau-event img {
    width: 35px !important;
    margin: 0 8px !important;
    flex: 0 0 auto;
  }

  /* Titre sur la ligne suivante, prend toute la largeur */
  .bandeau-event .event-title {
    font-size: 1.2rem;
    flex: 0 0 100%;
  }
}

/* ========================================
   RESPONSIVE - TABLETTE (768px - 991px)
   ======================================== */
@media (min-width: 768px) and (max-width: 991px) {
  /* Page d'accueil - toujours 0 */
  body.home .bandeau-event {
    margin-top: 0 !important;
  }

  /* Autres pages */
  body:not(.home) .bandeau-event {
    margin-top: 60px;
  }

  .bandeau-event .event-date {
    font-size: 1.1rem;
  }

  .bandeau-event .event-title {
    font-size: 1.3rem;
  }
}

/* ========================================
   RESPONSIVE - DESKTOP MOYEN (1071px - 1316px)
   ======================================== */
@media (min-width: 1071px) and (max-width: 1316px) {
  /* Page d'accueil - toujours 0 */
  body.home .bandeau-event {
    margin-top: 0 !important;
  }

  /* Autres pages */
  body:not(.home) .bandeau-event {
    margin-top: 50px; /* Header réduit */
  }
}

/* ========================================
   RESPONSIVE - PETIT DESKTOP (992px - 1070px)
   ======================================== */
@media (min-width: 992px) and (max-width: 1070px) {
  /* Page d'accueil - toujours 0 */
  body.home .bandeau-event {
    margin-top: 0 !important;
  }

  /* Autres pages */
  body:not(.home) .bandeau-event {
    margin-top: 45px; /* Header encore plus réduit */
  }
}


/* =========================
   PAGE D’ACCUEIL
   ========================= */

body.home .navbar-custom:not(.navbar-scrolled) {
  position: relative;
}

body.home .navbar-custom.navbar-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* =========================
   AUTRES PAGES
   ========================= */

body:not(.home) .navbar-custom {
  position: fixed;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}




 /* CAROUSEL ACCUEIL  */

/* Padding uniquement pour la page d'accueil sur mobile */

.carousel-custom {
  .carousel-inner,
  .carousel-item {
    height: auto;
  }

  .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
  }
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  height: 3rem;
  width: 3rem;
}


/* // Hauteur max pour très grands écrans */
@media (min-width: 1400px) {
  .carousel-custom .carousel-item img {
    max-height: auto;
    width: 100%;
    object-fit: contain;
  }
}

/* // Crédit photographe dans le carousel */
.carousel-custom .carousel-credit {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);

  i {
    color: #9addaa;
    font-size: 1.1rem;
  }
}

/* Background NOIR (opacité 10%) si texte BLANC */
.carousel-custom .carousel-credit.text-white {
  background: rgba(0, 0, 0, 0.5);
}

/* Background BLANC (opacité 10%) si texte NOIR */
.carousel-custom .carousel-credit.text-black {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-titre {
    position: absolute;
    bottom: 60px;
    right: 20px;
    z-index: 5;
    backdrop-filter: blur(2px);
    padding: 8px 14px;
    border-radius: 6px;
}

.carousel-titre h2 {
    line-height: 1;
    margin: 0;
}

/* Background NOIR (opacité 10%) si texte BLANC */
.carousel-custom .carousel-titre.text-white,
.carousel-custom .carousel-titre.text-secondary,
.carousel-custom .carousel-titre.text-info,
.carousel-custom .carousel-titre.text-success {
  background: rgba(0, 0, 0, 0.5);
}

/* Background BLANC (opacité 10%) si texte NOIR */
.carousel-custom .carousel-titre.text-black,
.carousel-custom .carousel-titre.text-primary,
.carousel-custom .carousel-titre.text-danger {
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 576px) {
  .carousel-custom .carousel-credit {
    bottom: 10px;
    right: 10px;
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
@media (max-width: 768px) {
  .carousel-custom .carousel-titre {
    bottom: 10px;
    left: 10px;
    right: auto;
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

@media (max-width: 425px) {
  .carousel-custom .carousel-titre {
    top: 10px;
    bottom: auto;
    right: 10px;
    left: auto;
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}


/* ACCUEIL  */

/* Galerie cards */
.gallery-card {
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 0.5rem;
  overflow: hidden;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0)
  );
  transition: all 0.4s ease;
}

.gallery-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.gallery-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-card:hover .gallery-text {
  opacity: 0;
}

.gallery-card:hover .gallery-hover {
  opacity: 1;
}

 /* DEVENIR MEMBRE  */

.images-stack {
  position: relative;
  min-height: 320px;
}

.images-stack img {
  position: absolute;
  width: 55%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.images-stack .img-1 {
  top: 0px;
  left: 0;
  z-index: 1;
}

.images-stack .img-3 {
  top: 150px;
  left: 120px;
  z-index: 2;
}

.images-stack .img-2 {
  top: 50px;
  left: 320px;
  z-index: 1;
}

@media (max-width: 1200px) {
  .images-stack {
    position: static;
    min-height: auto;
    margin-top: 1rem;
  }

  .images-stack .img-1 {
    position: static;
    width: 100%;
    display: block;
    margin-top: 1rem;
  }

  .images-stack .img-2,
  .images-stack .img-3 {
    display: none;
  }
}

.activity-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 15px;
  min-height: 180px;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.activity-number {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
}

.activity-text {
  font-size: 15px;
  line-height: 1.5;
}

.activity-button-container {
  margin-top: auto;
}

@media (max-width: 767px) {
  .activity-card {
    margin-top: 30px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .activity-text {
    font-size: 14px;
  }
}

/*  À PROPOS  */

/* Image historique - Desktop */
.img-historique {
  max-width: 500px;
}

/* Mobile - Retirer le max-width et le float */
@media (max-width: 768px) {
  .img-historique {
    max-width: 100%;
    float: none !important;
    margin-left: 0 !important;
    margin-bottom: 1.5rem;
  }
}

/*Espaces d'exposition*/
.espc-container {
    width: 150px;
    height: 150px; /* Même hauteur pour toutes */
    margin: 0 auto; /* Centre le conteneur */
    display: flex;
    align-items: end;
    justify-content: center;
}

.espc-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Garde les proportions */
}

.cards-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 50px 0;
}

.card-member {
  width: 100px;
  height: 260px;
  border-radius: 4px;
  background: #9addaa;
  cursor: pointer;
  overflow: hidden;
  transition: all .5s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1.5em 0.8em;
  box-sizing: border-box;
}

.card-member.active {
  width: 280px;
  background: #003d5a;
  align-items: flex-start;
  padding: 1.5em;
}

.card-member .card-title {
  text-align: start;
  transform: rotate(-90deg);
  transition: all .5s;
  color: #003d5a;
  font-weight: bold;
  font-size: 1.6rem;
  white-space: nowrap;
}

.card-member.active .card-title {
  transform: rotate(0);
  margin-bottom: 0.8em;
  color: #9addaa;
  font-size: 2.2rem;
  white-space: normal;
}

.card-content {
  opacity: 0;
  max-height: 0;
  transition: opacity .5s .1s, max-height .5s;
  color: #fff;
  padding: 0;
  overflow: hidden;
  line-height: 1.4;
  width: 100%;
}

.card-member.active .card-content {
  opacity: 1;
  max-height: 300px;
  padding: 0;
}

.card-content p {
  font-size: 1.2rem;
  margin: 0;
}

.ico-fb {
  transition: .3s ease-in-out;
}

.ico-fb:hover {
  transform: scale(1.1);
}

.nous-joindre {
  transition: .3s ease-in-out;
}

.nous-joindre:hover {
  color: white !important;
}

  /* TABLETTE - Card CA */
@media (max-width: 1378px) {
  .cards-container {
    gap: 15px;
  }
  
  .card-member {
    width: calc(24% - 7.5px);
    height: auto;
    min-height: 120px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5em;
    background: #003d5a;
    cursor: default; /* Curseur normal */
    pointer-events: none; /* ← AJOUTÉ : Désactive le clic et le hover */
  }
  
  .card-member .card-title {
    transform: rotate(0);
    color: #9addaa;
    font-size: 1.8rem;
    margin-bottom: 0.8em;
    white-space: normal;
  }
  
  .card-content {
    opacity: 1;
    max-height: none;
    padding: 0;
    width: 100%;
  }
  
  .card-content p {
    font-size: 1.1rem;
    margin: 0;
  }
}

@media (max-width: 878px) {
  .card-member {
    width: calc(50% - 7.5px);
    height: auto;
    min-height: 120px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5em;
    background: #003d5a;
    cursor: default; /* Curseur normal */
    pointer-events: none; /* ← AJOUTÉ : Désactive le clic et le hover */
  }
}

/* MOBILE */
@media (max-width: 425px) {
  .card-member {
    width: 100%;
    height: auto;
    min-height: 120px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em;
    background: #003d5a;
    cursor: default; /* Curseur normal */
    pointer-events: none; /* ← AJOUTÉ : Désactive le clic et le hover */
  }
  
  .card-member .card-title {
    transform: rotate(0);
    color: #9addaa;
    font-size: 1.8rem;
    margin-bottom: 0;
    white-space: normal;
  }
  
  .card-content {
    opacity: 1;
    max-height: none;
    padding: 0;
    margin-top: 0.8em;
    width: 100%;
  }
  
  .card-content p {
    font-size: 1.1rem;
  }
  
  /* Réorganisation en colonne sur mobile */
  .card-member {
    flex-direction: column;
    align-items: flex-start;
  }
}

 /* GALERIE PHOTO  */

/*Galerie nav*/
.hover-underline {
  text-decoration: none;  
  transition: .3s ease-in-out;
}

.hover-underline:hover {
    background-color:  #9addaa80;
}


@media (max-width: 1400px) {
  .hover-underline {
    font-size: 0.8em;
  }
}

@media (max-width: 1200px) {
  .hover-underline {
    font-size: 0.7em;
  }
}

@media (max-width: 991px) {
  .hover-underline {
    font-size: 1em;
  }
  .nav-pills {
    justify-content: flex-start !important;
    align-items: flex-start;
  }

}


.thumbnail-img {
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  object-fit: cover;
  width: 50px;
  height: 38px;
}

@media (min-width: 576px) {
  .thumbnail-img {
    width: 65px;
    height: 49px;
  }
}

@media (min-width: 768px) {
  .thumbnail-img {
    width: 80px;
    height: 60px;
  }
}

.thumbnail-img:hover {
  opacity: 0.8;
}

.thumbnail-img.active {
  opacity: 1;
  border-color: #ffffff;
}

.carousel-control-icon-responsive {
  width: 2rem;
  height: 2rem;
}

@media (min-width: 768px) {
  .carousel-control-icon-responsive {
    width: 3rem;
    height: 3rem;
  }
}

.photographer-credit {
  position: absolute;
  bottom: 10px;
  background: rgba(0, 0, 0, 50%);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(5px);
  z-index: 10;
  
  i {
    font-size: 1.1rem;
    color: #9addaa;
  }
  
  a {
    transition: color 0.3s ease;
    
    &:hover {
      color: #9addaa !important;
      text-decoration: underline !important;
    }
  }
}

@media (max-width: 576px) {
  .photographer-credit {
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    
    i {
      font-size: 1rem;
    }
  }
}

/* Titre et description des images du carrousel */
.carousel-item h4.text-secondary {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

.carousel-item p.text-white {
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .carousel-item h4.text-secondary {
        font-size: 1.4rem;
    }
    
    .carousel-item p.text-white {
        font-size: 1rem;
    }
}

 /* CALENDRIER  */

.filter-box {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.filter-header {
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: left;
}

.filter-header:hover {
  opacity: 0.9;
}

.filter-header:focus {
  outline: none;
  box-shadow: none;
}

.filter-content {
  max-height: 400px;
  overflow-y: auto;
}

.form-check-input:checked {
  background-color: var(--bs-info);
  border-color: var(--bs-info);
}

.form-check-label {
  cursor: pointer;
  user-select: none;
}

/*hover du chexbox dans calendrier*/
.form-check-input {
  outline: 0 solid rgba(0, 0, 0, 0.25);
  outline-offset: 3px;
  transition: outline-width 0.2s ease;
}
 
/* hover sur le label OU le checkbox */
.form-check:hover .form-check-input {
  outline-width: 2px;
}

.filter-header[aria-expanded="false"] .bi-chevron-down {
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

.filter-header[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

@media (max-width: 991px) {
  .search-btn {
    border-radius: 8px !important;
    width: 100% !important;
    height: auto !important;
    padding: 15px !important;
  }
}

@media (max-width: 767px) {
  .filter-content {
    max-height: 350px;
  }
}
/* ========================================
   CARDS ÉVÉNEMENTS - RESPONSIVE
======================================== */

/* Container des événements */
#events-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Espacement entre les cards */
#events-container .row {
  row-gap: 1.5rem; /* Espace vertical entre les lignes */
}

/* Cards événements */
.event-card .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Hauteur uniforme pour toutes les cards */
.event-card.h-100 {
  height: 100% !important;
}

/* Card body avec flex pour gérer l'espace */
.event-card .card-body {
  padding: 1.75rem;
}

/* Date et heure - plus lisible */
.event-card .small {
  font-size: 1.6rem !important;
}

.event-card .col-6 p strong {
  font-size: 1.3rem;
}

/* Type d'activité en haut à droite */
.event-card .text-end .small {
  font-size: 1.2rem !important;
  font-weight: 500;
}

/* Titre de la card - taille augmentée */
.event-card .card-title {
  font-size: 1.4rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Localisation - plus lisible */
.event-card .card-text {
  font-size: 1.3rem;
  line-height: 1.6;
}

.event-card .card-text strong {
  font-size: 1.3rem;
}

.event-card .text-muted {
  font-size: 1.3rem !important;
}

/* Texte d'accroche - taille confortable */
.event-card .flex-grow-1 {
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Appareil photo - texte plus grand */
.event-card .mt-auto strong {
  font-size: 1.3rem;
}

/* Cards "À venir" */
.avenir-card h2, .no-event-card h2 {
  font-size: 2rem;
  font-weight: 300;
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  #events-container {
    row-gap: 1rem;
  }
  
  .event-card {
    min-height: 320px;
  }
  
  .event-card .card-body {
    padding: 1.5rem;
  }
  
  .event-card .card-title {
    font-size: 1.25rem;
    min-height: 3.5rem;
  }
  
  .event-card .card-text {
    font-size: 1.25rem;
  }
  
  .event-card .flex-grow-1 {
    font-size: 1.25rem;
  }
}

/* Responsive - Tablette (2 colonnes entre 768px et 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  #events-container .row {
    row-gap: 1.25rem;
  }
  
  .event-card .card-title {
    font-size: 1.3rem;
  }
}

/* Responsive - Desktop (3 colonnes à partir de 992px) */
@media (min-width: 992px) {
  #events-container .row {
    row-gap: 1.75rem;
  }
  
  .event-card {
    min-height: 380px;
  }
}

/* Grande résolution - ajuster l'espacement */
@media (min-width: 1400px) {
  .event-card {
    min-height: 400px;
  }
  
  .event-card .card-body {
    padding: 2rem;
  }
}

/* Alignement à gauche - Force les cards à s'aligner à gauche */
#events-container > .row {
  justify-content: flex-start !important;
}

/* Icône de localisation */
.bi-geo-alt-fill {
  font-size: 1rem;
  margin-right: 0.25rem;
}

/* Image appareil photo */
.event-card img {
  max-width: 40px;
  height: auto;
}

  /* =================
   ZOOM SUR NOS ACTIVITÉS  
   ====================*/
  @media (min-width: 992px) {
  .carrousel-zoom {
    /* Positionner les flèches à l'extérieur */
    .carousel-control-prev {
        left: -50px; 
        width: 50px;
        height: 50px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
    }

    .carousel-control-next {
        right: -50px; 
        width: 50px;
        height: 50px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
    }

    /* Flèche précédente (gauche) en noir */
    .carousel-control-prev-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    }

    /* Flèche suivante (droite) en noir */
    .carousel-control-next-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
}
}



  /* =================
   NOUS JOINDRE   
   ====================*/

.map-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* =========================
Page des CRÉDITS / EMOPSA
============================*/
/* Team Section */
        .team-section {
            display: flex;
            min-height: 600px;
        }

      /* Team Intro Section */
        .team-intro {
            background-color: #fff;
            padding: 3.5rem 0 2rem;
            position: relative;
            overflow: hidden;
        }

        .team-intro-watermark {
            position: absolute;
            top: 40%;
            left: 75%;
            transform: translate(-50%, -50%);
            width: 300px;
            height: 300px;
            opacity: 0.15;
            object-fit: contain;
            pointer-events: none;
        }

        .team-member {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem 3rem;
            position: relative;
            overflow: hidden;
        }

        /* Membre 1 - Orange */
        .team-member.member-1 {
            background-color: #f7912d;
        }

        /* Membre 2 - Vert */
        .team-member.member-2 {
            background-color: #1b8c72;
        }

        .member-content {
            max-width: 500px;
            position: relative;
            z-index: 1;
        }

        .member-photo {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto 2rem;
            border: 5px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .member-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .member-info {
            text-align: center;
            color: #fff;
        }

        .member-info h2 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .member-role {
            font-size: 1.3rem;
            font-weight: 600;
            opacity: 0.95;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
        }

        .member-description {
            font-size: 1.15rem;
            line-height: 1.6;
            opacity: 0.9;
            margin-bottom: 2rem;
        }

        .member-contact {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .contact-link {
            display: inline-flex;
            justify-content: center;
            gap: 0.5rem;
            background-color: rgba(255, 255, 255, 0.2);
            color: #fff;
            padding: 0.75rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        .contact-link:hover {
            background-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
            color: #fff;
        }
        
        /* Team Logos Section */
        .team-logos-section {
            background-color: #fff;
            padding: 4rem 0;
            position: relative;
        }

        .logos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .logo-item {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            background: #f8f9fa;
            border-radius: 15px;
            transition: all 0.3s ease;
            min-height: 180px;
        }

        .logo-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .logo-item img {
            max-width: 100%;
            height: auto;
            max-height: 120px;
            object-fit: contain;
        }

        /* Responsive */
        @media (max-width: 992px) {

          .team-intro {
            padding-top: 2rem;
          }
            .team-section {
                flex-direction: column;
            }

            .team-member {
                min-height: 500px;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .logos-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        @media (max-width: 767px) {

            .team-member::before,
            .team-member::after {
                display: none;
            }

            .team-logos-section::before,
            .team-logos-section::after {
                display: none;
            }

            .member-info h2 {
                font-size: 1.8rem;
            }

            .member-contact {
                flex-direction: column;
            }
        }

        @media (min-width: 768px) {
            .mobile-menu {
                display: none;
            }
        }

        
/* =====================================
INTRANET
======================================*/


/*Formulaire (mon compte + profil personnel)*/
.um-login{
  padding: 20px;
  font-family: Arial, sans-serif;
  background-color: #1b8c72;
}


/* ============================================
   NAVBAR INTRANET 
   ============================================ */

.navbar-intranet {
    background-color: #219EBC;
    padding: 1rem 0;
}

.navbar-intranet .intranet-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.navbar-intranet .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* SUPPRESSION COMPLÈTE DES PUCES - PRIORITÉ MAXIMALE */
.navbar-intranet ul,
.navbar-intranet .navbar-nav,
.navbar-intranet ul li,
.navbar-intranet .navbar-nav li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-bottom: 0;
}

/* Annulation des ::before qui créent les puces personnalisées */
.navbar-intranet ul li::before,
.navbar-intranet .navbar-nav li::before {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

.navbar-intranet .nav-link,
.navbar-intranet a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: ease-in-out .15s;
    padding: 0.5rem 1rem;
}

/* Hover */
.navbar-intranet .nav-link:hover,
.navbar-intranet a:hover {
    text-decoration: underline;
}

/* Lien actif - TOUTES les variantes possibles */
.navbar-intranet .current-menu-item > a,
.navbar-intranet .current-menu-item > .nav-link,
.navbar-intranet .current-menu-ancestor > a,
.navbar-intranet .current-menu-ancestor > .nav-link,
.navbar-intranet .current_page_item > a,
.navbar-intranet .current_page_ancestor > a,
.navbar-intranet li.current-menu-item a,
.navbar-intranet .nav-link:active,
.navbar-intranet a:active {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 700;
}

/* Bouton déconnexion */
.btn-logout {
    background-color: #f7912d;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700!important;
    transition: ease-in-out .15s;
    display: inline-block;
    margin-top: 1rem;
}

.btn-logout:hover {
    background-color: #003d5a;
    color: #fff!important;
    text-decoration: none !important;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .navbar-intranet .nav-link,
  .navbar-intranet a {
      font-size: 1.4rem;
      padding: 0.5rem 0.6rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-intranet .nav-link,
  .navbar-intranet a {
      font-size: 1.2rem;
      padding: 0.5rem 0.6rem;
  }
}

@media (min-width: 992px) and (max-width: 998px) {
  .navbar-intranet .nav-link,
  .navbar-intranet a {
      font-size: 1.2rem;
      padding: 0.5rem 0.5rem;
  }
}

@media (min-width: 992px) {
    .btn-logout {
        margin-top: 0;
        margin-left: 1rem;
    }
}

@media (max-width: 1199px) {
    .navbar-intranet .navbar-collapse li{
        padding: 10px 0px;
    }
}

/* ========================================
   SECTION MON COMPTE - RESPONSIVE
   ======================================== */

/* Section Mon compte pour toutes les autres pages - avec margin pour header fixe */
body:not(.home) .container-compte {
  margin-top: 80px; /* Hauteur du header fixe par défaut */
}

/* Styles généraux de la section */
.container-compte {
  min-height: 80px;
}

/* ========================================
   RESPONSIVE - MOBILE (max 767px)
   ======================================== */
@media (max-width: 767px) {
  /* Autres pages */
  body:not(.home) .container-compte {
    margin-top: 40px; /* Header mobile plus petit */
    padding-top: 2rem !important;
  }

  .container-compte .text-center {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ========================================
   RESPONSIVE - TABLETTE (768px - 991px)
   ======================================== */
@media (min-width: 768px) and (max-width: 991px) {
  /* Autres pages */
  body:not(.home) .container-compte {
    margin-top: 60px;
  }
}

/* ========================================
   RESPONSIVE - PETIT DESKTOP (992px - 1070px)
   ======================================== */
@media (min-width: 992px) and (max-width: 1070px) {
  /* Autres pages */
  body:not(.home) .container-compte {
    margin-top: 45px; /* Header encore plus réduit */
  }
}

/* ========================================
   RESPONSIVE - DESKTOP MOYEN (1071px - 1316px)
   ======================================== */
@media (min-width: 1071px) and (max-width: 1316px) {
  /* Autres pages */
  body:not(.home) .container-compte {
    margin-top: 50px; /* Header réduit */
  }
}

/* ========================================
   RESPONSIVE - GRAND DESKTOP (1317px+)
   ======================================== */
@media (min-width: 1317px) {
  /* Autres pages */
  body:not(.home) .container-compte {
    margin-top: 80px; /* Header pleine taille */
  }
}


/* ============================================
   DOCUMENTS INTRANET
   ============================================ */

/* Document Cards Grid */
.document-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Forcer les dossiers sur une nouvelle ligne */
.folder-card-wrapper:first-of-type {
    grid-column: 1 / -1;
    display: grid;

    gap: 1.5rem;
}

.folder-card-wrapper:first-of-type .document-card {
    grid-column: span 1;
}

/* Séparateur visuel entre documents sans dossier et dossiers */
.folders-section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Document Card */
.document-card {
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.document-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.document-card.folder-card.open {
    opacity: 0.7;
}


.document-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    flex-grow: 1;
}

.document-card .date {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.document-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
}

/* Buttons container */
.buttons-container {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
}

/* Button - Taille fixe */
.btn-consult {
    background-color: #003d5a;
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    flex: 1;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-consult:hover {
    background-color: #1B8C72;
}


/* Animation pour les documents */
.folder-document {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .document-grid,
    .folders-section,
    .folder-card-wrapper:first-of-type {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .document-grid,
    .folders-section,
    .folder-card-wrapper:first-of-type {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .document-grid,
    .folders-section,
    .folder-card-wrapper:first-of-type {
        grid-template-columns: 1fr;
    }
}

/* Badge de type de document */
.document-type-badge {
    position: absolute;
    right: 1rem;
    bottom: 2rem;
    background-color: #003d5a;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Badge de type de document */
.document-folder-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 2rem;
}


/* ============================================
   PAGE 404
   ============================================ */
.error-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
}

/* Camera Icon */
.camera-icon {
    position: relative;
    width: 300px;
    height: 250px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite, zoomIn 1s ease-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(0);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Camera body */
.camera-body {
    position: absolute;
    width: 280px;
    height: 180px;
    background-color: #003d5a;
    border-radius: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 30px rgba(0, 61, 90, 0.3);
    animation: shake 4s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) rotate(-2deg);
    }
    75% {
        transform: translate(-50%, -50%) rotate(2deg);
    }
}

/* Camera viewfinder */
.camera-viewfinder {
    position: absolute;
    width: 60px;
    height: 30px;
    background-color: #003d5a;
    border-radius: 5px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.viewfinder-glass {
    position: absolute;
    width: 30px;
    height: 15px;
    background: linear-gradient(135deg, #219ebc, #003d5a);
    border-radius: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Camera lens */
.camera-lens {
    position: absolute;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #4a4a4a, #2a2a2a);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5),
        0 5px 15px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.lens-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid #555;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.lens-glass {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lens-reflection {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 20%;
    left: 20%;
}

/* 404 text on lens */
.error-code {
    position: absolute;
    color: #f7912d;
    font-size: 2rem;
    font-weight: 700;
    z-index: 10;
    text-shadow: 0 0 10px rgba(247, 145, 45, 0.5);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(247, 145, 45, 0.5);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 25px rgba(247, 145, 45, 1), 0 0 35px rgba(247, 145, 45, 0.6);
        transform: scale(1.1);
    }
}

/* Camera flash */
.camera-flash {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #f7912d;
    border-radius: 50%;
    top: 20px;
    right: 30px;
    box-shadow: 0 0 15px rgba(247, 145, 45, 0.4);
    animation: flashBlink 3s ease-in-out infinite;
}

@keyframes flashBlink {
    0%, 90%, 100% {
        background-color: #f7912d;
        box-shadow: 0 0 15px rgba(247, 145, 45, 0.4);
    }
    95% {
        background-color: #fff;
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.flash-reflection {
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    top: 8px;
    left: 10px;
}

/* Camera button */
.camera-button {
    position: absolute;
    width: 50px;
    height: 20px;
    background-color: #219ebc;
    border-radius: 10px;
    top: 30px;
    left: 30px;
}

/* Text Content */
.error-text {
    flex: 1;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.error-text h1 {
    color: #003d5a;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-text p {
    color: #6c757d;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-home {
    background-color: #f7912d;
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-home:hover {
    background-color: #f7912d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 145, 45, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .error-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .camera-icon {
        width: 250px;
        height: 200px;
    }

    .camera-body {
        width: 230px;
        height: 150px;
    }

    .camera-lens {
        width: 110px;
        height: 110px;
    }

    .lens-ring {
        width: 95px;
        height: 95px;
    }

    .lens-glass {
        width: 80px;
        height: 80px;
    }

    .error-code {
        font-size: 1.5rem;
    }

    .error-text h1 {
        font-size: 2.2rem;
    }

    .error-text p {
        font-size: 1.1rem;
    }
}



/* ========================================
   CERCLES CONCENTRIQUES DÉCORATIFS
   ======================================== */

/* Container pour chaque ensemble de cercles */
.circle-decoration-1,
.circle-decoration-2,
.circle-decoration-3,
.circle-decoration-4,
.circle-decoration-5 {
  display: none;
}

/* Afficher uniquement pour desktop (992px et plus) */
@media (min-width: 992px) {
  /* Empêcher le scroll horizontal */
  body {
    position: relative;
    overflow-x: hidden;
  }
  
  html {
    overflow-x: hidden;
  }

  /* Style de base pour tous les containers */
  .circle-decoration-1,
  .circle-decoration-2,
  .circle-decoration-3,
  .circle-decoration-4,
  .circle-decoration-5 {
    display: block;
    position: absolute;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: -1;
  }

  /* Style de base pour tous les cercles */
  .circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.7;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

/* ENSEMBLE 1 ORANGE GRAND*/
  .circle-decoration-1 {
    top: 0%;
    right: -20%;
  }

  .circle-decoration-1 .circle {
    border: solid 5px #f7912d;
    opacity: 0.2;
  }

  .circle-decoration-1 .circle-1 { width: 900px; height: 900px; }
  .circle-decoration-1 .circle-2 { width: 840px; height: 840px; }
  .circle-decoration-1 .circle-3 { width: 780px; height: 780px; }
  .circle-decoration-1 .circle-4 { width: 720px; height: 720px; }
  .circle-decoration-1 .circle-5 { width: 660px; height: 660px; }

  /* ENSEMBLE 2 */
  .circle-decoration-2 {
    top: 22%;
    left: -10%;
  }

  .circle-decoration-2 .circle {
    border: solid 5px #219EBC;
    opacity: 0.2;
  }

  .circle-decoration-2 .circle-1 { width: 460px; height: 460px; }
  .circle-decoration-2 .circle-2 { width: 420px; height: 420px; }
  .circle-decoration-2 .circle-3 { width: 380px; height: 380px; }
  .circle-decoration-2 .circle-4 { width: 340px; height: 340px; }
  .circle-decoration-2 .circle-5 { width: 300px; height: 300px; }

  /* ENSEMBLE 3  VERT GRAND*/
  .circle-decoration-3 {
    bottom: 45%;
    right: 0%;
  }

  .circle-decoration-3 .circle {
    border: solid 5px #9addaa;
    opacity: 0.4;
  }

  .circle-decoration-3 .circle-1 { width: 900px; height: 900px; }
  .circle-decoration-3 .circle-2 { width: 840px; height: 840px; }
  .circle-decoration-3 .circle-3 { width: 780px; height: 780px; }
  .circle-decoration-3 .circle-4 { width: 720px; height: 720px; }
  .circle-decoration-3 .circle-5 { width: 660px; height: 660px; }

  /* ENSEMBLE 4 */
  .circle-decoration-4 {
    top: 55%;
    left: -20%;
  }

  .circle-decoration-4 .circle {
    border: solid 5px #1B8C72;
    opacity: 0.2;
  }

  .circle-decoration-4 .circle-1 { width: 500px; height: 500px; }
  .circle-decoration-4 .circle-2 { width: 460px; height: 460px; }
  .circle-decoration-4 .circle-3 { width: 420px; height: 420px; }
  .circle-decoration-4 .circle-4 { width: 380px; height: 380px; }
  .circle-decoration-4 .circle-5 { width: 340px; height: 340px; }

  /* ENSEMBLE 5 -  */
  .circle-decoration-5 {
    bottom: 15%;
    right: -10%;
  }

  .circle-decoration-5 .circle {
    border: solid 5px #f7912d;
    opacity: 0.2;
  }

  .circle-decoration-5 .circle-1 { width: 540px; height: 540px; }
  .circle-decoration-5 .circle-2 { width: 500px; height: 500px; }
  .circle-decoration-5 .circle-3 { width: 460px; height: 460px; }
  .circle-decoration-5 .circle-4 { width: 420px; height: 420px; }
  .circle-decoration-5 .circle-5 { width: 380px; height: 380px; }
}


/* ========================================
   FORMULAIRE CONNEXION ULTIMATE MEMBER
   ======================================== */

.profile-form-container {
  background-color: #1B8C72;
  border-radius: 15px;
}

.um-account-name > a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

/* Titre */
.um-login .um-form h2,
.um-login .um-form h3 {
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Labels des formulaire */
.um .um-field-label label,
.um .um-field-user_login label,
.um .um-field-first_name label,
.um .um-field-last_name label,
.um .um-field-user_email label,
.um .um-field-user_password label,
.um .um-field-password label { 
  color: white;
  font-weight: 400;
  font-size: larger !important;
}

/* Nom du compte */
.um .um-account-name a,
.um .um-account-name a:hover { 
  color: white;
  font-weight: 600;
  font-size: 2rem !important;
}

/* Heading */
.um .um-account-main .um-account-heading {
  color: white !important;
}

/* Masquer profil/avatar dans la sidebar */
.um-account-profile-link,
.um-account-meta-img {
  display: none;
}

/* ========================================
   SIDEBAR - SUPPRIMER PUCES
   ======================================== */

.um-account-side > ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}

.um-account-side > ul li {
  list-style: none !important;
  padding-left: 0 !important;
}

.um-account-side > ul li::before {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

/* ========================================
   SIDEBAR DESKTOP — toujours texte complet
   ======================================== */

.um-account-side .um-account-icontip { display: none !important; }
.um-account-side .um-account-icon    { display: inline-block !important; }
.um-account-side .um-account-title   { display: inline !important; }
.um-account-side .um-account-arrow   { display: inline !important; }

/* ========================================
   ACCORDÉON — tablette + mobile (< 992px)
   Sidebar cachée, accordéon natif UM actif
   ======================================== */

@media (max-width: 991px) {

  /* Cacher la sidebar quelle que soit la classe uimob */
  .um-account-side,
  .um-account-side.uimob340-hide,
  .um-account-side.uimob500-hide,
  .um-account-side.uimob340-hide.uimob500-hide {
    display: none !important;
  }

  /* Forcer l'accordéon visible même si UM le cache entre 500-991px */
  .um-account-nav,
  .um-account-nav.uimob340-show,
  .um-account-nav.uimob500-show {
    display: block !important;
  }

  /* Labels blancs en mode accordéon */
  .um .um-field-label label,
  .um .um-field-user_login label,
  .um .um-field-first_name label,
  .um .um-field-last_name label,
  .um .um-field-user_email label,
  .um .um-field-user_password label,
  .um .um-field-password label,
  .um .um-account-main .um-account-heading {
    color: #fff !important;
  }

  .um-account-nav {
    margin-bottom: 0.75rem;
  }

  .um-account-nav > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-left: 3px solid transparent !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    margin-bottom: 0.4rem;
    transition: background 0.2s ease;
  }

  .um-account-nav > a.current {
    background: rgba(255,255,255,0.22) !important;
    border-left-color: #f7912d !important;
  }

  .um-account-nav > a .arr { margin-right: 0.4rem; color: #9addaa; }
  .um-account-nav > a .ico { margin-left: 0.2rem; color: white; }

  /* Supprimer l'animation saccadée UM */
  .um .um-account-tab {
    transition: none !important;
    animation: none !important;
    -webkit-transition: none !important;
  }
}

/* Desktop (> 991px) — masquer l'accordéon, afficher sidebar */
@media (min-width: 992px) {
  .um-account-nav {
    display: none !important;
  }
}

/* ========================================
   BOUTONS
   ======================================== */

.um-login .um-button,
.um-login input[type="submit"],
.um-account-main .um-button,
.um-account-main input[type="submit"] {
  display: block;
  font-size: 18px !important;
  text-transform: uppercase !important;
  box-shadow: 2px 4px 6px -1px rgba(0, 0, 0, 0.243) !important;
  padding: 0.75rem 1.25rem !important;
  background: #f7912d !important;
  border: 1px solid #f7912d !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-bottom: 0.5rem !important;
  transition: all 0.3s ease !important;
}

.um-login .um-button:hover,
.um-login input[type="submit"]:hover,
.um-account-main .um-button:hover,
.um-account-main input[type="submit"]:hover {
  color: #003d5a !important; 
  background-color: white !important;
  text-decoration: none !important;
  transform: scale(1.02);
}

/* ========================================
   LIENS
   ======================================== */

.um-login a,
.um-login .um-link,
.um-account-main a,
.um-account-main .um-link {
  color: #fff !important;
  font-weight: 600;
  text-decoration: underline !important;
  transition: ease-in-out .15s;
}

.um-col-alt-b .um-link-alt {
  color: #fff !important;
}

.um-col-alt-b .um-left {
  display: flex;
  flex-wrap: wrap;
}

.um-col-alt-b input[type="submit"].um-button {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  height: auto;
}

/* ========================================
   INPUTS
   ======================================== */

.um .um-form input[type=password], 
.um .um-form input[type=search], 
.um .um-form input[type=tel], 
.um .um-form input[type=text], 
.um .um-form textarea {
  color: #003d5a !important;
  font-weight: 600;
  font-size: larger !important;
}

.um-account-main .um-account-nav a {
  color: white !important;
  padding: 10px 30px !important;
  font-size: larger !important;
}


/* =======================
MOT DE PASSE
====================*/

  .um.um-password {
    background: #f7912d;
    border-radius: 20px;
    padding: 50px 32px;
    width: 100% !important;
    max-width: 700px !important;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
  }

  .um-password .um-button {
  display: block;
  font-size: 18px !important;
  text-transform: uppercase !important;
  box-shadow: 2px 4px 6px -1px rgba(0, 0, 0, 0.243) !important;
  padding: 0.75rem 1.25rem !important;
  background: #219ebc !important;
  border: 1px solid #219EBC !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-bottom: 0.5rem !important;
  transition: all 0.3s ease !important;
}

.um-password .um-button:hover {
  color: #003d5a !important; 
  background-color: white !important;
  text-decoration: none !important;
  transform: scale(1.02);
}

.um-password .um-form-field {
  color: #003d5a !important;
  font-weight: 600 !important;
  font-size: larger !important;
}

.um-password .um-field-block {
  color: #003d5a !important;
  font-weight: 600 !important;
  font-size: larger !important;
  padding-bottom: 10px;
}
