/* ERHA x 42merge
   Univers ERHA (navy + violet) greffe sur la grille et la typographie 42merge.
   Charge apres 42-merge.webflow.shared.css. */

:root {
  --erha-ink: #1d1f4c;
  --erha-ink-deep: #12142f;
  --erha-accent: #6d42f4;
  --erha-accent-soft: #b18def;
  --erha-paper: #edeff7;
  --erha-line: #ffffff1f;
  --erha-line-strong: #ffffff33;
  --erha-dim: #c9cbe8;
}

/* ------------------------------------------------------------------ nav */

.erha-nav-link {
  --glow: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(109, 66, 244, calc(0.18 + var(--glow) * 0.5));
  background: linear-gradient(
    180deg,
    rgba(109, 66, 244, calc(0.05 + var(--glow) * 0.07)),
    rgba(109, 66, 244, calc(0.02 + var(--glow) * 0.05))
  );
  box-shadow: 0 calc(6px + var(--glow) * 4px) calc(20px + var(--glow) * 16px)
    calc(-8px + var(--glow) * -2px) rgba(109, 66, 244, calc(0.35 + var(--glow) * 0.4));
  color: #0f0f12;
  font-family: var(--font-grotesk);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(calc(var(--glow) * -1px));
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease, background 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: erha-nav-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.erha-nav-link:hover,
.erha-nav-link:focus-visible {
  --glow: 1;
}

/* Halo violet diffus, en fondu permanent puis intensifie au survol. */
.erha-nav-link::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  background: radial-gradient(
    58% 120% at 50% 55%,
    rgba(109, 66, 244, 0.38),
    transparent 72%
  );
  opacity: calc(0.32 + var(--glow) * 0.68);
  filter: blur(9px);
  pointer-events: none;
  z-index: -1;
  animation: erha-breathe 4.6s ease-in-out infinite;
  transition: opacity 0.35s ease;
}

.erha-nav-mark {
  width: 17px;
  height: 17px;
  flex: none;
  opacity: calc(0.82 + var(--glow) * 0.18);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.erha-nav-link:hover .erha-nav-mark {
  transform: rotate(-8deg) scale(1.06);
}

.erha-nav-word {
  letter-spacing: 0.02em;
}

/* Le « IA » decale : petite puce degradee posee en exposant sur le mot. */
.erha-nav-ai {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  padding: 2px 4px 2.5px;
  border-radius: 5px;
  background: linear-gradient(130deg, var(--erha-accent), var(--erha-accent-soft));
  color: #fff;
  font-family: var(--font-grotesk);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  transform: translateY(calc(-5px - var(--glow) * 1px));
  box-shadow: 0 2px 8px -2px rgba(109, 66, 244, 0.8);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes erha-nav-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes erha-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.09);
  }
}

/* Variante pour le menu burger : pleine largeur, aligne comme les autres liens. */
.erha-nav-link.erha-nav-link-drop {
  display: flex;
  justify-content: flex-start;
  margin: 6px 0;
  animation: none;
}

/* Variante sur fond sombre (page /erha). */
.erha-dark .erha-nav-link {
  color: #fff;
  border-color: rgba(177, 141, 239, calc(0.34 + var(--glow) * 0.46));
  background: linear-gradient(
    180deg,
    rgba(177, 141, 239, calc(0.14 + var(--glow) * 0.1)),
    rgba(109, 66, 244, calc(0.06 + var(--glow) * 0.08))
  );
}

.erha-dark .erha-nav-ai {
  box-shadow: 0 2px 10px -2px rgba(177, 141, 239, 0.9);
}

/* ------------------------------------------------------- bande home ERHA */

/* Panneau navy encastre dans la page blanche : pas de degrade de fond, la
   rupture de couleur passe par une forme assumee plutot que par un fondu. */
.erha-section-wrap {
  padding: 40px 20px;
}

.erha-band {
  position: relative;
  isolation: isolate;
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 60px 76px;
  border-radius: 36px;
  background: var(--erha-ink);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(29, 31, 76, 0.85);
}

/* Lueur violette + trame de pixels, signature ERHA. */
.erha-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 62% at 12% 0%, rgba(109, 66, 244, 0.55), transparent 66%),
    radial-gradient(44% 50% at 92% 96%, rgba(177, 141, 239, 0.26), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='11.7' y='11.7' width='2.6' height='2.6' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Texte a gauche, capture du produit a droite. */
.erha-band-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
}

.erha-band .eyebrow {
  color: #ffffffa8;
}

.erha-band .eyebrow-bar {
  background-color: #ffffff59;
}

.erha-band .section-title {
  color: #fff;
}

.erha-head {
  min-width: 0;
}

.erha-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 18px;
}

.erha-logo {
  width: 172px;
  height: auto;
}

.erha-tag {
  padding: 5px 11px;
  border: 1px solid var(--erha-line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--erha-accent-soft);
}

.erha-lead {
  max-width: 52ch;
  margin: 0;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 17px;
  line-height: 1.62;
}

.erha-lead strong {
  color: #fff;
  font-weight: 500;
}

.erha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  padding-top: 52px;
  border-top: 1px solid #ffffff1a;
}

.erha-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  border: 1px solid var(--erha-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff10, #ffffff06);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease, background 0.3s ease;
}

/* Filet degrade sur l'arete haute, revele au survol. */
.erha-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--erha-accent-soft), transparent);
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.erha-card:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 141, 239, 0.4);
  background: linear-gradient(180deg, #ffffff16, #6d42f412);
}

.erha-card:hover::before {
  opacity: 1;
}

.erha-card-kicker {
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff8a;
}

.erha-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-grotesk);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #fff;
}

.erha-card p {
  margin: 0 0 24px;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 15px;
  line-height: 1.62;
}

/* Repere visuel discret en bas de carte, a la place d'une liste a puces. */
.erha-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ffffff14;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--erha-accent-soft);
}

.erha-card-foot svg {
  width: 13px;
  height: 13px;
}

.erha-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.erha-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 11px;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 14.5px;
  line-height: 1.55;
}

.erha-list li:last-child {
  margin-bottom: 0;
}

.erha-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--erha-accent), var(--erha-accent-soft));
}

.erha-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
}

.erha-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--erha-accent), #8a63f7);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 12px 30px -12px rgba(109, 66, 244, 0.9);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.erha-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(109, 66, 244, 1);
}

.erha-btn .btn-arrow-ico {
  width: 15px;
  height: 15px;
}

.erha-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid var(--erha-line-strong);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-inter);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.erha-btn-ghost:hover {
  border-color: rgba(177, 141, 239, 0.6);
  background: #ffffff0f;
}

.erha-note {
  margin: 18px 0 0;
  color: #ffffff85;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------- page /erha */

.erha-page {
  background: var(--erha-ink-deep);
  color: #fff;
}

.erha-page .nav-wrapper {
  background: transparent;
}

/* La nav est sticky mais occupe sa place dans le flux : sans ce rattrapage,
   le fond de page apparait en bandeau au-dessus du hero. */
.erha-page {
  --nav-h: 66px;
}

.erha-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--nav-h));
  padding: calc(190px + var(--nav-h)) 60px 110px;
  overflow: hidden;
}

.erha-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(58% 46% at 22% 0%, rgba(109, 66, 244, 0.58), transparent 66%),
    radial-gradient(46% 42% at 92% 30%, rgba(177, 141, 239, 0.28), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='11.7' y='11.7' width='2.6' height='2.6' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Faisceau qui balaie le hero, lentement. */
.erha-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 180%;
  z-index: -2;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(177, 141, 239, 0.14),
    transparent
  );
  transform: rotate(8deg);
  animation: erha-sweep 13s ease-in-out infinite;
  pointer-events: none;
}

@keyframes erha-sweep {
  0%,
  100% {
    transform: translateX(0) rotate(8deg);
    opacity: 0.5;
  }
  50% {
    transform: translateX(120%) rotate(8deg);
    opacity: 1;
  }
}

.erha-hero-logo {
  width: 236px;
  height: auto;
  margin-bottom: 30px;
}

.erha-hero-title {
  max-width: 15ch;
  margin: 0 0 26px;
  font-family: var(--font-grotesk);
  font-size: clamp(42px, 6.4vw, 82px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: #fff;
}

.erha-gradient {
  background: linear-gradient(104deg, var(--erha-accent-soft), #d9c8ff 60%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.erha-hero-lead {
  max-width: 620px;
  margin: 0 0 36px;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 18px;
  line-height: 1.62;
}

.erha-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
}

.erha-chip {
  padding: 8px 14px;
  border: 1px solid var(--erha-line);
  border-radius: 999px;
  background: #ffffff0a;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffffbf;
}

.erha-section {
  position: relative;
  padding: 96px 60px;
  border-top: 1px solid #ffffff14;
}

.erha-section .eyebrow {
  color: #ffffffa8;
}

.erha-section .eyebrow-bar {
  background-color: #ffffff59;
}

.erha-section-title {
  max-width: 20ch;
  margin: 14px 0 0;
  font-family: var(--font-grotesk);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
}

.erha-section-lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 16.5px;
  line-height: 1.62;
}

.erha-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.erha-panel {
  padding: 32px 30px 34px;
  border: 1px solid var(--erha-line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff10, #ffffff06);
}

.erha-panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-grotesk);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
}

.erha-panel p {
  margin: 0 0 22px;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 15px;
  line-height: 1.6;
}

/* Etapes numerotees, ligne de conduite verticale. */
.erha-steps {
  counter-reset: erha-step;
  margin-top: 52px;
  border-top: 1px solid #ffffff14;
}

.erha-step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #ffffff14;
}

.erha-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--erha-accent-soft);
  padding-top: 4px;
}

.erha-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-grotesk);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}

.erha-step p {
  margin: 0;
  max-width: 62ch;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 15px;
  line-height: 1.6;
}

.erha-guards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.erha-guard {
  padding: 24px 24px 26px;
  border: 1px solid var(--erha-line);
  border-radius: 18px;
  background: #ffffff08;
}

.erha-guard h3 {
  margin: 12px 0 8px;
  font-family: var(--font-grotesk);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}

.erha-guard p {
  margin: 0;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 14.5px;
  line-height: 1.58;
}

.erha-guard-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(109, 66, 244, 0.9), rgba(177, 141, 239, 0.7));
}

.erha-guard-ico svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
}

/* Connecteurs disponibles. */
.erha-connectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.erha-connector {
  padding: 9px 15px;
  border: 1px solid var(--erha-line);
  border-radius: 12px;
  background: #ffffff0a;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #ffffffcc;
}

.erha-cta {
  position: relative;
  isolation: isolate;
  margin: 0 20px 20px;
  padding: 92px 60px 96px;
  border-radius: 32px;
  overflow: hidden;
  text-align: center;
}

.erha-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(109, 66, 244, 0.65), transparent 70%),
    linear-gradient(180deg, #221f56, #16183a);
  pointer-events: none;
}

.erha-cta .erha-actions {
  justify-content: center;
}

.erha-cta-title {
  max-width: 18ch;
  margin: 0 auto 18px;
  font-family: var(--font-grotesk);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
}

.erha-cta-lead {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 16.5px;
  line-height: 1.6;
}

/* Pied de page sombre, aligne sur l'univers ERHA. */
.erha-page .footer-1 {
  background-color: var(--erha-ink-deep);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 991px) {
  .erha-band,
  .erha-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .erha-hero {
    padding: calc(120px + var(--nav-h)) 32px 84px;
  }
  .erha-cta {
    padding: 72px 32px 76px;
  }
  .erha-grid,
  .erha-split,
  .erha-guards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .erha-band {
    padding-top: 96px;
    padding-bottom: 92px;
  }
  .erha-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .erha-hero-logo {
    width: 180px;
  }
  .erha-logo {
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .erha-nav-link,
  .erha-nav-link::before,
  .erha-hero::before {
    animation: none;
  }
  .erha-card,
  .erha-btn,
  .erha-nav-link {
    transition: none;
  }
}

/* ------------------------------------- navigation sur la page /erha (sombre) */

.erha-dark .navbar {
  background-color: rgba(29, 31, 76, 0.66);
  border-color: #ffffff26;
}

.erha-dark .nav-link-1 {
  color: #ffffffb3;
}

.erha-dark .nav-link-1:hover,
.erha-dark .nav-link-active {
  color: #fff;
}

.erha-dark .logo-section-1-2 {
  color: #ffffff8f;
  border-color: #ffffff2e;
}

.erha-dark .nav-email-btn {
  color: #fff;
  border-color: #ffffff2e;
}

.erha-dark .nav-burger {
  background-color: #ffffff1f;
  border-color: #ffffff33;
}

.erha-dark .nav-burger-bar {
  background-color: #fff;
}

.erha-dark .nav-dropdown-list {
  background-color: var(--erha-ink);
  border-color: #ffffff29;
}

.erha-dark .nav-dropdown-link {
  color: #ffffffcc;
}

/* La puce chevauche legerement le mot : la gouttiere du flex est annulee ici. */
.erha-nav-word + .erha-nav-ai {
  margin-left: -4px;
}

/* ------------------------------------------------- captures de l'interface */

/* Fenetre stylisee autour des captures de console.erha.ai : la barre et le
   domaine ancrent l'image comme un vrai produit, pas comme une illustration. */
.erha-shot {
  position: relative;
  margin: 0;
  border: 1px solid #ffffff26;
  border-radius: 16px;
  background: #0f1130;
  overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(109, 66, 244, 0.16);
}

.erha-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid #ffffff17;
  background: #ffffff0a;
}

.erha-shot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff2e;
}

.erha-shot-host {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #ffffff70;
  font-style: normal;
}

.erha-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Recadrage optionnel : on garde le haut de la capture, la ou l'ecran est rempli. */
.erha-shot[style*="--shot-ratio"] img {
  aspect-ratio: var(--shot-ratio);
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.erha-shot-caption {
  margin: 12px 2px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff85;
}

/* Dans la bande de la home, la capture deborde legerement vers la droite pour
   donner de la profondeur sans casser le panneau. */
.erha-band-shot {
  margin-right: -110px;
}

/* Capture principale du hero /erha. */
.erha-hero-shot {
  position: relative;
  margin-top: 66px;
}

.erha-hero-shot::before {
  content: "";
  position: absolute;
  inset: -8% -4% -14%;
  z-index: -1;
  background: radial-gradient(52% 46% at 50% 40%, rgba(109, 66, 244, 0.5), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

/* ------------------------------------------- cas d'usage /erha, en lignes */

.erha-usecases {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 52px;
}

.erha-usecase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
  padding: 34px 34px 34px 4px;
  border-top: 1px solid #ffffff14;
}

.erha-usecase:first-child {
  border-top: 0;
}

/* Une ligne sur deux inverse texte et capture, pour casser la colonne. */
.erha-usecase:nth-child(even) .erha-usecase-media {
  order: -1;
}

.erha-module-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--erha-accent-soft);
}

.erha-usecase h3 {
  margin: 12px 0 10px;
  font-family: var(--font-grotesk);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.16;
  color: #fff;
}

.erha-usecase p {
  margin: 0 0 22px;
  max-width: 44ch;
  color: var(--erha-dim);
  font-family: var(--font-inter);
  font-size: 15px;
  line-height: 1.6;
}

.erha-usecase-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.erha-usecase .erha-shot {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.erha-usecase:hover .erha-shot {
  transform: translateY(-4px);
  border-color: rgba(177, 141, 239, 0.42);
}

@media (max-width: 991px) {
  .erha-band {
    padding: 56px 28px 60px;
    border-radius: 28px;
  }
  .erha-section-wrap {
    padding: 24px 12px;
  }
  .erha-band-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .erha-band-shot {
    margin-right: 0;
  }
  .erha-usecase {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 0;
  }
  .erha-usecase:nth-child(even) .erha-usecase-media {
    order: 0;
  }
  .erha-hero-shot {
    margin-top: 48px;
  }
}

/* ================================================================
   Correctifs du theme Webflow
   Cette feuille est chargee apres 42-merge.webflow.shared.css :
   c'est ici que vivent les rattrapages qui ne peuvent plus se faire
   dans le Designer.
   ================================================================ */

/* Les elements de grille ont un min-width: auto implicite : un contenu
   large (ici le suffixe des chiffres cles, en Space Grotesk 64px) force
   la piste a depasser la largeur de l'ecran. */
.kpi-grid-1 > *,
.exp-grid-1 > *,
.proj-row > *,
.team-grid-1 > * {
  min-width: 0;
}

.kpi-num {
  flex-wrap: wrap;
  align-items: baseline;
}

/* Le suffixe etait rendu a la meme taille que le chiffre : « 3 villes » criait
   plus fort que le 3. Il redevient une unite, alignee sur la ligne de base. */
.kpi-suffix-1 {
  font-size: 0.4em;
  letter-spacing: -0.02em;
}

/* Filet de securite : aucune page ne doit defiler horizontalement. */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

img,
svg,
video {
  max-width: 100%;
}

/* Le theme Webflow ne definit aucun style de focus : la navigation au clavier
   est invisible. Anneau uniquement sur :focus-visible, donc rien ne change
   pour la souris. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--erha-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.erha-dark a:focus-visible,
.erha-dark button:focus-visible {
  outline-color: var(--erha-accent-soft);
}

::selection {
  background-color: var(--violet, #5b21e0);
  color: #fff;
}

/* Les images du site n'ont pas de dimensions intrinseques declarees : on evite
   au moins que leur chargement ne fasse sauter la mise en page horizontalement. */
img {
  height: auto;
}

/* --------------------------------------------- pieds de carte du bloc home */

.erha-card-foot {
  flex-wrap: wrap;
}

/* Capacites annoncees en toutes lettres. */
.erha-pill {
  padding: 5px 10px;
  border: 1px solid var(--erha-line);
  border-radius: 8px;
  background: #ffffff0a;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffffb3;
}

/* Marques des outils connectes : monochromes pour ne pas mettre cinq couleurs
   de marque en concurrence sur le navy. */
.erha-card-brands {
  display: flex;
  align-items: center;
  gap: 14px;
}

.erha-brand {
  position: relative;
  display: inline-flex;
  color: #fff;
  opacity: 0.62;
  transition: opacity 0.3s ease;
}

.erha-brand:hover {
  opacity: 1;
}

/* Infobulle du nom de l'outil. Le libelle est du texte reel dans le document,
   pas un attribut : il reste lisible par les lecteurs d'ecran et les moteurs. */
.erha-brand-name {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  padding: 5px 9px;
  border: 1px solid var(--erha-line-strong);
  border-radius: 7px;
  background: var(--erha-ink-deep);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: none;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.erha-brand:hover .erha-brand-name {
  opacity: 1;
  transform: translate(-50%, 0);
}

.erha-card:hover .erha-brand {
  opacity: 0.95;
}

.erha-brand svg {
  width: 18px;
  height: 18px;
}

/* Signature du bloc : le logo remplace le mot. */
.erha-note {
  display: flex;
  align-items: center;
  gap: 7px;
}

.erha-note-logo {
  height: 16px;
  width: auto;
  opacity: 0.9;
}

/* Le titre du bloc ERHA n'a plus d'eyebrow : le logo tient ce role. */
.erha-band .erha-logo {
  display: block;
  margin-bottom: 22px;
}

/* Icone de gauche des boutons (calendrier). Taille propre et centrage optique :
   le trace est deja centre dans son viewBox, il ne reste qu'a l'aligner sur la
   hauteur de x du libelle. */
.erha-btn-ico {
  width: 16px;
  height: 16px;
  flex: none;
  transform: translateY(-0.5px);
}

/* CTA de la barre de navigation, sur la page /erha. Reprend la geometrie du
   bouton devis du site pour ne pas bousculer la nav, en violet ERHA. */
.erha-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--erha-accent), #8a63f7);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 26px -12px rgba(109, 66, 244, 0.95);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.erha-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -12px rgba(109, 66, 244, 1);
}

/* Dans le menu burger, il occupe toute la largeur comme les autres entrees. */
.nav-dropdown-list .erha-nav-cta {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* ================================================================
   Visuels des pages projet
   La section « Visuels » etait alimentee par une liste CMS jamais
   remplie : les six pages affichaient « No items found ». Les vrais
   ecrans produit prennent sa place.
   ================================================================ */

.proj-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

/* Une capture large occupe toute la rangee : c'est la vue d'ensemble. */
.proj-shot-wide {
  grid-column: 1 / -1;
}

/* Fenetre claire, accordee au reste du site, autour d'une capture d'ecran. */
.proj-shot {
  margin: 0;
  border: 1px solid var(--ink-12, #0f0f121f);
  border-radius: 16px;
  background: var(--brume, #f4f4f6);
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(15, 15, 18, 0.55);
}

.proj-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-08, #0f0f1214);
  background: #fff;
}

.proj-shot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-12, #0f0f121f);
}

.proj-shot-host {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-40, #0f0f1266);
  font-style: normal;
}

.proj-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.proj-shot-caption {
  margin: 12px 2px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-40, #0f0f1266);
}

/* Maquettes detourees : pas de fenetre, un fond doux qui les porte. */
.proj-mockups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.proj-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(170deg, var(--brume, #f4f4f6), var(--brume-2, #eaeaee));
}

.proj-mockup img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .proj-shots,
  .proj-mockups {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------ cartes projet de la home (section 02) */

/* Les visuels sont les appareils des mockups d'origine, detoures de leur degrade
   et reposes sur le fond des cartes : un seul fond pour les quatre, et
   l'interface reelle de chaque produit en evidence. Le cadre leur impose en plus
   un ratio commun — sans lui, rendus a meme la carte sur une hauteur dictee par
   le texte, ils etaient recadres au hasard et les telephones sortaient du cadre. */

.home-proj-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column-gap: 24px;
  grid-row-gap: 28px;
}

.home-proj-card {
  grid-row-gap: 16px;
  min-height: 0;
  padding: 18px 18px 26px;
}

/* Le survol mettait toute la carte a l'echelle, texte compris : les lettres
   vibraient. Seule l'image bouge desormais. */
.home-proj-card:hover {
  transform: none;
}

.home-proj-figure {
  order: -1; /* le visuel ouvre la carte, les etiquettes passent dessous */
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background-color: #ffffff0a;
  box-shadow: inset 0 0 0 1px #ffffff14;
}

.home-proj-figure .home-proj-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  background-color: #0000;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.home-proj-card:hover .home-proj-visual {
  transform: scale(1.04);
}

/* La ligne d'etiquettes passe sous le visuel : elle se lit comme une legende. */
.home-proj-meta {
  grid-column-gap: 10px;
  padding: 0 4px;
}

/* Le separateur entre le secteur et l'annee est un element a part entiere dans
   l'export Webflow. Sur mobile la ligne passe a deux lignes et le point se
   retrouve seul au-dessus de l'annee. On le redonne a l'annee, qui ne peut
   plus s'en separer. */
.home-proj-meta p.home-proj-sub {
  display: none;
}

.home-proj-meta > .home-proj-sub:last-child::before {
  content: "· ";
  opacity: .6;
}

.home-proj-foot {
  margin-top: 0;
  padding: 0 4px;
}

.home-proj-desc {
  margin-top: 4px;
}

@media screen and (max-width: 767px) {
  .home-proj-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Le chapo de la section equipe etait rendu plus serre que les autres intros de
   section du site : meme corps, mais interligne 1.4 contre 1.6 ailleurs. */
.team-head .paragraph {
  max-width: 56ch;
  line-height: 1.6;
}

/* ------------------------------------------------- bande fixe du hero */

/* Le bandeau defilait en boucle les verbes deja presents dans le chapo juste
   au-dessus. Il ne reste que ses deux informations propres, posees de part et
   d'autre de la ligne, dans la typo des eyebrows du site. */
.hero-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 48px;
  margin-top: 64px;
  padding: 18px 0;
  border-top: 1px solid #0f0f121f;
  border-bottom: 1px solid #0f0f121f;
  color: #0f0f1299;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ------------------------------------------------ video d'une page projet */

/* L'iframe YouTube n'est pas posee au chargement : elle deposerait ses cookies
   sur un site qui n'en a aucun, et obligerait a porter un bandeau de consentement.
   On affiche la miniature, hebergee ici, et le clic cree l'iframe. */
.proj-video {
  position: relative;
  margin: 28px 0 0;
}

.proj-video-btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid #0f0f1214;
  border-radius: 20px;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.proj-video-btn img,
.proj-video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 20px;
  object-fit: cover;
}

.proj-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background-color: #ff6b2e;
  color: #fff;
  box-shadow: 0 14px 34px #0f0f1240;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}

.proj-video-btn:hover .proj-video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.proj-video-play svg {
  width: 32px;
  height: 32px;
  margin-left: 3px;
}

/* ------------------------------------------- sites livres, sous le hero */

/* Le hero n'avait que du texte sur un grand blanc. Trois sites livres, pris
   tels qu'ils sont en ligne, disent le metier avant le premier titre. */
.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: end;
  gap: 18px;
  margin-top: 40px;
}

.hero-showcase-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #0f0f1299;
  text-decoration: none;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.hero-showcase-tile:hover {
  transform: translateY(-4px);
}

.hero-showcase-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px #0f0f1259;
}

.hero-showcase-tile:not(:nth-child(2)) .hero-showcase-img {
  opacity: .9;
}

.hero-showcase-caption {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .hero-showcase {
    grid-template-columns: 1fr;
  }
  .hero-showcase-tile:not(:nth-child(2)) {
    display: none;
  }
}

/* ------------------------------------------- expertises, numerotees */

/* Les quatre cartes portaient chacune une tuile noire et une icone de trait.
   Le numero, dans la typo des eyebrows, suffit a les distinguer. */
.exp-grid-1 {
  counter-reset: expertise;
}

.exp-illu-1 {
  display: none;
}

.exp-card-1::before {
  counter-increment: expertise;
  content: "0" counter(expertise);
  display: block;
  margin-bottom: 12px;
  color: #ff6b2e;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
}

/* -------------------------------------- integration de l'IA, sur la home */

.ia-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 48px;
}

.ia-head .section-title-1 {
  margin: 0;
}

.ia-head-side p {
  margin: 0;
  color: #55555c;
  font-size: 17px;
  line-height: 1.6;
}

.ia-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.ia-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f0f12;
  font-weight: 600;
  text-decoration: none;
}

.ia-link svg {
  width: 14px;
  height: 14px;
}

.ia-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.ia-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 28px;
  border: 1px solid #0f0f1214;
  border-radius: 24px;
  background: #fff;
}

.ia-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 264px;
  padding: 22px;
  border-radius: 16px;
  background: #f5f4f2;
}

.ia-card-title {
  margin: 26px 18px 0;
  color: #0f0f12;
  font-family: var(--font-grotesk, "Space Grotesk"), system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.ia-card-text {
  margin: 10px 18px 0;
  color: #55555c;
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .ia-visual {
    height: auto;
  }
}

@media (max-width: 479px) {
  .ia-card {
    padding: 8px 8px 22px;
  }
  .ia-visual {
    padding: 14px;
  }
  .ia-card-title,
  .ia-card-text {
    margin-left: 12px;
    margin-right: 12px;
  }
  .ia-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ia-cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-top: 40px;
  }
}

.erha-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.erha-home-link .erha-btn-ico,
.primary-btn-arrow .erha-btn-ico {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------ livrables regroupes */

/* Deux ou trois badges ne disaient pas ce qui avait ete livre. Les livrables
   sont regroupes par metier : design, applications, API, run. */
.livr-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.livr-group {
  padding: 22px 22px 18px;
  border: 1px solid #0f0f121a;
  border-radius: 18px;
  background-color: #fff;
}

.livr-group-title {
  margin: 0 0 12px;
  font-family: var(--font-grotesk, "Space Grotesk"), system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.livr-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.livr-group li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-top: 1px solid #0f0f1212;
  color: #0f0f12bf;
  font-size: 14.5px;
  line-height: 1.45;
}

.livr-group li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #ff6b2e;
  border-left: 2px solid #ff6b2e;
  transform: rotate(-45deg);
}

/* ------------------------------------------- en-tete des pages projet */

/* Le fil d'Ariane repetait le menu en petit et se lisait mal : retire. La
   categorie devient une etiquette pleine, lisible, sans pastille. Le site du
   client se lit comme un lien du site, pas comme un lien HTML par defaut. */
.proj-crumbs {
  display: none;
}

.proj-header-top {
  justify-content: flex-start;
}

.cat-pill {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background-color: #0f0f12;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.cat-pill-dot {
  display: none;
}

.proj-meta-v a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #ff6b2e;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.proj-meta-v a:hover {
  color: #ff6b2e;
}

/* ------------------------------------------------ titres de section */

/* « — 01 · Nos expertises » au-dessus de chaque titre : un filet, un numero
   et un libelle qui redisent le titre. Les titres se suffisent. */
.eyebrow {
  display: none;
}

.ph-eyebrow {
  display: none;
}

/* Les demandes passent par le chat : le bouton qui affichait l'adresse email
   ouvrirait le chat sous une etiquette d'email. Il disparait, « Demander un
   devis » suffit. */
.ghost-btn-1-2-3[data-erha-chat],
.nav-email-btn[data-erha-chat] {
  display: none;
}

/* ---------------------------------------- ecrans d'application mobile */

.proj-phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.proj-phone {
  margin: 0;
}

.proj-phone-frame {
  overflow: hidden;
  padding: 8px;
  border-radius: 34px;
  background-color: #0f0f12;
  box-shadow: 0 24px 48px -24px #0f0f1266;
}

.proj-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

@media (max-width: 767px) {
  .proj-phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* --------------------------------------- cartes projet de la home */

.home-proj-figure {
  position: relative;
}

.home-proj-badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #ffffffeb;
  color: #0f0f12;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.home-proj-textcol {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-proj-info {
  margin: 0;
  color: #ffffffb3;
  font-size: 14px;
}

.home-proj-desc {
  margin: 0;
  color: #ffffff80;
  font-size: 13px;
}

/* ------------------------------------------ ERHA, la solution sur etagere */

.erha-home {
  position: relative;
  overflow: hidden;
  margin: 24px 0;
  padding-top: 96px;
  padding-bottom: 96px;
  background-color: #120b2e;
  background-image:
    radial-gradient(60% 70% at 85% 10%, #6d42f466, transparent 70%),
    radial-gradient(50% 60% at 0% 100%, #2d0fa880, transparent 70%);
  color: #fff;
}

.erha-home-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.erha-home-logo {
  width: 112px;
  height: auto;
}

.erha-home-kicker {
  margin: 28px 0 0;
  color: #c9b8ff;
  font-size: 14px;
  font-weight: 600;
}

.erha-home-title {
  margin: 28px 0 0;
  color: #fff;
  font-family: var(--font-grotesk, "Space Grotesk"), system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.erha-home-lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: #ffffffb3;
  font-size: 16px;
  line-height: 1.6;
}

.erha-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.erha-offer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid #ffffff1f;
  border-radius: 16px;
  background-color: #ffffff0d;
  color: #fff;
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease;
}

.erha-offer:hover {
  border-color: #b18def80;
  background-color: #ffffff17;
}

.erha-offer-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.erha-offer-title svg {
  width: 14px;
  height: 14px;
  color: #c9b8ff;
}

.erha-offer-text {
  color: #ffffffa6;
  font-size: 13.5px;
  line-height: 1.5;
}

.erha-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.erha-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  background-color: #fff;
  color: #2d0fa8;
  font-weight: 600;
  text-decoration: none;
}

.erha-home-btn svg {
  width: 15px;
  height: 15px;
}

.erha-home-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #ffffff59;
  text-underline-offset: 5px;
}

.erha-home-visual {
  position: relative;
  padding-bottom: 18%;
}

.erha-home-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px #000000b3, 0 0 0 1px #ffffff14;
}

.erha-home-shot-front {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 72%;
}

@media (max-width: 991px) {
  .erha-home {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .erha-home-grid,
  .erha-offers {
    grid-template-columns: 1fr;
  }
  .erha-home-shot-front {
    right: 0;
  }
}

.proj-note {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 3px solid #ff6b2e;
  background: #fff4ee;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1a1a1a;
}

.hero-erha-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 6px 14px 6px 6px;
  border: 1px solid #e4defc;
  border-radius: 999px;
  background: #f7f5ff;
  color: #1a1a1a;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}

.hero-erha-pill:hover {
  border-color: #6d42f4;
  background: #efeaff;
}

.hero-erha-pill-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: #120b2e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.hero-erha-pill-arrow {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: #6d42f4;
}

.hero-erha-pill-arrow svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 479px) {
  .hero-erha-pill {
    margin-bottom: 8px;
    font-size: 13px;
    white-space: nowrap;
  }
}

.proj-store {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.proj-store-shot {
  margin: 0;
}

.proj-store-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 36px -22px #0f0f1259;
}

.proj-store-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.proj-store-foot .erha-actions {
  margin-top: 0;
}

.proj-store-note {
  margin: 0;
  color: #0f0f12;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .proj-store {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: -20px;
    padding-bottom: 8px;
  }
  .proj-store-shot {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }
}

.legal-section {
  padding-top: 24px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.legal-rows a[href^="tel:"] {
  white-space: nowrap;
}

.legal-block {
  padding: 28px;
  border: 1px solid #0f0f1214;
  border-radius: 20px;
  background: #fff;
}

.legal-title {
  margin: 0 0 18px;
  color: #0f0f12;
  font-family: var(--font-grotesk, "Space Grotesk"), system-ui, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.legal-rows {
  margin: 0;
}

.legal-rows div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #0f0f120f;
}

.legal-rows dt {
  color: #8a8a92;
  font-size: 14px;
}

.legal-rows dd {
  margin: 0;
  color: #0f0f12;
  font-size: 15px;
}

.legal-text {
  margin: 0;
  color: #44444b;
  font-size: 15.5px;
  line-height: 1.65;
}

.legal-section a {
  color: #0f0f12;
  text-decoration: underline;
  text-decoration-color: #ff6b2e;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-rows div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Cartes projet de la home sur fond clair : les captures sont posees sur le
   meme gris chaud que les visuels des trois etapes. */
.home-proj-card {
  border: 1px solid #0f0f1214;
  background-color: #fff;
  background-image: none;
  color: #0f0f12;
}

.home-proj-card:hover {
  border-color: #0f0f1233;
}

.home-proj-figure {
  background-color: #f1f0ed;
  box-shadow: none;
}

.home-proj-title {
  color: #0f0f12;
}

.home-proj-info {
  color: #55555c;
}

.home-proj-desc {
  color: #8a8a92;
}

.home-proj-badge {
  background-color: #0f0f12e6;
  color: #fff;
}

.cover.cv-dark {
  background-color: #f1f0ed;
  background-image: none;
  box-shadow: inset 0 0 0 1px #0f0f120f;
}

.cover.cv-dark .cover-tag {
  background-color: #0f0f12e6;
  color: #fff;
}

.cover.cv-dark .cover-tag-text {
  color: #fff;
}

.erha-home-grid-alt {
  grid-template-columns: 1.05fr 1fr;
  margin-top: 120px;
}

.erha-home-grid-alt .erha-home-shot:not(.erha-home-shot-front) {
  width: 94%;
  margin-left: auto;
}

.erha-home-grid-alt .erha-home-shot-front {
  right: auto;
  left: 0;
}

@media (max-width: 991px) {
  .erha-home-grid-alt {
    margin-top: 72px;
  }
  .erha-home-grid-alt .erha-home-text {
    order: -1;
  }
  .erha-home-grid-alt .erha-home-shot-front {
    left: 0;
  }
}

.ia-visual-title {
  margin: 0 0 14px;
  color: #0f0f12;
  font-size: 13.5px;
  font-weight: 700;
}

.ia-kpis {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ia-kpis li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px #0f0f120f;
}

.ia-kpi-value {
  min-width: 82px;
  color: #0f0f12;
  font-family: var(--font-grotesk, "Space Grotesk"), system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.ia-kpi-label {
  color: #55555c;
  font-size: 13.5px;
  white-space: nowrap;
}

.ia-card-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 20px 18px 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: #0f0f12;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s;
}

.ia-card-cta:hover {
  background: #2a2a31;
}

.ia-card-cta .erha-btn-ico {
  width: 16px;
  height: 16px;
}

.ia-hub-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ia-hub-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px #0f0f120f;
  color: #55555c;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ia-hub-tool svg {
  width: 22px;
  height: 22px;
}

.ia-hub-gmail svg { color: #ea4335; }
.ia-hub-slack svg { color: #4a154b; }
.ia-hub-microsoftteams svg { color: #5059c9; }
.ia-hub-googledrive svg { color: #1fa463; }

.ia-hub-link {
  width: 2px;
  height: 18px;
  margin: 0 auto;
  background: repeating-linear-gradient(#b9b6ae 0 4px, transparent 4px 7px);
}

.ia-hub-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 12px;
  background: #120b2e;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
}

.ia-hub-core img {
  width: 20px;
  height: 20px;
}

.ia-hub-out {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.ia-hub-out span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #ece7ff;
  color: #4b2bbf;
  font-size: 12px;
  font-weight: 600;
}

.ia-gains {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 13.5px;
}

.ia-gains th {
  padding: 0 10px 2px;
  color: #8a8a92;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: right;
  text-transform: uppercase;
}

.ia-gains th:first-child {
  text-align: left;
}

.ia-gains td {
  padding: 10px;
  background: #fff;
  color: #0f0f12;
  text-align: right;
  white-space: nowrap;
}

.ia-gains td:first-child {
  border-radius: 12px 0 0 12px;
  text-align: left;
  white-space: normal;
  font-weight: 500;
}

.ia-gains td:last-child {
  border-radius: 0 12px 12px 0;
}

.ia-gains .ia-gain-before {
  color: #a0a0a8;
  text-decoration: line-through;
}

.ia-gains .ia-gain-after {
  color: #11764a;
  font-weight: 700;
}
