/* ============================
   CATALOGUES PAGE STYLES
   ============================ */

.catalogues-page {
  padding-top: 140px;
  background: var(--white);
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 50px 20px;
  background: var(--white);
}

.page-header h1 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.page-header a {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.3s;
}

.page-header a:hover {
  color: #b8922a;
}

/* ============================
   ALL CATALOGS
   ============================ */
.all-catalogs {
  padding: 40px 0 70px;
  background: #fafafa;
}

.all-catalogs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  color: #333;
  margin-bottom: 50px;
}

/* Catalogs Grid */
.catalogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Catalog Card */
.catalog-card {
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.catalog-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-image img {
  transform: scale(1.05);
}

.catalog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog-card:hover .catalog-overlay {
  opacity: 1;
}

.catalog-view-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: none;
  padding: 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.catalog-view-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.catalog-info {
  padding: 25px;
  text-align: center;
}

.catalog-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 8px;
}

.catalog-desc {
  font-size: 13px;
  color: var(--gray);
}

/* ============================
   NOS BOUTIQUES - PREMIUM BENTO GRID
   ============================ */
.nos-boutiques {
  padding: 100px 0;
  background: #0d0d0d;
}

.boutiques-header {
  text-align: center;
  margin-bottom: 60px;
}

.boutiques-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 15px;
}

.boutiques-title {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--white);
}

.boutiques-grid-premium {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

/* Card Premium */
.boutique-card-premium {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.boutique-card-premium.boutique-large {
  grid-column: span 2;
}

.boutique-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.boutique-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
  transition: background 0.5s ease;
}

.boutique-card-premium:hover .boutique-card-bg {
  transform: scale(1.08);
}

.boutique-card-premium:hover .boutique-card-bg::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.92) 100%);
}

.boutique-card-content {
  position: absolute;
  inset: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}

.boutique-arr {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 48px;
  font-weight: 200;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  transition: color 0.4s ease;
}

.boutique-arr sup {
  font-size: 18px;
}

.boutique-card-premium:hover .boutique-arr {
  color: rgba(201,162,39,0.5);
}

.boutique-card-content h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.boutique-card-premium:hover .boutique-card-content h3 {
  transform: translateY(0);
}

.boutique-card-content address {
  font-size: 13px;
  font-style: normal;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
  transform: translateY(10px);
  opacity: 0.8;
  transition: all 0.4s ease 0.05s;
}

.boutique-card-premium:hover .boutique-card-content address {
  transform: translateY(0);
  opacity: 1;
}

.boutique-meta {
  margin-bottom: 20px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.boutique-card-premium:hover .boutique-meta {
  transform: translateY(0);
  opacity: 1;
}

.boutique-metro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
}

.boutique-metro svg {
  opacity: 0.8;
}

.boutique-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  align-self: flex-start;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.15s;
}

.boutique-card-premium:hover .boutique-cta {
  transform: translateY(0);
  opacity: 1;
}

.boutique-cta:hover {
  background: #b8922a;
}

/* ============================
   SPECIALITES - IMMERSIVE SLIDER
   ============================ */
.specialites-immersive {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.specialites-header {
  text-align: center;
  margin-bottom: 60px;
}

.specialites-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 15px;
}

.specialites-title {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #1a1a1a;
}

.specialites-slider-wrapper {
  position: relative;
  padding: 0 80px;
}

.specialites-slider {
  display: flex;
  gap: 30px;
  cursor: grab;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
}

.specialites-slider::-webkit-scrollbar {
  display: none;
}

.specialites-slider:active {
  cursor: grabbing;
}

/* Specialite Slide */
.specialite-slide {
  flex: 0 0 calc(50% - 15px);
  scroll-snap-align: start;
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 0;
}

.slide-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.specialite-slide:hover .slide-image {
  transform: scale(1.08);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  transition: background 0.5s ease;
}

.specialite-slide:hover .slide-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 40px;
  color: var(--white);
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.specialite-slide:hover .slide-content {
  transform: translateY(0);
}

.slide-number {
  display: block;
  font-size: 64px;
  font-weight: 100;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 15px;
  transition: color 0.5s ease;
}

.specialite-slide:hover .slide-number {
  color: rgba(201,162,39,0.4);
}

.slide-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.slide-description {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
  max-width: 400px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease 0.1s;
}

.specialite-slide:hover .slide-description {
  opacity: 1;
  transform: translateY(0);
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease 0.2s;
}

.specialite-slide:hover .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

.slide-cta svg {
  transition: transform 0.3s ease;
}

.slide-cta:hover svg {
  transform: translateX(5px);
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #333;
}

.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.slider-progress {
  width: 200px;
  height: 2px;
  background: #eee;
  position: relative;
  overflow: hidden;
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: var(--gold);
  transition: transform 0.3s ease;
}

/* Drag indicator */
.drag-indicator {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  animation: dragHint 2s ease-in-out infinite;
}

@keyframes dragHint {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.drag-indicator svg {
  animation: dragArrow 1.5s ease-in-out infinite;
}

@keyframes dragArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ============================
   PDF MODAL
   ============================ */
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.active {
  opacity: 1;
  visibility: visible;
}

.pdf-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.pdf-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
}

.pdf-modal-close:hover {
  color: var(--gold);
}

.pdf-modal-viewer {
  max-height: 75vh;
  overflow: hidden;
}

.pdf-modal-viewer img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.pdf-modal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.pdf-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pdf-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pdf-page-info {
  font-size: 13px;
  color: var(--white);
}

/* ============================
   RESPONSIVE - TABLET
   ============================ */
@media (max-width: 1024px) {
  .boutiques-grid-premium {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .boutique-card-premium.boutique-large {
    grid-column: span 2;
  }

  .specialite-slide {
    flex: 0 0 calc(70% - 15px);
    height: 450px;
  }
}

@media (max-width: 900px) {
  .catalogs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .boutiques-title,
  .specialites-title {
    font-size: 32px;
    letter-spacing: 5px;
  }

  .boutiques-grid-premium {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 20px;
  }

  .boutique-card-premium.boutique-large {
    grid-column: span 1;
  }

  .boutique-card-content h3 {
    font-size: 18px;
  }

  .boutique-arr {
    font-size: 36px;
  }

  .specialites-slider-wrapper {
    padding: 0 40px;
  }

  .specialite-slide {
    flex: 0 0 calc(80% - 15px);
    height: 400px;
  }

  .slide-content {
    padding: 40px 30px;
  }

  .slide-title {
    font-size: 22px;
  }
}

/* ============================
   RESPONSIVE - MOBILE
   ============================ */
@media (max-width: 600px) {
  .catalogues-page {
    padding-top: 120px;
  }

  .page-header {
    padding: 35px 15px;
  }

  .page-header h1 {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .page-header p {
    font-size: 13px;
  }

  .all-catalogs {
    padding: 30px 0 50px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 35px;
  }

  .catalogs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-info {
    padding: 20px;
  }

  /* Always show overlay on mobile */
  .catalog-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.3);
  }

  /* Boutiques Mobile */
  .nos-boutiques {
    padding: 60px 0;
  }

  .boutiques-header {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .boutiques-title {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .boutiques-grid-premium {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 15px;
    padding: 0 15px;
  }

  .boutique-card-premium.boutique-large {
    grid-column: span 1;
  }

  .boutique-card-content {
    padding: 25px;
  }

  .boutique-card-content h3 {
    font-size: 16px;
    transform: none;
  }

  .boutique-card-content address {
    font-size: 12px;
    transform: none;
    opacity: 1;
  }

  .boutique-arr {
    font-size: 32px;
    top: 20px;
    right: 20px;
  }

  .boutique-meta {
    transform: none;
    opacity: 1;
    margin-bottom: 15px;
  }

  .boutique-cta {
    transform: none;
    opacity: 1;
    padding: 12px 20px;
    font-size: 12px;
  }

  /* Specialites Mobile */
  .specialites-immersive {
    padding: 60px 0;
  }

  .specialites-header {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .specialites-title {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .specialites-slider-wrapper {
    padding: 0 20px;
  }

  .specialite-slide {
    flex: 0 0 calc(90% - 10px);
    height: 380px;
  }

  .slide-content {
    padding: 30px 25px;
  }

  .slide-number {
    font-size: 48px;
    margin-bottom: 10px;
  }

  .slide-title {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .slide-description {
    font-size: 13px;
    opacity: 1;
    transform: none;
  }

  .slide-cta {
    opacity: 1;
    transform: none;
  }

  .slider-nav {
    margin-top: 30px;
    gap: 20px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
  }

  .slider-progress {
    width: 120px;
  }

  .drag-indicator {
    display: none;
  }
}
