/* ============================================
   TFA Consulting — Page Équipe
   Feuille dédiée, chargée APRÈS style.css
   ============================================ */

/* ===== Nav : page courante ===== */
.nav a.is-active { color: var(--text); }

/* ===== Hero de page ===== */
.team-hero {
  padding: 170px 0 90px;
  position: relative;
  text-align: center;
}
.team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(120, 33, 126, 0.16), transparent 70%);
  pointer-events: none;
}
.team-hero .container { position: relative; }
.team-hero .hero__eyebrow { margin-bottom: 26px; }
.team-hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.team-hero__sub {
  font-size: 18.5px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 44px;
}
.team-hero__stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tstat {
  min-width: 170px;
  padding: 22px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(234, 87, 13, 0.07), rgba(120, 33, 126, 0.1));
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tstat:hover { transform: translateY(-4px); border-color: rgba(234, 87, 13, 0.4); }
.tstat strong {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  display: block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.tstat span { color: var(--muted); font-size: 14px; }

/* ===== Fondateur : grande carte horizontale ===== */
.founder-hero {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 48px;
  align-items: start;
  border: 1px solid rgba(234, 87, 13, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(234, 87, 13, 0.12), transparent),
    radial-gradient(70% 100% at 100% 100%, rgba(120, 33, 126, 0.18), transparent),
    var(--surface);
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
}
.founder-hero::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(180, 76, 192, 0.12);
  filter: blur(70px);
  top: -120px; right: -80px;
  pointer-events: none;
}
.founder-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: sticky;
  top: 110px;
}
.founder-hero__avatar {
  width: 168px;
  height: 168px;
  font-size: 54px;
  margin: 0;
  box-shadow:
    0 14px 45px rgba(234, 87, 13, 0.42),
    0 0 0 8px rgba(234, 87, 13, 0.08),
    0 0 0 16px rgba(120, 33, 126, 0.06);
}
.founder-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.founder-hero__body { position: relative; }
.founder-hero__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.founder-hero__role {
  color: var(--orange-light);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.founder-hero__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 26px;
}
.founder-hero__loc svg { color: var(--purple-light); flex-shrink: 0; }
.founder-hero__bio p {
  color: var(--muted);
  font-size: 15.8px;
  margin-bottom: 16px;
  max-width: 680px;
}
.founder-hero__bio strong { color: var(--text); font-weight: 600; }
.founder-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 26px 0 30px;
}
.founder-hero__chips li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(234, 87, 13, 0.35);
  background: rgba(234, 87, 13, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.founder-hero__chips li:hover {
  border-color: var(--purple-light);
  background: rgba(180, 76, 192, 0.12);
  transform: translateY(-2px);
}
.founder-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Pôles d'expertise ===== */
.poles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pole {
  display: flex;
  flex-direction: column;
}
.pole p { flex: 1; }
.pole__zone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #C86FD4;
  border: 1px solid rgba(180, 76, 192, 0.35);
  background: rgba(120, 33, 126, 0.12);
  padding: 6px 13px;
  border-radius: 999px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.pole:hover .pole__zone { border-color: var(--orange); color: var(--orange-light); }
.pole__zone svg { flex-shrink: 0; }

/* ===== Valeurs ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.value::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.value:hover { transform: translateY(-4px); border-color: rgba(234, 87, 13, 0.4); }
.value:hover::after { transform: scaleX(1); }
.value__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-light);
  display: block;
  margin-bottom: 14px;
}
.value h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.value p { color: var(--muted); font-size: 14.8px; }

/* ===== CTA Rejoindre ===== */
.join__eyebrow {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-light);
  margin-bottom: 18px;
}
.join__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.join__actions .btn--whatsapp { margin-top: 0; }
#rejoindre .cta__alt { margin-top: 30px; }

.application-form { margin-top: 34px; text-align: left; }
.application-form .btn { text-align: center; }
.form-help {
  margin: -7px 4px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.file-field {
  padding: 16px 18px;
  border: 1px dashed rgba(180, 76, 192, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.file-field > label {
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}
.application-form .file-field input[type="file"] {
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.application-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join__actions--secondary { margin-top: 22px; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .founder-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 40px;
  }
  .founder-hero__aside { position: static; }
  .poles-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .team-hero { padding: 132px 0 70px; }
  .team-hero__stats { flex-direction: column; align-items: stretch; }
  .tstat { min-width: 0; }

  .founder-hero { padding: 36px 24px; border-radius: 20px; }
  .founder-hero__avatar { width: 128px; height: 128px; font-size: 42px; }
  .founder-hero__actions .btn { width: 100%; justify-content: center; }

  .poles-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .join__actions { flex-direction: column; align-items: stretch; }
  .join__actions .btn { justify-content: center; }
}

/* ===== Impression ===== */
@media print {
  body { background: #fff !important; color: #16121a !important; }
  .header, .footer, .whatsapp-fab, .bg-glow, .cta { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section, .section--alt, .team-hero { background: none !important; padding: 0 0 18pt; }
  .team-hero::before { display: none; }
  .team-hero__sub, .founder-hero__bio p, .pole p, .value p, .tstat span,
  .founder-hero__loc, .section__sub { color: #3c3544 !important; }
  .grad-text, .tstat strong {
    background: none !important;
    color: #16121a !important;
    -webkit-text-fill-color: #16121a !important;
  }
  .founder-hero, .pole, .value, .tstat { border: 1pt solid #ddd7e3; background: none !important; }
  .founder-hero__avatar { background: none !important; color: #b3410a !important; border: 2pt solid #b3410a; box-shadow: none; }
  .founder-hero__actions { display: none; }
}
