/* ============================================================
   SHERPA CONSULTING — Maquette intégration Sherp'AI + Éclairage
   Charte : navy #002077, teal #00AB91, Montserrat
   ============================================================ */

:root {
  --navy: #002077;
  --navy-dark: #001550;
  --navy-soft: #1a3590;
  --teal: #00AB91;
  --teal-dark: #009F85;
  --teal-light: #e6f7f4;
  --grey-bg: #f4f5f8;
  --grey-line: #e3e5ea;
  --grey-text: #5b6275;
  --white: #FFFFFF;
  --black: #111;

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(0, 32, 119, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 32, 119, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 32, 119, 0.16);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; margin: 0; color: var(--navy); }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section { padding: var(--section-pad) 0; }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--grey-text);
  max-width: 760px;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.section-head { text-align: center; margin: 0 auto 3rem; max-width: 860px; }
.section-head .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-large { padding: 1.15rem 2.4rem; font-size: 0.95rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--grey-line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand img { height: 42px; width: auto; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 2.1rem; align-items: center; }
.nav-main a {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.nav-main a:hover { color: var(--teal); }
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}
.nav-main a:hover::after { width: 100%; }
.badge-new {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 2px 7px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--teal);
  color: var(--white);
  border-radius: 4px;
  vertical-align: middle;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.btn-login {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-login:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-login:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.mobile-drawer .btn-login-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.95rem 1.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  border-bottom: none;
}
.mobile-drawer .btn-login-mobile:hover { background: var(--teal-dark); }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 78px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
  transform: translateY(-120%);
  transition: transform 0.35s ease;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer ul { display: flex; flex-direction: column; padding: 1.5rem var(--gutter); }
.mobile-drawer a {
  display: block;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  border-bottom: 1px solid var(--grey-line);
}
.mobile-drawer a:last-child { border-bottom: none; }

@media (min-width: 1024px) {
  .nav-main { display: block; }
  .hamburger { display: none; }
  .btn-login { display: inline-flex; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  color: var(--white);
  overflow: hidden;
  background-image: url('assets/backgrounds/sjostromc-4036-corde.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 32, 119, 0.55);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 110%, rgba(0, 171, 145, 0.20), transparent 55%),
    linear-gradient(180deg, transparent 60%, rgba(0,12,40,0.45) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.hero h1 strong { color: var(--teal); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* ---------- OFFRES (pétale) ---------- */
.offres { background: var(--white); }
.offres-petals {
  position: relative;
  margin: 3rem auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.petal {
  background: var(--white);
  border: 2px solid var(--grey-line);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.petal:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.petal-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  background: var(--teal-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
}
.petal h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.petal p { font-size: 0.85rem; color: var(--grey-text); margin: 0; }
.petal::after {
  content: '+';
  position: absolute;
  top: 1rem; right: 1.2rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}

.petal-center {
  grid-column: 1 / -1;
  background-color: var(--navy);
  background-image:
    linear-gradient(135deg, rgba(0, 32, 119, 0.78) 0%, rgba(0, 32, 119, 0.55) 100%),
    url('assets/backgrounds/rond-offre-3200-23.png');
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: cover, contain;
  color: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
}
.petal-center h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.format-grid > div { font-size: 0.85rem; line-height: 1.55; }
.format-grid strong { display: block; color: var(--teal); font-weight: 700; margin-bottom: 0.3rem; }

.petal-center-sub-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.petal-center-sub-desc {
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 360px;
  opacity: 0.92;
}
.btn-petal-center {
  display: inline-block;
  background-color: var(--teal);
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  margin: 0.4rem auto 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 171, 145, 0.35);
}
.btn-petal-center:hover,
.btn-petal-center:focus {
  background-color: var(--teal-dark, #009f85);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 171, 145, 0.5);
  color: var(--white);
}

@media (min-width: 768px) {
  .offres-petals {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .petal-center {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* ---------- MISSIONS ---------- */
.missions {
  background-color: var(--grey-bg);
  background-image: url('assets/backgrounds/trame-altitude-modif4.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 60% auto;
  position: relative;
}
.missions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247, 248, 250, 0.85);
  pointer-events: none;
}
.missions > .container { position: relative; z-index: 1; }
.missions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.mission-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
}
.mission-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.mission-card .mission-icon {
  width: 160px; height: 110px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}
.mission-card p { color: var(--grey-text); font-size: 0.95rem; margin-bottom: 1rem; }
.mission-card .mission-claim {
  font-style: italic;
  color: var(--navy);
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-line);
}
@media (min-width: 768px) {
  .missions-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   SHERP'AI SECTION — début
   ============================================================ */
#section_sherpai {
  background: linear-gradient(180deg, #ffffff 0%, #f4f5f8 100%);
  position: relative;
  overflow: hidden;
}
#section_sherpai::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(0, 171, 145, 0.05), transparent 70%);
  pointer-events: none;
}

.sherpai-hero {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 4rem;
}
.sherpai-hero h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.sherpai-hero h2 .accent { color: var(--teal); }
.sherpai-hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--grey-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.sherpai-hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Mockup dashboard */
.sherpai-mockup-wrap {
  max-width: 880px;
  margin: 0 auto 4rem;
}
.sherpai-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--grey-line);
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(90deg, var(--navy), var(--navy-soft));
  color: var(--white);
}
.mockup-header h4 { color: var(--white); font-size: 1rem; font-weight: 700; }
.mockup-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex; gap: 0.4rem; align-items: center;
}
.mockup-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 171, 145, 0.25);
}
.mockup-body { padding: 1.8rem 1.5rem; }
.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.score-card {
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 1rem;
}
.score-card .label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey-text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.score-card .value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.score-bar {
  height: 6px;
  background: var(--grey-line);
  border-radius: 999px;
  overflow: hidden;
}
.score-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 999px;
}
.mockup-global {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
}
.mockup-global .label { font-size: 0.85rem; color: var(--navy); font-weight: 600; }
.mockup-global .score-big {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.mockup-chart {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.mockup-chart h5 { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; }
.chart-svg { width: 100%; height: 120px; }
.chart-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--grey-text);
}
.chart-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.chart-legend .dot { width: 10px; height: 10px; border-radius: 50%; }

@media (max-width: 600px) {
  .mockup-cards { grid-template-columns: 1fr; }
}

/* Video placeholder */
.sherpai-video-wrap {
  max-width: 800px;
  margin: 0 auto 4.5rem;
}
#sherpai-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
#sherpai-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 171, 145, 0.12)),
    radial-gradient(ellipse at center bottom, rgba(0, 171, 145, 0.18), transparent 65%);
}
.video-mountains {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  opacity: 0.18;
  z-index: 1;
}
.video-content { position: relative; z-index: 2; }
.play-btn {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 171, 145, 0.4), 0 0 0 0 rgba(0, 171, 145, 0.5);
  animation: pulse 2.5s infinite;
  transition: transform 0.25s;
}
#sherpai-video:hover .play-btn { transform: scale(1.08); }
.play-btn svg { margin-left: 5px; }
@keyframes pulse {
  0% { box-shadow: 0 8px 30px rgba(0, 171, 145, 0.4), 0 0 0 0 rgba(0, 171, 145, 0.5); }
  70% { box-shadow: 0 8px 30px rgba(0, 171, 145, 0.4), 0 0 0 22px rgba(0, 171, 145, 0); }
  100% { box-shadow: 0 8px 30px rgba(0, 171, 145, 0.4), 0 0 0 0 rgba(0, 171, 145, 0); }
}
.video-content .label-main {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.video-content .label-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

/* 3 dimensions */
.sherpai-dimensions { margin-bottom: 4.5rem; }
.dimensions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.dim-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  border: 1px solid var(--grey-line);
  transition: all 0.3s;
}
.dim-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dim-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.dim-card h4 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.dim-card .dim-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.dim-card p { color: var(--grey-text); font-size: 0.92rem; margin: 0; }
@media (min-width: 768px) {
  .dimensions-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Métiers */
.sherpai-metiers { margin-bottom: 4.5rem; }
.metiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.metier-col {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}
.metier-col h4 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--grey-line);
}
.metier-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.metier-col li {
  font-size: 0.9rem;
  color: var(--grey-text);
  padding-left: 1.4rem;
  position: relative;
}
.metier-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
}
@media (min-width: 768px) { .metiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .metiers-grid { grid-template-columns: repeat(4, 1fr); } }

/* Référents */
.sherpai-refs { margin-bottom: 4.5rem; }
.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.ref-card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  place-items: center;
  min-height: 110px;
  transition: all 0.25s;
}
.ref-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.ref-card img {
  max-height: 56px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
  /* Logos sources fournis en blanc transparent — on les inverse pour fond clair */
  filter: invert(1) brightness(0.4);
}
.ref-card.text-only {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-align: center;
  border: 2px solid var(--teal);
}
@media (min-width: 768px) { .refs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .refs-grid { grid-template-columns: repeat(6, 1fr); } }

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--teal);
  padding: 1.8rem 2rem;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.testimonial .author {
  font-style: normal;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.85rem;
  margin-top: 0.8rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Comparateur */
.sherpai-comparator {
  background: linear-gradient(135deg, #ffffff 0%, var(--teal-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 4.5rem;
  border: 1px solid var(--grey-line);
}
.sherpai-comparator h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.sherpai-comparator p {
  color: var(--grey-text);
  max-width: 660px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}
.sherpai-comparator .meta {
  font-size: 0.78rem;
  color: var(--grey-text);
  margin-top: 1rem;
}

/* Méthodologie 6 étapes */
.sherpai-method { margin-bottom: 4.5rem; }
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
  counter-reset: method-step;
}
.method-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 4.2rem;
  position: relative;
  border: 1px solid var(--grey-line);
  counter-increment: method-step;
}
.method-step::before {
  content: counter(method-step);
  position: absolute;
  left: 1.2rem; top: 1.3rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}
.method-step h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.method-step p { font-size: 0.85rem; color: var(--grey-text); margin: 0; }
@media (min-width: 768px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }

/* Souveraineté */
.sherpai-sovereignty {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  margin-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}
.sherpai-sovereignty::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 171, 145, 0.18), transparent 65%);
  pointer-events: none;
}
.sherpai-sovereignty .head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; position: relative; }
.sherpai-sovereignty .section-eyebrow { color: var(--teal); }
.sherpai-sovereignty h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  position: relative;
  margin-bottom: 2rem;
}
.pillar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pillar h5 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pillar p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); margin: 0; line-height: 1.5; }
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

.compliance-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
}
.compliance-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 171, 145, 0.15);
  border: 1px solid rgba(0, 171, 145, 0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
}
.compliance-list span::before {
  content: '✓';
  font-weight: 800;
}

/* Tarification */
.sherpai-pricing { margin-bottom: 4.5rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--grey-line);
  position: relative;
  transition: all 0.25s;
}
.price-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card .label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.price-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.1;
}
.price-card .price-unit {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin-bottom: 1.2rem;
}
.price-card .desc {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.55;
}
.price-card.highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  border: none;
}
.price-card.highlight .label { color: var(--teal); }
.price-card.highlight .price { color: var(--white); }
.price-card.highlight .price-unit, .price-card.highlight .desc { color: rgba(255, 255, 255, 0.85); }
.price-card.highlight::before {
  content: 'À L\'USAGE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.pricing-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-text);
  font-style: italic;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

/* CTA final */
.sherpai-cta-final {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-line);
}
.sherpai-cta-final h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 2rem;
}
.sherpai-cta-final .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ============================================================
   SHERP'AI SECTION — fin
   ============================================================ */

/* ---------- CITATION ---------- */
.citation {
  background-image:
    linear-gradient(rgba(0, 32, 119, 0.6), rgba(0, 32, 119, 0.6)),
    url('assets/backgrounds/sjostromc-corde2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.citation blockquote {
  position: relative;
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  font-weight: 600;
  font-style: italic;
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--white);
}
.citation blockquote::before, .citation blockquote::after {
  color: var(--teal);
  font-size: 1.5em;
  font-style: normal;
  font-weight: 700;
}
.citation blockquote::before { content: '« '; }
.citation blockquote::after { content: ' »'; }

/* ---------- STATS ---------- */
.stats { background: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat .number {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat .number-prefix { color: var(--teal); }
.stat .label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- APPROCHE ---------- */
.approche { background: var(--grey-bg); }
.approche-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.approche-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.approche-card .pic { width: 173px; height: 131px; object-fit: contain; margin: 0 auto 1.2rem; }
.approche-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.approche-card p { color: var(--grey-text); font-size: 0.92rem; }
@media (min-width: 768px) { .approche-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- ÉQUIPE ---------- */
.equipe { background: var(--white); }
.equipe-intro {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--grey-text);
  font-size: 1rem;
}
.equipe-intro strong { color: var(--navy); font-weight: 700; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.team-member {
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grey-bg);
  margin: 0 auto 1rem;
  max-width: 150px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.8rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member .name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.team-member .role {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
}
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(6, 1fr); } }

/* Photo de groupe en haut de la section équipe */
.team-group {
  margin: 0 auto 3rem;
  max-width: 1200px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.team-group img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.team-group figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.5rem 1.5rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,12,40,0) 0%, rgba(0,12,40,0.85) 100%);
}
@media (max-width: 600px) {
  .team-group img { height: 240px; }
  .team-group figcaption { font-size: 0.88rem; padding: 1.5rem 1rem 1rem; }
}
.equipe-conclusion {
  text-align: center;
  margin-top: 3rem;
  font-style: italic;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------- ÉCLAIRAGE LinkedIn ---------- */
#section_eclairage { background: var(--grey-bg); }
.linkedin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
}
.linkedin-embed-placeholder {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.li-post-header {
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--grey-line);
  position: relative;
}
.li-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
}
.li-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 8px; background: var(--white); }
.li-meta .name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.li-meta .date { font-size: 0.75rem; color: var(--grey-text); }
.li-icon {
  position: absolute;
  top: 1rem; right: 1.2rem;
  color: #0a66c2;
}
.li-body {
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.5;
}
.li-image {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  letter-spacing: 0.04em;
}
.li-footer {
  padding: 0.8rem 1.2rem;
  display: flex;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--grey-text);
  border-top: 1px solid var(--grey-line);
}
.li-footer span { display: inline-flex; align-items: center; gap: 0.3rem; }
.linkedin-embed-card-title {
  display: block;
  margin-top: 1rem;
  padding: 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
@media (min-width: 768px) { .linkedin-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- LINKEDIN POST CARDS ---------- */
.li-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 32, 119, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.li-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 32, 119, 0.16);
  border-color: var(--teal);
}
.li-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem 0.6rem;
}
.li-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.li-card-avatar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.li-card-meta { flex: 1; min-width: 0; }
.li-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.2;
}
.li-card-sub {
  font-size: 0.78rem;
  color: var(--grey-text);
  margin-top: 0.15rem;
}
.li-card-logo { flex-shrink: 0; }
.li-card-body {
  padding: 0 1.2rem 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2c2c2c;
}
.li-card-body strong { color: var(--navy); font-weight: 700; text-decoration: none; }
.li-card a, .li-card strong, .li-card span { text-decoration: none; }
.li-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a2563;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.li-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.li-card-image.li-card-image-doc {
  aspect-ratio: 1.91 / 1;
  background: #f5f5f5;
}
.li-card-image.li-card-image-doc img {
  object-fit: contain;
  background: #f5f5f5;
}
.li-card-doc-badge {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  width: 100%;
  text-align: left;
}
.li-card-title {
  padding: 1rem 1.2rem 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.li-card-footer {
  padding: 0.8rem 1.2rem 1.1rem;
  border-top: 1px solid var(--grey-line);
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.li-reactions { display: inline-flex; align-items: center; gap: 0.3rem; }
.li-reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.78rem;
  border: 1.5px solid #fff;
  margin-left: -6px;
}
.li-reaction:first-child { margin-left: 0; }
.li-reaction-like { background: #cce4ff; }
.li-reaction-celebrate { background: #ffe2b8; }
.li-reaction-bulb { background: #fff4c8; }
.li-reaction-love { background: #ffd0d0; }
.li-reaction-count {
  margin-left: 0.5rem;
  font-size: 0.82rem;
  color: var(--grey-text);
}
.li-card-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.li-card:hover .li-card-cta {
  color: var(--navy);
}

.linkedin-cta {
  text-align: center;
}
.btn-linkedin {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  max-width: 100%;
}
.btn-linkedin:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-linkedin svg { fill: currentColor; }
.linkedin-cta .meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--grey-text);
}

/* ---------- CLIENTS ---------- */
.clients { background: var(--white); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  place-items: center;
  min-height: 90px;
  transition: all 0.25s;
}
.client-logo:hover { border-color: var(--teal); }
.client-logo img {
  max-height: 50px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  /* Logos sources fournis en blanc transparent — on les inverse pour fond clair */
  filter: invert(1) brightness(0.45);
  opacity: 0.78;
  transition: all 0.25s;
}
.client-logo:hover img { opacity: 1; filter: invert(1) brightness(0.25); }
.client-logo.text-only {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-align: center;
}
@media (min-width: 600px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .clients-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .clients-grid { grid-template-columns: repeat(7, 1fr); } }

/* ---------- CONTACT ---------- */
.contact { background: var(--grey-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.contact-info { background: var(--white); padding: 2rem; border-radius: var(--radius-lg); }
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info ul { display: flex; flex-direction: column; gap: 1rem; }
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--grey-text);
}
.contact-info li strong { color: var(--navy); }
.contact-info .icon {
  width: 36px; height: 36px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-form { background: var(--white); padding: 2rem; border-radius: var(--radius-lg); }
.contact-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.two { grid-template-columns: 1fr 1fr; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--teal); }
.contact-form textarea { resize: vertical; min-height: 120px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 48px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-links h5 {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.social-links { display: flex; gap: 0.8rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: var(--white);
  transition: all 0.2s;
}
.social-links a:hover { background: var(--teal); transform: translateY(-2px); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--teal); }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 21, 80, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s;
}
.modal.open { display: flex; opacity: 1; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.25s;
}
.modal.open .modal-content { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grey-bg);
  display: grid; place-items: center;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--navy); color: var(--white); }
.modal h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-right: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.modal ul { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.modal li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}
.modal li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
}
.modal .modal-disclaimer {
  font-size: 0.85rem;
  color: var(--grey-text);
  font-style: italic;
  border-top: 1px solid var(--grey-line);
  padding-top: 1rem;
}
.modal-simple p { color: var(--navy); font-size: 1rem; margin-bottom: 1.5rem; }

/* ============================================================
   J) RÉSULTATS MESURABLES
   ============================================================ */
.sherpai-results {
  margin: 4rem 0 3rem;
  background: linear-gradient(180deg, #EAF3FA 0%, #F4F9FC 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.sherpai-results .section-head { text-align: center; margin-bottom: 2.5rem; }
.sherpai-results .section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.sherpai-results .section-title { color: var(--navy); margin-bottom: 0.6rem; }
.sherpai-results .section-subtitle { color: var(--grey-text); max-width: 760px; margin: 0 auto; }

.results-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Colonne KPIs */
.results-kpis {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.results-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.headline-pill {
  background: #fff;
  border-radius: 14px;
  padding: 0.7rem 1.1rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15,37,64,0.08);
  min-width: 110px;
}
.headline-pill .period {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.headline-pill .value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
}
.headline-pill-juin .period { color: #A33474; }
.headline-pill-juin .value { color: #A33474; }
.headline-pill-aout .period { color: var(--teal); }
.headline-pill-aout .value { color: var(--teal); }
.headline-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kpi-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1rem;
  box-shadow: 0 6px 22px rgba(15,37,64,0.08);
  border: 1px solid rgba(0,32,119,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kpi-row h5 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.kpi-row ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.kpi-row li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 600;
}
.kpi-row .kpi-label { color: var(--grey-text); font-weight: 600; }
.kpi-row .kpi-juin { color: #A33474; font-weight: 700; }
.kpi-row .kpi-aout { color: var(--teal); font-weight: 800; font-size: 1.02rem; }

.kpi-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.88rem;
}
.kpi-meta > div {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,32,119,0.08);
}
.kpi-meta dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.kpi-meta dd {
  margin: 0;
  color: var(--grey-text);
  line-height: 1.45;
}
.kpi-meta strong { color: var(--navy); font-weight: 700; }

/* Graphique */
.results-chart {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1rem 1rem;
  box-shadow: 0 6px 22px rgba(15,37,64,0.08);
  border: 1px solid rgba(0,32,119,0.06);
}
.results-chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.legend-item .dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px dashed currentColor;
}
.legend-juin { color: var(--teal); }
.legend-aout { color: #0F2540; }
.legend-juin .dot { background: #7FE2C8; border-color: var(--teal); }
.legend-aout .dot { background: #fff; border-color: #0F2540; }

.results-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--grey-text);
  margin: 2rem 0 0;
  font-style: italic;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 900px) {
  .sherpai-results { padding: 2rem 1.2rem 1.6rem; }
  .results-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .results-chart { padding: 1rem 0.4rem 0.6rem; }
}

/* ============================================================
   FORMULAIRE DE CONTACT — Consentement RGPD + statut
   ============================================================ */
.form-consent {
  margin-top: 0.4rem;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: #5a6478;
  line-height: 1.5;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--navy, #002077);
  cursor: pointer;
}
.consent-label a {
  color: var(--navy, #002077);
  text-decoration: underline;
}
.form-status {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.5;
  min-height: 1.2em;
}
.form-status.success {
  color: #006b50;
  font-weight: 600;
}
.form-status.error {
  color: #b32424;
  font-weight: 600;
}

/* État de chargement des articles LinkedIn */
.linkedin-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #5a6478;
  font-size: 0.95rem;
  font-style: italic;
}

/* ============================================================
   PAGE ARTICLES — Hero, recherche, état vide
   ============================================================ */

.linkedin-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.articles-hero {
  padding: 110px 0 40px;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}
.articles-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy, #002077);
  margin: 0.4rem 0 0.8rem;
  line-height: 1.15;
}
.articles-lead {
  font-size: 1.05rem;
  color: #5a6478;
  max-width: 720px;
  line-height: 1.55;
  margin: 0;
}
.articles-breadcrumb {
  font-size: 0.85rem;
  color: #6a7488;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.6rem;
}
.articles-breadcrumb a {
  color: var(--navy, #002077);
  text-decoration: none;
  font-weight: 600;
}
.articles-breadcrumb a:hover { text-decoration: underline; }
.articles-breadcrumb span[aria-hidden] { color: #b0b7c4; }

.articles-section {
  padding: 24px 0 80px;
  background: #ffffff;
}

.articles-search-bar {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.articles-search-input-wrap {
  position: relative;
  max-width: 560px;
}
.articles-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a93a6;
  pointer-events: none;
}
.articles-search-input {
  width: 100%;
  padding: 14px 44px 14px 46px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  border: 1.5px solid #e2e6ee;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
  color: #1a2238;
}
.articles-search-input::placeholder { color: #9aa3b5; }
.articles-search-input:focus {
  border-color: var(--teal, #00AB91);
  box-shadow: 0 0 0 3px rgba(0, 171, 145, 0.18);
}
.articles-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #eef0f4;
  color: #5a6478;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}
.articles-search-clear:hover { background: #e2e6ee; }

.articles-search-meta {
  font-size: 0.85rem;
  color: #6a7488;
  min-height: 1.2em;
}

/* Mise en évidence des résultats de recherche */
mark.search-highlight {
  background: #fff3a6;
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

/* État aucun résultat */
.articles-empty {
  padding: 60px 20px;
  text-align: center;
  color: #5a6478;
}
.articles-empty h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--navy, #002077);
  margin: 0 0 0.6rem;
}
.articles-empty p { margin: 0; }

.link-button {
  background: none;
  border: none;
  color: var(--navy, #002077);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}
.link-button:hover { color: var(--teal, #00AB91); }

/* Grille articles : un peu plus aérée sur la page dédiée */
.articles-grid {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 700px) {
  .articles-hero { padding: 90px 0 24px; }
  .articles-hero h1 { font-size: 1.7rem; }
  .articles-lead { font-size: 0.95rem; }
  .articles-search-input { font-size: 16px; /* évite le zoom iOS */ }
  .linkedin-cta-buttons { flex-direction: column; }
}
