/**
 * EasyHealth — vitrine santé & bien-être (EasyCM)
 */

:root {
  /* Palette « santé » : vert soin, bleu confiance, rouge urgence uniquement */
  --eh-ink: #0f172a;
  --eh-ink-soft: rgba(15, 23, 42, 0.62);
  --eh-paper: #f0fdf9;
  --eh-card: #ffffff;
  --eh-teal: #059669;
  --eh-teal-deep: #047857;
  --eh-mint: #d1fae5;
  --eh-sky: #0284c7;
  --eh-sky-soft: #e0f2fe;
  --eh-lavender: #eef2ff;
  --eh-line: rgba(15, 23, 42, 0.08);
  --eh-shadow: 0 18px 50px rgba(5, 150, 105, 0.1);
  --eh-radius: 1.35rem;
  --eh-font: var(--ecm-font-body);
  --eh-display: var(--ecm-font-display);
  --eh-red: #dc2626;
  --eh-red-soft: #fee2e2;
  --eh-red-deep: #991b1b;
  --eh-safe-x: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --eh-safe-b: max(0.5rem, env(safe-area-inset-bottom, 0px));
  --eh-touch-min: 2.75rem;
  --eh-gap: clamp(0.75rem, 2.5vw, 1.25rem);
}

.eh-page {
  font-family: var(--eh-font);
  color: var(--eh-ink);
  background: var(--eh-paper);
  min-height: 100%;
}

.eh-page__bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 0% -10%, rgba(5, 150, 105, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(2, 132, 199, 0.1), transparent 48%),
    linear-gradient(180deg, #f8fffc 0%, var(--eh-paper) 100%);
}

.eh-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1140px, calc(100% - 2 * var(--eh-safe-x)));
  margin: 0 auto;
  padding: 1.25rem max(1rem, var(--eh-safe-x)) calc(3.5rem + var(--eh-safe-b));
}

@media (min-width: 768px) {
  .eh-wrap {
    padding: 2rem max(1.5rem, var(--eh-safe-x)) calc(4rem + var(--eh-safe-b));
  }
}

/** Pages intérieures : rythme vertical fluide */
.eh-wrap--sub {
  padding-top: clamp(0.85rem, 3vw, 1.75rem);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.eh-hero {
  padding: 2rem 0 1.5rem;
  margin-bottom: 1.5rem;
}

.eh-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eh-teal-deep);
  margin-bottom: 0.75rem;
}

.eh-hero__kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eh-teal), #34d399);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.28);
}

.eh-hero__title {
  font-family: var(--eh-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--eh-ink);
}

.eh-hero__lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--eh-ink-soft);
  max-width: 38rem;
  margin: 0 0 1.25rem;
}

.eh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.eh-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  background: linear-gradient(135deg, var(--eh-teal), var(--eh-teal-deep));
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eh-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(5, 150, 105, 0.38);
  color: #fff !important;
}

.eh-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 2px solid rgba(5, 150, 105, 0.32);
  color: var(--eh-teal-deep) !important;
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.eh-btn-ghost:hover {
  background: rgba(209, 250, 229, 0.65);
  border-color: var(--eh-teal);
}

.eh-disclaimer {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--eh-radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--eh-line);
  box-shadow: var(--eh-shadow);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--eh-ink-soft);
}

.eh-disclaimer strong {
  color: var(--eh-ink);
}

.eh-section-head {
  margin-bottom: 1.25rem;
}

.eh-section-head h2 {
  font-family: var(--eh-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

.eh-section-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--eh-ink-soft);
}

/* Cartes profil : teinte teal sur le thème Easyservice */
.eh-page .esv-pro-card {
  border-color: rgba(5, 150, 105, 0.14);
}

.eh-page .esv-pro-card:hover {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 24px 56px rgba(5, 150, 105, 0.12);
}

.eh-page .esv-chip {
  background: rgba(209, 250, 229, 0.75);
  color: var(--eh-teal-deep);
  border-color: rgba(5, 150, 105, 0.2);
}

.eh-page .esv-su-btn-ghost {
  border-color: rgba(5, 150, 105, 0.38);
  color: var(--eh-teal-deep) !important;
}

.eh-page .esv-su-btn-ghost:hover {
  background: rgba(209, 250, 229, 0.55);
  border-color: var(--eh-teal);
}

.eh-empty {
  text-align: center;
  padding: 3rem 1rem;
  border-radius: var(--eh-radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(5, 150, 105, 0.25);
}

.eh-empty .display-4 {
  opacity: 0.45;
  color: var(--eh-teal);
}

/* ——— Hub premium (vert + rouge) ——— */
.eh-page--hub {
  padding-bottom: 4rem;
}

.eh-hub-hero {
  padding: 1rem 0 2rem;
  max-width: 52rem;
  margin: 0 auto;
}

.eh-hub-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.14), rgba(220, 38, 38, 0.12));
  color: var(--eh-teal-deep);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.eh-hub-title {
  font-family: var(--eh-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, var(--eh-teal-deep) 0%, var(--eh-ink) 38%, var(--eh-sky) 58%, var(--eh-red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eh-hub-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--eh-ink-soft);
  max-width: 40rem;
}

.eh-hub-pill {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.eh-hub-pill--green {
  background: rgba(5, 150, 105, 0.12);
  color: var(--eh-teal-deep);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.eh-hub-pill--red {
  background: var(--eh-red-soft);
  color: var(--eh-red-deep);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.eh-hub-pill--outline {
  border: 1px dashed var(--eh-line);
  color: var(--eh-ink-soft);
  background: rgba(255, 255, 255, 0.6);
}

.eh-phare-card-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

.eh-phare-card-new:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.1);
  border-color: var(--eh-teal);
}

.eh-phare-card-new .ico {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.eh-phare-card-new .title {
  font-family: var(--eh-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--eh-ink);
  display: block;
  margin-bottom: 0.25rem;
}

.eh-phare-card-new .sub {
  font-size: 0.75rem;
  color: var(--eh-ink-soft);
  font-weight: 500;
}

.animate-bounce-slow {
  animation: bounce-slow 3s infinite;
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.eh-hub-link {
  color: var(--eh-teal-deep);
  font-weight: 600;
}

.eh-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: 1.25rem;
  text-decoration: none !important;
  color: var(--eh-ink) !important;
  border: 1px solid var(--eh-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--eh-shadow);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.25s ease;
  overflow: hidden;
}

.eh-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--eh-teal), var(--eh-red));
  opacity: 0.85;
}

.eh-tile:hover {
  box-shadow: 0 28px 60px rgba(5, 150, 105, 0.14);
  border-color: rgba(5, 150, 105, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .eh-tile:hover {
    transform: translateY(-6px);
  }
}

.eh-tile--muted {
  opacity: 0.92;
}

.eh-tile--erp::before {
  background: linear-gradient(90deg, #0d9488, #d97706);
}

.eh-tile--erp .eh-tile__icon {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.15), rgba(217, 119, 6, 0.1));
}

.eh-tile--sos::before {
  background: linear-gradient(90deg, var(--eh-red), #f97316);
}

.eh-tile__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.12), rgba(220, 38, 38, 0.08));
  color: var(--eh-teal-deep);
}

.eh-tile--sos .eh-tile__icon {
  background: linear-gradient(145deg, var(--eh-red-soft), #fff);
  color: var(--eh-red-deep);
}

.eh-tile__title {
  font-family: var(--eh-display);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
}

.eh-tile__desc {
  font-size: 0.88rem;
  color: var(--eh-ink-soft);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.75rem;
}

.eh-tile__cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--eh-teal-deep);
}

.eh-tile--sos .eh-tile__cta {
  color: var(--eh-red-deep);
}

.eh-hub-footnote {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--eh-radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--eh-line);
  font-size: 0.88rem;
  color: var(--eh-ink-soft);
}

/**
 * Grille hub — mobile 1 col, tablette 2, large 3 (indépendant des breakpoints BS)
 */
.eh-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--eh-gap);
  margin-bottom: clamp(1.25rem, 4vw, 2rem);
}

@media (min-width: 576px) {
  .eh-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .eh-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ——— Pages sous-modules (hors hub) ——— */
.eh-page--sub {
  min-height: min(100vh, 100dvh);
}

.eh-page--sub h1,
.eh-page--sub .h1 {
  font-family: var(--eh-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-wrap: break-word;
}

.eh-page--sub h2,
.eh-page--sub .h2 {
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
}

.eh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.eh-breadcrumb a {
  color: var(--eh-teal-deep);
  font-weight: 600;
  text-decoration: none;
}

.eh-breadcrumb a:hover {
  text-decoration: underline;
}

/** Cartes & surfaces (complète Bootstrap) */
.eh-page--sub .rounded-4.border.bg-white,
.eh-page--sub .border.rounded-4 {
  border-color: var(--eh-line) !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

/** Tableaux : défilement tactile + lisibilité petits écrans */
.eh-table-wrap {
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.eh-table-wrap table {
  font-size: clamp(0.8rem, 2.4vw, 0.95rem);
}

@media (max-width: 575.98px) {
  .eh-table-wrap table th,
  .eh-table-wrap table td {
    white-space: nowrap;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/** Formulaires : zones tactiles confortables */
@media (hover: none) and (pointer: coarse) {
  .eh-page--sub .btn:not(.btn-sm) {
    min-height: var(--eh-touch-min);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .eh-page--sub .form-control:not(textarea),
  .eh-page--sub .form-select {
    min-height: var(--eh-touch-min);
  }
}

.eh-page--sub .btn.rounded-pill {
  padding-left: clamp(1rem, 4vw, 1.5rem);
  padding-right: clamp(1rem, 4vw, 1.5rem);
}

/** Listes & alertes */
.eh-page--sub .list-group-item {
  padding: clamp(0.65rem, 2vw, 0.85rem) clamp(0.75rem, 2.5vw, 1rem);
}

.eh-page--sub .alert {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

/** Ratio vidéo télémédecine : hauteur min sur mobile */
.eh-page--sub .ratio {
  min-height: 12rem;
}

@media (min-width: 768px) {
  .eh-page--sub .ratio {
    min-height: 0;
  }
}

@media (hover: none), (pointer: coarse) {
  .eh-tile:active {
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eh-tile,
  .eh-btn-primary,
  .eh-btn-ghost {
    transition: none !important;
  }

  .eh-tile:hover,
  .eh-tile:active {
    transform: none !important;
  }
}

/** Hub hero : lisibilité très petits écrans */
@media (max-width: 399.98px) {
  .eh-hub-title {
    font-size: 1.55rem;
  }

  .eh-hub-lead {
    font-size: 0.95rem;
  }

  .eh-hub-pill {
    font-size: 0.62rem;
    padding: 0.25rem 0.55rem;
  }
}

/** Focus visible (accessibilité) */
.eh-page a:focus-visible,
.eh-page button:focus-visible,
.eh-page .btn:focus-visible,
.eh-page .form-control:focus-visible {
  outline: 3px solid rgba(5, 150, 105, 0.45);
  outline-offset: 2px;
}

.eh-tile--sos:focus-visible {
  outline-color: rgba(220, 38, 38, 0.5);
}

/** Bouton SOS pleine largeur mobile, auto sur tablette+ */
.eh-sos-btn {
  width: 100%;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media (min-width: 768px) {
  .eh-sos-btn {
    width: auto;
    max-width: none;
    display: inline-block;
  }
}

/** Boutons d’action en liste (télémédecine, etc.) : pleine largeur sur mobile */
.eh-list-action-btn {
  width: 100%;
}

@media (min-width: 768px) {
  .eh-list-action-btn {
    width: auto;
  }
}

/* ——— Titre section modules (sous les acteurs) ——— */
.eh-hub-modules-title {
  font-family: var(--eh-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  color: var(--eh-teal-deep);
  margin: 2.25rem 0 1rem;
  letter-spacing: -0.02em;
}

/* ——— Acteurs du système de santé ——— */
.eh-actors {
  margin-bottom: 0.25rem;
}

.eh-actors__head {
  margin-bottom: 1.35rem;
}

.eh-actors__title {
  font-family: var(--eh-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  color: var(--eh-teal-deep);
  margin: 0 0 0.5rem;
  letter-spacing: -0.025em;
}

.eh-actors__lead {
  font-size: clamp(0.9rem, 2.5vw, 1.02rem);
  color: var(--eh-ink-soft);
  max-width: 42rem;
  margin-bottom: 0;
  line-height: 1.55;
}

.eh-actors__more {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--eh-sky);
  text-decoration: none;
}

.eh-actors__more:hover {
  text-decoration: underline;
  color: #0369a1;
}

.eh-actors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--eh-gap);
}

@media (min-width: 640px) {
  .eh-actors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .eh-actors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.eh-actor-card {
  --eh-actor-accent: var(--eh-teal);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--eh-line);
  border-radius: 1.1rem;
  padding: 1rem 1.15rem 1.2rem;
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.07);
  border-left: 4px solid var(--eh-actor-accent);
}

.eh-actor--patient {
  --eh-actor-accent: #059669;
}

.eh-actor--medecin {
  --eh-actor-accent: #0284c7;
}

.eh-actor--pharma {
  --eh-actor-accent: #0e7490;
}

.eh-actor--structure {
  --eh-actor-accent: #4f46e5;
}

.eh-actor--lab {
  --eh-actor-accent: #7c3aed;
}

.eh-actor--paramed {
  --eh-actor-accent: #0d9488;
}

.eh-actor--urgence {
  --eh-actor-accent: #dc2626;
}

.eh-actor--partenaire {
  --eh-actor-accent: #047857;
}

.eh-actor-card__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.eh-actor-card__icon {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  background: var(--eh-actor-accent);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.eh-actor-card__title {
  font-family: var(--eh-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 0.2rem;
  line-height: 1.25;
  color: var(--eh-ink);
}

.eh-actor-card__subtitle {
  font-size: 0.8rem;
  color: var(--eh-ink-soft);
  margin: 0;
  line-height: 1.45;
}

.eh-actor-card__links li + li {
  margin-top: 0.35rem;
}

.eh-actor-card__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--eh-teal-deep) !important;
  text-decoration: none !important;
}

.eh-actor-card__link:hover {
  text-decoration: underline !important;
  color: var(--eh-sky) !important;
}

.eh-actor--urgence .eh-actor-card__link {
  color: var(--eh-red-deep) !important;
}

.eh-actor--urgence .eh-actor-card__link:hover {
  color: #b91c1c !important;
}

.eh-actor-card__badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: var(--eh-sky-soft);
  color: var(--eh-sky);
}

/**
 * Formulaires EasyHealth — contraste lisible (labels ≠ fond)
 * Les anciennes règles globales .form-label dans easycm-header.css imposaient du blanc partout.
 */
.eh-page label.form-label,
.eh-page .col-form-label,
.eh-page legend.col-form-label {
  color: var(--eh-ink);
  font-weight: 600;
}

.eh-page .form-check-label {
  color: var(--eh-ink);
}

.eh-page .border.bg-white label.form-label,
.eh-page .bg-white .form-label,
.eh-page .bg-light .form-label {
  color: var(--eh-ink);
}

.eh-page .form-control,
.eh-page .form-select,
.eh-page textarea.form-control {
  color: var(--eh-ink);
  background-color: #fff;
  border-color: rgba(15, 23, 42, 0.2);
}

.eh-page .form-control::placeholder,
.eh-page .form-select option {
  color: var(--eh-ink-soft);
}

.eh-page .form-control:focus,
.eh-page .form-select:focus,
.eh-page textarea.form-control:focus {
  color: var(--eh-ink);
  background-color: #fff;
  border-color: rgba(5, 150, 105, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.18);
}

.eh-page .form-control-plaintext {
  color: var(--eh-ink);
}

.eh-page .form-text {
  color: var(--eh-ink-soft);
}

.eh-page .form-check-input {
  border-color: rgba(15, 23, 42, 0.28);
}

.eh-page .form-check-input:checked {
  background-color: var(--eh-teal);
  border-color: var(--eh-teal-deep);
}

.eh-page .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.25);
  border-color: var(--eh-teal);
}

.eh-page .invalid-feedback,
.eh-page .valid-feedback {
  color: inherit;
}

.eh-page .form-control.is-invalid {
  border-color: #dc2626;
}

.eh-page .form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.2);
}

/* Hub : filtres / champs sur fond dégradé clair */
.eh-page--hub label.form-label,
.eh-page--hub .form-label.small {
  color: var(--eh-ink);
}

/* Formulaires « carte » sur fond mint */
.eh-page--sub form.row label.form-label,
.eh-page--sub form .form-label.small {
  color: var(--eh-ink);
}

/* Hub — grille « fonctionnalités phares » */
.eh-hub-phares {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

a.eh-phare-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  height: 100%;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--eh-line);
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none !important;
  color: var(--eh-ink) !important;
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.eh-phare-card:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 14px 40px rgba(5, 150, 105, 0.12);
}

.eh-phare-card__ico {
  font-size: 1.35rem;
  line-height: 1;
}

.eh-phare-card__t {
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--eh-display);
}

.eh-phare-card__s {
  font-size: 0.78rem;
  color: var(--eh-ink-soft);
  line-height: 1.35;
}
