/* ==========================================================================
   Enesso IA — feuille de style principale
   Approche mobile-first : les styles de base ciblent le mobile,
   les media queries (min-width) enrichissent l'affichage sur écrans larges.
   ========================================================================== */

:root {
  --e-bg:        #070b16;
  --e-bg-alt:    #0d1425;
  --e-surface:   #111a2e;
  --e-border:    rgba(255, 255, 255, .09);
  --e-text:      #e8edf7;
  --e-muted:     #9aa8c2;
  --e-primary:   #4f7cff;
  --e-primary-2: #38bdf8;
  --e-accent:    #a78bfa;
  --e-radius:    18px;
  --e-shadow:    0 18px 50px rgba(0, 0, 0, .45);
  --e-nav-h:     70px;
}

/* --------------------------------------------------------------- Base --- */
html { scroll-behavior: smooth; }

body {
  background: var(--e-bg);
  color: var(--e-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

a { color: var(--e-primary-2); text-decoration: none; }
a:hover { color: #7dd3fc; }

.text-muted-e { color: var(--e-muted) !important; }

.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

.section-alt { background: var(--e-bg-alt); }

/* Petit label « / Nos services » au-dessus des titres de section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--e-primary-2);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--e-primary), var(--e-accent));
}

.gradient-text {
  background: linear-gradient(100deg, var(--e-primary-2), var(--e-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------- Boutons -- */
.btn { border-radius: 999px; font-weight: 600; padding: .7rem 1.5rem; }

.btn-e-primary {
  background: linear-gradient(100deg, var(--e-primary), var(--e-accent));
  border: none;
  color: #fff;
  box-shadow: 0 10px 26px rgba(79, 124, 255, .32);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-e-primary:hover,
.btn-e-primary:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(79, 124, 255, .45);
}

.btn-e-ghost {
  border: 1px solid var(--e-border);
  color: var(--e-text);
  background: rgba(255, 255, 255, .03);
  transition: background .18s ease, border-color .18s ease;
}
.btn-e-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .25); color: #fff; }

/* -------------------------------------------------------------- Navbar --- */
.navbar-e {
  background: rgba(7, 11, 22, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--e-border);
  min-height: var(--e-nav-h);
}
.navbar-e .navbar-brand { font-weight: 800; letter-spacing: -.03em; font-size: 1.35rem; color: #fff; }
.navbar-e .navbar-brand img { width: 32px; height: 32px; }
.navbar-e .nav-link { color: var(--e-muted); font-weight: 500; padding: .6rem .9rem; }
.navbar-e .nav-link:hover,
.navbar-e .nav-link.active { color: #fff; }
.navbar-e .dropdown-menu {
  background: var(--e-surface);
  border: 1px solid var(--e-border);
  border-radius: 14px;
  box-shadow: var(--e-shadow);
}
.navbar-e .dropdown-item { color: var(--e-muted); border-radius: 10px; padding: .5rem .8rem; }
.navbar-e .dropdown-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.navbar-toggler { border-color: var(--e-border); }
.navbar-toggler:focus { box-shadow: none; }

/* La rubrique Solutions ajoute une entrée à la barre. Entre le point de rupture
   lg (où le menu se déplie) et xl, les libellés sont resserrés pour que la
   navigation tienne sur une seule ligne — sinon elle passe à deux et double la
   hauteur du bandeau collant. Au-delà de 1400 px, rien ne change. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar-e .navbar-brand { font-size: 1.18rem; }
  .navbar-e .nav-link { padding: .6rem .5rem; font-size: .93rem; }
  .navbar-e .navbar-nav .btn { padding: .5rem .8rem; font-size: .88rem; }
  .navbar-e .navbar-nav .ms-lg-3 { margin-left: .55rem !important; }
}

/* ------------------------------------------------------------ Carrousel -- */
.hero-carousel .carousel-item { position: relative; }

.hero-carousel .carousel-item img {
  width: 100%;
  /* Hauteur fluide : plus compacte sur mobile, plein écran sur desktop */
  height: 78vh;
  min-height: 440px;
  max-height: 760px;
  object-fit: cover;
}

.hero-carousel .carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 0 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
  right: 0;
  left: 0;
}
@media (min-width: 992px) { .hero-carousel .carousel-caption { padding: 0 2.5rem; } }

.hero-carousel .carousel-caption .inner { max-width: 680px; }

/* Un seul <h1> par page : les slides suivantes utilisent un <h2>
   auquel on redonne la taille visuelle du titre principal. */
.hero-carousel .slide-title { font-size: clamp(2rem, 6vw, 3.75rem); margin-bottom: .5rem; }
.hero-carousel .carousel-caption p {
  color: #d5deef;
  font-size: 1rem;
  margin-bottom: 1.6rem;
}
@media (min-width: 768px) { .hero-carousel .carousel-caption p { font-size: 1.15rem; } }

.hero-badge {
  display: inline-block;
  padding: .35rem .9rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #cfe0ff;
  background: rgba(255, 255, 255, .06);
  margin-bottom: 1.1rem;
}

.carousel-indicators [data-bs-target] {
  width: 30px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .45);
  border: none;
}
.carousel-indicators .active { background: #fff; }

.carousel-control-prev, .carousel-control-next { width: 8%; opacity: .55; }
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; }
/* Flèches masquées sur mobile : on navigue au swipe */
@media (max-width: 575.98px) {
  .carousel-control-prev, .carousel-control-next { display: none; }
}

/* ------------------------------------------------------- Bandeau chiffres */
.stat-strip { border-top: 1px solid var(--e-border); border-bottom: 1px solid var(--e-border); background: var(--e-bg-alt); }
.stat { padding: 1.6rem .5rem; text-align: center; }
.stat .num { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
.stat .lbl { font-size: .85rem; color: var(--e-muted); }

/* Logos clients défilants */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee-track span { color: var(--e-muted); font-weight: 600; letter-spacing: .06em; white-space: nowrap; opacity: .85; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --------------------------------------------------------------- Cartes -- */
.card-e {
  height: 100%;
  background: var(--e-surface);
  border: 1px solid var(--e-border);
  border-radius: var(--e-radius);
  padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card-e:hover { transform: translateY(-4px); border-color: rgba(79, 124, 255, .5); box-shadow: var(--e-shadow); }
.card-e h3 { margin-bottom: .6rem; }
.card-e p { color: var(--e-muted); margin-bottom: 0; font-size: .96rem; }

.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  background: linear-gradient(140deg, rgba(79, 124, 255, .22), rgba(167, 139, 250, .22));
  border: 1px solid var(--e-border);
  font-size: 1.35rem;
}

/* Étapes de la méthode */
.step { position: relative; padding-left: 3.4rem; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: attr(data-step);
  position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 700; font-size: .9rem;
  background: linear-gradient(140deg, var(--e-primary), var(--e-accent));
  color: #fff;
}
.step::after {
  content: "";
  position: absolute; left: 1.2rem; top: 2.6rem; bottom: .2rem;
  width: 1px; background: var(--e-border);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--e-muted); margin-bottom: 0; }

/* ------------------------------------------------------------------ FAQ -- */
.accordion-e .accordion-item { background: var(--e-surface); border: 1px solid var(--e-border); border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; }
.accordion-e .accordion-button { background: transparent; color: var(--e-text); font-weight: 600; padding: 1.1rem 1.2rem; }
.accordion-e .accordion-button:not(.collapsed) { background: rgba(79, 124, 255, .10); color: #fff; box-shadow: none; }
.accordion-e .accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-e .accordion-button::after { filter: invert(1) grayscale(1) brightness(2); }
.accordion-e .accordion-body { color: var(--e-muted); padding-top: 0; }

/* ------------------------------------------------------------------ CTA -- */
.cta-band {
  background: linear-gradient(120deg, rgba(79, 124, 255, .18), rgba(167, 139, 250, .18));
  border: 1px solid var(--e-border);
  border-radius: 26px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 3.5rem; } }

/* ------------------------------------------------------------ Formulaire */
.form-panel {
  background: var(--e-surface);
  border: 1px solid var(--e-border);
  border-radius: var(--e-radius);
  padding: 1.5rem;
}
@media (min-width: 768px) { .form-panel { padding: 2.25rem; } }

.form-control, .form-select {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--e-border);
  color: var(--e-text);
  border-radius: 12px;
  padding: .75rem .9rem;
}
.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, .07);
  border-color: var(--e-primary);
  color: var(--e-text);
  box-shadow: 0 0 0 .2rem rgba(79, 124, 255, .22);
}
.form-control::placeholder { color: #6f7d97; }
.form-label { font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.form-check-input { background-color: rgba(255, 255, 255, .05); border-color: var(--e-border); }
.form-check-input:checked { background-color: var(--e-primary); border-color: var(--e-primary); }
.invalid-feedback { font-size: .82rem; }

/* Champ piège anti-robot : invisible pour l'utilisateur, rempli par les bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-info li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.1rem; color: var(--e-muted); }
.contact-info .ci-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, .05); border: 1px solid var(--e-border); }

/* --------------------------------------------------------------- Footer -- */
.footer-e { background: var(--e-bg-alt); border-top: 1px solid var(--e-border); padding: 3rem 0 1.5rem; }
.footer-e h5 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--e-muted); margin-bottom: 1rem; }
.footer-e a { color: var(--e-text); opacity: .8; display: block; padding: .22rem 0; font-size: .95rem; }
.footer-e a:hover { opacity: 1; color: var(--e-primary-2); }
.footer-bottom { border-top: 1px solid var(--e-border); margin-top: 2rem; padding-top: 1.25rem; color: var(--e-muted); font-size: .87rem; }

/* ============================================================ RUBRIQUE NEWS
   Styles de la page liste (news.html) et des pages d'article.
   ========================================================================== */

/* Étiquette de catégorie */
.tag-cat {
  display: inline-block;
  padding: .28rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #cfe0ff;
  background: rgba(79, 124, 255, .16);
  border: 1px solid rgba(79, 124, 255, .35);
}

/* --- Vignettes d'article sur la page liste --- */
.news-card {
  display: block;
  height: 100%;
  background: var(--e-surface);
  border: 1px solid var(--e-border);
  border-radius: var(--e-radius);
  overflow: hidden;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(79, 124, 255, .5); box-shadow: var(--e-shadow); color: inherit; }
.news-card img { width: 100%; height: 190px; object-fit: cover; }
.news-card .nc-body { padding: 1.4rem; }
.news-card h3 { color: var(--e-text); margin: .7rem 0 .5rem; font-size: 1.15rem; line-height: 1.3; }
.news-card p { color: var(--e-muted); font-size: .94rem; margin-bottom: .9rem; }
.news-card .nc-meta { color: var(--e-muted); font-size: .82rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.news-card .nc-more { color: var(--e-primary-2); font-weight: 600; font-size: .92rem; }

/* Article mis en avant : image à gauche, texte à droite sur écran large */
.news-featured { display: block; background: var(--e-surface); border: 1px solid var(--e-border); border-radius: var(--e-radius); overflow: hidden; color: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.news-featured:hover { border-color: rgba(79, 124, 255, .5); box-shadow: var(--e-shadow); color: inherit; }
.news-featured img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.news-featured h2 { color: var(--e-text); font-size: clamp(1.35rem, 3vw, 2rem); margin: .8rem 0 .7rem; }
.news-featured p { color: var(--e-muted); }

/* Emplacement pour un futur article */
.news-placeholder {
  height: 100%;
  min-height: 230px;
  border: 1px dashed var(--e-border);
  border-radius: var(--e-radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.4rem;
  color: var(--e-muted);
}

/* --- Corps d'article --- */
.article-head { border-bottom: 1px solid var(--e-border); padding-bottom: 2rem; margin-bottom: 2rem; }
.article-head h1 { margin: 1rem 0; }

.article-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #cdd9ee;
  border-left: 3px solid var(--e-primary);
  padding-left: 1.1rem;
  margin: 1.4rem 0 0;
}
@media (min-width: 768px) { .article-lead { font-size: 1.2rem; } }

.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; color: var(--e-muted); font-size: .9rem; }
.article-meta .am-sep { opacity: .4; }

.article-cover { width: 100%; border-radius: var(--e-radius); margin-bottom: 2rem; }

/* Typographie de lecture : mesure limitée pour le confort de lecture */
.prose { max-width: 72ch; }
.prose p { color: #c9d4e6; margin-bottom: 1.25rem; font-size: 1.02rem; line-height: 1.78; }
.prose h2 {
  color: var(--e-text);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 2.6rem 0 1rem;
  padding-top: .4rem;
  scroll-margin-top: calc(var(--e-nav-h) + 20px);
}
.prose h2::before {
  content: "";
  display: block;
  width: 44px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--e-primary), var(--e-accent));
  margin-bottom: .9rem;
}
/* Sous-titres de niveau 3 dans un article long */
.prose h3 {
  color: var(--e-text);
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  margin: 2rem 0 .7rem;
  scroll-margin-top: calc(var(--e-nav-h) + 20px);
}
.prose h3 + p { margin-top: 0; }

.prose strong { color: var(--e-text); font-weight: 700; }
.prose ul { list-style: none; padding-left: 0; margin-bottom: 1.4rem; }
.prose ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 1rem;
  color: #c9d4e6;
  line-height: 1.75;
}
.prose ul li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(140deg, var(--e-primary), var(--e-accent));
}
.prose ol { counter-reset: etape; list-style: none; padding-left: 0; }
.prose ol li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.35rem;
  color: #c9d4e6;
  line-height: 1.75;
}
.prose ol li::before {
  counter-increment: etape;
  content: counter(etape);
  position: absolute; left: 0; top: .1em;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 700; font-size: .92rem; color: #fff;
  background: linear-gradient(140deg, var(--e-primary), var(--e-accent));
}

/* Encadré statistique (reprend l'encadré du document source) */
.callout {
  background: rgba(79, 124, 255, .09);
  border-left: 4px solid var(--e-primary);
  border-radius: 0 14px 14px 0;
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
}
.callout p { margin-bottom: 0; color: #d7e2f3; }

/* Tableau dans un article : passe en défilement horizontal sur mobile */
.table-wrap { overflow-x: auto; margin: 1.8rem 0; -webkit-overflow-scrolling: touch; }
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .94rem;
  background: var(--e-surface);
  border: 1px solid var(--e-border);
  border-radius: 12px;
  overflow: hidden;
}
.prose thead th {
  background: rgba(79, 124, 255, .14);
  color: var(--e-text);
  font-weight: 700;
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--e-border);
}
.prose tbody td { padding: .8rem 1rem; color: #c9d4e6; border-bottom: 1px solid var(--e-border); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:nth-child(even) { background: rgba(255, 255, 255, .022); }
.prose tbody td:first-child { color: var(--e-text); font-weight: 600; }
.table-hint { color: var(--e-muted); font-size: .82rem; margin-top: -1.2rem; margin-bottom: 1.8rem; }
@media (min-width: 768px) { .table-hint { display: none; } }

/* Note de sources en fin d'article */
.sources-note {
  border-top: 1px solid var(--e-border);
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  color: var(--e-muted);
  font-size: .88rem;
  line-height: 1.65;
  font-style: italic;
}

/* Citation mise en exergue */
.pull-quote {
  border-top: 1px solid var(--e-border);
  border-bottom: 1px solid var(--e-border);
  padding: 1.5rem 0;
  margin: 2.2rem 0;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--e-text);
}

/* Sommaire latéral, collant sur écran large */
.toc {
  background: var(--e-surface);
  border: 1px solid var(--e-border);
  border-radius: 14px;
  padding: 1.2rem;
}
@media (min-width: 992px) { .toc { position: sticky; top: calc(var(--e-nav-h) + 20px); } }
.toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--e-muted); margin-bottom: .8rem; }
.toc a { display: block; color: var(--e-muted); font-size: .9rem; padding: .35rem 0 .35rem .7rem; border-left: 2px solid var(--e-border); line-height: 1.4; }
.toc a:hover, .toc a.active { color: #fff; border-left-color: var(--e-primary); }

/* Fil d'ariane */
.breadcrumb-e { font-size: .87rem; color: var(--e-muted); margin-bottom: 1.4rem; }
.breadcrumb-e a { color: var(--e-muted); }
.breadcrumb-e a:hover { color: var(--e-primary-2); }

/* Slide « À la une » du carrousel : toute la vue est cliquable.
   La légende laisse passer les clics ; seul son contenu (.inner) les capte,
   pour que les boutons restent utilisables au-dessus du lien pleine surface. */
.carousel-item .slide-link { position: absolute; inset: 0; z-index: 1; }
.hero-carousel .carousel-caption { pointer-events: none; }
.hero-carousel .carousel-caption .inner { pointer-events: auto; position: relative; z-index: 2; }

/* ---------------------------------------------------------- Accessibilité */
:focus-visible { outline: 2px solid var(--e-primary-2); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--e-primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Animation d'apparition au scroll (désactivée si l'utilisateur préfère moins de mouvement) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================ À PROPOS ==
   Puces d'expertise, portrait et repères de parcours.
   ======================================================================= */
.chip {
  display: inline-block; padding: .42rem .9rem;
  border: 1px solid var(--e-border); border-radius: 999px;
  background: var(--e-surface); color: var(--e-text);
  font-size: .9rem; line-height: 1.2;
}
.chip-soft { background: transparent; color: var(--e-muted); }

.portrait {
  aspect-ratio: 1 / 1; width: 100%; max-width: 200px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--e-border); box-shadow: var(--e-shadow);
  background: linear-gradient(135deg, var(--e-primary), var(--e-accent));
  display: grid; place-items: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait .initiales {
  font-size: 5rem; font-weight: 800; letter-spacing: -.04em;
  color: #fff; opacity: .92;
}

.repere { border-left: 2px solid var(--e-border); padding-left: 1.25rem; }
.repere .annees { font-size: .85rem; color: var(--e-primary-2); font-weight: 600; letter-spacing: .04em; }
.repere h3 { margin: .15rem 0 .1rem; }
.repere .employeur { color: var(--e-muted); font-size: .95rem; margin-bottom: .5rem; }
.repere + .repere { margin-top: 1.75rem; }

/* Lisibilité : un lien au fil du texte doit se distinguer autrement que par
   la seule couleur (WCAG 1.4.1). Les boutons et la navigation sont exclus. */
main p a:not(.btn), .prose li a:not(.btn), main li a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
main p a:not(.btn):hover, main li a:not(.btn):hover { text-decoration-thickness: 2px; }
.footer-e a, .navbar a, .breadcrumb-e a, .news-card a { text-decoration: none; }

/* ======================================================= CAPTURES HRFLOW ==
   Aperçus d'écran du produit, volontairement floutés : la structure se lit,
   les données de démonstration non. Cadre clair sur fond sombre, d'où la
   bordure et le halo qui décollent l'image du fond.
   ======================================================================= */
.shot-figure { margin: 0; }

.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--e-radius);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--e-shadow);
  background: var(--e-surface);
}

.shot-note {
  display: block;
  margin-top: .7rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--e-muted);
}

/* Pastille « IA » posée sur les cartes de module et les titres de section. */
.chip-ia {
  display: inline-block;
  padding: .18rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cfe0ff;
  background: rgba(79, 124, 255, .16);
  border: 1px solid rgba(79, 124, 255, .45);
  vertical-align: middle;
}

/* Logo complet (symbole + nom), remplace le couple icône + texte */
.navbar-brand img.brand-logo { width: auto; height: 36px; }
.footer-e .navbar-brand img.brand-logo { height: 32px; }
@media (max-width: 991.98px) { .navbar-e .navbar-brand img.brand-logo { height: 32px; } }

/* Ce qui nous distingue : comparaison modèle classique / Enesso IA */
.diff-card { background: var(--e-surface); border: 1px solid var(--e-border); border-radius: 18px; padding: 1.6rem; height: 100%; }
.diff-card h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.diff-col-title { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.diff-old .diff-col-title { color: var(--e-muted); }
.diff-new .diff-col-title { color: var(--e-primary-2); }
.diff-list { list-style: none; padding: 0; margin: 0; }
.diff-list li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; line-height: 1.5; }
.diff-list li > i { position: absolute; left: 0; top: .1rem; }
.diff-old .diff-list li { color: var(--e-muted); }
.diff-old .diff-list li > i { color: #6b7a96; }
.diff-new .diff-list li > i { color: var(--e-primary-2); }
.diff-new { border-top: 1px solid var(--e-border); margin-top: 1.1rem; padding-top: 1.1rem; }
.diff-punch { font-size: 1.15rem; font-weight: 700; text-align: center; margin-top: 2rem; }
.ref-card { background: var(--e-surface); border: 1px solid var(--e-border); border-radius: 16px; padding: 1.3rem; height: 100%; }
.ref-card .ref-sector { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--e-primary-2); }
.ref-card h3 { font-size: 1.02rem; margin: .5rem 0; }
.ref-card p { color: var(--e-muted); font-size: .92rem; margin: 0; }

/* Pastilles de confiance HRflow : IA française, hébergement en France */
.trust-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.trust-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .8rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--e-text); background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .25); }
.trust-badge i { color: var(--e-primary-2); }
@media (max-width: 575.98px) {
  .stat-strip .stat .num { font-size: clamp(1.35rem, 6.2vw, 1.8rem); }
  .trust-badges { gap: .35rem; margin-top: .8rem; }
  .trust-badge { font-size: .72rem; padding: .28rem .6rem; }
  .carousel-caption .trust-badge { font-size: .7rem; }
}

/* Page Cas d'usage */
.case-toc { display: flex; flex-wrap: wrap; gap: .5rem; }
.case-chip { display: inline-flex; align-items: center; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--e-border);
  background: var(--e-surface); color: var(--e-text); font-weight: 600; font-size: .9rem; }
.case-chip:hover { border-color: var(--e-primary-2); color: #fff; }
.case-chip i { color: var(--e-primary-2); }
.lead-case { font-size: 1.1rem; font-weight: 600; color: var(--e-text); margin-bottom: 1.2rem; }
.case-h, .diff-card .case-h { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--e-primary-2); margin-bottom: .7rem; }
.case-steps { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.case-steps li { margin-bottom: .5rem; line-height: 1.55; }
.case-steps li::marker { color: var(--e-primary-2); font-weight: 700; }
.case-ia { background: rgba(56, 189, 248, .07); border: 1px solid rgba(56, 189, 248, .25); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; }
.case-ia strong { display: block; margin-bottom: .35rem; color: var(--e-primary-2); }
.case-ia p { color: var(--e-text); }
.diff-plain li > i { color: var(--e-primary-2); }
.diff-plain li { color: var(--e-text); }
.ref-founder { border-left: 3px solid var(--e-primary); padding: .6rem 0 .6rem 1rem; margin-top: 1rem; }
.ref-founder .ref-sector { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--e-primary-2); }
.ref-founder p { color: var(--e-muted); font-size: .92rem; margin-top: .3rem; }

/* ------------------------------------------------ Page « Modèles SIRH » */
.modeles-hero { background: radial-gradient(900px 420px at 50% -10%, rgba(79, 124, 255, .22), transparent 70%); }
.lead-e { font-size: 1.15rem; max-width: 700px; }
.modele-card { display: flex; flex-direction: column; }
.modele-accroche { color: var(--e-primary-2); font-weight: 600; margin-bottom: 1rem; }
.modele-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.modele-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--e-text); margin-bottom: .55rem; font-size: .95rem; }
.modele-list li > i { color: var(--e-primary-2); margin-top: .15rem; }
.modele-check { padding: .7rem .9rem .7rem 2.4rem; border: 1px solid var(--e-border); border-radius: 12px; margin-bottom: .5rem; background: rgba(255, 255, 255, .02); }
.modele-check .form-check-input { margin-left: -1.5rem; }
.langue-choix { display: flex; width: 100%; max-width: 440px; }
.langue-choix .btn { flex: 1; min-width: 0; white-space: nowrap; }
.langue-choix .btn-check:checked + .btn { background: var(--e-primary); border-color: var(--e-primary); color: #fff; }
.stat-box { height: 100%; background: var(--e-surface); border: 1px solid var(--e-border); border-radius: var(--e-radius); padding: 1.4rem 1.2rem; }
.stat-box .num { display: block; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800;
  background: linear-gradient(90deg, var(--e-primary), var(--e-primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-box .lbl { color: var(--e-muted); font-size: .9rem; }

/* Bouton du menu mobile : traits clairs, sinon invisibles sur le fond sombre */
.navbar-e .navbar-toggler { border-color: rgba(255, 255, 255, .28); padding: .4rem .6rem; }
.navbar-e .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Entre 992 et 1199 px, la barre doit tenir sur une ligne avec la rubrique Ressources */
@media (min-width: 992px) {
  .navbar-e .nav-link, .navbar-e .navbar-nav .btn { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-e .navbar-brand img.brand-logo { height: 30px; }
  .navbar-e .nav-link { padding: .6rem .38rem; font-size: .86rem; }
  .navbar-e .navbar-nav .btn { padding: .45rem .7rem; font-size: .82rem; }
  .navbar-e .navbar-nav .ms-lg-3 { margin-left: .4rem !important; }
}
