/* ============================================================
   LQS AQUITAINE — clients.css
   Page "Clients actuels"
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.cl-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 2.5rem 4rem;
}

/* Fond sombre avec lueurs rouges */
.cl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(197,2,2,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 80% 30%, rgba(197,2,2,0.10) 0%, transparent 70%),
    linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
  z-index: 0;
}

/* Ligne de reflet haut */
.cl-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,2,2,0.4) 40%, rgba(255,255,255,0.2) 60%, transparent);
  z-index: 1;
}

.cl-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.cl-hero__overline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.cl-hero__overline::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.cl-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.cl-hero__title span {
  color: var(--red);
  position: relative;
}

.cl-hero__divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(197,2,2,0.3));
  border-radius: 3px;
  margin-bottom: 1.4rem;
}

.cl-hero__sub {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Statistique animée */
.cl-hero__stats {
  display: flex;
  gap: 2.5rem;
}

.cl-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1em;
  padding: 1rem 1.6rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.cl-hero__stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}

.cl-hero__stat-num sup {
  font-size: 1.2rem;
  color: var(--red);
  vertical-align: super;
  margin-left: 1px;
}

.cl-hero__stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 0.15em;
}

/* Tags */
.cl-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.cl-hero__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.3em 0.9em;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.cl-hero__tag:hover {
  color: #fff;
  border-color: rgba(197,2,2,0.4);
  background: rgba(197,2,2,0.1);
}

/* ══════════════════════════════════════════════════════════
   SECTION LOGOS
   ══════════════════════════════════════════════════════════ */
.cl-section {
  padding: 4rem 2.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cl-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cl-section-head__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.cl-section-head__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
}

/* Grille de logos */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}

/* Carte logo */
.cl-card {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 16px;
  overflow: hidden;
  cursor: default;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);

  transition:
    transform    var(--transition),
    box-shadow   var(--transition),
    border-color var(--transition),
    background   var(--transition);

  /* Entrée animée */
  opacity: 0;
  transform: translateY(20px) scale(0.97);
}

.cl-card.in-view {
  animation: cardIn 0.55s cubic-bezier(.34,1.2,.64,1) forwards;
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cl-card:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255,255,255,0.13);
  border-color: rgba(197,2,2,0.35);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.25),
    0 0 0 1px rgba(197,2,2,0.18),
    0 0 32px rgba(197,2,2,0.14),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Image logo (background-image) */
.cl-card__logo {
  position: absolute;
  inset: 16px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition), filter var(--transition);
  filter: grayscale(20%) brightness(0.9);
}

.cl-card:hover .cl-card__logo {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1.05);
}

/* Shimmer au hover */
.cl-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.08) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}

.cl-card:hover .cl-card__shine {
  transform: translateX(100%);
  transition: transform 0.55s ease;
}

/* Ligne de reflet haut de la carte */
.cl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   CTA — REJOIGNEZ-LES
   ══════════════════════════════════════════════════════════ */
.cl-cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 2.5rem;
  text-align: center;
}

.cl-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(197,2,2,0.12) 0%, transparent 70%),
    rgba(0,0,0,0.08);
  pointer-events: none;
}

/* Ligne décorative haut */
.cl-cta::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,2,2,0.4), rgba(255,255,255,0.15), rgba(197,2,2,0.4), transparent);
  pointer-events: none;
}

.cl-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cl-cta__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
}

.cl-cta__label::before,
.cl-cta__label::after {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--red);
  border-radius: 2px;
  opacity: 0.6;
}

.cl-cta__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.cl-cta__title span {
  color: var(--red);
}

.cl-cta__text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.cl-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.9em 2em;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, rgba(197,2,2,0.9) 0%, rgba(140,0,0,0.95) 100%);
  border: 1px solid rgba(255,100,100,0.3);
  box-shadow:
    0 6px 28px rgba(197,2,2,0.45),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cl-cta__btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.cl-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 36px rgba(197,2,2,0.6),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.cl-cta__btn:hover::after { left: 150%; }
.cl-cta__btn:active { transform: translateY(0) scale(0.98); }

.cl-cta__btn svg {
  transition: transform var(--transition);
}
.cl-cta__btn:hover svg {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
  .cl-hero { padding: 3.5rem 1.4rem 3rem; }
  .cl-section { padding: 2.5rem 1.4rem 3.5rem; }
  .cl-cta { padding: 3.5rem 1.4rem; }
  .cl-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.9rem; }
  .cl-hero__stats { gap: 1rem; }
}

@media screen and (max-width: 450px) {
  .cl-grid { grid-template-columns: repeat(2, 1fr); }
}
