/* ── Fonts ── */
@font-face {
  font-family: 'Sans Plomb';
  src: url('/company/static/fonts/SansPlomb-CondensedBold.woff2') format('woff2'),
       url('/company/static/fonts/SansPlomb-CondensedBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monument Grotesk';
  src: url('/company/static/fonts/ABCMonumentGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monument Grotesk';
  src: url('/company/static/fonts/ABCMonumentGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Ensure the HTML hidden attribute is always respected */
[hidden] { display: none !important; }

/* ── Design tokens ── */
:root {
  /* Brand palette */
  --black:           #070E07;
  --dark-green:      #0F200F;
  --lemon:           #62D762;
  --lemon-dim:       rgba(98,215,98,0.12);
  --lemon-hover:     #4fbe4f;
  --anthracite:      #3E433E;
  --white:           #FFFFFF;

  /* Surfaces */
  --bg:              #f4f6f4;
  --card:            #ffffff;
  --card-hover:      #f0f5f0;
  --card-solid:      #e6ebe6;
  --border:          #dce3dc;
  --border-strong:   #c4ccc4;

  /* Hero */
  --hero-bg:         #ffffff;

  /* Text */
  --text:            #070E07;
  --text-secondary:  #3E433E;
  --text-muted:      #7a837a;

  /* Shadows */
  --shadow-sm:       0 1px 2px rgba(7,14,7,0.04), 0 2px 8px rgba(7,14,7,0.04);
  --shadow-md:       0 4px 8px rgba(7,14,7,0.04), 0 12px 32px rgba(7,14,7,0.07);
}

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

html { background: var(--bg); }

body {
  background: var(--bg);
  min-height: 100vh;
  color: var(--text);
  font-family: 'Monument Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1 { font-family: 'Sans Plomb', sans-serif; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; color: var(--text); line-height: 1.08; text-wrap: balance; }
h2 { font-family: 'Sans Plomb', sans-serif; font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 700; color: var(--text); text-wrap: balance; }
p  { font-family: 'Monument Grotesk', sans-serif; font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary); }

/* ── Breadcrumb bar ── */
.breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  height: 48px;
  padding-right: 20px;
}

/* Dark logo block — fills bar height naturally */
.zeliq-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: var(--black);
  padding: 0 22px;
  margin-right: 20px;
  transition: background 0.15s;
}
.zeliq-nav-logo:hover { background: var(--dark-green); }
.zeliq-nav-logo img { display: block; }

.breadcrumb {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  max-width: none;
  min-width: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: 1.5px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 3px 5px;
  opacity: 0.45;
  transition: opacity 0.15s, border-color 0.15s;
}
.lang-btn:hover { opacity: 0.8; }
.lang-btn--active {
  opacity: 1;
  border-color: var(--border-strong);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--border-strong); }
.breadcrumb a { color: var(--text-secondary); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--lemon); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

/* Mobile breadcrumb — hidden on desktop, shown below sticky bar on mobile */
.mobile-breadcrumb { display: none; }

@media (max-width: 768px) {
  .breadcrumb-bar { padding-right: 14px; }
  .zeliq-nav-logo { padding: 0 16px; margin-right: 14px; }
  .breadcrumb-bar .breadcrumb { display: none; }
  .mobile-breadcrumb {
    display: block;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 9px 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mobile-breadcrumb::-webkit-scrollbar { display: none; }
  .mobile-breadcrumb ol {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    font-family: 'Monument Grotesk', sans-serif;
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
  }
  .mobile-breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--border-strong); }
  .mobile-breadcrumb a { color: var(--text-secondary); }
  .mobile-breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }
}
@media (max-width: 480px) {
  .zeliq-nav-logo { padding: 0 14px; }
  .mobile-breadcrumb { padding: 9px 16px; }
}

/* ── Hero ── */
.company-hero {
  background: var(--hero-bg);
  border-top: 2px solid var(--lemon);
  border-bottom: 1px solid var(--border);
}

.company-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.company-hero__top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 44px 0 36px;
}

.company-hero__logo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-s);
}

.company-hero__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
}

.company-hero__logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  color: var(--lemon);
  font-family: 'Sans Plomb', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.company-hero__name { margin-bottom: 4px; text-transform: none; }
.company-hero__tagline {
  display: block;
  font-family: 'Monument Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 3px;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.company-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

/* Badges extracted from hero on mobile */
.mobile-hero-badges {
  display: none;
}

/* Base badge */
.badge {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.71rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--card);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.badge--industry { border-color: rgba(98,215,98,0.35); color: var(--lemon); background: var(--lemon-dim); }
.badge--country  { border-color: var(--border); color: var(--text-secondary); background: var(--bg); }
.badge--type     { border-color: var(--border); color: var(--text-secondary); background: var(--bg); }
.badge--founded  { border-color: var(--border); color: var(--text-muted); background: transparent; }

/* Social links */
.company-hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.75rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  box-shadow: var(--shadow-s);
}
.social-link:hover {
  border-color: var(--lemon);
  color: var(--lemon);
  background: var(--lemon-dim);
}
.social-link__label { display: inline; }

/* Zeliq CTA variant of social link */
.social-link--zeliq {
  background: var(--lemon);
  border-color: var(--lemon);
  color: var(--black);
}
.social-link--zeliq:hover {
  background: var(--lemon-hover);
  border-color: var(--lemon-hover);
  color: var(--black);
}

/* Stats bar */
.company-hero__stats-bar {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--border);
  background: var(--card);
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -48px;
  padding: 0 48px;
}
.company-hero__stats-bar::-webkit-scrollbar { display: none; }

.hero-stat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 28px;
  border-right: 1px solid var(--border);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }

.hero-stat__value {
  font-family: 'Sans Plomb', sans-serif;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}
.hero-stat__value--sm { font-size: 0.95rem; line-height: 1.3; }

.hero-stat__label {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .company-hero__inner { padding: 0 20px; }
  .company-hero__top { padding: 32px 0 28px; }
  .company-hero__logo-wrap { width: 60px; height: 60px; }
  .company-hero__logo { width: 48px; height: 48px; }
  .company-hero__stats-bar { margin: 0 -20px; padding: 0 20px; }
  .company-hero__badges { display: none; }
  .social-link__label { display: none; }
  .social-link { width: 34px; padding: 0; justify-content: center; }
  .social-link--zeliq { width: auto; padding: 0 14px; gap: 7px; }
  .social-link--zeliq .social-link__label { display: inline; }
  .hero-stat { padding: 14px 16px; }
  .mobile-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 20px;
    background: var(--hero-bg);
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 480px) {
  .company-hero__inner { padding: 0 16px; }
  .company-hero__top { flex-direction: column; gap: 14px; padding: 28px 0 22px; }
  .company-hero__stats-bar { margin: 0 -16px; padding: 0 16px; }
  .hero-stat { padding: 12px 14px; }
  .mobile-hero-badges { padding: 10px 16px; }
}

/* ── Page layout (two-column on desktop) ── */
.page-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 40px;
  align-items: start;
}

.page-layout__main { min-width: 0; }

@media (max-width: 1100px) {
  .page-layout { grid-template-columns: 1fr; padding: 0 32px; }
  .cta-sidebar { display: none; }
  .cta-mobile-only { display: inline-block !important; }
}
@media (max-width: 768px) { .page-layout { padding: 0 20px; } }
@media (max-width: 480px) { .page-layout { padding: 0 16px; } }

/* ── Sections ── */
/* Standalone use (directory pages) */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px;
}
.section__title { margin-bottom: 28px; }

/* Inside the two-column layout, sections stack vertically */
.page-layout__main .section {
  max-width: none;
  margin: 0;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.page-layout__main .section:last-child { border-bottom: none; }

/* Section title */
.page-layout__main .section__title {
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .section { padding: 40px 20px; }
}
@media (max-width: 480px) {
  .section { padding: 32px 16px; }
}

/* ── Equal two-column company layout ── */
.page-layout--equal {
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.page-layout__col { min-width: 0; }

.page-layout__col .section {
  max-width: none;
  margin: 0;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.page-layout__col .section:last-child { border-bottom: none; }
.page-layout__col .section__title {
  margin-bottom: 24px;
  line-height: 1.2;
}
.page-layout__col .similar-list { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1000px) {
  .page-layout--equal { grid-template-columns: 1fr; gap: 0; }
  /* Une seule bordure entre les deux colonnes empilées */
  .page-layout__col:first-child .section:last-child { border-bottom: 1px solid var(--border); }
}

/* CTA inline (dans une section, remplace l'ancienne sidebar sticky) */
.cta-button--inline { display: inline-block; margin-top: 20px; }

/* ── Headcount evolution (diverging bars) ── */
.evo-chart { display: flex; flex-direction: column; }
.evo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.evo-row:last-child { border-bottom: none; }
.evo-row__dept {
  font-family: 'Monument Grotesk', sans-serif;
  color: var(--text-secondary);
  width: 160px;
  text-align: right;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.evo-track {
  flex: 1;
  display: flex;
  height: 12px;
  position: relative;
}
.evo-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: var(--border-strong);
}
.evo-track__half { width: 50%; display: flex; }
.evo-track__half--left { justify-content: flex-end; }
.evo-track__bar { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.evo-track__bar--pos { background: linear-gradient(90deg, var(--lemon) 0%, #4ec60f 100%); }
.evo-track__bar--neg { background: #e05c5c; }
.evo-row__val {
  font-family: 'Monument Grotesk', sans-serif;
  width: 56px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 500;
  font-size: 0.82rem;
}
.evo-row__val--up   { color: var(--lemon-hover); }
.evo-row__val--down { color: #c0392b; }

@media (max-width: 600px) {
  .evo-row { gap: 10px; }
  .evo-row__dept { width: 110px; font-size: 0.76rem; }
}

/* Point vert « recrute activement » dans la structure des équipes */
.team-chart__recruiting-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lemon);
  margin-right: 6px;
  vertical-align: 1px;
}

/* ── Sticky CTA sidebar ── */
.cta-sidebar {
  align-self: start;
  position: sticky;
  top: 56px;
}

.cta-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-panel__header {
  background: var(--lemon);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.cta-panel__header svg { flex-shrink: 0; opacity: 0.9; }
.cta-panel__zeliq-logo { flex-shrink: 0; opacity: 0.95; display: block; }

.cta-panel__body { padding: 18px; }

.cta-panel__count-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cta-panel__count {
  font-family: 'Sans Plomb', sans-serif;
  font-size: 2.6rem;
  color: var(--lemon);
  line-height: 1;
}

.cta-panel__count-label {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-panel__levels {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.cta-panel__level {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cta-panel__level-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cta-panel__level-dot--clevel  { background: var(--lemon); }
.cta-panel__level-dot--vp      { background: #4ec60f; }
.cta-panel__level-dot--head    { background: #9be88a; }
.cta-panel__level-dot--manager { background: #c6e8be; border: 1px solid var(--border-strong); }

.cta-panel__level-name {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--text-secondary);
  flex: 1;
}

.cta-panel__level-count {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
}

.cta-panel__preview {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.cta-panel__preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.cta-panel__preview-item:last-child { border-bottom: none; }

.cta-panel__preview-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-solid);
  filter: blur(5px);
  flex-shrink: 0;
}

.cta-panel__preview-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cta-panel__preview-name {
  height: 8px;
  width: 80px;
  border-radius: 4px;
  background: var(--card-solid);
  filter: blur(4px);
}

.cta-panel__preview-role {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-panel__lock { color: var(--text-muted); flex-shrink: 0; }

.cta-panel__empty-msg {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.55;
}

.cta-panel__note {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ── CTA Buttons ── */
.cta-button {
  display: inline-block;
  background: var(--lemon);
  color: var(--black);
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 9px;
  transition: background 0.15s, transform 0.12s, box-shadow 0.12s;
  letter-spacing: 0.015em;
  box-shadow: 0 1px 2px rgba(98,215,98,0.3), 0 3px 10px rgba(98,215,98,0.2);
}
.cta-button:hover {
  background: var(--lemon-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(98,215,98,0.35), 0 6px 18px rgba(98,215,98,0.3);
}

.cta-button--full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 16px;
}

/* Outline variant — used in similar companies section CTA */
.cta-button--outline {
  background: transparent;
  color: var(--lemon);
  border: 1.5px solid var(--lemon);
  box-shadow: none;
}
.cta-button--outline:hover {
  background: var(--lemon-dim);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(98,215,98,0.18);
}

/* Section CTA container — below similar companies grid */
.section-cta {
  margin-top: 20px;
  text-align: center;
}

/* Mobile-only CTA (hidden by default — shown when sidebar disappears) */
.cta-mobile-only { display: none; margin-top: 20px; }

/* ── Overview Table ── */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.87rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.overview-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.overview-table tbody tr:last-child { border-bottom: none; }
.overview-table tbody tr:nth-child(even) { background: transparent; }
.overview-table tbody tr:hover { background: var(--card-hover); }
.overview-table th {
  padding: 14px 20px;
  text-align: left;
  color: var(--text-muted);
  width: 175px;
  font-weight: 400;
  font-size: 0.76rem;
  white-space: nowrap;
  vertical-align: middle;
  letter-spacing: 0.01em;
}
.overview-table th svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  margin-top: -1px;
  color: var(--text-muted);
  opacity: 0.7;
}
.overview-table td {
  padding: 14px 20px;
  color: var(--text);
  font-size: 0.9rem;
  vertical-align: middle;
  font-weight: 500;
}
.overview-table a { color: var(--lemon); }
.overview-table a:hover { color: var(--lemon-hover); }
.td-sub { color: var(--text-muted); font-size: 0.8rem; }

@media (max-width: 540px) {
  .overview-table,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td { display: block; width: 100%; }
  .overview-table tr { border-bottom: 1px solid var(--border); }
  .overview-table tr:last-child { border-bottom: none; }
  .overview-table th { border-bottom: none; padding: 12px 16px 4px; font-size: 0.72rem; width: 100%; }
  .overview-table td { border-bottom: none; padding: 4px 16px 12px; }
}

/* ── Funding Timeline ── */
.funding-timeline {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  padding-top: 24px;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--card-solid) transparent;
}
.funding-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-strong);
}
.funding-timeline__round {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 130px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 14px;
  position: relative;
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.funding-timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lemon);
  position: absolute;
  top: -14px;
  z-index: 1;
}
.funding-timeline__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}
.funding-timeline__name   { font-family: 'Sans Plomb', sans-serif; color: var(--text); font-size: 0.88rem; }
.funding-timeline__amount { font-family: 'Monument Grotesk', sans-serif; color: var(--lemon); font-size: 1.05rem; font-weight: 500; }
.funding-timeline__date   { font-family: 'Monument Grotesk', sans-serif; color: var(--text-muted); font-size: 0.75rem; }

/* ── Decision Makers section ── */
.dm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.dm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 999px;
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.79rem;
  font-weight: 500;
}
.dm-pill__count { font-weight: 700; }
.dm-pill__label { font-weight: 400; }
.dm-pill--clevel  { background: var(--lemon); color: var(--black); }
.dm-pill--vp      { border: 1px solid rgba(98,215,98,0.4); color: var(--dark-green); background: var(--lemon-dim); }
.dm-pill--head    { border: 1px solid var(--border-strong); color: var(--text); background: var(--card); }
.dm-pill--manager { border: 1px solid var(--border); color: var(--text-secondary); background: var(--card); }

.dm-blurred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.dm-blurred-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
}
.dm-blurred-item:last-child { border-bottom: none; }
.dm-blurred-item__avatar--blur {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card-solid);
  filter: blur(6px);
  flex-shrink: 0;
}
.dm-blurred-item__name--blur {
  width: 110px;
  height: 11px;
  border-radius: 4px;
  background: var(--card-solid);
  filter: blur(5px);
  flex: 1;
}
.dm-blurred-item__level {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dm-blurred-item__location {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.dm-teaser {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.dm-teaser strong { color: var(--lemon); }

/* ── Team Structure ── */
.team-chart { display: flex; flex-direction: column; gap: 0; }
.team-chart__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.team-chart__row:last-child { border-bottom: none; }
.team-chart__label {
  font-family: 'Monument Grotesk', sans-serif;
  color: var(--text-secondary);
  width: 160px;
  text-align: right;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.team-chart__bar-wrapper {
  flex: 1;
  background: var(--card-solid);
  border-radius: 3px;
  height: 14px;
  overflow: hidden;
}
.team-chart__bar {
  background: linear-gradient(90deg, var(--lemon) 0%, #4ec60f 100%);
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}
.team-chart__meta {
  width: 70px;
  flex-shrink: 0;
  text-align: right;
}
.team-chart__count {
  font-family: 'Monument Grotesk', sans-serif;
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
}
.team-chart__jobs {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--lemon-hover);
  display: block;
  margin-top: 2px;
}
.section__badge {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--lemon-hover);
  background: var(--lemon-dim);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 8px;
}

.team-chart__toggle {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 16px;
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-align: center;
}
.team-chart__toggle:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

@media (max-width: 600px) {
  .team-chart__row { flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  .team-chart__label { width: auto; flex: 1; text-align: left; }
  .team-chart__meta { width: auto; }
  .team-chart__bar-wrapper { flex: 0 0 100%; height: 10px; }
}

/* ── About section ── */
.about-text { margin-bottom: 22px; line-height: 1.8; }
.external-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.external-links a {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 15px;
  transition: border-color 0.2s, color 0.2s;
  box-shadow: var(--shadow-sm);
}
.external-links a:hover { color: var(--lemon); border-color: #b8f0a3; }

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--accent, #2a7a4f);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Monument Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--text);
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  line-height: 1.4;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s ease;
}
.faq-item[open] > .faq-item__question::after {
  transform: rotate(180deg);
}
.faq-item__answer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 18px 18px;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ── Similar Companies ── */
.similar-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.similar-card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.similar-card a:hover {
  background: var(--card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.similar-card__logo { width: 30px; height: 30px; border-radius: 6px; object-fit: contain; background: var(--card-solid); padding: 3px; display: block; }
.similar-card__name     { font-family: 'Sans Plomb', sans-serif; color: var(--text); font-size: 0.88rem; display: block; }
.similar-card__industry { font-family: 'Monument Grotesk', sans-serif; color: var(--lemon); font-size: 0.72rem; display: block; }
.similar-card__size     { font-family: 'Monument Grotesk', sans-serif; color: var(--text-muted); font-size: 0.7rem; display: block; }
.similar-card__country  { font-family: 'Monument Grotesk', sans-serif; color: var(--text-muted); font-size: 0.7rem; display: block; }

@media (max-width: 900px)  { .similar-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .similar-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .similar-list { grid-template-columns: 1fr; } }

/* ── Footer ── */
.page-footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.page-footer a:hover { color: var(--lemon); }

@media (max-width: 768px) { .page-footer { padding: 22px 20px; } .page-footer nav { gap: 16px; } }
@media (max-width: 480px) { .page-footer { padding: 18px 16px; } .page-footer nav { flex-direction: column; gap: 10px; } }

/* ════════════════════════════════════════
   DIRECTORY PAGES (countries / industries / companies list)
   ════════════════════════════════════════ */

/* Directory header */
.directory-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 48px;
}
.directory-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.directory-header__sub {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
}
.directory-header__intro {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 680px;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .directory-header { padding: 40px 0 32px; }
  .directory-header__inner { padding: 0 20px; }
}
@media (max-width: 480px) {
  .directory-header { padding: 32px 0 24px; }
  .directory-header__inner { padding: 0 16px; }
}

/* Directory grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.directory-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.directory-card:hover {
  border-color: rgba(98,215,98,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.directory-card__title {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.directory-card__count {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--lemon);
  font-weight: 500;
}
.directory-empty {
  color: var(--text-secondary);
  text-align: center;
  padding: 56px 0;
  font-size: 0.93rem;
}

@media (max-width: 1024px) { .directory-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .directory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .directory-grid { grid-template-columns: 1fr; } }

/* Directory search */
.directory-search { margin-bottom: 22px; }
.directory-search input,
.directory-search form input {
  width: 100%;
  max-width: 380px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Monument Grotesk', sans-serif;
  background: var(--card);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  box-shadow: var(--shadow-sm);
}
.directory-search input:focus,
.directory-search form input:focus { border-color: var(--lemon); }
.directory-search input::placeholder,
.directory-search form input::placeholder { color: var(--text-muted); }

@media (max-width: 640px) {
  .directory-search input,
  .directory-search form input { max-width: 100%; }
}

/* Company grid (list page) */
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
.company-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.company-card:hover {
  border-color: rgba(98,215,98,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.company-card__top { display: flex; align-items: center; gap: 12px; }
.company-card__logo-wrap { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.company-card__logo {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--card-solid);
  border: 1px solid var(--border);
  padding: 4px;
}
.company-card__logo-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--lemon-dim);
  border: 1px solid var(--border);
  color: var(--lemon);
  font-size: 1rem; font-weight: 700;
  flex-shrink: 0;
}
.company-card__identity { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.company-card__name {
  font-family: 'Sans Plomb', sans-serif;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-card__divider { height: 1px; background: var(--border); }
.company-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.company-card__stat { display: flex; flex-direction: column; gap: 2px; }
.company-card__stat-label {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.company-card__stat-value {
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.83rem;
  color: var(--text);
  font-weight: 500;
}
.company-card__stat-value--lemon { color: var(--lemon); }

@media (max-width: 1024px) { .company-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .company-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 0 8px;
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.pagination__link {
  padding: 9px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.pagination__link:hover { border-color: var(--lemon); background: var(--card-hover); }
.pagination__info { color: var(--text-secondary); }

@media (max-width: 480px) {
  .pagination { gap: 10px; }
  .pagination__link { padding: 8px 16px; font-size: 0.83rem; }
}

/* ── Departments actively hiring ── */
.hiring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.hiring-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  min-width: 0;
}
.hiring-chip span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hiring-chip__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lemon);
  animation: hiring-pulse 2.2s ease-out infinite;
}
@keyframes hiring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(98,215,98,0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(98,215,98,0); }
  100% { box-shadow: 0 0 0 0 rgba(98,215,98,0); }
}
@media (prefers-reduced-motion: reduce) {
  .hiring-chip__dot { animation: none; }
}
.hiring-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ── Decision makers : tableau flouté avec header Email / Téléphone ── */
.dm-table {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.dm-table__head {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr;
  gap: 14px;
  padding: 9px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: 'Monument Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.dm-table .dm-blurred-list {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
.dm-table .dm-blurred-item {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr;
  gap: 14px;
  align-items: center;
}
.dm-blurred-item__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dm-blurred-item__id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dm-table .dm-blurred-item__name--blur {
  flex: none;
  width: 100%;
  max-width: 110px;
}
.dm-blurred-item__data--blur {
  height: 11px;
  border-radius: 4px;
  background: var(--card-solid);
  filter: blur(5px);
  width: 88%;
}
.dm-blurred-item__data--short { width: 70%; }

.dm-blurred-item__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.dm-blurred-item__meta .dm-blurred-item__location {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
