/* ==========================================================================
   WIDEVIEW — Page « Nos solutions »
   S'ajoute à styles.css (charte de l'accueil validée), sans le modifier.
   ========================================================================== */

/* ---------- Bandeau de page ---------- */
.page-hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0 0 0 38%; z-index: -2; display: block; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 72%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(16,36,58,.72) 56%, rgba(16,36,58,.35) 100%); }
.page-hero__inner { padding-top: 56px; padding-bottom: 72px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: #C9D3DE; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #8FA2B6; }
.breadcrumb a { color: #FFFFFF; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { margin-top: 26px; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; font-weight: 800; }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 22px; background: var(--red); }
.page-hero__lead { margin: 22px 0 32px; max-width: 36em; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.65; color: #E3E9EF; }

/* ---------- Accès rapide (collant sous l'en-tête) ---------- */
.subnav { position: sticky; top: 92px; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--grey-line); backdrop-filter: blur(8px); }
.subnav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--black); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.subnav a svg { width: 18px; height: 18px; color: var(--red); }
.subnav a:hover, .subnav a.is-current { background: #FCEDEE; color: var(--red-dark); }
.xp, .section[id] { scroll-margin-top: 160px; }

/* ---------- Deux sens ---------- */
.directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.direction { padding: 32px; border: 1px solid var(--grey-line); border-radius: var(--radius); background: var(--white); }
.direction__route { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: #E8F2EA; color: #145C30; font-size: 14px; font-weight: 700; }
.direction__route svg { width: 16px; height: 16px; }
.direction h3 { margin-top: 18px; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.direction > p:not(.direction__route) { margin-top: 8px; color: var(--text-soft); }
.direction .xp-list { margin-top: 18px; }

/* ---------- Listes ---------- */
.xp-list, .xp-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.xp-list li, .xp-services li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; }
.li-dot { flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--red); }
.li-ico { flex: none; width: 18px; height: 18px; margin-top: .2em; color: var(--green-net); }
.xp-list--small li { font-size: .97rem; color: #343B46; }

/* ---------- Bloc expertise ---------- */
.xp-head { display: flex; align-items: center; gap: 22px; margin-bottom: 40px; }
.xp-icon { flex: none; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: #FCEDEE; color: var(--red); }
.xp-icon svg { width: 32px; height: 32px; }
.xp-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 800; }
.xp-tag { margin-top: 6px; font-size: 1.08rem; font-weight: 600; color: var(--red-dark); }
.xp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.xp-intro > p { font-size: 1.1rem; line-height: 1.7; color: #343B46; }
.xp h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.005em; }
.xp-needs { margin-top: 30px; }
.xp-panel { padding: 30px; border-radius: 12px; background: var(--white); border: 1px solid var(--grey-line); }
.section--grey .xp-panel { border-color: transparent; }
.section:not(.section--grey) .xp-panel { background: var(--grey-bg); border-color: transparent; }
.xp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-weight: 600; font-size: .98rem; }
.xp-training { margin-top: 26px; padding-top: 22px; border-top: 1px solid #DCE0E6; }
.xp-label { font-size: .98rem; font-weight: 800; margin-bottom: 12px; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-chips span { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid #D5DAE0; font-size: 13.5px; font-weight: 600; color: #343B46; }
.section:not(.section--grey) .xp-chips span { background: var(--white); }

.xp-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--grey-line); }
.section--grey .xp-bottom { border-top-color: #DCE0E6; }
.xp-examples { padding: 26px 28px; border-radius: 12px; border: 1.5px dashed #C3CAD3; }
.xp-examples h3 { margin-bottom: 6px; }
.xp-note { margin-bottom: 16px; font-size: 13.5px; font-style: italic; color: #5B6472; }


/* ---------- Trois premières expertises : présentation synthétique ---------- */
.xp-compact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.xp-compact__left { display: grid; gap: 36px; }
.xp .xp-label2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; font-weight: 800; }
.xp-label2__ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #FCEDEE; color: var(--red); }
.xp-label2__ico svg { width: 16px; height: 16px; }
.xp-enjeu { font-size: 1.08rem; line-height: 1.7; color: #343B46; }
.xp-compact .xp-panel { padding: 30px 32px; }

/* ---------- Appel à l'action intermédiaire ---------- */
.mid-cta { background: var(--navy); color: var(--white); }
.mid-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.mid-cta p { font-size: 1.2rem; font-weight: 600; color: #DCE3EB; }
.mid-cta strong { color: var(--white); font-weight: 800; }

/* ---------- Accompagnement opérationnel : trois domaines ---------- */
.xp-grid--wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.xp-needs--side { margin-top: 0; }
.xp-groups-title { margin-top: 48px; }
.xp-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xp-group { display: flex; flex-direction: column; padding: 28px 26px; border-radius: 12px; background: var(--white); border: 1px solid var(--grey-line); border-top: 3px solid var(--red); }
.xp-group__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #FCEDEE; color: var(--red); }
.xp-group__icon svg { width: 24px; height: 24px; }
.xp .xp-group h3 { margin: 18px 0 0; font-size: 1.15rem; line-height: 1.3; }
.xp-group > p { margin-top: 8px; color: var(--text-soft); font-size: .96rem; }
.xp-group .xp-services { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--grey-line); }
.xp-services--one { grid-template-columns: 1fr; gap: 11px; }

/* ---------- Méthode ---------- */
.method { background: var(--navy); color: var(--white); }
.method .section-head p { color: #C9D3DE; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.steps li { padding-top: 20px; border-top: 2px solid var(--red); }
.step-n { font-size: 13px; font-weight: 700; color: #9FB0C2; letter-spacing: .08em; }
.steps h3 { margin-top: 8px; font-size: 1.35rem; font-weight: 800; }
.steps p { margin-top: 8px; color: #C9D3DE; line-height: 1.6; }

/* ---------- Expertise transversale ---------- */
.sector-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sector-chips li { padding: 12px 18px; border-radius: 8px; background: var(--grey-bg); font-weight: 700; font-size: .98rem; }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.formats li { padding: 28px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--grey-line); }
.formats h3 { font-size: 1.15rem; font-weight: 800; }
.formats h3::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 16px; background: var(--red); }
.formats p { margin-top: 10px; color: var(--text-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .subnav { top: 72px; }
  .xp-grid, .xp-grid--wide, .xp-bottom, .xp-compact { grid-template-columns: 1fr; gap: 32px; }
  .xp-groups { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .page-hero__media { inset: 0; }
  .page-hero::after { background: linear-gradient(180deg, rgba(16,36,58,.80) 0%, rgba(16,36,58,.92) 60%, var(--navy) 100%); }
}
@media (max-width: 620px) {
  .directions { grid-template-columns: 1fr; }
  .direction { padding: 24px; }
  .xp-head { gap: 16px; margin-bottom: 28px; }
  .xp-icon { width: 54px; height: 54px; }
  .xp-icon svg { width: 26px; height: 26px; }
  .xp-panel, .xp-examples { padding: 22px; }
  .xp-services { grid-template-columns: 1fr; }
  .mid-cta .btn { flex: 1 1 100%; justify-content: center; }
  .xp-compact .xp-panel { padding: 22px; }
  .steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Lisibilité des textes secondaires (page « Nos solutions » uniquement ;
   ce fichier n'est pas chargé par l'accueil)
   ========================================================================== */
:root { --text-soft: #3E4652; }                 /* gris de texte secondaire plus soutenu */
.xp-bottom--single { grid-template-columns: minmax(0, 1fr); }
.xp-bottom--single .xp-list { max-width: 46em; }
.section-head p { font-size: 1.08rem; line-height: 1.65; }
.breadcrumb ol { font-size: 14.5px; color: #DCE3EB; }
.direction > p:not(.direction__route) { font-size: 1.02rem; line-height: 1.6; }
.xp-list { gap: 13px; }
.xp-list li { font-size: 1.02rem; line-height: 1.6; color: #2F3640; }
.xp-services { font-size: 1rem; line-height: 1.5; color: #1F242B; }
.xp-group > p { font-size: 1rem; line-height: 1.6; }
.xp-tag { font-size: 1.1rem; }
.method .section-head p, .steps p { color: #DCE3EB; }
.steps p { font-size: 1.02rem; }
.step-n { color: #B5C3D2; }
.formats p { font-size: 1.02rem; line-height: 1.6; }
.sector-chips li { font-size: 1rem; color: #1F242B; }
.mid-cta p { color: #E6EBF0; }
.direction__route { color: #0F5229; }
@media (max-width: 620px) {
  .xp-list li, .xp-services, .xp-group > p, .formats p { font-size: 1rem; }
}

/* Compétences transversales (v1.9.2) */
.sectors-note { margin-top: 20px; max-width: 46em; color: var(--text-soft); font-size: .95rem; line-height: 1.6; }

/* v1.9.4 — Hub d'affaires : complément discret aux trois domaines, même style que les cartes */
.xp-hub { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 40px; align-items: start; }
.xp-hub__head h3 { margin-top: 18px; }
.xp-hub__text p { color: var(--text-soft); font-size: .98rem; line-height: 1.65; }
.xp-hub__text p + p { margin-top: 10px; }
@media (max-width: 900px) { .xp-hub { grid-template-columns: 1fr; } }
