/* ============ SELF-HOSTED FONT ============ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/inter.woff2') format('woff2');
}

/* ============ DESIGN TOKENS ============ */
:root {
  --primary: hsl(215, 87%, 15%);
  --primary-light: hsl(211, 64%, 46%);
  --primary-foreground: hsl(0, 0%, 100%);
  --accent: hsl(354, 79%, 44%);
  --accent-foreground: hsl(0, 0%, 100%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(217, 91%, 13%);
  --muted: hsl(210, 17%, 97%);
  --muted-foreground: hsl(215, 10%, 47%);
  --card: hsl(0, 0%, 100%);
  --border: hsl(214, 32%, 91%);
  --radius: 1rem;
  --shadow-sm: 0 1px 2px 0 hsl(215 87% 15% / .05);
  --shadow-md: 0 4px 6px -1px hsl(215 87% 15% / .1);
  --shadow-lg: 0 10px 15px -3px hsl(215 87% 15% / .1);
  --shadow-card: 0 2px 8px hsl(215 87% 15% / .08);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --gradient-hero: linear-gradient(135deg, hsl(215 87% 15%) 0%, hsl(211 64% 46%) 100%);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--foreground); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); letter-spacing: -.02em; }
h3 { font-size: 1.5rem; }
p { color: var(--muted-foreground); }

/* ============ LAYOUT ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; width: 100%; box-sizing: border-box; }
@media (max-width: 480px) { .container { padding: 0 1rem; } }
.section { padding: 5rem 0; }
@media (max-width: 480px) { .section { padding: 3.5rem 0; } }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-muted { background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%); }
.section-primary { background: var(--primary); color: var(--primary-foreground); }
.section-primary h2, .section-primary h3 { color: var(--primary-foreground); }
.section-primary p { color: hsl(0 0% 100% / .85); }

.section-header { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
@media (max-width: 480px) { .section-header { margin-bottom: 2.5rem; } }
.section-header h2 { margin-bottom: 1.5rem; }
.section-header .divider { width: 6rem; height: 4px; background: var(--accent); margin: 0 auto 2rem; border-radius: 2px; }
.section-header p { font-size: 1.125rem; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.75rem; border-radius: .75rem; font-weight: 600; font-size: .95rem;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.btn-hero { background: var(--accent); color: #fff !important; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.btn-hero::after { content: ''; position: absolute; inset: 0; background: hsl(0 0% 100% / .15); transform: translateX(-100%); transition: transform .4s ease; }
.btn-hero:hover::after { transform: translateX(0); }
.btn-hero:hover { background: hsl(354 79% 38%); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-corporate { background: var(--primary); color: var(--primary-foreground); }
.btn-corporate:hover { background: hsl(215 87% 12%); transform: translateY(-2px); }
.btn-outline { border-color: currentColor; background: transparent; position: relative; overflow: hidden; }
.btn-outline::after { content: ''; position: absolute; inset: 0; background: hsl(0 0% 100% / .1); transform: translateX(-100%); transition: transform .4s ease; }
.btn-outline:hover::after { transform: translateX(0); }
.btn-outline:hover { background: hsl(0 0% 100% / .08); transform: translateY(-2px); }
.btn-white { background: white; color: var(--primary); border-color: white; }
.btn-white:hover { background: hsl(0 0% 100% / .9); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: hsl(0 0% 100% / .95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: var(--transition);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.nav-logo { display: flex; align-items: center; gap: .75rem; font-weight: 800; }
.nav-logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: var(--primary); padding: 4px; }
.nav-logo-text strong { display: block; font-size: 1rem; color: var(--primary); line-height: 1.2; }
.nav-logo-text span { font-size: .7rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .1em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--foreground); position: relative; }
.nav-links a:not(.btn):hover { color: var(--primary-light); }
.nav-links a.active:not(.btn)::after {
  content: ''; position: absolute; bottom: -.5rem; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--foreground); border-radius: 2px; transition: var(--transition); }

@media (max-width: 1024px) {

  /* ── Overlay plein écran ── */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 5rem 2rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .35s ease;
    z-index: 999;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  /* ── Liens ── */
  .nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(0 0% 100% / .8);
    padding: .85rem 0;
    border-bottom: 1px solid hsl(0 0% 100% / .08);
    width: 100%;
    max-width: 320px;
    text-align: center;
    letter-spacing: -.01em;
  }
  .nav-links a:first-child { border-top: 1px solid hsl(0 0% 100% / .08); }
  .nav-links a:hover { color: white; }
  .nav-links a.active { color: hsl(354 79% 65%); font-weight: 700; }

  /* ── Burger visible ── */
  .nav-burger { display: flex; z-index: 1000; position: relative; }
  .nav-logo-text strong { font-size: .9rem; }

  /* ── Burger → X quand ouvert ── */
  .navbar.nav-open .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: white;
  }
  .navbar.nav-open .nav-burger span:nth-child(2) {
    opacity: 0;
    background: white;
  }
  .navbar.nav-open .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: white;
  }

  /* ── Navbar au-dessus de l'overlay ── */
  .navbar.nav-open {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    z-index: 1000;
  }
  .navbar.nav-open .nav-logo img { filter: brightness(0) invert(1); }
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: var(--gradient-hero); color: white; overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/hero-consulting-DcFM5OlB.jpg') center/cover;
  opacity: .18; mix-blend-mode: overlay;
}
.hero-content { position: relative; max-width: 56rem; margin: 0 auto; text-align: center; padding: 0 1rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; background: hsl(0 0% 100% / .15);
  border: 1px solid hsl(0 0% 100% / .25); padding: .5rem 1.25rem; border-radius: 999px;
  font-size: .875rem; font-weight: 500; margin-bottom: 2rem; backdrop-filter: blur(8px);
}
.hero h1 { color: white; margin-bottom: 1.5rem; }
.hero h1 .accent { color: hsl(354 79% 60%); }
.hero p.lead { font-size: 1.25rem; color: hsl(0 0% 100% / .9); max-width: 42rem; margin: 0 auto 2.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============ STATS ============ */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; max-width: 56rem; margin-inline: auto; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 1.5rem 1rem; background: hsl(0 0% 100% / .08); border-radius: var(--radius); border: 1px solid hsl(0 0% 100% / .15); backdrop-filter: blur(8px); }
.stat-value { font-size: 2.5rem; font-weight: 800; color: white; line-height: 1; margin-bottom: .5rem; }
.stat-label { font-size: .875rem; color: hsl(0 0% 100% / .8); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }

/* ============ PARTNERS MARQUEE ============ */
.partners { padding: 4rem 0; background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%); overflow: hidden; }
.partners-label { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.partners-label .line { height: 1px; width: 4rem; background: linear-gradient(to right, transparent, var(--border)); }
.partners-label span { font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .15em; color: var(--muted-foreground); }
.marquee { position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 8rem; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--background), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--muted), transparent); }
.marquee-track { display: flex; gap: 4rem; animation: scroll 30s linear infinite; width: max-content; }
.marquee-track > * { flex-shrink: 0; }
.partner-card {
  display: flex; align-items: center; justify-content: center;
  width: 180px; height: 100px; background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 1.25rem 1.5rem; transition: var(--transition);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-card img { width: 130px; height: 50px; object-fit: contain; object-position: center; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ CARDS / GRIDS ============ */
.grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-card); transition: var(--transition); position: relative;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: .75rem;
  background: hsl(215 87% 15% / .1); color: var(--primary);
  margin-bottom: 1.25rem; font-size: 1.5rem; transition: var(--transition);
}
.card:hover .card-icon { background: var(--primary); color: white; transform: scale(1.1); }
.card h3 { margin-bottom: .75rem; min-height: 3.2rem; }
.card-features { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.card-features li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted-foreground); margin-bottom: .5rem; }
.card-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* History numbered cards */
.numbered-card { position: relative; overflow: hidden; }
.numbered-card .number {
  position: absolute; top: 1.5rem; right: 1.5rem; font-size: 5rem;
  font-weight: 800; color: hsl(215 87% 15% / .06); line-height: 1; pointer-events: none;
}

/* Values cards (on primary background) */
.value-card { text-align: center; }
.value-card .card-icon {
  background: hsl(0 0% 100% / .1); color: white; margin: 0 auto 1.5rem;
  width: 4rem; height: 4rem;
}
.value-card:hover .card-icon { background: var(--accent); color: white; }
.value-card h3 { color: white; margin-bottom: .75rem; }
.value-card p { color: hsl(0 0% 100% / .8); font-size: .9rem; }

/* ============ TEAM ============ */
.team-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 3rem; padding: 0 1rem; overflow: hidden; width: 100%; box-sizing: border-box; }
.team-filter { padding: .5rem 1.25rem; border-radius: 999px; background: var(--muted); color: var(--foreground); font-size: .875rem; font-weight: 500; transition: var(--transition); }
.team-filter:hover { background: hsl(215 87% 15% / .08); }
.team-filter.active { background: var(--primary); color: white; }
.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member-card { background: white; border-radius: var(--radius); padding: 1.5rem; text-align: center; transition: var(--transition); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.member-avatar {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--gradient-hero); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.5rem; margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}
.member-name { font-weight: 700; font-size: 1rem; color: var(--foreground); margin-bottom: .25rem; }
.member-role { font-size: .8rem; color: var(--muted-foreground); margin-bottom: .75rem; min-height: 2.4em; }
.member-pole { display: inline-block; padding: .2rem .6rem; background: hsl(215 87% 15% / .08); color: var(--primary); border-radius: 999px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.member-mandat { display: inline-block; padding: .15rem .5rem; background: hsl(215 87% 15% / .05); color: var(--muted-foreground); border-radius: 999px; font-size: .65rem; font-weight: 500; margin-bottom: .75rem; }
.member-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: hsl(211 64% 46% / .1); color: var(--primary-light); font-weight: 700; font-size: .85rem; transition: var(--transition); }
.member-linkedin:hover { background: var(--primary-light); color: white; }

/* Pole description */
.pole-description { text-align: center; margin: -1.5rem 0 2.5rem; padding: 1rem 2rem; background: hsl(215 87% 15% / .03); border-radius: .75rem; border: 1px solid hsl(215 87% 15% / .06); }
.pole-description p { color: var(--muted-foreground); font-size: .9rem; line-height: 1.6; margin: 0; }

/* ============ PARTNER PACKS ============ */
.packs-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .packs-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pack-card {
  background: white; border-radius: var(--radius); padding: 2.5rem 2rem;
  border: 2px solid var(--border); transition: var(--transition); position: relative;
  display: flex; flex-direction: column;
}
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pack-card.featured { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.pack-card .badge {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white; padding: .25rem 1rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.pack-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }
.pack-features { flex: 1; margin: 1.5rem 0; }
.pack-features li { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem 0; font-size: .9rem; color: var(--foreground); border-bottom: 1px solid var(--border); }
.pack-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ============ MISSIONS / APPROACH ============ */
.approach-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } }
.approach-step { text-align: center; padding: 2rem; }
.approach-step .step-num {
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent); color: white;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
  font-size: 1.25rem; margin-bottom: 1.25rem;
}

/* ============ HERO BUTTONS ============ */
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem;
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
}
.timeline-line {
  position: absolute;
  top: calc(2.5rem + 20px);
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: .25;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.timeline-dot span {
  color: white;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}
.timeline-content p {
  font-size: .925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Partner contact card */
.partner-contact-card {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1.25rem;
  opacity: .85;
}
.partner-contact-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: .15rem;
}
.partner-contact-role {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-bottom: .5rem;
}
.partner-contact-mail {
  color: var(--accent);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
}
.partner-contact-mail:hover {
  text-decoration: underline;
}

.timeline-5 {
  grid-template-columns: repeat(5, 1fr);
}
.timeline-5 .timeline-line {
  left: calc(10% + 20px);
  right: calc(10% + 20px);
}

.mission-duration-pill {
  display: inline-block;
  padding: .6rem 1.5rem;
  background: hsl(215 87% 15% / .06);
  border-radius: 2rem;
  font-size: .95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.probono-strip {
  padding: 1.25rem 0;
  border-top: 1px solid hsl(215 87% 15% / .08);
  background: hsl(215 87% 15% / .03);
}
.probono-strip-text {
  font-size: .9rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}
.probono-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.probono-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .timeline, .timeline-5 {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    padding-left: 2rem;
  }
  .timeline-line, .timeline-5 .timeline-line {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .timeline-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 2rem;
  }
  .timeline-dot {
    margin-bottom: 0;
    margin-left: -2rem;
  }
}

/* ============ FORMAT CARDS ============ */
.format-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px hsl(0 0% 0% / .12);
}

/* ============ STEPS GRID ============ */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.steps-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.step-card {
  text-align: center; padding: 2rem 1.5rem;
  background: white; border-radius: var(--radius-md);
  box-shadow: 0 2px 12px hsl(0 0% 0% / .06);
  position: relative;
}
.step-number {
  font-size: 2.5rem; font-weight: 800; color: var(--accent);
  opacity: .18; line-height: 1; margin-bottom: .75rem;
}
.step-card h3 {
  font-size: 1.125rem; font-weight: 700; color: var(--primary);
  margin-bottom: .5rem;
}
.step-card p {
  font-size: .95rem; color: var(--text-secondary); line-height: 1.6;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* ============ OFFERS GRID (homepage) ============ */
.offers-section { background: var(--background); position: relative; z-index: 2; }
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.offer-card {
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}
.offer-card:hover { transform: translateY(-4px); }

/* Carte bleue foncée */
.offer-card-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 32px hsl(215 87% 15% / .25);
}
.offer-card-primary h3 { color: white; font-size: 1.4rem; }
.offer-card-primary p { color: hsl(0 0% 100% / .8); line-height: 1.7; }

/* Carte blanche */
.offer-card-light {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.offer-card-light h3 { color: var(--primary); font-size: 1.4rem; }
.offer-card-light p { color: var(--text-secondary); line-height: 1.7; }

.offer-tag {
  display: inline-block;
  background: hsl(0 0% 100% / .15);
  color: white;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  align-self: flex-start;
}
.offer-tag-dark {
  background: hsl(215 87% 15% / .08);
  color: var(--primary);
}
.offer-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: .875rem;
  background: hsl(0 0% 100% / .12);
  color: white;
  display: flex; align-items: center; justify-content: center;
}
.offer-icon-dark {
  background: hsl(215 87% 15% / .08);
  color: var(--primary);
}
.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex-grow: 1;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .925rem;
  color: hsl(0 0% 100% / .85);
}
.offer-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.offer-list-dark li { color: var(--foreground); }
.offer-list-dark li::before { background: var(--primary); }

@media (max-width: 768px) {
  .offers-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 2rem; }
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--gradient-hero); color: white; padding: 5rem 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section h2 { color: white; }
.cta-section p { color: hsl(0 0% 100% / .9); font-size: 1.125rem; max-width: 36rem; margin: 1rem auto 2rem; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* LinkedIn contact block */
.contact-linkedin-block { display: flex; flex-direction: column; gap: 1rem; }
.contact-linkedin-block h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: .25rem; }
.contact-linkedin-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-linkedin-card {
  display: flex; align-items: center; gap: 1rem;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card); text-decoration: none;
  transition: var(--transition);
}
.contact-linkedin-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: #0077b5; }
.contact-linkedin-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.contact-linkedin-name { font-weight: 700; color: var(--primary); font-size: 1rem; }
.contact-linkedin-role { font-size: .875rem; color: var(--text-secondary); margin-top: .1rem; }
.contact-linkedin-icon { margin-left: auto; color: #0077b5; flex-shrink: 0; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card { background: var(--muted); padding: 1.5rem; border-radius: var(--radius); display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-card .icon { width: 3rem; height: 3rem; border-radius: .75rem; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-info-card h4 { color: var(--primary); margin-bottom: .25rem; }
.contact-info-card a { color: var(--primary-light); font-weight: 500; }
.contact-form { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; color: var(--foreground); }
.form-group input, .form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: .5rem;
  font: inherit; transition: var(--transition); background: var(--background);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px hsl(211 64% 46% / .1); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============ LEGAL PAGES ============ */
.legal-page { max-width: 48rem; margin: 0 auto; padding: 8rem 1.5rem 5rem; }
.legal-page h1 { margin-bottom: 1rem; color: var(--primary); }
.legal-page .divider { width: 4rem; height: 4px; background: var(--accent); margin-bottom: 2.5rem; border-radius: 2px; }
.legal-page h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--primary); }
.legal-page p { margin-bottom: 1rem; color: var(--foreground); }
.legal-page ul { margin: 1rem 0 1rem 1.5rem; }
.legal-page ul li { list-style: disc; margin-bottom: .5rem; color: var(--foreground); }
.legal-page strong { color: var(--primary); }

/* ============ FOOTER ============ */
.footer { background: var(--primary); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.footer-logo-title { font-weight: 700; font-size: 1.05rem; }
.footer-logo-sub { font-size: .75rem; color: hsl(0 0% 100% / .7); }
.footer-desc { color: hsl(0 0% 100% / .8); font-size: .9rem; margin-bottom: 1.5rem; max-width: 24rem; }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.footer-contact a { color: hsl(0 0% 100% / .85); }
.footer-contact a:hover { color: white; }
.footer-address { color: hsl(0 0% 100% / .7); font-size: .85rem; line-height: 1.5; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 1rem; font-weight: 600; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: hsl(0 0% 100% / .75); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; background: hsl(0 0% 100% / .1);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: .85rem; color: white;
}
.footer-socials a:hover { background: var(--accent); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid hsl(0 0% 100% / .1); text-align: center; }
.footer-bottom p { color: hsl(0 0% 100% / .6); font-size: .85rem; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  width: calc(100% - 3rem);
  max-width: 680px;
  background: var(--primary);
  color: white;
  border-radius: 1.25rem;
  box-shadow: 0 24px 64px hsl(0 0% 0% / .35);
  z-index: 9998;
  opacity: 0;
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s ease;
  pointer-events: none;
  border: 1px solid hsl(0 0% 100% / .1);
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-title {
  font-size: .95rem;
  font-weight: 700;
  color: white;
  margin-bottom: .35rem;
}
.cookie-banner-body {
  font-size: .82rem;
  color: hsl(0 0% 100% / .7);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: .6rem 1.25rem;
  font-size: .875rem;
  border-radius: .6rem;
  white-space: nowrap;
}
.cookie-btn-decline {
  background: hsl(0 0% 100% / .1);
  color: white;
  border: 1px solid hsl(0 0% 100% / .2);
}
.cookie-btn-decline:hover {
  background: hsl(0 0% 100% / .18);
  transform: none;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: translateX(0) translateY(100%);
    border-radius: 1.25rem 1.25rem 0 0;
  }
  .cookie-banner.visible {
    transform: translateX(0) translateY(0);
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
  }
  .cookie-btn { width: 100%; justify-content: center; padding: .85rem; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp .6s ease-out both; }

/* ============ STATS CARDS ============ */
.stats-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}
@media (min-width: 768px) {
  .stats-cards { grid-template-columns: repeat(3, minmax(0, 280px)); }
}
.stat-card {
  background: white; border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; box-shadow: var(--shadow-card); border: 1px solid var(--border);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: .75rem;
  background: hsl(215 87% 15% / .07); color: var(--primary);
  margin: 0 auto 1rem;
}
.stat-card-value { font-size: 2.25rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: .4rem; }
.stat-card-label { font-size: 1rem; font-weight: 600; color: var(--foreground); margin-bottom: .25rem; }
.stat-card-sub { font-size: .8rem; color: var(--muted-foreground); }

/* Stats — layout mobile horizontal (liste) */
@media (max-width: 767px) {
  .stats-cards {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .stat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.1rem 1.25rem;
    gap: 1.1rem;
  }
  .stat-card-icon {
    width: 2.75rem; height: 2.75rem;
    border-radius: .65rem;
    margin: 0;
    flex-shrink: 0;
  }
  .stat-card-body { flex: 1; min-width: 0; }
  .stat-card-value { font-size: 1.6rem; margin-bottom: .1rem; }
  .stat-card-label { font-size: .9rem; margin-bottom: .1rem; }
  .stat-card-sub { font-size: .75rem; }
}

/* ============ ACTIVITY CARD FEATURES (red dots) ============ */
.card-features-dot { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.card-features-dot li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; color: var(--foreground); margin-bottom: .5rem;
}
.card-features-dot li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.card-link {
  display: inline-block; margin-top: 1.25rem; font-size: .9rem; font-weight: 600;
  color: var(--primary); transition: var(--transition);
}
.card-link:hover { color: var(--accent); gap: .5rem; }

/* ============ VALUES (primary bg) ============ */
.value-card {
  text-align: center; padding: 2rem 1.5rem;
}
.value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: .875rem;
  background: hsl(0 0% 100% / .12); color: white;
  margin: 0 auto 1.25rem; transition: var(--transition);
}
.value-card:hover .value-icon { background: var(--accent); }
.value-card h3 { color: white; font-size: 1.125rem; margin-bottom: .75rem; }
.value-card p { color: hsl(0 0% 100% / .8); font-size: .9rem; line-height: 1.6; }

/* ============ UTILS ============ */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mt-12 { margin-top: 3rem; }

/* ============ HOME V2 — DOUBLE PORTAIL ============ */
.hero-v2 { min-height: 52vh; padding-bottom: 3rem; }
.hero-v2-em { color: hsl(354 79% 70%); font-style: normal; }

.portail-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.portail-v2-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4.5rem 3.5rem; position: relative; overflow: hidden;
  text-decoration: none; transition: filter .25s ease;
  cursor: pointer;
}
.portail-v2-panel:hover { filter: brightness(.95); }

/* Panneau gauche — navy */
.portail-v2-left {
  background: var(--primary);
}
.portail-v2-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, hsl(211 64% 46% / .35) 0%, transparent 65%);
  pointer-events: none;
}

/* Panneau droit — blanc */
.portail-v2-right {
  background: #fff;
  border-left: 1px solid var(--border);
}
.portail-v2-right::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 85%, hsl(354 79% 44% / .07) 0%, transparent 60%);
  pointer-events: none;
}

/* Tag */
.portail-v2-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 1.5rem; position: relative;
}
.portail-v2-left .portail-v2-tag { color: hsl(0 0% 100% / .5); }
.portail-v2-right .portail-v2-tag { color: var(--accent); }

.portail-v2-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.portail-v2-left .portail-v2-dot { background: hsl(0 0% 100% / .4); }
.portail-v2-right .portail-v2-dot { background: var(--accent); }

/* Icône */
.portail-v2-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem; flex-shrink: 0; position: relative;
}
.portail-v2-left .portail-v2-icon { background: hsl(0 0% 100% / .1); color: #fff; }
.portail-v2-right .portail-v2-icon { background: hsl(354 79% 44% / .1); color: var(--accent); }

/* Headline */
.portail-v2-headline {
  font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 900;
  line-height: 1.15; margin-bottom: 1.1rem; letter-spacing: -.02em; position: relative;
}
.portail-v2-left .portail-v2-headline { color: #fff; }
.portail-v2-right .portail-v2-headline { color: var(--primary); }

/* Description */
.portail-v2-desc {
  font-size: .95rem; line-height: 1.7; margin-bottom: 1.75rem;
  max-width: 28rem; position: relative;
}
.portail-v2-left .portail-v2-desc { color: hsl(0 0% 100% / .72); }
.portail-v2-right .portail-v2-desc { color: var(--muted-foreground); }

/* Features list */
.portail-v2-features {
  list-style: none; margin-bottom: 2.25rem; display: flex;
  flex-direction: column; gap: .6rem; position: relative;
}
.portail-v2-features li {
  display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 500;
}
.portail-v2-left .portail-v2-features li { color: hsl(0 0% 100% / .78); }
.portail-v2-right .portail-v2-features li { color: var(--foreground); }
.portail-v2-features li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.portail-v2-left .portail-v2-features li::before { background: hsl(354 79% 70%); }
.portail-v2-right .portail-v2-features li::before { background: var(--accent); }

/* Bouton */
.portail-v2-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.75rem; border-radius: .75rem; font-weight: 700;
  font-size: .95rem; align-self: flex-start; position: relative;
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.portail-v2-panel:hover .portail-v2-btn { transform: translateY(-2px); box-shadow: 0 8px 24px hsl(215 87% 15% / .2); }
.portail-v2-btn::after { content: ''; position: absolute; inset: 0; background: hsl(0 0% 100% / .12); transform: translateX(-100%); transition: transform .4s ease; }
.portail-v2-panel:hover .portail-v2-btn::after { transform: translateX(0); }

.portail-v2-btn-light { background: #fff; color: var(--primary); }
.portail-v2-btn-light::after { background: hsl(215 87% 15% / .06); }
.portail-v2-btn-accent { background: var(--accent); color: #fff; }

/* Numéro décoratif */
.portail-v2-number {
  position: absolute; bottom: 1.5rem; right: 2rem;
  font-size: 7rem; font-weight: 900; line-height: 1;
  opacity: .05; pointer-events: none; user-select: none;
  letter-spacing: -.04em;
}
.portail-v2-left .portail-v2-number { color: #fff; }
.portail-v2-right .portail-v2-number { color: var(--primary); }

/* Responsive */
@media (max-width: 900px) {
  .portail-v2 { grid-template-columns: 1fr; }
  .portail-v2-panel { padding: 3.5rem 2rem; }
  .portail-v2-right { border-left: none; border-top: 1px solid var(--border); }
}

/* ── Marquee dans le panneau gauche ── */
.portail-v2-partners {
  margin-top: 2.5rem; position: relative; width: 100%;
}
.portail-v2-partners-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: hsl(0 0% 100% / .35); margin-bottom: 1.25rem;
}
.portail-v2-marquee {
  position: relative; overflow: hidden; width: 100%;
}
.portail-v2-marquee::before,
.portail-v2-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 3rem; z-index: 2; pointer-events: none;
}
.portail-v2-marquee::before { left: 0;  background: linear-gradient(to right, var(--primary), transparent); }
.portail-v2-marquee::after  { right: 0; background: linear-gradient(to left,  var(--primary), transparent); }
.portail-v2-left:hover .portail-v2-marquee::before { background: linear-gradient(to right, hsl(215 87% 12%), transparent); }
.portail-v2-left:hover .portail-v2-marquee::after  { background: linear-gradient(to left,  hsl(215 87% 12%), transparent); }

.portail-v2-track {
  display: flex; gap: 1rem; animation: scroll 22s linear infinite; width: max-content;
}
.portail-v2-logo-card {
  display: flex; align-items: center; justify-content: center;
  background: hsl(0 0% 100% / .08); border-radius: .6rem;
  padding: .6rem 1rem; flex-shrink: 0; width: 100px; height: 44px;
}
.portail-v2-logo-card img {
  width: 72px; height: 28px; object-fit: contain; object-position: center;
  filter: brightness(0) invert(1); opacity: .75;
}

/* ── Stats dans le panneau droit ── */
.portail-v2-stats {
  margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%;
}
.portail-v2-stat {
  background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
}
.portail-v2-stat-icon {
  color: var(--primary-light); margin-bottom: .1rem;
}
.portail-v2-stat-value {
  font-size: 1.6rem; font-weight: 900; color: var(--primary); line-height: 1;
}
.portail-v2-stat-label {
  font-size: .78rem; font-weight: 600; color: var(--muted-foreground);
}

@media (max-width: 900px) {
  .portail-v2-stats { grid-template-columns: 1fr 1fr; }
  .portail-v2-logo-card { width: 84px; height: 38px; }
}

/* ============ HOME V2 — COMPOSITION FUSIONNÉE ============ */

/* Wrapper global qui unit hero + panneaux */
.portail-v2-wrap {
  display: flex;
  flex-direction: column;
}

/* En-tête partagé — fond navy continu */
.portail-v2-hero {
  position: relative;
  background: var(--primary);
  text-align: center;
  padding: 9rem 1.5rem 0;
  overflow: hidden;
}

/* Image de fond subtile */
.portail-v2-hero-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-consulting-DcFM5OlB.jpg') center/cover no-repeat;
  opacity: .1;
}

.portail-v2-hero-content {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
}

.portail-v2-hero-content .hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: hsl(0 0% 100% / .1); border: 1px solid hsl(0 0% 100% / .2);
  padding: .45rem 1.1rem; border-radius: 999px; font-size: .8rem;
  font-weight: 500; color: hsl(0 0% 100% / .8); margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.portail-v2-hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.025em; margin-bottom: 1.25rem;
}

.portail-v2-hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: hsl(0 0% 100% / .72);
  line-height: 1.7; margin-bottom: 3.5rem;
}

/* Bandeau de transition avec les labels des deux côtés */
.portail-v2-hero-split {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 0 -1.5rem; /* pleine largeur */
}

.portail-v2-split-label {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 1rem 3.5rem;
}

.portail-v2-split-label.left {
  color: hsl(0 0% 100% / .45);
  justify-content: flex-start;
}

.portail-v2-split-label.right {
  color: var(--accent);
  justify-content: flex-end;
  background: #fff;
}

/* Ligne de séparation diagonale entre les deux labels */
.portail-v2-hero-split::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, hsl(0 0% 100% / .1), hsl(0 0% 100% / .25));
  transform: translateX(-50%);
}

/* Les panneaux continuent sans rupture */
.portail-v2-wrap .portail-v2 {
  margin-top: 0; /* colle aux labels */
}

.portail-v2-wrap .portail-v2-left {
  /* pas de padding-top — continuité avec le label */
  padding-top: 3rem;
}
.portail-v2-wrap .portail-v2-right {
  padding-top: 3rem;
}

/* Responsive */
@media (max-width: 900px) {
  .portail-v2-hero { padding: 8rem 1.25rem 0; }
  .portail-v2-hero-split { grid-template-columns: 1fr; }
  .portail-v2-split-label.left,
  .portail-v2-split-label.right { justify-content: flex-start; padding: .75rem 1.5rem; }
  .portail-v2-split-label.right { border-top: 1px solid var(--border); }
  .portail-v2-hero-split::after { display: none; }
}

/* ============ SECTION ALUMNI ============ */
.alumni-section { background: var(--muted); }

.alumni-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .alumni-logos { grid-template-columns: repeat(2, 1fr); }
}

.alumni-logo-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.alumni-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px hsl(215 87% 15% / .1);
  border-color: hsl(215 87% 15% / .15);
}

.alumni-logo-text {
  text-align: center;
  line-height: 1.3;
}

.alumni-note {
  text-align: center;
  font-size: .875rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-top: 1rem;
}

/* ============ CORRECTION JONCTION HERO → PANNEAUX ============ */

/* Reset du bandeau split supprimé */
.portail-v2-hero-split { display: none; }
.portail-v2-split-label { display: none; }

/* Hero : laisse un chevauchement pour le fondu */
.portail-v2-hero {
  padding-bottom: 6rem !important; /* espace pour que le fondu ait de la hauteur */
}

/* Le conteneur portail remonte sur le hero */
.portail-v2-wrap .portail-v2 {
  margin-top: -6rem;
  position: relative;
  z-index: 2;
}

/* Fondu en haut des deux panneaux via ::before */
.portail-v2-wrap .portail-v2-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7rem;
  background: linear-gradient(to bottom, var(--primary), hsl(215 87% 15% / 0));
  z-index: 1;
  pointer-events: none;
}

/* Panneau gauche : démarre sans padding-top, le fondu couvre */
.portail-v2-wrap .portail-v2-left {
  padding-top: 6rem !important;
}

/* Panneau droit : fondu du navy hero vers blanc */
.portail-v2-wrap .portail-v2-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7rem;
  background: linear-gradient(to bottom, 
    hsl(215 87% 15% / .18) 0%, 
    hsl(215 87% 15% / .06) 50%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}

.portail-v2-wrap .portail-v2-right {
  padding-top: 6rem !important;
}

/* S'assurer que le contenu passe par-dessus le pseudo-élément */
.portail-v2-wrap .portail-v2-left > *,
.portail-v2-wrap .portail-v2-right > * {
  position: relative;
  z-index: 2;
}

/* Coins arrondis en haut des panneaux pour un effet "carte qui émerge" */
.portail-v2-wrap .portail-v2-left {
  border-radius: 1.5rem 0 0 0;
}
.portail-v2-wrap .portail-v2-right {
  border-radius: 0 1.5rem 0 0;
}

@media (max-width: 900px) {
  .portail-v2-wrap .portail-v2 { margin-top: -4rem; }
  .portail-v2-hero { padding-bottom: 4rem !important; }
  .portail-v2-wrap .portail-v2-left,
  .portail-v2-wrap .portail-v2-right { padding-top: 4rem !important; }
  .portail-v2-wrap .portail-v2-left { border-radius: 1.5rem 1.5rem 0 0; }
  .portail-v2-wrap .portail-v2-right { border-radius: 0; }
}

/* ============ FULL-BLEED COMPOSITION ============ */

.fb-wrap {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Image de fond qui traverse toute la composition */
.fb-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero-consulting-DcFM5OlB.jpg') center / cover no-repeat;
  transform: scale(1.03); /* légèrement agrandi pour éviter les bords blancs */
}

/* Overlay navy progressif : opaque en haut, semi-transparent au milieu, plus dense en bas */
.fb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      hsl(215 87% 12% / .92) 0%,
      hsl(215 87% 15% / .78) 40%,
      hsl(215 87% 15% / .88) 100%
    );
}

/* ── Hero centré ── */
.fb-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 9rem 1.5rem 3rem;
  max-width: 54rem;
}

.fb-hero .hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: hsl(0 0% 100% / .1); border: 1px solid hsl(0 0% 100% / .2);
  padding: .45rem 1.1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: hsl(0 0% 100% / .8);
  margin-bottom: 1.75rem; backdrop-filter: blur(8px);
}

.fb-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -.025em; margin-bottom: 1.25rem;
}

.fb-sub {
  font-size: 1.1rem;
  color: hsl(0 0% 100% / .68);
  line-height: 1.7;
}

/* ── Séparateur horizontal ── */
.fb-divider {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 1rem;
  width: min(700px, 90%);
  margin: 1rem 0 2rem;
}

.fb-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, hsl(0 0% 100% / .2), transparent);
}

.fb-divider-badge {
  width: 36px; height: 36px; border-radius: 50%;
  background: hsl(0 0% 100% / .1);
  border: 1px solid hsl(0 0% 100% / .2);
  display: flex; align-items: center; justify-content: center;
  color: hsl(0 0% 100% / .5);
  backdrop-filter: blur(8px);
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Deux panneaux ── */
.fb-panels {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: 100%;
  max-width: 1300px;
  padding: 0 2rem 5rem;
  gap: 0;
}

.fb-panel {
  padding: 3rem 3.5rem 3.5rem;
  position: relative;
}

/* Fond glassmorphism subtil sur hover */
.fb-panel::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 1.25rem;
  background: hsl(0 0% 100% / 0);
  transition: background .4s ease;
  pointer-events: none;
}
.fb-panel:hover::before {
  background: hsl(0 0% 100% / .04);
}

/* Label "Pour les Cabinets / Entreprises" — grand et lisible */
.fb-panel-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(0 0% 100% / .45);
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: .5rem;
}

.fb-panel-right .fb-panel-label {
  color: var(--accent);
}

/* Icône */
.fb-panel-icon {
  width: 56px; height: 56px; border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  background: hsl(0 0% 100% / .1);
  color: #fff;
  margin-bottom: 1.75rem;
  transition: var(--transition);
}
.fb-panel-right .fb-panel-icon {
  background: hsl(354 79% 44% / .25);
  color: hsl(354 79% 72%);
}
.fb-panel:hover .fb-panel-icon {
  background: hsl(0 0% 100% / .18);
  transform: translateY(-2px);
}

/* Headline */
.fb-panel-headline {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 900; line-height: 1.12;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 1.1rem;
}

/* Description */
.fb-panel-desc {
  font-size: .95rem;
  color: hsl(0 0% 100% / .65);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 30rem;
}

/* Features */
.fb-features {
  list-style: none;
  margin-bottom: 2.25rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.fb-features li {
  display: flex; align-items: center; gap: .65rem;
  font-size: .875rem; font-weight: 500;
  color: hsl(0 0% 100% / .75);
}
.fb-features li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: hsl(0 0% 100% / .4);
  flex-shrink: 0;
}
.fb-panel-right .fb-features li::before {
  background: hsl(354 79% 65%);
}

/* Bouton */
.fb-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.75rem; border-radius: .75rem;
  font-weight: 700; font-size: .95rem;
  background: hsl(0 0% 100% / .12);
  border: 1px solid hsl(0 0% 100% / .2);
  color: #fff;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  position: relative; overflow: hidden;
}
.fb-btn::after {
  content: ''; position: absolute; inset: 0;
  background: hsl(0 0% 100% / .1);
  transform: translateX(-100%);
  transition: transform .4s ease;
}
.fb-btn:hover::after { transform: translateX(0); }
.fb-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px hsl(0 0% 0% / .2); }

.fb-btn-accent {
  background: var(--accent);
  border-color: var(--accent);
}

/* Numéro décoratif */
.fb-num {
  position: absolute; bottom: 1.5rem; right: 2rem;
  font-size: 6rem; font-weight: 900; line-height: 1;
  opacity: .06; pointer-events: none; user-select: none;
  color: #fff;
}

/* ── Séparateur vertical central animé ── */
.fb-vline {
  width: 1px;
  position: relative;
  display: flex; align-items: stretch; justify-content: center;
  margin: 2rem 0;
}

.fb-vline::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    hsl(0 0% 100% / .15) 20%,
    hsl(0 0% 100% / .25) 50%,
    hsl(0 0% 100% / .15) 80%,
    transparent 100%
  );
  width: 1px;
}

.fb-vline-glow {
  position: absolute;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, hsl(354 79% 65%), transparent);
  animation: glow-slide 3s ease-in-out infinite;
  top: 0;
}

@keyframes glow-slide {
  0%   { top: 5%;  opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .fb-panels {
    grid-template-columns: 1fr;
    padding: 0 1.25rem 3rem;
  }
  .fb-vline {
    width: 100%; height: 1px; margin: 0 2rem;
    flex-direction: row;
  }
  .fb-vline::before {
    width: 100%; height: 1px; inset: 0;
    background: linear-gradient(to right, transparent, hsl(0 0% 100% / .2), transparent);
  }
  .fb-vline-glow {
    width: 60px; height: 1px;
    animation: glow-slide-h 3s ease-in-out infinite;
    top: 0; left: 5%;
    background: linear-gradient(to right, transparent, hsl(354 79% 65%), transparent);
  }
  @keyframes glow-slide-h {
    0%   { left: 5%;  opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 95%; opacity: 0; }
  }
  .fb-panel { padding: 2.5rem 1.5rem; }
}

/* ── Panneaux avec fond navy solide mais image visible en transparence ── */
.fb-panel-left {
  background: hsl(215 87% 12% / .82);
  backdrop-filter: blur(6px);
  border-radius: 1.25rem 0 0 1.25rem;
  border: 1px solid hsl(0 0% 100% / .08);
  border-right: none;
}

.fb-panel-right {
  background: hsl(215 87% 18% / .82);
  backdrop-filter: blur(6px);
  border-radius: 0 1.25rem 1.25rem 0;
  border: 1px solid hsl(0 0% 100% / .08);
  border-left: none;
}

.fb-panel-left:hover { background: hsl(215 87% 12% / .9); }
.fb-panel-right:hover { background: hsl(215 87% 18% / .9); }

@media (max-width: 900px) {
  .fb-panel-left  { border-radius: 1.25rem 1.25rem 0 0; border-right: 1px solid hsl(0 0% 100% / .08); border-bottom: none; }
  .fb-panel-right { border-radius: 0 0 1.25rem 1.25rem; border-left:  1px solid hsl(0 0% 100% / .08); border-top: none; }
}

/* ── Phrase de cadrage ── */
.fb-framing {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 52rem;
  padding: 0 1.5rem 2.5rem;
}

.fb-framing-question {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}

.fb-framing-desc {
  font-size: .95rem;
  color: hsl(0 0% 100% / .55);
  line-height: 1.7;
  max-width: 44rem;
  margin: 0 auto;
}

/* ── CORRECTIONS ── */

/* Coins : les panneaux forment un seul bloc sans coins internes */
.fb-panels {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid hsl(0 0% 100% / .1);
}

.fb-panel-left {
  border-radius: 0 !important;
  border: none !important;
  border-right: none !important;
}

.fb-panel-right {
  border-radius: 0 !important;
  border: none !important;
  border-left: none !important;
}

/* Label plus grand et plus lisible */
.fb-panel-label {
  font-size: .85rem !important;
  letter-spacing: .14em !important;
  color: hsl(0 0% 100% / .6) !important;
  margin-bottom: 1.75rem !important;
}

.fb-panel-right .fb-panel-label {
  color: hsl(354 79% 72%) !important;
}

/* Séparateur vertical — lueur blanche */
.fb-vline::before {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    hsl(0 0% 100% / .08) 15%,
    hsl(0 0% 100% / .3) 50%,
    hsl(0 0% 100% / .08) 85%,
    transparent 100%
  ) !important;
}

.fb-vline-glow {
  background: linear-gradient(
    to bottom,
    transparent,
    hsl(0 0% 100% / .9),
    transparent
  ) !important;
  width: 1px !important;
  height: 80px !important;
  box-shadow: 0 0 8px 2px hsl(0 0% 100% / .4);
}

/* ══════════════════════════════════════════
   ÉCRAN 1 — ENTRY SCREEN
══════════════════════════════════════════ */
.entry-screen {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.entry-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-consulting-DcFM5OlB.jpg') center / cover no-repeat;
  background-attachment: fixed; /* parallax natif */
  transform: scale(1.04);
}

.entry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    hsl(215 87% 10% / .88) 0%,
    hsl(215 87% 18% / .75) 60%,
    hsl(215 70% 25% / .82) 100%
  );
}

.entry-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  animation: entry-fade-up .9s ease both;
}

@keyframes entry-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.entry-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: hsl(0 0% 100% / .1); border: 1px solid hsl(0 0% 100% / .18);
  padding: .45rem 1.1rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: hsl(0 0% 100% / .75); margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.entry-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -.035em; color: #fff;
  margin-bottom: 1.5rem;
}

.entry-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: hsl(0 0% 100% / .65);
  line-height: 1.7; margin-bottom: 4rem;
  max-width: 36rem;
}

.entry-scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: hsl(0 0% 100% / .4);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}

.entry-arrow {
  animation: bounce-arrow 2s ease-in-out infinite;
  color: hsl(0 0% 100% / .5);
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0);    opacity: .5; }
  50%       { transform: translateY(8px); opacity: 1;  }
}

/* ══════════════════════════════════════════
   ÉCRAN 2 — DOUBLE PORTAIL
══════════════════════════════════════════ */
.dp-wrap {
  position: relative;
  padding: 6rem 2rem 7rem;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}

.dp-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-consulting-DcFM5OlB.jpg') center / cover no-repeat;
  background-attachment: fixed;
}

.dp-overlay {
  position: absolute; inset: 0;
  background: hsl(215 87% 12% / .93);
}

/* Phrase de cadrage */
.dp-framing {
  position: relative; z-index: 2;
  text-align: center; max-width: 50rem;
  margin-bottom: 3.5rem;
}

.dp-framing-q {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800; color: #fff;
  margin-bottom: .75rem;
}

.dp-framing-d {
  font-size: 1.1rem;
  color: hsl(0 0% 100% / .7);
  line-height: 1.75; max-width: 42rem; margin: 0 auto;
}

/* Grille des panneaux */
.dp-panels {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%; max-width: 1200px;
}

/* Panneaux */
.dp-panel {
  position: relative;
  padding: 3.5rem;
  overflow: hidden;
  transition: background .35s ease;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  border: 1px solid hsl(0 0% 100% / .08);
  box-shadow: 0 24px 64px hsl(0 0% 0% / .35);
}
.dp-btn {
  margin-top: auto !important;
}

.dp-left  { background: hsl(215 87% 14% / .95); }
.dp-right { background: hsl(215 80% 18% / .95); }
.dp-left:hover  { background: hsl(215 87% 16% / .98); }
.dp-right:hover { background: hsl(215 80% 20% / .98); }

/* Shimmer sur hover */
.dp-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsl(0 0% 100% / 0) 40%, hsl(0 0% 100% / .04) 50%, hsl(0 0% 100% / 0) 60%);
  background-size: 300% 300%;
  transition: background-position .6s ease;
  pointer-events: none;
}
.dp-panel:hover .dp-shimmer {
  background-position: 100% 100%;
}

/* Bordure lumineuse sur hover */
.dp-left::after, .dp-right::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.dp-left::after  { box-shadow: inset 0 0 0 1px hsl(0 0% 100% / .15); }
.dp-right::after { box-shadow: inset 0 0 0 1px hsl(354 79% 44% / .3); }
.dp-left:hover::after, .dp-right:hover::after { opacity: 1; }

/* Label */
.dp-label {
  font-size: 1rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: hsl(0 0% 100% / .6);
  margin-bottom: 1.75rem;
}
.dp-label-accent { color: hsl(354 79% 65%); }

/* Icône */
.dp-icon {
  width: 52px; height: 52px; border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  background: hsl(0 0% 100% / .1); color: #fff;
  margin-bottom: 1.5rem;
  transition: transform .3s ease, background .3s ease;
}
.dp-icon-accent {
  background: hsl(354 79% 44% / .2);
  color: hsl(354 79% 72%);
}
.dp-panel:hover .dp-icon { transform: translateY(-3px); background: hsl(0 0% 100% / .16); }
.dp-panel:hover .dp-icon-accent { background: hsl(354 79% 44% / .3); }

/* Headline */
.dp-headline {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900; line-height: 1.15;
  color: #fff; letter-spacing: -.02em;
  margin-bottom: 1rem;
  transition: color .3s ease;
}

/* Description */
.dp-desc {
  font-size: .93rem; color: hsl(0 0% 100% / .6);
  line-height: 1.75; margin-bottom: 1.75rem; max-width: 30rem;
}

/* Features */
.dp-features {
  list-style: none; margin-bottom: 2.25rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.dp-features li {
  display: flex; align-items: center; gap: .65rem;
  font-size: .875rem; color: hsl(0 0% 100% / .68); font-weight: 500;
}
.dp-features li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: hsl(0 0% 100% / .3); flex-shrink: 0;
}
.dp-features-accent li::before { background: hsl(354 79% 60%); }

/* Boutons */
.dp-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .875rem 1.75rem; border-radius: .75rem;
  font-weight: 700; font-size: .9rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative; overflow: hidden;
}
.dp-btn:hover { transform: translateY(-2px); }

.dp-btn-ghost {
  background: hsl(0 0% 100% / .1);
  border: 1px solid hsl(0 0% 100% / .2);
  color: #fff;
}
.dp-btn-ghost:hover {
  background: hsl(0 0% 100% / .18);
  box-shadow: 0 8px 24px hsl(0 0% 0% / .25);
}

.dp-btn-accent {
  background: var(--accent); color: #fff;
  border: 1px solid transparent;
}
.dp-btn-accent:hover {
  background: hsl(354 79% 38%);
  box-shadow: 0 8px 28px hsl(354 79% 44% / .4);
}

/* Numéro déco */
.dp-num { display: none; }

/* ── Séparateur central ── */
.dp-sep {
  display: none;
}

.dp-sep-line {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    hsl(0 0% 100% / .12) 20%,
    hsl(0 0% 100% / .2) 50%,
    hsl(0 0% 100% / .12) 80%,
    transparent 100%
  );
  width: 1px; margin: auto;
}

.dp-sep-glow {
  position: absolute;
  width: 1px; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px 3px hsl(354 79% 44% / .5);
  animation: glow-drop 3.5s ease-in-out infinite;
  top: 5%;
}

@keyframes glow-drop {
  0%   { top: 5%;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .entry-bg, .dp-bg { background-attachment: scroll; }
  .dp-panels {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .dp-panel {
    padding: 2.5rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid hsl(0 0% 100% / .10);
    box-shadow: 0 16px 48px hsl(0 0% 0% / .35);
  }
  .dp-sep { display: none; }
}

/* ══════════════════════════════════════════
   FOND UNIQUE — résout la coupure d'image
══════════════════════════════════════════ */

/* Le fond unique, fixe, couvre tout */
.scene-bg {
  position: fixed; /* fixed = ne bouge pas au scroll → image unique */
  inset: 0;
  background: url('assets/hero-consulting-DcFM5OlB.jpg') center / cover no-repeat;
  z-index: 0;
  filter: blur(3px);
  transform: scale(1.04); /* évite les bords blancs dus au blur */
}

/* Les sections sont au-dessus, avec leurs propres overlays */
.entry-screen,
.dp-wrap {
  position: relative;
  z-index: 1;
}

/* Supprimer les anciens bg individuels */
.entry-bg  { display: none !important; }
.dp-bg     { display: none !important; }

/* L'overlay entry : dégradé léger, laisse l'image respirer */
.entry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(215 87% 12% / .65) 0%,
    hsl(215 87% 15% / .55) 50%,
    hsl(215 87% 15% / .72) 100%
  );
}

/* L'overlay portail : plus dense pour lisibilité */
.dp-overlay {
  background: hsl(215 87% 10% / .91) !important;
}

/* ══════════════════════════════════════════
   TYPOGRAPHIE ENTRY — raffinée
══════════════════════════════════════════ */

.entry-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
  line-height: 1;
}

/* "EDHEC" — fin, espacé, élégant */
.entry-title-light {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: .22em;
  color: hsl(0 0% 100% / .85);
  text-transform: uppercase;
  line-height: 1.1;
}

/* "Consulting Club" — gras, serré, ancré */
.entry-title-bold {
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.05;
}

/* Trait séparateur entre les deux */
.entry-title-light::after {
  content: '';
  display: block;
  width: 3rem; height: 2px;
  background: var(--accent);
  margin: .6rem auto .5rem;
  border-radius: 2px;
}

/* ── Typo entry ── */
.entry-title {
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2em !important;
  line-height: 1.05 !important;
}

.entry-title-light {
  font-size: clamp(2.4rem, 7vw, 6.5rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
  color: #fff !important;
  text-transform: none !important;
  line-height: 1.05 !important;
}

.entry-title-light::after {
  display: none !important;
}

.entry-title-bold {
  font-size: clamp(2.4rem, 7vw, 6.5rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
  color: #fff !important;
  line-height: 1.05 !important;
}

/* Mobile : forcer une seule ligne par span pour éviter le gap asymétrique */
@media (max-width: 480px) {
  .entry-title {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .entry-title-light,
  .entry-title-bold {
    font-size: clamp(2.6rem, 13vw, 3.5rem) !important;
    line-height: 1.08 !important;
  }
}

/* ── Tagline et scroll cue plus visibles ── */
.entry-tagline { color: hsl(0 0% 100% / .88) !important; }
.entry-scroll-cue { color: hsl(0 0% 100% / .75) !important; }
.entry-arrow { color: hsl(0 0% 100% / .8) !important; }

/* ── Toutes les sections après le portail ont un fond blanc solide ── */
.dp-wrap ~ .section,
.dp-wrap ~ section,
.dp-wrap + * ~ * {
  background: white;
  position: relative;
  z-index: 2;
}

/* Couvrir explicitement chaque section standard */
.section { background: white; position: relative; z-index: 2; }
.section-muted { background: var(--muted) !important; }
.section-primary {
  background:
    radial-gradient(ellipse at 20% 50%, hsl(215 87% 22% / .9) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, hsl(211 64% 28% / .6) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, hsl(215 87% 10% / .8) 0%, transparent 55%),
    hsl(215, 87%, 13%) !important;
}
.cta-section { background: var(--primary) !important; position: relative; z-index: 2; }
.footer { background: var(--primary) !important; position: relative; z-index: 2; }

/* Assure que entry-screen et dp-wrap restent au bon z-index */
.entry-screen { z-index: 1; }
.dp-wrap { z-index: 1; }

/* ── CTA accent : rouge foncé pour contraster avec les Valeurs navy ── */
.cta-accent {
  background: hsl(354 79% 36%) !important;
  background-image: radial-gradient(ellipse at 30% 50%, hsl(354 79% 44%) 0%, hsl(354 79% 30%) 100%) !important;
}

/* ── CTA bleu clair (comme screenshot) ── */
.cta-accent {
  background: radial-gradient(ellipse at 30% 50%, hsl(214 72% 52%) 0%, hsl(214 65% 38%) 50%, hsl(216 60% 28%) 100%) !important;
}

/* ── Navbar layout : logo gauche, liens centrés ── */
.nav-inner {
  display: grid !important;
  grid-template-columns: 160px 1fr 160px !important;
  align-items: center !important;
  padding-left: 0 !important;
}
.nav-logo {
  justify-self: start !important;
  margin-left: 0 !important;
}
.nav-links {
  justify-self: center !important;
}
.nav-right {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
}
/* ── Logo navbar : vrai logo sans fond rond ── */
.nav-logo img {
  width: 130px !important;
  height: auto !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}
.nav-logo .nav-logo-text { display: none !important; }

/* ── Mission Cards (page Missions) ── */
.mission-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.custom-need-card {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, hsl(215 87% 15% / .04) 0%, hsl(215 87% 15% / .08) 100%);
  border: 1px dashed hsl(215 87% 15% / .25);
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.custom-need-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 2px 8px hsl(215 87% 15% / .08);
}
.custom-need-content {
  flex: 1;
  min-width: 250px;
}
.custom-need-content h3 {
  font-size: 1.25rem;
  margin: 0 0 .35rem 0;
  color: var(--primary);
}
.custom-need-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.5;
}
.custom-need-btn {
  flex-shrink: 0;
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: .65rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s;
  white-space: nowrap;
}
.custom-need-btn:hover { background: hsl(215 87% 25%); }
@media (max-width: 600px) {
  .custom-need-card { padding: 1.5rem; flex-direction: column; text-align: center; }
  .custom-need-btn { width: 100%; text-align: center; }
}
.mission-card {
  grid-column: span 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
/* 6 cartes = 3×2, aucun centrage spécial nécessaire */
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px hsl(215 87% 15% / .1);
}
.mission-card-highlight {
  border-color: var(--primary-light);
  background: hsl(211 64% 46% / .04);
}
.mission-card-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--primary-light);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .65rem;
  border-radius: 999px;
}
.mission-card-icon {
  width: 3rem; height: 3rem;
  border-radius: .75rem;
  background: hsl(215 87% 15% / .08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.mission-card-highlight .mission-card-icon {
  background: hsl(211 64% 46% / .12);
  color: var(--primary-light);
}
.mission-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--primary); line-height: 1.3;
  margin: 0;
}
.mission-card > p {
  font-size: .9rem; color: var(--muted-foreground);
  line-height: 1.6; margin: 0;
}
.mission-card-list {
  list-style: none; margin: .5rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: .45rem;
  margin-top: auto;
}
.mission-card-list li {
  font-size: .85rem; color: var(--foreground);
  padding-left: 1.25rem; position: relative;
  line-height: 1.5;
}
.mission-card-list li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: var(--primary-light);
}
@media (max-width: 900px) {
  .mission-cards-grid { grid-template-columns: 1fr 1fr; }
  .mission-cards-grid .mission-card,
  .mission-cards-grid .mission-card:nth-child(4),
  .mission-cards-grid .mission-card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 768px) {
  .mission-cards-grid {
    grid-template-columns: 1fr;
  }
  .mission-cards-grid .mission-card,
  .mission-cards-grid .mission-card:nth-child(4),
  .mission-cards-grid .mission-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

/* ── Mission Card — lien "En savoir plus" ── */
.mission-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  align-self: flex-end;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary-light);
  text-decoration: none;
  transition: gap .2s ease, color .2s ease;
}
.mission-card-link:hover { gap: .7rem; color: var(--primary); }
.mission-card-link-accent { color: var(--primary-light); }

/* ── Mission Detail Page ── */
.md-hero {
  background: var(--primary);
  background: radial-gradient(ellipse at 20% 60%, hsl(215 87% 22% / .9) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, hsl(211 64% 28% / .6) 0%, transparent 50%),
              hsl(215 87% 13%);
  padding: 6rem 0 4rem;
  color: #fff;
}
.md-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: hsl(0 0% 100% / .6);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color .2s;
}
.md-back:hover { color: #fff; }
.md-hero-inner { max-width: 52rem; }
.md-hero-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: hsl(0 0% 100% / .12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.md-badge {
  display: inline-block;
  background: var(--primary-light);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.md-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: .75rem;
}
.md-tagline {
  font-size: 1.1rem;
  color: hsl(0 0% 100% / .7);
  max-width: 40rem;
}

/* Layout 2 colonnes */
.md-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .md-layout { grid-template-columns: 1fr; }
  .md-sidebar { order: -1; }
}

.md-intro {
  font-size: 1.05rem;
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 3rem;
  border-left: 3px solid var(--primary-light);
  padding-left: 1.25rem;
}

.md-services { display: flex; flex-direction: column; gap: 2.5rem; }
.md-service {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.md-service:last-child { border-bottom: none; padding-bottom: 0; }
.md-service h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: .75rem;
}
.md-service p {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

/* Sidebar */
.md-sidebar {
  display: flex; flex-direction: column; gap: 1.25rem;
  position: sticky; top: 6rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  scrollbar-width: none;
}
.md-sidebar::-webkit-scrollbar { display: none; }
.md-sidebar-card {
  background: var(--primary);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
}
.md-sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.md-sidebar-card p {
  font-size: .875rem;
  color: hsl(0 0% 100% / .7);
  line-height: 1.6;
}
.md-sidebar-card-light {
  background: var(--muted);
}
.md-sidebar-card-light h4 { color: var(--primary); }
.md-sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.md-sidebar-list li {
  font-size: .875rem;
  color: var(--foreground);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.md-sidebar-card-light .md-sidebar-list li { color: var(--foreground); }
.md-sidebar-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: var(--primary-light);
}
