/* ============================================================
   DATYX Insight — styles des pages intérieures
   ============================================================ */

/* ---------- Page hero (en-tête des pages intérieures) ---------- */
.page-hero {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: clamp(84px, 10.5vw, 116px) var(--pad-x) clamp(26px, 4vw, 44px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 255, 255, 0.1), transparent 62%),
    radial-gradient(620px 320px at -8% 115%, rgba(8, 9, 11, 0.22), transparent 60%);
}

.page-hero > .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb .bc-sep { opacity: 0.55; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 24ch;
}

.page-hero .lead {
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
  max-width: 64ch;
}

/* Variante piliers : numéro fantôme en arrière-plan */
.page-hero.pillar-hero { overflow: hidden; }

.pillar-ghost-num {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-46%);
  font-size: clamp(160px, 26vw, 340px);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

/* ---------- Lien actif dans la nav ---------- */
.nav-links a.active,
.mobile-menu nav a.active { color: var(--white); }

.nav-links a.active::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-bright);
  margin-left: 7px;
  vertical-align: middle;
}

/* ---------- Tuiles cliquables (piliers, solutions) ---------- */
a.pillar,
a.solution-card {
  color: inherit;
  text-decoration: none;
}

.pillars a.pillar {
  display: block;
  transition: transform 0.22s ease;
}

.pillars a.pillar:hover { transform: translateY(-3px); }

a.solution-card { display: block; }

/* ---------- Carte service : lien "En savoir plus" ---------- */
.service-card { display: flex; flex-direction: column; }

.svc-more {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.svc-more svg { transition: transform 0.2s ease; }
.svc-more:hover svg { transform: translateX(3px); }

#services .svc-more { color: var(--white); }

/* ---------- Grille détail (service / pilier) ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 15px 17px;
  font-size: 15px;
  line-height: 1.5;
}

.check-ico {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(29, 83, 196, 0.12);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 30px rgba(17, 18, 20, 0.05);
  position: sticky;
  top: 96px;
}

.panel-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
}

.meta-row:first-of-type { border-top: 0; }
.meta-row dt { color: var(--ink-soft); }
.meta-row dd { font-weight: 600; text-align: right; margin: 0; }

/* ---------- Approche (étapes) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 24px;
}

.step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Autres services / piliers (pilules) ---------- */
.center-head {
  text-align: center;
  margin-top: 56px;
}

.center-head .section-title { margin-inline: auto; }

.siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.sibling-pill {
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #111214;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sibling-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(29, 83, 196, 0.12);
}

.sibling-pill.red-pill:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 6px 18px rgba(237, 28, 36, 0.12);
}

/* ---------- Bandeau CTA final ---------- */
.cta-band {
  position: relative;
  background: #24262c;
  color: var(--white);
  padding: clamp(56px, 7vw, 84px) var(--pad-x);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 80% -20%, rgba(29, 83, 196, 0.38), transparent 60%),
    radial-gradient(500px 260px at 5% 120%, rgba(237, 28, 36, 0.14), transparent 60%);
}

.cta-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 30px;
  line-height: 1.6;
}

.cta-inner .btn-cta { margin-top: 0; }

/* ---------- Valeurs (page À propos) ---------- */
.values-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--blue);
  border-radius: 16px;
  padding: 22px;
}

.value-item:nth-child(2) { border-left-color: var(--red); }

.value-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px;
}

.value-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Page Datyx International pleine page ---------- */
.intl-page { padding-top: calc(clamp(76px, 9vw, 128px) + 110px); }

.license-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.license-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 24px;
  color: var(--white);
}

.license-step .step-num { background: var(--white); color: var(--blue); }

.license-step h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.license-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

#international .intl-final {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

#international .section-title,
#international .section-title strong { color: var(--white); }

#international .section-head p { color: rgba(255, 255, 255, 0.8); }

/* ---------- Pagination piliers (précédent / suivant) ---------- */
.pillar-pager {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

.pillar-pager a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #111214;
  text-decoration: none;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 20px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pillar-pager a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Page contact : encart horaires ---------- */
.hours-note {
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px dashed rgba(17, 18, 20, 0.25);
  border-radius: 14px;
  padding: 15px 17px;
}

.hours-note strong { font-weight: 700; }

/* ---------- Page 404 ---------- */
.nf {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.nf::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(29, 83, 196, 0.35), transparent 60%),
    radial-gradient(520px 300px at 10% 100%, rgba(237, 28, 36, 0.14), transparent 60%);
}

.nf > * { position: relative; }

.nf-code {
  font-size: clamp(90px, 18vw, 170px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(92deg, var(--blue-bright), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nf h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }

.nf p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ---------- Responsive pages intérieures ---------- */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .panel-card { position: static; }
  .steps-grid { grid-template-columns: 1fr; }
  .values-band { grid-template-columns: 1fr; }
  .license-steps { grid-template-columns: 1fr; }
  .page-hero { padding-top: calc(76px + 72px); }
}

/* ---------- Catalogue formations (style Udemy) ---------- */

.catalog-hero { padding-bottom: 40px; }

.catalog-toolbar {
  margin-bottom: 32px;
}

.catalog-search {
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 999px;
  padding: 14px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink-soft);
}

.catalog-search svg { flex-shrink: 0; }

.catalog-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--dark);
}

.cat-tabs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-tab {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cat-tab:hover { color: var(--blue); border-color: var(--blue); }

.cat-tab.on {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.catalog-section { padding-top: 46px; }

.catalog-heading {
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.course-thumb {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.thumb-resilience { background: linear-gradient(130deg, #1D53C4, #5B8DEF); }
.thumb-crise { background: linear-gradient(130deg, #B01A20, #F0333B); }
.thumb-cyber { background: linear-gradient(130deg, #101319, #2A3244); }
.thumb-conformite { background: linear-gradient(130deg, #14532D, #22A05B); }
.thumb-transfo { background: linear-gradient(130deg, #7C2D12, #E0662B); }

.course-body { padding: 16px 18px 18px; }

.course-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 5px;
}

.course-title a { color: var(--dark); text-decoration: none; }
.course-title a:hover { color: var(--blue); }

.course-author {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 11px;
}

.course-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pill-blue { background: rgba(29, 83, 196, 0.1); color: var(--blue); }
.pill-solid { background: var(--blue); color: var(--white); }
.pill-red { background: rgba(237, 28, 36, 0.1); color: var(--red); }

.catalog-empty {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.catalog-empty a { color: var(--blue); font-weight: 600; }

/* ---------- Page détail formation (style Udemy) ---------- */

.fd-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.fd-pill-plain { font-size: 14px; color: var(--white-soft); }

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

.fd-back { font-size: 14px; color: var(--white-soft); border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 2px; transition: color 0.2s ease, border-color 0.2s ease; }
.fd-back:hover { color: var(--white); border-color: var(--white); }

.fd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-top: 48px; padding-bottom: 64px; }

.fd-content { min-width: 0; }

.fd-learn {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 26px 30px;
  box-shadow: 0 10px 28px rgba(17, 18, 20, 0.06);
}

.fd-learn h2, .fd-audience h2 { font-size: 21px; color: var(--dark); margin-bottom: 14px; }

.fd-learn ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; list-style: none; }

.fd-learn li { position: relative; padding-left: 24px; font-size: 14.5px; color: #33363b; line-height: 1.5; }
.fd-learn li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }

.curriculum { margin-top: 16px; }

details.module {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.module summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  cursor: pointer;
}
.module summary::-webkit-details-marker { display: none; }

.mod-name { font-size: 15px; font-weight: 600; color: var(--dark); }
.mod-meta { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.module .chev { flex-shrink: 0; transition: transform 0.25s ease; color: var(--ink-soft); }
details[open].module .chev { transform: rotate(180deg); }

.module-body { border-top: 1px solid var(--border-light); padding: 6px 20px 12px; }

.lesson { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; font-size: 14px; color: #33363b; }
.lesson svg { flex-shrink: 0; color: var(--blue); transform: translateY(2px); }
.lesson-t { flex: 1; }
.lesson-d { color: var(--ink-soft); font-size: 13px; white-space: nowrap; }

.fd-audience { margin-top: 40px; }
.fd-audience ul { margin-top: 4px; padding-left: 20px; color: #33363b; font-size: 14.5px; }
.fd-audience li { padding: 5px 0; }
.fd-audience li::marker { color: var(--blue); }

.fd-side {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(17, 18, 20, 0.08);
}

.fd-side-thumb {
  height: 110px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.fd-facts { list-style: none; }
.fd-facts li { padding: 7px 0; font-size: 13.5px; color: #33363b; border-bottom: 1px dashed var(--border-light); }
.fd-facts li:last-child { border-bottom: none; }
.fd-facts strong { color: var(--dark); }

.fd-side-cta { width: 100%; justify-content: center; margin-top: 14px; }

.fd-side-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 980px) {
  .fd-grid { grid-template-columns: 1fr; gap: 32px; }
  .fd-side { position: static; }
  .fd-learn ul { grid-template-columns: 1fr; }
}

.fd-about { margin-bottom: 32px; }
.fd-about h2 { font-size: 21px; color: var(--dark); margin-bottom: 10px; }
.fd-about p { font-size: 15px; line-height: 1.7; color: #33363b; }

.fd-content .catalog-heading { margin-top: 52px; }

.fd-prereq { margin-top: 40px; }

.fd-below { padding-bottom: 64px; }

#fd-related-wrap { margin-top: 40px; }

.resv-open-wrap { margin-top: 48px; text-align: center; }
.resv-open-note { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }

.resv-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 9, 11, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.resv-overlay.on { opacity: 1; visibility: visible; pointer-events: auto; }

.resv-modal {
  background: #fff;
  border-radius: 20px;
  width: min(94vw, 660px);
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.21, 1);
}
.resv-overlay.on .resv-modal { transform: none; }

.resv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 4px; }
.resv-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 4px; }
.resv-head h3 { font-size: 19px; color: var(--dark); line-height: 1.35; }

.resv-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--light);
  font-size: 20px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.resv-close:hover { background: var(--border-light); color: var(--dark); }

.resv-modal form { padding: 14px 26px 26px; }

.resv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 18px; }

.resv-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dark); }
.resv-wide { grid-column: 1 / -1; }

.resv-field input,
.resv-field select,
.resv-field textarea {
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #33363b;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.resv-field input:focus,
.resv-field select:focus,
.resv-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 83, 196, 0.12); }

.resv-field textarea { resize: vertical; min-height: 96px; }

.resv-submit { width: 100%; justify-content: center; }
.resv-submit:disabled { opacity: 0.55; cursor: wait; }

.resv-success {
  margin: 6px 26px 26px;
  background: #eef6ee;
  border: 1px solid #bfe0bf;
  border-radius: 12px;
  padding: 22px;
  color: #1d5c2a;
  font-size: 15px;
  line-height: 1.65;
}

.resv-success-close {
  margin-top: 14px;
  display: block;
  border: 1px solid #bfe0bf;
  background: #fff;
  color: #1d5c2a;
  border-radius: 999px;
  padding: 9px 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .resv-grid { grid-template-columns: 1fr; }
}

/* ── Hero with background image ────────────────────── */
.hero-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
  padding: 72px 0 60px;
}
.hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,.85) 0%, rgba(11,12,14,.72) 100%);
  z-index: 1;
}
.hero-img > .container { position: relative; z-index: 2; }
.hero-img .breadcrumb { color: rgba(255,255,255,.7); }
.hero-img .breadcrumb a { color: rgba(255,255,255,.7); }
.hero-img .breadcrumb a:hover { color: #fff; }
.hero-img .bc-sep { color: rgba(255,255,255,.45); }
.hero-img .title-oneline { color: #fff; font-size: 1.5rem; font-weight: 700; }

/* ── Content body spacing (audience pages) ─────────── */
.section-light h2 { margin-bottom: 20px; }
.section-light h2 + p,
.section-light h3 + p { margin-top: 0; }
.section-light p + p { margin-top: 14px; }
.section-light p { line-height: 1.8; font-size: 15.5px; color: #333; }

/* ── Content grid: text + image side by side ───────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 16px;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-grid-text h2 { margin-bottom: 20px; }
.content-grid-text p + p { margin-top: 18px; }
.content-grid-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.content-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}
@media (max-width: 780px) {
  .content-grid { grid-template-columns: 1fr; gap: 28px; }
  .content-grid.reverse { direction: ltr; }
}

/* ── B2B grid (Datyx Business) ─────────────────────── */
.b2b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.b2b-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.b2b-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.b2b-featured { border-color: var(--blue, #1D53C4); box-shadow: 0 0 0 1px var(--blue, #1D53C4); }
.b2b-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8ecf4;
  color: #3a4a6b;
  margin-bottom: 14px;
  width: fit-content;
}
.b2b-badge-accent { background: var(--blue, #1D53C4); color: #fff; }
.b2b-title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 10px; }
.b2b-desc { font-size: 14.5px; line-height: 1.65; color: #555; margin: 0 0 18px; flex: 1; }
.b2b-list { list-style: none; padding: 0; margin: 0 0 22px; }
.b2b-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}
.b2b-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue, #1D53C4);
  font-weight: 700;
}
.b2b-cta { align-self: flex-start; }

/* ── Cert-band variant: white bg (new pages with hero-img) ── */
.hero-img ~ .section .cert-band,
.hero-img ~ section .cert-band {
  background: #fff;
  color: #1a1a1a;
}
.hero-img ~ .section .cert-kicker,
.hero-img ~ section .cert-kicker {
  color: var(--blue, #1D53C4);
}
.hero-img ~ .section .cert-note,
.hero-img ~ section .cert-note {
  color: #444;
  border-top-color: #e5e7eb;
}
.hero-img ~ .section .cert-band .cert-cta,
.hero-img ~ section .cert-band .cert-cta {
  background: var(--blue, #1D53C4);
  color: #fff;
}
.hero-img ~ .section .cert-band .cert-cta:hover,
.hero-img ~ section .cert-band .cert-cta:hover {
  box-shadow: 0 8px 24px rgba(29,83,196,.3);
}
.hero-img ~ .section .cert-band .cert-cta .cta-circle,
.hero-img ~ section .cert-band .cert-cta .cta-circle {
  background: #fff;
  color: var(--blue, #1D53C4);
}

/* ── Journey / roadmap steps ───────────────────────── */
.journey-title { text-align: center; margin-bottom: 48px; }
.journey {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  padding: 0 12px;
}
.journey-line {
  position: absolute;
  top: 44px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 3px;
  background: linear-gradient(90deg, var(--blue, #1D53C4), rgba(29,83,196,.3));
  border-radius: 2px;
  z-index: 0;
}
.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.journey-icon {
  width: 72px;
  height: 72px;
  background: #fff;
  border: 2.5px solid var(--blue, #1D53C4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(29,83,196,.1);
}
.journey-icon:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(29,83,196,.2); }
.journey-icon svg { width: 36px; height: 36px; }
.journey-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue, #1D53C4);
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.journey-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
}
.journey-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #666;
  margin: 0;
  max-width: 160px;
}
@media (max-width: 780px) {
  .journey { grid-template-columns: repeat(3, 1fr); gap: 32px 0; }
  .journey-line { display: none; }
  .journey-desc { max-width: none; }
}
@media (max-width: 480px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
}
