/* ============================================
   FABERS CAPITAL — Stylesheet
   Colors: Navy #06081E | Platinum #E5E4E2 | Off-white #F9F9F9 | Accent #68708E / #B0B6D6
   ============================================ */

:root {
  --navy:      #06081E;
  --accent:    #68708E;   /* texte secondaire sur fond clair */
  --accent-light: #B0B6D6; /* texte secondaire sur fond sombre */
  --platinum:  #E5E4E2;
  --offwhite:  #F9F9F9;
  --text:      #06081E;
  --text-muted:#5a6a78;
  --max-width: 1080px;
  --transition: 0.3s ease;
  --radius: 2px;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--offwhite);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}


/* ── Layout ─────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 100px 0; }


/* ── Navbar ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 8, 30, 0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.95;
  transition: opacity var(--transition);
}
.navbar-logo:hover { opacity: 1; }

.navbar-logo img {
  height: 14px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.navbar-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 228, 226, 0.75);
  transition: color var(--transition);
}
.navbar-nav a:hover { color: var(--offwhite); }

.nav-cta {
  border: 1px solid rgba(229, 228, 226, 0.35);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  color: var(--offwhite) !important;
  transition: background var(--transition), border-color var(--transition) !important;
}
.nav-cta:hover {
  background: rgba(229, 228, 226, 0.1) !important;
  border-color: rgba(229, 228, 226, 0.6) !important;
}


/* ── Hero ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #06081E;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

/* Mouvement réduit : image fixe à la place de la vidéo */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-bg {
    background: #06081E url('../assets/video/hero-poster.jpg') center / cover no-repeat;
    background-blend-mode: normal;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 8, 30, 0.56) 0%,
    rgba(6, 8, 30, 0.82) 60%,
    rgba(6, 8, 30, 0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 720px;
}

.hero-logo {
  height: 32px;
  width: auto;
  margin: 0 auto 2rem;
  display: block;
}

.hero-name {
  text-shadow: 0 2px 30px rgba(6, 8, 30, 0.45);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--offwhite);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(229, 228, 226, 0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-divider {
  width: 40px;
  height: 2px;
  background: var(--accent-light);
  margin: 0 auto 3rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--offwhite);
  color: var(--navy);
  border: 1px solid var(--offwhite);
}
.btn-primary:hover {
  background: var(--platinum);
  border-color: var(--platinum);
}

.btn-outline {
  background: transparent;
  color: var(--offwhite);
  border: 1px solid rgba(229, 228, 226, 0.4);
  margin-left: 1rem;
}
.btn-outline:hover {
  background: rgba(229, 228, 226, 0.08);
  border-color: rgba(229, 228, 226, 0.7);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(229, 228, 226, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 1.5s ease 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.8); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}


/* ── Section: À propos ──────────────────────── */
.about {
  background: var(--offwhite);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
}

.about-visual { justify-content: space-between; gap: 2rem; }
.about-rule { width: 100%; border: 0; border-top: 1px solid rgba(6, 8, 30, 0.12); }

/* KPIs */
.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.kpi-num {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.kpi-label {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Intervenants */


.speakers-label {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.speakers-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.speaker-logo { display: flex; align-items: center; }
.speaker-logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }

.broker-card { display: flex; align-items: center; justify-content: center; height: 88px; background: #fff; border: 1px solid rgba(6, 8, 30, 0.1); border-radius: var(--radius); margin-bottom: 1rem; }
.broker-card img { width: 70%; max-height: 40px; object-fit: contain; }
.broker p { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }

.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }

/* Rapports */
.about-text .reports-intro { margin: 2rem 0 0; font-size: 0.95rem; }
.reports {
  list-style: none;
  margin: 1rem 0 2rem;
  border-top: 1px solid rgba(6, 8, 30, 0.12);
}

.report {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(6, 8, 30, 0.12);
}

.report-num {
  flex: 0 0 auto;
  min-width: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 0.2rem;
}

.report h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.about-text .report p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.about-text .about-note {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 0;
}


/* ── Section: Approche ─────────────────────── */
.approach {
  background: var(--navy);
}

.approach .section-title { color: var(--offwhite); }
.approach .section-intro { color: rgba(229, 228, 226, 0.6); }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.sector-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #06081E;
  isolation: isolate;
}

.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s ease;
}

/* Voile navy : garde le texte lisible et unifie des photos très différentes */
.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(6, 8, 30, 0.95) 0%, rgba(6, 8, 30, 0.55) 45%, rgba(6, 8, 30, 0.35) 100%);
  transition: opacity var(--transition);
}

.sector-card:hover img { transform: scale(1.05); }
.sector-card:hover::before { opacity: 0.85; }

.sector-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 2rem;
}

.sector-num {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--platinum);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.sector-body::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1rem;
  order: -1;
}

.sector-body h3 {
  font-size: 1.25rem;
  color: var(--offwhite);
  font-weight: 600;
}

.sector-more {
  margin-top: 2rem;
  max-width: 640px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(229, 228, 226, 0.6);
}

.sector-more span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
}


/* ── Section: Équipe ─────────────────────────── */
.team {
  background: var(--offwhite);
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-card {
  flex: 0 0 calc(25% - 1.5rem);
  max-width: calc(25% - 1.5rem);
  position: relative;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--platinum);
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  overflow: hidden;
  position: relative;
}

.team-avatar-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.25;
}

.team-card h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.team-companies {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.55rem;
  line-height: 1.4;
}

.team-program {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.team-linkedin:hover { color: var(--navy); }


/* ── Section: Contact ─────────────────────── */
.contact {
  background: var(--navy);
  text-align: center;
}

.contact .section-title { color: var(--offwhite); }
.contact .section-intro {
  color: rgba(229, 228, 226, 0.6);
  max-width: 640px;
  margin: 0 auto 3rem;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 2rem 5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-item-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
}

.contact-item-value {
  font-size: 0.9rem;
  color: rgba(229, 228, 226, 0.85);
  text-decoration: underline;
  text-decoration-color: var(--accent-light);
  text-underline-offset: 0.35em;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.contact-item-value:hover { color: var(--offwhite); text-decoration-color: var(--offwhite); }


/* ── Footer ──────────────────────────────────── */
.footer {
  background: #06081E;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo img { height: 16px; width: auto; }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(229, 228, 226, 0.3);
  letter-spacing: 0.04em;
}

.footer-copy { text-align: center; }

.footer-top {
  justify-self: end;
  font-size: 0.72rem;
  color: rgba(229, 228, 226, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-top:hover { color: rgba(229, 228, 226, 0.7); }

.footer-logo { justify-self: start; }


/* ── Utilities / Animations ─────────────────── */
.fade-in {
  opacity: 1;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }


/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { height: 240px; }
  .team-card { flex: 0 0 calc(50% - 1rem); max-width: calc(50% - 1rem); }
  .team-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer { grid-template-columns: 1fr; justify-items: center; gap: 1rem; text-align: center; }
  .footer-logo, .footer-top { justify-self: center; }
}

@media (max-width: 600px) {
  section { padding: 70px 0; }
  .navbar-nav { display: flex; }
  .team-card { flex: 0 0 calc(50% - 1rem); max-width: calc(50% - 1rem); }
  .contact-options { flex-direction: column; align-items: center; }
  .hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
  .btn-outline { margin-left: 0; }
}

@media (max-width: 420px) {
  .team-grid { gap: 1.5rem 1rem; }
  .team-card { flex: 0 0 calc(50% - 0.5rem); max-width: calc(50% - 0.5rem); }
}

/* Team photos */
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}


/* ============================================
   MISE À JOUR « alignée sur la vidéo »
   Secteurs (bandes verticales) · Méthode · Processus
   ============================================ */

/* ── À propos : les deux exigences ────────────── */
.pillars {
  list-style: none;
  margin: 2.2rem 0;
  border-top: 1px solid rgba(6, 8, 30, 0.12);
}
.pillars li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(6, 8, 30, 0.12);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.pillar-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ── Secteurs : 5 bandes verticales ───────────── */
.sectors { background: var(--navy); }
.sectors .section-label { color: var(--accent-light); }
.sectors .section-title { color: var(--offwhite); }
.sectors .section-intro { color: rgba(229, 228, 226, 0.65); }

.verticals {
  display: flex;
  gap: 6px;
  height: 560px;
  max-width: 1400px;
  margin: 3.5rem auto 0;
  padding: 0 2rem;
}
.vertical {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0e2a;
  transition: flex 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  outline-offset: -3px;
}
.vertical img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 1s ease, filter 0.6s ease;
}
.vertical::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 30, 0.85) 0%, rgba(6, 8, 30, 0.15) 45%, rgba(6, 8, 30, 0) 100%);
}
.vertical h3 {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--offwhite);
  white-space: nowrap;
}
.vertical:hover,
.vertical:focus { flex: 3.4; }
.vertical:hover img,
.vertical:focus img { transform: scale(1.04); }
.verticals:hover .vertical:not(:hover) img { filter: brightness(0.72); }

.sectors .sector-more { margin-top: 2.5rem; }

/* ── Méthode : trois niveaux ──────────────────── */
.method { background: var(--offwhite); }

.levels {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4.5rem;
  align-items: start;
}
.level {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--navy);
}
.level::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
}
.level:nth-child(2) { margin-top: 3.5rem; }
.level:nth-child(3) { margin-top: 7rem; }

.level-label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.level h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
}
.level p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .verticals { flex-direction: column; height: auto; }
  .vertical { flex: none; height: 150px; }
  .vertical:hover, .vertical:focus { flex: none; }
  .levels { grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; }
  .level:nth-child(2), .level:nth-child(3) { margin-top: 0; }
}

/* cadrage des photos de secteurs (même cadrage que la vidéo) */
.vertical:nth-child(3) img { object-position: 66% center; }
.vertical:nth-child(4) img { object-position: 19% center; }

/* logos plus espacés ; Rothschild & Co (mot-symbole horizontal) */
.speakers-grid { gap: 1.5rem 4.5rem; }
.speaker-logo--wide img { height: 34px; width: auto; max-width: none; }


/* À propos : la note « intervenants » s'aligne en bas de colonne, à hauteur des logos */
.about-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(6, 8, 30, 0.12);   /* règle pleine largeur */
}
.about-bottom .about-note { margin: 0; font-size: 0.9rem; font-style: italic; line-height: 1.8; color: var(--text-muted); max-width: 440px; }
@media (max-width: 900px) {
  .about-bottom { grid-template-columns: 1fr; gap: 2rem; }
}

/* Séparateur Méthode / Équipe */
.method { padding-bottom: 60px; }
.team { padding-top: 60px; }
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  background: transparent;
}
.divider-line { flex: 1; height: 1px; background: rgba(6, 8, 30, 0.16); }

/* Native anchors and visible content also work when JavaScript is unavailable. */
section[id] { scroll-margin-top: 84px; }
section[id]:focus { outline: none; }
.navbar-logo { flex-shrink: 0; }
.navbar-nav a[aria-current="location"] { color: var(--offwhite); }
.team-header .section-intro { max-width: 340px; }

@media (max-width: 700px) {
  .navbar {
    height: 112px;
    padding: 12px 1rem;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background: rgba(6, 8, 30, 0.97);
  }
  .navbar-nav { gap: clamp(0.35rem, 2vw, 1rem); }
  .navbar-nav a { font-size: 0.65rem; letter-spacing: 0; }
  .nav-cta { padding: 0.4rem 0.5rem; }
  section[id] { scroll-margin-top: 128px; }
  .hero-content { padding-top: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
