/* ================================================================
   qui-sommes-nous.css
   ================================================================ */

/* Garde-fou : aucun débordement horizontal sur cette page */
main { overflow-x: clip; }

/* ── Page wrapper ── */
.qs-page {
  padding: clamp(56px,7vw,96px) clamp(16px,4vw,56px) clamp(64px,9vw,120px);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ── Eyebrow ── */
.qs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8b85ff;
  margin-bottom: 18px;
}
.qs-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #6C63FF;
  flex-shrink: 0;
}

/* ── Intro ── */
.qs-intro {
  text-align: center;
  width: 100%;
  max-width: 560px;
}
.qs-intro h1 {
  font: 400 clamp(2.4rem,2rem + 2.2vw,3.8rem)/1.05 var(--f-disp);
  letter-spacing: -.04em;
  margin-bottom: 18px;
}
.qs-intro h1 em {
  font-style: italic;
  color: #8b85ff;
}
.qs-intro p {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Video stage ── */
.qs-video-stage {
  position: relative;
  width: 100%;
}

/* Halo derrière la vidéo — inset vertical seulement pour éviter
   tout débordement horizontal (le blur diffuse déjà la lumière sur les côtés) */
.qs-video-glow {
  position: absolute;
  inset: -36px 0;
  border-radius: 32px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    rgba(108,99,255,.24) 0%,
    rgba(52,201,123,.08) 55%,
    transparent 80%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

/* Cadre vidéo */
.qs-video-frame {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(108,99,255,.28);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05),
    0 24px 64px rgba(0,0,0,.55),
    0 4px 16px rgba(0,0,0,.4);
  background: #000;
  aspect-ratio: 16 / 9;
}

.qs-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Overlay play ── */
.qs-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.32);
  border: none;
  cursor: pointer;
  transition: opacity .3s, background .3s;
  z-index: 10;
}
.qs-play-overlay:hover {
  background: rgba(0,0,0,.18);
}
.qs-play-overlay:hover .qs-play-ring {
  transform: scale(1.08);
  border-color: rgba(108,99,255,.9);
}
.qs-play-overlay:hover .qs-play-icon {
  transform: scale(1.06);
}

.qs-play-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(108,99,255,.6);
  background: rgba(108,99,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s;
}
@media (max-width: 560px) {
  .qs-play-ring { width: 60px; height: 60px; }
}

.qs-play-icon {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 4px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
@media (max-width: 560px) {
  .qs-play-icon { width: 20px; height: 20px; }
}

/* Animation subtile du ring */
@keyframes qs-ring-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(108,99,255,.35); }
  70%  { box-shadow: 0 0 0 14px rgba(108,99,255,0);  }
  100% { box-shadow: 0 0 0 0   rgba(108,99,255,0);   }
}
.qs-play-ring {
  animation: qs-ring-pulse 2.4s ease-out infinite;
}

/* ── Section valeurs ── */
.qs-about {
  border-top: 1px solid var(--divider);
  background: var(--surf);
  padding: clamp(56px,7vw,88px) clamp(16px,4vw,56px);
}
.qs-about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 780px) {
  .qs-about-inner { grid-template-columns: 1fr; gap: 40px; }
}

.qs-about-text h2 {
  font: 400 clamp(1.6rem,1.3rem + 1.4vw,2.4rem)/1.1 var(--f-disp);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.qs-about-text p {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.qs-about-text p:last-child { margin-bottom: 0; }

.qs-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qs-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color .2s, transform .22s;
}
.qs-pillar:hover {
  border-color: rgba(108,99,255,.32);
  transform: translateX(4px);
}
.qs-pillar-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b85ff;
}
.qs-pillar-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qs-pillar h4 {
  font-size: var(--t-h4);
  font-weight: 600;
  margin-bottom: 4px;
}
.qs-pillar p {
  font-size: var(--t-sm);
  color: var(--text-2);
  line-height: 1.5;
}

/* ── CTA ── */
.qs-cta {
  padding: clamp(56px,7vw,88px) clamp(16px,4vw,56px);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.qs-cta h2 {
  font: 400 clamp(1.6rem,1.3rem + 1.4vw,2.4rem)/1.1 var(--f-disp);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.qs-cta p {
  font-size: var(--t-body);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}
.qs-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
