/* ═══════════════════════════════════════════════
   WIF — Global design system
   Inspired by the pillar section aesthetic:
   line verte · Playfair italic · Inter généreux
   ═══════════════════════════════════════════════ */

/* ── TAG : ligne verte + label (remplace la pilule) ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: var(--g-dk);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--g-dk);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── SH : Playfair italic (comme pillar-title) ── */
.sh {
  font-family: 'Playfair Display', serif !important;
  font-weight: 400 !important;
  font-style: italic !important;
  line-height: 1.18;
  color: var(--dk);
}
.sh em {
  font-style: italic;
  color: var(--g-dk);
  font-weight: 400;
}

/* ── SECTION-DESC : généreux comme pillar-desc ── */
.section-desc {
  font-size: 1.05rem !important;
  line-height: 1.92 !important;
  color: var(--sub);
}

/* ── Sur fond sombre, tag en vert clair ── */
.dark-section .tag,
#stats .tag,
#hero .tag,
section[style*="background:var(--dk)"] .tag {
  color: var(--g-lt);
}
.dark-section .tag::before,
#stats .tag::before,
#hero .tag::before {
  background: var(--g-lt);
}

/* ── MOBILE : désactiver les animations de révélation ── */
@media (max-width: 768px) {
  .r, .r.d1, .r.d2, .r.d3, .r.d4 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .r.on { opacity: 1 !important; transform: none !important; }

  body { overflow-x: hidden; }

  /* ── Espacement sections — 6rem → 3.5rem ── */
  section { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }

  /* ── Hero sous-pages (about / wedo / news / apply) ── */
  .page-hero { min-height: 48vh !important; padding: 6.5rem 5% 3rem !important; }
  .page-hero h1,
  .page-hero-inner h1 { font-size: clamp(1.75rem, 8vw, 2.8rem) !important; line-height: 1.18 !important; margin-bottom: 1rem !important; }
  .page-hero p,
  .page-hero-inner p { font-size: .88rem !important; max-width: 100% !important; line-height: 1.65 !important; }

  /* ── Titres sh sur fond sombre ── */
  .sh { font-size: clamp(1.5rem, 6vw, 2.2rem) !important; }

  /* ── Footer commun ── */
  .footer-inner { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; }
}

@media (max-width: 480px) {
  section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .page-hero { padding: 5.5rem 5% 2.5rem !important; }
}
