/* ==========================================
   MY PRETTY FAMILY - Page Nos Clients
   ========================================== */

/* ==================== PAGE HERO ==================== */
.clients-hero {
  padding: 140px 48px 80px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(106, 143, 185, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(106, 143, 185, 0.05) 0%, transparent 20%),
    linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.clients-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6A8FB9;
  text-decoration: none;
  margin-bottom: 32px;
  transition: gap 0.2s;
}

.back-link:hover {
  gap: 12px;
}

.page-hero-label {
  font-size: 13px;
  font-weight: 600;
  color: #6A8FB9;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-hero-subtitle {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
}

/* ==================== INTRO BLOCK ==================== */
.intro-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.intro-icon {
  font-size: 48px;
  color: #6A8FB9;
  margin-bottom: 24px;
}

.intro-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.intro-text {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-text strong {
  color: #1a1a1a;
}

/* ==================== VIDEOS GRID ==================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* ==================== VIDEO CARD ==================== */
.video-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ==================== VIDEO CONTAINER - FORMAT PORTRAIT ==================== */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* Changement crucial ici (était 16/9) */
  background: #000;
  overflow: hidden;
  border-radius: 12px; /* Coins arrondis comme un écran */
}

/* Fallback pour navigateurs qui ne supportent pas aspect-ratio */
@supports not (aspect-ratio: 9 / 16) {
  .video-container {
    padding-bottom: 177.77%; /* 16/9 inversé */
    height: 0;
  }
}

/* ==================== VIDEO PLAYER ==================== */
.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quand la vidéo est en cours de lecture, montrer tout */
.video-player:not([poster]) {
  object-fit: contain;
  background: #000;
}

/* ==================== VIDEO OVERLAY (Play Button) ==================== */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #6A8FB9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.video-play-btn i {
  margin-left: 4px; /* Centre visuel du triangle play */
}

/* ==================== VIDEO CONTENT (Quote) ==================== */
.video-content {
  padding: 16px 20px 20px;
}

.video-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #333;
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.video-author {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* ==================== VIDEOS NOTE ==================== */
.videos-note {
  text-align: center;
  margin-top: 32px;
  padding: 16px 24px;
  background: #f8fafc;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.videos-note i {
  color: #6A8FB9;
}

/* ==================== PHOTOS GALLERY ==================== */
.photos-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.photo-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(106, 143, 185, 0.15);
}

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

/* ==================== TESTIMONIALS GRID ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(106, 143, 185, 0.12);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  font-size: 14px;
  color: #f5b800;
}

.testimonial-text {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar i {
  font-size: 18px;
  color: #6A8FB9;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.testimonial-location {
  font-size: 13px;
  color: #888;
}

/* ==================== STATS ROW ==================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-block {
  text-align: center;
  padding: 32px 24px;
  background: #f8fafc;
  border-radius: 16px;
  transition: transform 0.3s;
}

.stat-block:hover {
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 28px;
  color: #6A8FB9;
  margin-bottom: 16px;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==================== CTA FINAL ==================== */
.cta-final {
  padding: 100px 48px;
  background: linear-gradient(135deg, #6A8FB9 0%, #5a7fa9 100%);
  text-align: center;
}

.cta-final-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-final-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .clients-hero {
    padding: 120px 24px 60px;
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .photos-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .stat-block {
    padding: 24px 16px;
  }
  
  .stat-value {
    font-size: 28px;
  }
  
  .cta-final {
    padding: 80px 24px;
  }
  
  .cta-final-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .photos-gallery {
    grid-template-columns: 1fr;
  }
}