/* GDN — maquette v2 (large, compact, corporate) */
:root {
  --blue: #0066ff;
  --blue-hover: #0052cc;
  --blue-soft: #eef4ff;
  --accent: #38bdf8;
  --navy: #001a3d;
  --navy-deep: #000b1d;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5eaf0;
  --surface: #f5f7fb;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-btn: 9999px;
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 102, 255, 0.14);
  --container: 1440px;
  --header-h: 70px;
  --topbar-h: 36px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --section-y: 3rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
[x-cloak] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.gdn-container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
@media (min-width: 1600px) {
  :root { --container: 1540px; }
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--blue); color: #fff !important; border: 0; border-radius: var(--radius-btn);
  padding: .7rem 1.2rem; font-weight: 600; font-size: .88rem;
  transition: background .2s, box-shadow .2s;
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: var(--shadow-lg); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-btn);
  padding: .62rem 1.1rem; font-weight: 600; font-size: .88rem; background: #fff; color: var(--ink);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline.light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline.light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-video {
  display: inline-flex; align-items: center; gap: .65rem;
  color: #fff; font-weight: 600; font-size: .9rem;
}
.btn-video .play {
  width: 42px; height: 42px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.55);
  display: grid; place-items: center; background: rgba(255,255,255,.08);
}
.btn-video svg { width: 16px; height: 16px; }
.link-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .25rem;
  color: var(--blue); font-weight: 700; font-size: .8rem; padding-top: .65rem;
}
.link-more svg { width: 14px; height: 14px; transition: transform .2s; }
.link-more:hover svg { transform: translateX(3px); }

/* Topbar */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: .75rem;
}
.topbar-inner {
  min-height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar-left, .topbar-right {
  display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.15rem;
}
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 12px; height: 12px; vertical-align: -2px; margin-right: .2rem; }
.topbar-socials a {
  width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.topbar-socials svg { width: 12px; height: 12px; margin: 0; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .78rem;
}
.lang-switch a {
  color: rgba(255, 255, 255, .65);
  padding: .1rem .15rem;
}
.lang-switch a:hover,
.lang-switch a.is-active {
  color: #fff;
}
.lang-switch-mobile {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.lang-switch-mobile a { color: var(--muted); }
.lang-switch-mobile a.is-active,
.lang-switch-mobile a:hover { color: var(--blue); }

/* Header white */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.site-header.is-solid { box-shadow: 0 6px 20px rgba(15,23,42,.06); }
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; flex-shrink: 0; }
.brand-mark { font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; color: var(--blue); }
.brand-sub { font-size: .56rem; color: var(--muted); font-weight: 600; }
.nav-desktop {
  display: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: .15rem;
}
.nav-desktop .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .45rem .65rem;
  font-size: .8rem;
  font-weight: 600;
  color: #334155;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav-desktop .nav-link:hover,
.nav-desktop .nav-link.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}
.nav-caret {
  width: 14px;
  height: 14px;
  opacity: .7;
  transition: transform .18s ease;
}
.nav-item {
  position: relative;
}
.nav-item.has-sub:hover .nav-caret,
.nav-item.has-sub:focus-within .nav-caret {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: .45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 80;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.nav-item.has-sub:hover .nav-dropdown,
.nav-item.has-sub:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sublink {
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}
.nav-sublink:hover,
.nav-sublink.is-active {
  background: var(--blue-soft);
  color: var(--blue);
}
.header-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px; border: 0;
  background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn svg { width: 16px; height: 16px; }
.header-cta { display: none; padding: .58rem 1rem; font-size: .82rem; }
.header-admin {
  display: none;
  padding: .52rem .9rem;
  font-size: .78rem;
  border-color: rgba(0, 102, 255, 0.35);
  color: var(--blue);
}
.nav-mobile {
  background: #fff; border-top: 1px solid var(--line); padding: .75rem 0 1.1rem;
}
.nav-mobile > .gdn-container > a,
.nav-mobile-row > a {
  display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 600;
}
.nav-mobile-group { border-bottom: 1px solid var(--line); }
.nav-mobile-row {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav-mobile-row > a {
  flex: 1;
  border-bottom: 0;
  padding-right: .5rem;
}
.nav-mobile-toggle {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-mobile-toggle svg { width: 16px; height: 16px; }
.nav-mobile-sub {
  padding: 0 0 .55rem .85rem;
  display: grid;
  gap: .1rem;
}
.nav-mobile-sub a {
  display: block;
  padding: .45rem 0;
  font-size: .9rem;
  font-weight: 600;
  color: #475569;
  border: 0;
}
.nav-mobile .btn-primary { margin-top: .85rem; width: 100%; }
.nav-mobile .btn-outline { margin-top: .65rem; width: 100%; text-align: center; }
@media (min-width: 1180px) {
  .nav-desktop { display: flex; }
  .header-cta,
  .header-admin { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 900px) {
  .topbar-slogan { display: none; }
}
@media (max-width: 760px) {
  .topbar-locs { display: none; }
}

/* Hero */
.hero-v2 {
  position: relative; color: #fff;
  padding: 3.25rem 0 4.5rem;
  min-height: 420px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,26,61,.92) 0%, rgba(0,26,61,.62) 48%, rgba(0,26,61,.35) 100%),
    linear-gradient(180deg, rgba(0,11,29,.15), rgba(0,11,29,.55));
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 1.5rem; align-items: end;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; }
}
.hero-content { max-width: 620px; }
.hero-v2 h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  line-height: 1.12; font-weight: 800; letter-spacing: -.025em;
}
.gdn-accent-word { color: var(--accent); }
.hero-lead {
  margin: .85rem 0 0; color: rgba(255,255,255,.84);
  font-size: .98rem; max-width: 34rem;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1.35rem;
}
.hero-aside {
  justify-self: end; align-self: center;
  max-width: 220px; text-align: right;
  font-size: .85rem; font-weight: 600; line-height: 1.35;
  color: rgba(255,255,255,.9);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.hero-aside p { margin: 0; }
@media (max-width: 999px) {
  .hero-aside { display: none; }
}

.stats-overlap {
  position: relative; z-index: 2;
  margin-top: 2rem;
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .stats-overlap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: -2.25rem;
  }
}
.stat-card {
  background: var(--blue); color: #fff;
  border-radius: var(--radius); padding: 1rem 1.1rem;
  box-shadow: var(--shadow-lg);
}
.stat-card strong { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1; }
.stat-card span { display: block; margin-top: .35rem; font-size: .78rem; opacity: .92; }

/* Sections */
.section { padding: var(--section-y) 0; }
.offer {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 12px);
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(0, 102, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  padding-top: calc(var(--section-y) + 2.5rem);
  overflow: hidden;
}
@media (min-width: 900px) {
  .offer { padding-top: calc(var(--section-y) + 3.5rem); }
}
.section-head { margin-bottom: 1.5rem; max-width: 40rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.row {
  max-width: none; display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
}
.eyebrow {
  margin: 0 0 .35rem; color: var(--blue); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow.light { color: var(--accent); }
.section-head h2, .page-hero h1, .service-hero h1, .why-copy h2 {
  margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.02em;
}
.lead { color: var(--muted); margin: .45rem 0 0; font-size: .95rem; }

.page-hero {
  padding: 2.5rem 0 1.75rem;
  background: linear-gradient(180deg, var(--navy) 0%, #0d1b33 100%);
  color: #fff;
}
.page-hero .lead { color: rgba(255,255,255,.75); }
.page-hero .eyebrow { color: var(--accent); }

/* Homepage offer — replaces old 8-card services grid */
.offer-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 980px) {
  .offer-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
    gap: 2.75rem;
  }
}
.offer-copy .eyebrow {
  margin-bottom: .75rem;
  color: var(--blue);
}
.offer-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  max-width: 14ch;
  color: var(--navy);
}
.offer-copy .lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475569;
}
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.offer-count {
  display: inline-flex;
  align-items: center;
  margin-left: .15rem;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  font-size: .75rem;
  font-weight: 700;
}
.offer-stage {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .offer-stage {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: stretch;
  }
}
.offer-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 240px;
  background: var(--navy);
  box-shadow: 0 20px 48px rgba(0, 26, 61, 0.18);
}
.offer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transform: scale(1.02);
  transition: transform .6s ease;
}
.offer-stage:hover .offer-visual img { transform: scale(1.06); }
.offer-visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 26, 61, .15), rgba(0, 26, 61, .55) 70%);
  pointer-events: none;
}
.offer-visual-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  z-index: 1;
  color: rgba(255, 255, 255, .88);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
  align-content: start;
}
.offer-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .85rem;
  align-items: center;
  padding: .8rem .9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.offer-list a:hover {
  transform: translateX(4px);
  border-color: rgba(0, 102, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.1);
}
.offer-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex-shrink: 0;
}
.offer-ico svg { width: 20px; height: 20px; }
.offer-meta {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.offer-meta strong {
  font-size: .92rem;
  color: var(--navy);
  letter-spacing: -.01em;
}
.offer-meta em {
  font-style: normal;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-go {
  width: 18px;
  height: 18px;
  color: var(--blue);
  opacity: .55;
  transition: opacity .2s ease, transform .2s ease;
}
.offer-list a:hover .offer-go {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Promo pair Cloud + Store */
.promo-pair { padding-top: var(--section-y); }
.promo-grid {
  display: grid; gap: 1rem;
}
@media (min-width: 900px) {
  .promo-grid { grid-template-columns: 1fr 1fr; }
}
.promo-card {
  position: relative; overflow: hidden; border-radius: 16px;
  min-height: 220px; display: grid; align-items: stretch;
  color: #fff;
}
.promo-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.promo-cloud { background: var(--navy); }
.promo-cloud::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,26,61,.92) 0%, rgba(0,26,61,.45) 100%);
}
.promo-store { background: #e8f1ff; color: var(--ink); }
.promo-store::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(232,241,255,.96) 0%, rgba(232,241,255,.55) 55%, rgba(232,241,255,.2) 100%);
}
.promo-copy {
  position: relative; z-index: 1; padding: 1.5rem; max-width: 20rem;
  display: flex; flex-direction: column; justify-content: center; gap: .35rem;
}
.promo-copy h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.promo-copy p { margin: 0; font-size: .88rem; opacity: .9; }
.promo-copy .btn-primary { margin-top: .75rem; width: fit-content; }
.promo-badge {
  position: absolute; z-index: 2; top: 1rem; right: 1rem;
  background: #16a34a; color: #fff; font-size: .72rem; font-weight: 700;
  padding: .3rem .65rem; border-radius: 999px;
}

/* Sectors */
.sector-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 800px) {
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .sector-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.sector-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; min-height: 200px;
}
.sector-card img { width: 100%; height: 100%; object-fit: cover; }
.sector-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 35%, rgba(0,26,61,.88));
  color: #fff;
}
.sector-overlay h3 { margin: 0; font-size: .95rem; }
.sector-overlay p { margin: .25rem 0 0; font-size: .75rem; opacity: .88; line-height: 1.3; }

/* Why GDN */
.why-v2 {
  color: #fff;
  padding: var(--section-y) 0;
}
.why-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
}
@media (min-width: 1000px) {
  .why-panel { padding: 2.75rem 2.5rem; }
}
.why-bg { position: absolute; inset: 0; }
.why-bg img { width: 100%; height: 100%; object-fit: cover; }
.why-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,26,61,.94), rgba(0,26,61,.78) 55%, rgba(0,26,61,.7));
}
.why-layout {
  position: relative; z-index: 1;
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 1000px) {
  .why-layout { grid-template-columns: 1.15fr .85fr; }
}
.why-values {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .why-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.why-values article {
  display: flex; gap: .7rem; align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: .85rem .9rem;
}
.why-icon {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  background: var(--blue); color: #fff; display: grid; place-items: center;
}
.why-icon svg { width: 18px; height: 18px; }
.why-values h3 { margin: 0; font-size: .88rem; }
.why-values p { margin: .2rem 0 0; font-size: .75rem; opacity: .8; line-height: 1.35; }
.why-copy h2 { color: #fff; max-width: 14ch; }
.why-copy p { color: rgba(255,255,255,.82); font-size: .95rem; max-width: 34rem; }
.why-copy .btn-primary { margin-top: .5rem; }

/* Projects — homepage strip (keep compact) */
.filter-pills {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; justify-content: center;
}
.pill {
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius-btn);
  padding: .35rem .85rem; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.pill.is-active, .pill:hover { border-color: var(--blue); color: #fff; background: var(--blue); }
.projects-grid {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .projects-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.project-card h3 { margin: .55rem 0 0; font-size: .88rem; line-height: 1.3; }
.project-media {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10;
  box-shadow: var(--shadow);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; left: .55rem; top: .55rem;
  background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .22rem .45rem; border-radius: 5px;
}

/* Portfolio page /projets */
.folio-hero {
  padding: 2.75rem 0 2.25rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(0, 102, 255, 0.22), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, #061428 60%, #0a1a30 100%);
  color: #fff;
}
.folio-hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
}
.folio-hero .eyebrow { color: var(--accent); margin-bottom: .65rem; }
.folio-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -.035em;
  line-height: 1.1;
}
.folio-hero .lead {
  margin: .85rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, .78);
  font-size: 1.02rem;
  line-height: 1.6;
}
.folio-hero-meta {
  text-align: right;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  min-width: 7.5rem;
}
.folio-hero-meta strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: -.04em;
  line-height: 1;
}
.folio-hero-meta span {
  display: block;
  margin-top: .25rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
}
.folio {
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 40%);
}
.folio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.75rem;
}
.folio-pill {
  display: inline-flex;
  align-items: center;
  padding: .45rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #475569;
  font-size: .8rem;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.folio-pill:hover,
.folio-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.folio-feature {
  display: grid;
  gap: 0;
  margin-bottom: 1.25rem;
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 22px 50px rgba(0, 26, 61, 0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.folio-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0, 26, 61, 0.24);
}
@media (min-width: 900px) {
  .folio-feature { grid-template-columns: 1.35fr .9fr; min-height: 340px; }
}
.folio-feature-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}
.folio-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform .55s ease;
}
.folio-feature:hover .folio-feature-media img { transform: scale(1.04); }
.folio-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .65rem;
  padding: 1.6rem 1.5rem 1.75rem;
}
@media (min-width: 900px) {
  .folio-feature-copy { padding: 2rem 2.1rem; }
}
.folio-feature-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -.03em;
  line-height: 1.15;
  max-width: 16ch;
}
.folio-feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 34rem;
}
.folio-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: .28rem .55rem;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.folio-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .35rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
}
.folio-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.folio-feature:hover .folio-more svg,
.folio-card a:hover .folio-more svg { transform: translateX(3px); }
.folio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .folio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .folio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
}
.folio-grid-follow { margin-top: .25rem; }
.folio-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.folio-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 102, 255, 0.12);
}
.folio-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0b1a30;
}
.folio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.folio-card a:hover .folio-card-media img { transform: scale(1.05); }
.folio-card-media .folio-tag {
  position: absolute;
  left: .75rem;
  top: .75rem;
}
.folio-card-body {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.05rem 1.1rem 1.15rem;
  flex: 1;
}
.folio-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.25;
}
.folio-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.folio-card .folio-more { color: var(--blue); margin-top: .5rem; }
.folio-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  max-width: 28rem;
  margin-inline: auto;
}
.folio-empty h2 { margin: 0 0 .5rem; font-size: 1.25rem; color: var(--navy); }
.folio-empty p { margin: 0 0 1.25rem; color: var(--muted); }
.folio-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}
.folio-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.6rem;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}
.folio-cta h2 {
  margin: 0 0 .35rem;
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.folio-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  max-width: 36rem;
}

/* Project detail */
.folio-detail-hero {
  padding: 2.5rem 0 2.25rem;
  background: linear-gradient(180deg, var(--navy), #0d1b33);
  color: #fff;
}
.folio-detail-hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .folio-detail-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 2.25rem; }
}
.folio-detail-copy .eyebrow { color: var(--accent); }
.folio-detail-copy h1 {
  margin: .4rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -.03em;
  line-height: 1.12;
  max-width: 16ch;
}
.folio-detail-copy .lead {
  margin: .85rem 0 0;
  color: rgba(255, 255, 255, .78);
  max-width: 36rem;
}
.folio-client {
  margin: .85rem 0 0;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
}
.folio-detail-copy .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}
.folio-detail-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
  background: #06101f;
}
.folio-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.folio-detail-body { background: var(--surface); }
.folio-prose {
  max-width: 46rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .folio-prose { padding: 2rem 2.15rem; }
}

/* Trust + newsletter */
.trust-band { padding: 2rem 0; border-block: 1px solid var(--line); background: #fff; }
.trust-layout {
  display: grid; gap: 1.25rem; align-items: start;
}
@media (min-width: 960px) {
  .trust-layout { grid-template-columns: 1.4fr .7fr; }
}
.trust-band h2 { margin: 0; font-size: 1.15rem; }
.partners-note { color: var(--muted); font-size: .85rem; margin: .4rem 0 .9rem; }
.partners-track { display: flex; flex-wrap: wrap; gap: .55rem; }
.partner-slot {
  min-width: 120px; padding: .7rem 1rem; border: 1px dashed var(--line);
  border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .8rem;
}
.newsletter-box {
  background: linear-gradient(160deg, #e8f1ff, #f8fafc);
  border-radius: var(--radius); padding: 1.2rem;
  box-shadow: var(--shadow); border: 1px solid rgba(0,102,255,.08);
}
.newsletter-box h3 { margin: 0; font-size: 1rem; }
.newsletter-box p { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
.newsletter-form { display: grid; gap: .5rem; margin-top: .8rem; }
.newsletter-form input {
  border: 1px solid var(--line); border-radius: 8px; padding: .7rem .9rem; background: #fff;
}

/* Blog */
.blog-news { background: var(--surface); }
.blog-grid { display: grid; gap: .85rem; }
.blog-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 900px) {
  .blog-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(15,23,42,.04);
}
.blog-card a { display: block; padding-bottom: .85rem; }
.blog-media { aspect-ratio: 16/9; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card time { display: block; margin: .65rem .9rem 0; color: var(--muted); font-size: .72rem; }
.blog-card h3 { margin: .25rem .9rem 0; font-size: .92rem; line-height: 1.3; }

.blog-list-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.blog-list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.16);
}
.blog-list-media {
  display: block;
  aspect-ratio: 16/10;
  background: var(--surface);
  overflow: hidden;
}
.blog-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-list-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.blog-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  align-items: center;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}
.blog-list-cat {
  color: var(--blue);
  background: var(--blue-soft);
  padding: .18rem .5rem;
  border-radius: 999px;
}
.blog-list-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}
.blog-list-body h3 a:hover { color: var(--blue); }
.blog-list-body p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  flex: 1;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.pagination a {
  min-width: 38px;
  height: 38px;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  background: #fff;
}
.pagination a.is-active,
.pagination a[aria-current="page"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.blog-article-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 960px) {
  .blog-article-layout { grid-template-columns: 1.4fr .7fr; }
}
.blog-article-main { display: grid; gap: 1rem; }
.blog-article-cover {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.blog-article-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: 420px;
}
.blog-article-body {
  padding: 1.35rem 1.4rem;
}
.blog-article-body.prose h2,
.blog-article-body.prose h3 { margin-top: 1.25rem; }
.blog-article-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.blog-article-aside .btn-outline.full,
.blog-article-aside .btn-primary.full { margin-top: .45rem; }
.blog-related img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.account-hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.account-logout-form { margin: 0; flex-shrink: 0; }
.header-logout { display: inline-flex; margin: 0; }
.header-logout button { cursor: pointer; }

/* —— Espace client dashboard —— */
.espace-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 2.75rem 0 3.25rem;
  background: linear-gradient(135deg, #001a3d 0%, #0a2a5c 45%, #0d3a7a 100%);
}
.espace-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(56, 189, 248, .18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(0, 102, 255, .22), transparent 50%),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .15));
  pointer-events: none;
}
.espace-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .espace-hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .75fr);
    gap: 2.5rem;
  }
}
.espace-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.espace-eyebrow i { width: 14px; height: 14px; }
.espace-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
}
.espace-lead {
  margin: .75rem 0 1.35rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
}
.espace-logout-hero { margin: 0; }
.espace-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 0;
  border-radius: 999px;
  padding: .72rem 1.25rem;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: transform .15s, box-shadow .15s;
}
.espace-btn-logout:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}
.espace-btn-logout i { width: 18px; height: 18px; }

.espace-profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}
.espace-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 102, 255, .35);
  border: 2px solid rgba(255, 255, 255, .25);
  color: #fff;
}
.espace-avatar i { width: 26px; height: 26px; }
.espace-profile-meta {
  display: grid;
  gap: .2rem;
  min-width: 0;
}
.espace-profile-meta strong {
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.espace-role {
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
}
.espace-email {
  font-size: .85rem;
  color: #93c5fd;
  word-break: break-all;
}
.espace-email:hover { color: #fff; text-decoration: underline; }
.espace-member {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .25rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}
.espace-member i { width: 13px; height: 13px; }

.espace-dash { background: #f3f6fb; padding-top: 1.75rem; }
.espace-kpis {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.35rem;
}
@media (max-width: 1100px) {
  .espace-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .espace-kpis { grid-template-columns: 1fr; }
}
.espace-kpi {
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.1rem;
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
  display: flex;
  flex-direction: column;
  min-height: 190px;
}
.espace-kpi-blue { background: #eef5ff; border-color: #d6e6ff; }
.espace-kpi-purple { background: #f5f0ff; border-color: #e4daf8; }
.espace-kpi-green { background: #eefbf3; border-color: #d4f0df; }
.espace-kpi-orange { background: #fff6eb; border-color: #f5e2c8; }
.espace-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.espace-kpi-top h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
}
.espace-kpi-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .75);
}
.espace-kpi-ico i { width: 18px; height: 18px; }
.espace-kpi-blue .espace-kpi-ico { color: #2563eb; }
.espace-kpi-purple .espace-kpi-ico { color: #7c3aed; }
.espace-kpi-green .espace-kpi-ico { color: #059669; }
.espace-kpi-orange .espace-kpi-ico { color: #ea580c; }
.espace-kpi-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.espace-kpi-mail {
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
}
.espace-kpi-sub {
  margin: .4rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.espace-kpi-link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 700;
}
.espace-kpi-blue .espace-kpi-link { color: #2563eb; }
.espace-kpi-purple .espace-kpi-link { color: #7c3aed; }
.espace-kpi-orange .espace-kpi-link { color: #ea580c; }
.espace-kpi-link i { width: 15px; height: 15px; }
.espace-kpi-link:hover { text-decoration: underline; }
.espace-kpi-actions {
  margin-top: auto;
  padding-top: .85rem;
  display: grid;
  gap: .45rem;
}
.espace-kpi-actions form { margin: 0; }
.espace-btn-pwd {
  width: 100%;
  justify-content: center;
  padding: .55rem .85rem;
  font-size: .82rem;
  border-radius: 8px;
}
.espace-btn-logout-sm {
  width: 100%;
  justify-content: center;
  padding: .5rem .85rem;
  font-size: .82rem;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}

.espace-orders-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
  padding: 1.25rem 1.35rem 1.1rem;
}
.espace-orders-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.espace-orders-head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.espace-orders-head h2 i { width: 20px; height: 20px; color: var(--blue); }
.espace-orders-head .espace-kpi-link { color: var(--blue); margin: 0; padding: 0; }
.espace-orders-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}
.espace-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.espace-orders-table th,
.espace-orders-table td {
  text-align: left;
  padding: .9rem .5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.espace-orders-table tbody tr:last-child td { border-bottom: 0; }
.espace-orders-table th {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
}
.espace-ref {
  color: var(--blue);
  font-weight: 700;
  font-family: ui-monospace, Consolas, monospace;
  font-size: .86rem;
}
.espace-amount { font-weight: 700; color: var(--navy); }
.espace-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--blue);
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
}
.espace-detail-btn i { width: 15px; height: 15px; }
.espace-detail-btn:hover { text-decoration: underline; }

.espace-dash .status-warn {
  background: #fef9c3;
  color: #a16207;
}
.espace-dash .status-err {
  background: #ffe4e6;
  color: #be123c;
}

.account-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.account-stat {
  margin: .35rem 0 .85rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.account-table-wrap { overflow-x: auto; }
.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.account-table th,
.account-table td {
  text-align: left;
  padding: .65rem .4rem;
  border-bottom: 1px solid var(--line);
}
.account-table th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.account-table a { color: var(--blue); font-weight: 700; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.status-ok { background: #ecfdf5; color: #047857; }
.status-warn { background: #fff7ed; color: #c2410c; }
.status-err { background: #fef2f2; color: #b91c1c; }
.status-muted { background: var(--surface); color: var(--muted); }

.btn-sm {
  padding: .35rem .75rem;
  font-size: .8rem;
}
.full { width: 100%; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .85em; word-break: break-all; }

.account-empty { text-align: center; padding: 2rem 1.25rem; }
.account-empty h2 { margin: 0 0 .35rem; }

.account-order-hero .account-order-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.account-order-hero .eyebrow a { color: var(--blue); font-weight: 600; }
.account-order-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr);
  align-items: start;
}
.account-order-main,
.account-order-aside { display: grid; gap: 1rem; }
.account-order-card h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.account-order-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-order-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.account-order-lines li:last-child { border-bottom: 0; }
.account-order-lines strong { display: block; }
.account-order-lines .muted { font-size: .8rem; }
.account-order-line-meta {
  text-align: right;
  display: grid;
  gap: .2rem;
  color: var(--muted);
  font-size: .88rem;
}
.account-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
.account-order-ship { margin: 0; color: var(--ink); line-height: 1.65; }
.account-order-dl { margin: 0; display: grid; gap: .75rem; }
.account-order-dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: .5rem;
  align-items: start;
}
.account-order-dl dt {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.account-order-dl dd { margin: 0; font-weight: 600; }
.account-order-msg {
  margin: 1rem 0 0;
  padding: .75rem .9rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: .88rem;
  color: var(--muted);
}
.account-order-msg.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.account-retry-form {
  display: grid;
  gap: .75rem;
}
.account-retry-form label:not(.pay-option) {
  display: grid;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.account-retry-form input[type="tel"] {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .65rem .75rem;
}
@media (max-width: 860px) {
  .account-order-layout { grid-template-columns: 1fr; }
  .account-order-dl > div { grid-template-columns: 1fr; gap: .15rem; }
}

/* CTA */
.cta-final { background: var(--navy); color: #fff; padding: 2.1rem 0; }
.cta-final-inner {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cta-final h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.cta-final p { margin: .35rem 0 0; color: rgba(255,255,255,.72); font-size: .92rem; }
.cta-final-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.back-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.back-top svg { width: 18px; height: 18px; }

/* Service detail / shared */
.service-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, var(--navy), #0d1b33);
  color: #fff;
}
.service-hero-grid { display: grid; gap: 1.5rem; align-items: center; }
.service-hero .lead { color: rgba(255,255,255,.78); }
.service-hero-visual {
  position: relative;
  border-radius: 14px; overflow: hidden; box-shadow: 0 18px 48px rgba(0,0,0,.32);
  background: #06101f;
}
.service-hero-visual img { width: 100%; aspect-ratio: 1; object-fit: contain; max-height: 340px; padding: 1.5rem; background: #fff; }
.service-hero-icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}
.service-hero-icon svg { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .service-hero-grid { grid-template-columns: 1.15fr .85fr; }
}
.prose-layout { display: grid; gap: 1.25rem; }
.prose h2 { margin-top: 0; font-size: 1.2rem; }
.prose p { color: #334155; font-size: .98rem; }
.prose-callout {
  margin-top: 1.5rem; background: var(--surface); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; border: 1px solid var(--line);
}
.steps { margin: .65rem 0 0; padding-left: 1.1rem; color: #334155; }
.steps li { margin: .4rem 0; }
.service-aside { display: grid; gap: .85rem; align-content: start; }
.aside-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.15rem; border: 1px solid var(--line);
}
.aside-card.muted { background: var(--surface); }
.aside-card h3 { margin: 0 0 .4rem; font-size: 1rem; }
.aside-card p { color: var(--muted); margin: 0 0 .85rem; font-size: .88rem; }
.aside-card .btn-primary { margin-bottom: .45rem; }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.aside-links a { display: flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .85rem; }
.aside-links img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: #fff; }
.aside-svc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex-shrink: 0;
}
.aside-svc-icon svg { width: 20px; height: 20px; }
@media (min-width: 1000px) {
  .prose-layout { grid-template-columns: 1.6fr .7fr; }
}
.btn-ghost-dark { display: inline-flex; align-items: center; gap: .45rem; color: var(--blue); font-weight: 600; }
.btn-ghost-light { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; }
.btn-primary.full, .btn-outline.full { width: 100%; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding-top: 2.75rem; }
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  padding-bottom: 2rem;
}
.footer-brand .brand-mark { color: #fff; font-size: 1.35rem; margin-bottom: .55rem; }
.footer-brand p { margin: 0; font-size: .85rem; max-width: 28ch; line-height: 1.45; }
.socials { display: flex; gap: .45rem; margin-top: .85rem; }
.socials a {
  width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff;
}
.socials svg { width: 14px; height: 14px; }
.site-footer h3 {
  margin: 0 0 .7rem; color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}
.site-footer h3.mt { margin-top: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .35rem; }
.site-footer a { font-size: .88rem; }
.site-footer a:hover { color: var(--accent); }
.contact-list { font-size: .85rem; }
.contact-list strong { color: #fff; }
.tech-chips, .pay-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.tech-chips span, .pay-chips span {
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: .25rem .55rem; font-size: .7rem; font-weight: 600;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: .55rem 1rem;
  justify-content: space-between; align-items: center; padding: .85rem 0;
  font-size: .8rem;
}
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { margin: 0; }

/* Forms / legacy */
.form-stack { display: grid; gap: .8rem; }
.form-stack label { display: grid; gap: .3rem; font-weight: 600; font-size: .85rem; }
.form-stack input, .form-stack textarea, .form-stack select {
  border: 1px solid var(--line); border-radius: 8px; padding: .7rem .9rem; background: #fff;
}
.form-stack textarea { resize: vertical; min-height: 110px; }
.field-error { color: #dc2626; font-weight: 500; }
.wrap { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.kicker { color: var(--accent); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.display { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.02em; }
.muted { color: var(--muted); }
.grid-2, .grid-3 { display: grid; gap: .85rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.1rem; border: 1px solid var(--line);
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: var(--radius-btn); font-weight: 600; }
.btn-ghost { color: var(--blue); }
.form label { display: grid; gap: .3rem; margin-bottom: .75rem; font-weight: 600; }
.form input, .form textarea { border: 1px solid var(--line); border-radius: 8px; padding: .7rem .9rem; }
.simple-page { padding: 2.5rem 0 3rem; }
.error-box { text-align: center; padding: 3rem 0; }

/* Expertise grid alias for services index */
.expertise-grid { display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1100px) { .expertise-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1400px) { .expertise-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.expertise-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.expertise-visual { aspect-ratio: 1; background: #fff; padding: 1rem; }
.expertise-visual img { width: 100%; height: 100%; object-fit: contain; }
.expertise-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.expertise-body h3 { margin: 0; font-size: .95rem; color: var(--blue); }
.expertise-body p { margin: .4rem 0 0; color: var(--muted); font-size: .82rem; flex: 1; }
.card-icon { display: none; }
.solutions-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.solution-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.solution-media { aspect-ratio: 16/10; overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }
.solution-body { padding: .85rem; }
.solution-body h3 { margin: 0; font-size: .9rem; }
.solution-body p { margin: .3rem 0 0; color: var(--muted); font-size: .78rem; }
.shop-band { background: var(--navy); color: #fff; padding: 2rem 0; }
.shop-band-inner { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 900px) { .shop-band-inner { grid-template-columns: 1.1fr .9fr; } }
.shop-copy h2 { margin: 0; }
.shop-visual { border-radius: 12px; overflow: hidden; }
.shop-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; max-height: 240px; }
.pay-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 1rem; }
.pay-row span {
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  padding: .28rem .65rem; font-size: .72rem; font-weight: 600;
}

/* Boutique e-commerce */
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--blue); color: #fff;
  font-size: .65rem; font-weight: 700; display: grid; place-items: center;
  line-height: 1;
}
.shop-hero-inner {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between;
}
.shop-catalog { padding-top: 2rem; }
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.shop-search { display: flex; gap: .5rem; flex: 1; min-width: min(100%, 280px); }
.shop-search input {
  flex: 1; border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: .65rem 1rem; background: #fff;
}
.shop-count { margin: 0; color: var(--muted); font-size: .85rem; }
.shop-cats {
  display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.5rem;
}
.shop-cats a {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .85rem; font-size: .8rem; font-weight: 600; background: #fff;
}
.shop-cats a:hover, .shop-cats a.is-active {
  border-color: var(--blue); color: var(--blue); background: var(--blue-soft);
}
.product-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.product-card:hover { box-shadow: var(--shadow); border-color: #d7e3f4; }
.product-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--surface); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; left: .65rem; top: .65rem;
  background: var(--navy); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .28rem .55rem; border-radius: 999px;
}
.product-badge.stock-low { background: #b45309; }
.product-body { padding: .95rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-cat { margin: 0; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.product-body h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.product-body h3 a:hover { color: var(--blue); }
.product-price { margin: 0; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.product-price.xl { font-size: 1.45rem; margin: .35rem 0 .5rem; }
.product-actions {
  display: flex; gap: .45rem; margin-top: auto; padding-top: .65rem; flex-wrap: wrap;
}
.product-actions .btn-primary,
.product-actions .btn-outline { padding: .55rem .9rem; font-size: .8rem; }
.shop-empty { max-width: 36rem; margin: 1rem auto; text-align: center; }
.shop-empty-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.shop-pay-note {
  margin-top: 2.5rem; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--navy); color: #fff;
}
.shop-pay-note h2 { margin: 0 0 .35rem; font-size: 1.05rem; }
.shop-pay-note p { margin: 0; color: rgba(255,255,255,.75); font-size: .88rem; }
.shop-pay-note .pay-row span { border-color: rgba(255,255,255,.2); }

.shop-breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  margin-bottom: 1.25rem; color: var(--muted); font-size: .85rem;
}
.shop-breadcrumb a:hover { color: var(--blue); }
.product-detail-grid {
  display: grid; gap: 1.5rem; align-items: start;
}
@media (min-width: 900px) {
  .product-detail-grid { grid-template-columns: 1.05fr .95fr; gap: 2rem; }
}
.product-detail-media {
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
}
.product-detail-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-detail-info h1 { margin: .2rem 0 .4rem; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.product-desc { margin: .85rem 0; color: var(--ink); }
.product-desc p { margin: 0 0 .65rem; }
.product-meta { margin: .35rem 0; font-size: .9rem; }
.product-buy { margin: 1.1rem 0 .75rem; max-width: 28rem; }
.product-buy-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.related-products { margin-top: 2.75rem; }

.cart-layout, .checkout-layout {
  display: grid; gap: 1.25rem; align-items: start;
}
@media (min-width: 960px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1.4fr .8fr; }
}
.cart-lines { display: grid; gap: .85rem; }
.cart-line {
  display: grid; gap: .85rem; grid-template-columns: 96px 1fr auto;
  align-items: start; padding: 1rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
}
@media (max-width: 640px) {
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line-total { grid-column: 2; }
}
.cart-thumb {
  display: block; border-radius: 8px; overflow: hidden; background: var(--surface);
  aspect-ratio: 4/3;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info h3 { margin: 0 0 .25rem; font-size: .98rem; }
.cart-qty { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: .55rem; }
.cart-qty input {
  width: 72px; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .55rem;
}
.cart-line-total { margin: 0; font-weight: 700; white-space: nowrap; }
.cart-summary-total, .checkout-summary .cart-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: .85rem 0 1rem; font-size: 1.05rem;
}
.checkout-form h2, .checkout-summary h2 { margin: 0 0 .75rem; font-size: 1.05rem; }
.pay-option {
  display: flex !important; align-items: flex-start; gap: .55rem;
  border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; margin-bottom: .55rem;
}
.pay-option input { margin-top: .2rem; }
.checkout-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checkout-lines li {
  display: flex; justify-content: space-between; gap: .75rem;
  font-size: .9rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem;
}
.alert { padding: .85rem 1rem; border-radius: 10px; margin: 0 0 1rem; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.field-error { color: #b91c1c; font-weight: 600; font-size: .78rem; }

/* Formations */
.training-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.training-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.training-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.18);
}
.training-media {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  background: var(--surface);
  overflow: hidden;
}
.training-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.training-badge {
  position: absolute;
  left: .75rem;
  top: .75rem;
  background: var(--navy);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .28rem .6rem;
  border-radius: 999px;
}
.training-body {
  padding: 1.05rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.training-body h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}
.training-body h3 a:hover { color: var(--blue); }
.training-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .75rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}
.training-meta li {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.training-meta svg { width: 14px; height: 14px; color: var(--blue); }
.training-meta.hero {
  margin-top: 1rem;
  gap: .55rem 1rem;
  color: rgba(255,255,255,.82);
  font-size: .85rem;
}
.training-meta.hero svg { color: var(--accent); }
.training-price {
  margin: .2rem 0 0;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}
.training-hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
@media (min-width: 900px) {
  .training-hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; }
}
.training-hero-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  background: #06101f;
}
.training-hero-visual img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  max-height: 280px;
}
.shop-breadcrumb.light { color: rgba(255,255,255,.7); margin-bottom: .85rem; }
.shop-breadcrumb.light a { color: rgba(255,255,255,.85); }
.shop-breadcrumb.light a:hover { color: #fff; }
.training-detail-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 960px) {
  .training-detail-layout { grid-template-columns: 1.35fr .75fr; }
}
.training-content { display: grid; gap: 1rem; }
.training-block h2 {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
}
.training-block .prose p:last-child { margin-bottom: 0; }
.training-aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.training-register h2 { margin: 0 0 .35rem; font-size: 1.1rem; }
.training-register .form-stack { margin-top: .85rem; }

/* Bouton édition CMS (staff connecté) */
.cms-edit-fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  font-weight: 700;
  font-size: .82rem;
  box-shadow: 0 12px 32px rgba(0, 26, 61, 0.28);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.cms-edit-fab:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.28);
}
.cms-edit-fab svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .cms-edit-fab span { display: none; }
  .cms-edit-fab { padding: .85rem; }
  :root { --section-y: 2.35rem; }
  .hero-v2 { padding: 2.25rem 0 3.5rem; }
}

/* About page */
.about-hero {
  padding: 2.75rem 0 2.25rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(0, 102, 255, 0.22), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, #061428 55%, #0a1a30 100%);
  color: #fff;
  overflow: hidden;
}
.about-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-hero-grid { grid-template-columns: 1.2fr .8fr; gap: 2.5rem; }
}
.about-hero-copy .eyebrow {
  color: var(--accent);
  margin-bottom: .65rem;
}
.about-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  max-width: 16ch;
}
.about-hero-copy .lead {
  margin-top: .85rem;
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.55;
}
.about-tagline {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  font-weight: 600;
}
.about-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}
.about-hero-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
}
.about-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-hero-aside {
  display: grid;
  gap: 1rem;
  justify-items: end;
}
.about-hero-badge {
  display: grid;
  gap: .15rem;
  padding: 1.15rem 1.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  text-align: right;
  min-width: 11rem;
}
.about-hero-year {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1;
}
.about-hero-badge span:last-child {
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
}
.about-hero-mark {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .85;
  color: rgba(255, 255, 255, .06);
  user-select: none;
}
.about-facts {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
@media (min-width: 800px) {
  .about-facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.about-fact {
  padding: 1.15rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .about-fact { border-bottom: 0; }
  .about-fact:last-child { border-right: 0; }
}
@media (max-width: 799px) {
  .about-fact:nth-child(2n) { border-right: 0; }
  .about-fact:nth-last-child(-n+2) { border-bottom: 0; }
}
.about-fact strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  color: var(--navy);
}
.about-fact span {
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
}
.about-body { background: var(--surface); }
.about-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1000px) {
  .about-layout { grid-template-columns: minmax(0, 1.65fr) minmax(260px, .7fr); gap: 2rem; }
}
.about-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .about-content { padding: 2rem 2.15rem 2.25rem; }
}
.about-content.prose > *:first-child { margin-top: 0; }
.about-content.prose h2 {
  margin: 1.75rem 0 .65rem;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--navy);
}
.about-content.prose h3 {
  margin: 1.35rem 0 .5rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.about-content.prose p {
  margin: 0 0 .9rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
}
.about-content.prose ul,
.about-content.prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  color: #334155;
  line-height: 1.65;
}
.about-content.prose li { margin: .35rem 0; }
.about-content.prose li::marker { color: var(--blue); }
.about-content.prose strong { color: var(--ink); }
.about-aside { display: grid; gap: .9rem; position: sticky; top: 1rem; }
.about-nav-list {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  display: grid;
  gap: .2rem;
}
.about-nav-list a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .45rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.about-nav-list a:hover {
  background: #fff;
  color: var(--blue);
}
.about-nav-list svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}
@media (max-width: 999px) {
  .about-aside { position: static; }
  .about-hero-aside { justify-items: start; }
}
