/* 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;
}
