.paaj-page { background: #fff; color: #212529; }
.paaj-page .bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0;
}
.paaj-page .bg-breadcrumb.has-photo {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--paaj-couverture);
}
.paaj-page .paaj-banner { position: relative; z-index: 3; max-width: 900px; }
.paaj-page .paaj-publication { max-width: 920px; }
.paaj-page .bg-breadcrumb .display-4 {
  font-family: Roboto, sans-serif;
  font-size: calc(1.475rem + 2.7vw);
  font-weight: 700;
  line-height: 1.2;
}
.paaj-page .bg-breadcrumb-single {
  position: absolute;
  width: 500px;
  height: 1200px;
  top: 0;
  left: -240px;
  margin-left: 30px;
  transform: rotate(-30deg);
  background: red;
  animation: RotateMoveLeft 5s linear infinite;
  opacity: 0.7;
  z-index: 2;
}
.paaj-page .bg-breadcrumb::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -150px;
  right: -150px;
  border-radius: 200px;
  border: 80px solid rgba(68, 210, 246, 0.2);
  animation: RotateMoveCircle 10s linear infinite;
  z-index: 2;
}
.paaj-page .bg-breadcrumb::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 1200px;
  top: -150px;
  left: 0;
  margin-left: 160px;
  transform: rotate(-30deg);
  background: rgba(68, 210, 246, 0.2);
  animation: RotateMoveRight 5s linear infinite;
  z-index: 2;
}
@keyframes RotateMoveLeft {
  0% { left: -240px; }
  50% { left: -300px; }
  100% { left: -240px; }
}
@keyframes RotateMoveRight {
  0% { left: 0; }
  50% { left: 70px; }
  100% { left: 0; }
}
@keyframes RotateMoveCircle {
  0% { top: -200px; }
  50% { right: -100px; }
  75% { top: -100px; }
  100% { top: -200px; }
}
.paaj-page .breadcrumb { background: transparent; }
.paaj-page .breadcrumb-item a { color: #fff !important; text-decoration: none; }
.paaj-page .breadcrumb-item.active { color: #db3832; }
.paaj-page .paaj-about {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #1b3a22;
  color: #fff;
}
.paaj-page .paaj-about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.paaj-page .paaj-about-veil {
  position: absolute;
  inset: 0;
  background: rgba(12, 32, 18, 0.72);
}
.paaj-page .paaj-about-content { position: relative; z-index: 1; max-width: 860px; }
.paaj-page .paaj-about h2 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.paaj-page .paaj-about-text,
.paaj-page .paaj-about-text :is(p, li, span, a, h1, h2, h3, h4, strong, em) {
  color: #fff;
}
.paaj-page .paaj-about-text { font-size: 1.125rem; line-height: 1.75; }
.paaj-page .paaj-about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.paaj-page .btn-protocole,
.paaj-page .btn-concessions {
  border-radius: 25px;
  font-weight: 600;
  padding: 10px 22px;
  text-decoration: none;
}
.paaj-page .btn-protocole {
  background: #fff;
  color: #1b3a22;
  border: 2px solid #fff;
}
.paaj-page .btn-protocole:hover { background: #e9ecef; color: #1b3a22; }
.paaj-page .btn-concessions {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.paaj-page .btn-concessions:hover { background: #fff; color: #1b3a22; }
.paaj-page .paaj-section { padding: 80px 0; background: #fff; }
.paaj-page .paaj-partenaires { background: #fff; }
.paaj-page .paaj-partenaires .row > [class*="col-"] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.paaj-page .paaj-partenaires .row > [class*="col-"] > a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}
.paaj-page .paaj-partenaires .partenaire-logo {
  width: 150px;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}
.paaj-page .section-title { text-align: center; margin-bottom: 50px; }
.paaj-page .section-title h2 {
  color: #2c5f2d;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.paaj-page .section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #2c5f2d;
}
.paaj-page .section-title p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 20px auto 0;
}
.paaj-page .btn-pdf {
  background: #dc3545;
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
}
.paaj-page .btn-pdf:hover { background: #c82333; color: #fff; }
.paaj-page .filters-section {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.paaj-page .filter-label { font-weight: 600; color: #2c5f2d; margin-bottom: 10px; }
.paaj-page .filter-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }
.paaj-page .filter-checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px 15px;
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  margin: 0;
}
.paaj-page .filter-checkbox:hover,
.paaj-page .filter-checkbox.checked { background: #2c5f2d; color: #fff; border-color: #2c5f2d; }
.paaj-page .filter-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.paaj-page .search-box { position: relative; }
.paaj-page .search-box .form-control {
  padding-left: 45px;
  border-radius: 25px;
  border: 2px solid #e9ecef;
}
.paaj-page .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}
.paaj-page .btn-filter {
  background: linear-gradient(135deg, #2c5f2d, #4c8c4a);
  border: none;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
}
.paaj-page .btn-filter:hover { color: #fff; box-shadow: 0 5px 15px rgba(44, 95, 45, 0.4); }
.paaj-page .btn-reset {
  background: #6c757d;
  border: none;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
}
.paaj-page .btn-reset:hover { background: #5a6268; color: #fff; }
.paaj-page .product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.paaj-page .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.paaj-page .product-card-header {
  background: linear-gradient(135deg, #2c5f2d, #4c8c4a);
  color: #fff;
  padding: 25px;
  position: relative;
}
.paaj-page .product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.paaj-page .product-title { font-size: 1.4rem; font-weight: 700; margin: 28px 0 5px; color: #fff; }
.paaj-page .product-subtitle { font-size: 0.9rem; opacity: 0.9; margin-bottom: 0; }
.paaj-page .product-card-body { padding: 25px; }
.paaj-page .product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.paaj-page .product-description {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 100px;
}
.paaj-page .product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}
.paaj-page .product-date { font-size: 0.85rem; color: #6c757d; display: flex; align-items: center; gap: 5px; }
.paaj-page .btn-details {
  display: block;
  background: linear-gradient(135deg, #2c5f2d, #4c8c4a);
  border: none;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  width: 100%;
  text-align: center;
  text-decoration: none;
}
.paaj-page .btn-details:hover { color: #fff; box-shadow: 0 5px 15px rgba(44, 95, 45, 0.4); }
.paaj-page .no-products { text-align: center; padding: 60px 20px; background: #f8f9fa; border-radius: 15px; }
.paaj-page .no-products i { font-size: 4rem; color: #6c757d; margin-bottom: 20px; }
.paaj-page .no-products h3 { color: #495057; margin-bottom: 10px; font-size: 1.5rem; }
.paaj-page .no-products p { color: #6c757d; margin-bottom: 0; }
.paaj-page .no-products-search[hidden] { display: none !important; }
.paaj-page .product-modal .modal-header,
.paaj-page .pdf-modal .modal-header {
  background: linear-gradient(135deg, #2c5f2d, #4c8c4a);
  color: #fff;
  border-bottom: none;
}
.paaj-page .product-modal .btn-close,
.paaj-page .pdf-modal .btn-close { filter: invert(1); }
.paaj-page .product-detail-header { text-align: center; padding: 30px; background: #f8f9fa; border-radius: 10px; margin-bottom: 30px; }
.paaj-page .product-image-large {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}
.paaj-page .product-info { background: #f8f9fa; padding: 25px; border-radius: 10px; margin-bottom: 25px; }
.paaj-page .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.paaj-page .info-item { display: flex; align-items: center; gap: 10px; }
.paaj-page .info-item i { color: #2c5f2d; width: 20px; }
.paaj-page .info-label { font-weight: 600; color: #495057; }
.paaj-page .info-value { color: #6c757d; }
.paaj-page .product-content-full { line-height: 1.6; color: #495057; margin-bottom: 24px; }
.paaj-page .product-content-full h4 { color: #2c5f2d; margin-bottom: 12px; font-size: 1.15rem; }
.paaj-page .pdf-modal .modal-dialog { max-width: 95%; margin: 20px auto; }
.paaj-page .pdf-modal .modal-content { height: 90vh; display: flex; flex-direction: column; }
.paaj-page .pdf-modal .modal-body { flex: 1; padding: 0; display: flex; overflow: hidden; }
.paaj-page .pdf-viewer-container { flex: 1; display: flex; flex-direction: column; background: #f8f9fa; padding: 20px; }
.paaj-page .pdf-controls {
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.paaj-page .pdf-preview-wrapper { flex: 1; background: #fff; position: relative; min-height: 500px; }
.paaj-page .pdf-preview { width: 100%; height: 100%; border: none; min-height: 500px; }
.paaj-page .pdf-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #6c757d;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-100%, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(100%, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.paaj-page .wow { visibility: hidden; }
.paaj-page .wow.animated {
  visibility: visible;
  animation-duration: 1s;
  animation-fill-mode: both;
}
.paaj-page .wow.animated.fadeInDown { animation-name: fadeInDown; }
.paaj-page .wow.animated.fadeInUp { animation-name: fadeInUp; }
.paaj-page .wow.animated.fadeInLeft { animation-name: fadeInLeft; }
.paaj-page .wow.animated.fadeInRight { animation-name: fadeInRight; }
.paaj-page .wow.animated.fadeIn { animation-name: fadeIn; }
@media (max-width: 768px) {
  .paaj-page .paaj-about,
  .paaj-page .paaj-section { padding: 50px 0; }
  .paaj-page .filters-section { padding: 20px; }
  .paaj-page .filter-checkboxes { flex-direction: column; }
  .paaj-page .product-title { font-size: 1.2rem; }
  .paaj-photo-cadre,
  .paaj-photo-cadre img { height: 240px; max-height: 240px; }
  .paaj-photo-carousel .carousel-control-prev,
  .paaj-photo-carousel .carousel-control-next { top: 99px; }
}
.paaj-medias { margin-top: 8px; }
.paaj-medias .nav-tabs { border-bottom: 2px solid #2c5f2d; gap: 6px; }
.paaj-medias .nav-link {
  color: #2c5f2d;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 10px 10px 0 0;
}
.paaj-medias .nav-link.active {
  color: #fff;
  background: #2c5f2d;
  border-color: #2c5f2d;
}
.paaj-medias .tab-content { padding: 20px 0 8px; }
.paaj-ouvrir { margin-top: 18px; }
.paaj-ouvrir a { font-weight: 600; }
.paaj-photo-carousel { position: relative; }
.paaj-photo-cadre {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f4;
  border-radius: 12px;
}
.paaj-photo-cadre img { max-width: 100%; max-height: 420px; object-fit: contain; }
.paaj-photo-legende { margin: 10px 0 0; text-align: center; color: #495057; }
.paaj-photo-carousel .carousel-control-prev,
.paaj-photo-carousel .carousel-control-next {
  width: 42px;
  height: 42px;
  top: 189px;
  bottom: auto;
  opacity: 1;
  background: rgba(27, 58, 34, 0.78);
  border-radius: 50%;
}
.paaj-photo-carousel .carousel-control-prev { left: 12px; }
.paaj-photo-carousel .carousel-control-next { right: 12px; }
.paaj-video { margin-bottom: 16px; }
.paaj-video-apercu {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.paaj-video-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.paaj-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.paaj-video-lecture {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: #ff0000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.paaj-video p { margin: 8px 0 0; color: #495057; }
.paaj-documents { list-style: none; margin: 0; padding: 0; }
.paaj-documents li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}
.paaj-documents i { color: #dc3545; }
.paaj-document-actions { display: flex; gap: 12px; flex-shrink: 0; }
.paaj-document-actions a { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .paaj-page .bg-breadcrumb-single,
  .paaj-page .bg-breadcrumb::before,
  .paaj-page .bg-breadcrumb::after,
  .paaj-page .wow.animated { animation: none; }
  .paaj-page .wow { visibility: visible; }
  .paaj-page .product-card { transition: none; }
  .paaj-page .product-card:hover { transform: none; }
}
