/* Pages détail Expertises — template standardisé institutionnel
   HERO(CTA) · Pourquoi ? · Services · Secteurs · Strategic Insight · Appel à l'action */

/* ─── CTA du hero ─── */
.page-hero__cta {
  margin-top: 1.75rem;
}

.page-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}

/* ─── Structure des sections ─── */
.expertise-detail-page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.expertise-detail-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--glass-border);
}

.expertise-detail-section--alt {
  background: var(--glass-bg);
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
}

.expertise-detail-section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.expertise-detail-section__title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.expertise-detail-section__text,
.expertise-detail-section__lead {
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.7;
  max-width: 760px;
}

.expertise-detail-section__lead {
  margin-bottom: 1.5rem;
}

/* ─── NOS SERVICES ─── */
.expertise-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.expertise-service-list__item {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.expertise-service-list__item::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(32, 195, 102, 0.18);
}

.expertise-service-list__item:hover {
  border-color: rgba(32, 195, 102, 0.45);
  transform: translateY(-2px);
}

/* ─── SECTEURS CONCERNÉS ─── */
.expertise-sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.expertise-sector-card {
  padding: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.9rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.expertise-sector-card:hover {
  border-color: rgba(32, 195, 102, 0.4);
  transform: translateY(-3px);
}

.expertise-sector-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.expertise-sector-card__detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── PUBLICATIONS STRATEGIC INSIGHT ─── */
.strategic-insight-feed__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.35rem;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 0.9rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.insight-card__meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.insight-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.insight-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: gap 0.3s ease;
}

.insight-card__link:hover {
  gap: 0.6rem;
}

.strategic-insight-feed__empty {
  padding: 1.5rem;
  border: 1px dashed var(--glass-border);
  border-radius: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.expertise-detail-publications__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}

/* ─── APPEL À L'ACTION ─── */
.expertise-detail-cta {
  margin-top: 3rem;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(32, 195, 102, 0.14), rgba(6, 26, 65, 0.9));
  border: 1px solid rgba(32, 195, 102, 0.35);
  text-align: center;
}

.expertise-detail-cta__title {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.expertise-detail-cta__text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.expertise-detail-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.expertise-detail-cta__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  max-width: none;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .expertise-service-list,
  .strategic-insight-feed__list {
    grid-template-columns: 1fr;
  }

  .expertise-sector-grid {
    grid-template-columns: 1fr;
  }

  .expertise-detail-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .expertise-detail-cta__actions .btn {
    justify-content: center;
  }
}

/* ─── Reveal ─── */
.expertise-detail-section.reveal-on-scroll,
.expertise-detail-cta.reveal-on-scroll,
.insight-card.reveal-on-scroll {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.expertise-detail-section.reveal-on-scroll.is-visible,
.expertise-detail-cta.reveal-on-scroll.is-visible,
.insight-card.reveal-on-scroll.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .expertise-detail-section.reveal-on-scroll,
  .expertise-detail-cta.reveal-on-scroll,
  .insight-card.reveal-on-scroll,
  .expertise-service-list__item,
  .expertise-sector-card,
  .insight-card {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
