/*
 * =============================================================================
 * BICS 2026 — vitrine blanche / encre (studio IA)
 * Cassiopeia + user.css only. No SPPB. Textes d'articles inchangés.
 * Fond papier blanc, typo monumentale, filets noirs, ombre print dure.
 * Accent cyan BICS très dosé. Footer seul bloc inversé.
 * =============================================================================
 */

@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --pg-bg: #ffffff;
  --pg-bg-elev: #ffffff;
  --pg-bg-elev-2: #ffffff;
  --pg-paper: #ffffff;
  --pg-ink: #111111;
  --pg-muted: #3d3d3d;
  --pg-line: #111111;
  --pg-cyan: #0b7f8c;
  --pg-cyan-dim: #0b7f8c;
  --pg-gold: #8a6d2a;
  --pg-font-display: Syne, "Avenir Next", "Segoe UI", sans-serif;
  --pg-font-body: Outfit, "Segoe UI", sans-serif;
  --pg-font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;
  --pg-header-h: 72px;
  --pg-accent-rgb: 11, 127, 140;
  --pg-secondary-rgb: 17, 17, 17;
  --pg-orb-hues: 0,0,0,0;
  --cassiopeia-color-primary: #111111;
  --cassiopeia-color-link: #111111;
  --link-color: #111111;
  --link-hover-color: #0b7f8c;
  --pg-hard: 8px 8px 0 #111111;
}

html {
  background: #fff;
  color: var(--pg-ink);
}

html.pg-fx-on {
  background: #fff;
}

body {
  background: #fff;
  color: var(--pg-ink);
  font-family: var(--pg-font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  cursor: none;
}

/* Grain papier — opacity 0.04, pas Photoshop plat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4000;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* Mesh SVG très léger gris (pas d'aurora sombre) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 72%);
  opacity: 0.7;
}

.site-grid,
.wrapper-fluid,
#wrapper {
  background: transparent;
  color: var(--pg-ink);
}

/* ----- Header blanc fin ----- */
.container-header,
header.header {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--pg-header-h);
  padding: 0.55rem 1.6rem;
  background: #fff !important;
  border-bottom: 1px solid transparent;
  color: var(--pg-ink);
  box-shadow: none;
  transition: background 1s ease, color 1s ease, border-color 1s ease, box-shadow 1s ease;
}

.container-header.is-scrolled,
header.header.is-scrolled {
  background: #111 !important;
  color: #fff;
  border-bottom-color: #111;
  box-shadow: 0 1px 0 #111;
}

.container-header a,
header.header a,
.container-header .navbar-brand,
.container-header .site-description,
.container-header .site-title {
  color: var(--pg-ink) !important;
  transition: color 1s ease;
}

.container-header.is-scrolled a,
.container-header.is-scrolled .navbar-brand,
.container-header.is-scrolled .site-description,
.container-header.is-scrolled .site-title,
header.header.is-scrolled a {
  color: #fff !important;
}

.container-header .site-title {
  font-family: var(--pg-font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.container-header .site-description {
  display: none;
}

.container-header.is-scrolled .site-description {
  color: rgba(255, 255, 255, 0.62) !important;
}

.container-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.container-header .navbar-brand img,
header.header .logo img,
.navbar-brand img {
  height: 52px;
  width: auto;
  max-width: 240px;
  display: block;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: normal;
}

.container-header.is-scrolled .navbar-brand img {
  background: #fff;
  padding: 0.2rem 0.4rem;
}

.container-header .mod-menu,
.container-header .mod-menu.mod-list.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.05rem;
  margin: 0;
  padding: 0;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span,
.container-header .mod-menu > li > button {
  color: var(--pg-ink) !important;
  font-family: var(--pg-font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.4rem 0.48rem;
  white-space: nowrap;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: color 1s ease, border-color .2s ease;
}

.container-header.is-scrolled .mod-menu > li > a,
.container-header.is-scrolled .mod-menu > li > span {
  color: #fff !important;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > .active > a,
.container-header .mod-menu > li.deeper.parent > a:hover {
  background: transparent;
  color: var(--pg-ink) !important;
  border-bottom-color: #111;
}

.container-header.is-scrolled .mod-menu > li > a:hover,
.container-header.is-scrolled .mod-menu > .active > a {
  color: #fff !important;
  border-bottom-color: #fff;
}

.container-header .mod-menu .mod-menu__sub {
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 0.4rem;
  box-shadow: var(--pg-hard);
}

.container-header .mod-menu .mod-menu__sub a {
  color: var(--pg-ink) !important;
  border-radius: 0;
}

.container-header .mod-menu .mod-menu__sub a:hover {
  background: #111;
  color: #fff !important;
}

/* Burger */
.pg-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 5;
}
.pg-burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}
.container-header.is-open .pg-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.container-header.is-open .pg-burger span:nth-child(2) { opacity: 0; }
.container-header.is-open .pg-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hide CMS chrome */
.article-info,
.mod-breadcrumbs,
nav.mod-breadcrumbs,
.container-banner,
.pagenavigation,
.com-content-article .icons,
.container-sidebar-left,
.container-sidebar-right { display: none !important; }

/* Layout */
.site-grid { background: transparent; }
.grid-child.container-component {
  max-width: 1180px;
  width: 100%;
  color: var(--pg-ink);
}

body.itemid-101 .grid-child.container-component,
body.pg-home .grid-child.container-component {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  grid-column: full-start / full-end;
}

body.itemid-101 .com-content-article .page-header,
body.itemid-101 .com-content-article h2.page-header,
body.pg-home .com-content-article .page-header { display: none !important; }

.com-content-article,
.blog-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

body.itemid-101 .com-content-article,
body.pg-home .com-content-article {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  max-width: none;
  margin-top: calc(-1 * var(--pg-header-h));
}

.com-content-article .page-header h1,
.blog-item .page-header h2,
.blog-item .page-header h2 a {
  font-family: var(--pg-font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--pg-ink);
  text-decoration: none;
}

a { color: var(--pg-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--pg-cyan); }

.com-content-article .com-content-article__body p {
  max-width: 46rem;
}

.com-content-article img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

/* =============================================================================
 * HERO — full viewport blanc, titre monumental, filet noir
 * ============================================================================= */
.pg-hero {
  position: relative;
  min-height: 88svh;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  color: var(--pg-ink);
  overflow: hidden;
  margin: 0;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(17, 17, 17, 0.035), transparent 58%),
    radial-gradient(700px 380px at 6% 88%, rgba(11, 127, 140, 0.04), transparent 52%),
    #ffffff;
}

.pg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 18%, transparent 75%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.pg-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #111;
  z-index: 5;
}

.pg-hero-shade { display: none; }

#pg-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.pg-hero-glow,
#pg-glow,
.pg-page-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(420px 420px at var(--pg-mx, 72%) var(--pg-my, 18%), rgba(17, 17, 17, 0.045), transparent 62%);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.pg-page-glow {
  position: fixed;
  z-index: 2;
  opacity: 0;
}
.pg-page-glow.is-on { opacity: 0.85; }

.pg-hero-inner {
  position: relative;
  z-index: 4;
  width: min(1220px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 7.5rem 0 3.4rem;
}

.pg-kicker {
  font-family: var(--pg-font-display);
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pg-ink);
  margin: 0 0 1.15rem;
  font-weight: 700;
}

.pg-hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem 0.38rem 0.62rem;
  border-radius: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-family: var(--pg-font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #111;
}

.pg-hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pg-cyan);
  box-shadow: none;
  animation: pg-pulse 1.8s ease-in-out infinite;
}

@keyframes pg-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.45; }
}

.pg-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1.08fr);
  gap: 2rem 2.6rem;
  align-items: center;
}

.pg-hero-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
}

.pg-hero-mark {
  position: absolute;
  right: -3vw;
  top: 8%;
  width: 52vw;
  max-width: 780px;
  height: auto;
  opacity: 0.22;
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.pg-carousel {
  position: relative;
  z-index: 4;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 220px;
  border: 1px solid #111;
  background: #111;
  box-shadow: 8px 8px 0 #111;
  overflow: hidden;
}

.pg-carousel-track {
  position: absolute;
  inset: 0;
}

.pg-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.pg-carousel-slide.is-on {
  opacity: 1;
  pointer-events: auto;
}

.pg-carousel-slide img {
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.pg-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.pg-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: transparent;
  box-shadow: 0 0 0 1.5px #111;
  cursor: pointer;
}

.pg-carousel-dot.is-on {
  background: #fff;
}

.pg-hero h1 {
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 0;
  max-width: 18ch;
  color: #111;
  text-shadow: none;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid #111;
}

.pg-serif {
  font-family: var(--pg-font-accent);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
  background: none;
  color: #111;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.pg-lead {
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  color: #222;
  max-width: 34rem;
  margin: 1.35rem 0 2rem;
  font-weight: 400;
}

.pg-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.pg-hero-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin: 2.2rem 0 0;
  padding: 0;
  color: #111;
  font-family: var(--pg-font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.pg-hero-hud span {
  position: relative;
  padding-left: 0.95rem;
}
.pg-hero-hud span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 0;
  background: #111;
  opacity: 1;
}

/* Marquee extraite du HTML existant */
.pg-marquee {
  position: relative;
  z-index: 5;
  border-top: 1px solid #111;
  background: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.85rem 0;
}
.pg-marquee-track {
  display: inline-flex;
  gap: 0;
  animation: pg-marquee 36s linear infinite;
}
.pg-marquee-item {
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 1.6rem;
  color: #111;
}
.pg-marquee-item::after {
  content: " / ";
  color: var(--pg-cyan);
  margin-left: 1.6rem;
  letter-spacing: 0;
}
@keyframes pg-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Boutons — noir plein, hover invert, gros, pas pills */
.pg-btn,
.pg-btn-mag,
.pg-inner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #111;
  color: #fff !important;
  font-family: var(--pg-font-display);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.95rem 1.55rem;
  border-radius: 0;
  border: 2px solid #111;
  font-size: 0.82rem;
  box-shadow: none;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pg-btn:hover,
.pg-inner-cta:hover {
  background: #fff;
  color: #111 !important;
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 #111;
}
.pg-btn-ghost {
  background: #fff;
  color: #111 !important;
  border-color: #111;
  box-shadow: none;
  backdrop-filter: none;
}
.pg-btn-ghost:hover {
  background: #111;
  color: #fff !important;
  border-color: #111;
  box-shadow: 6px 6px 0 #111;
}

/* Sections / cartes */
.pg-section {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4.2rem 0 1.4rem;
}
.pg-h {
  font-family: var(--pg-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
  margin: 0 0 1.5rem;
  color: #111;
  line-height: 0.95;
}
.pg-section > p {
  max-width: 46rem;
  color: #222;
  font-size: 1.08rem;
}
.pg-grid {
  display: grid;
  gap: 1.15rem;
}
.pg-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pg-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 1.35rem 1.3rem 1.5rem;
  color: #111 !important;
  text-decoration: none !important;
  min-height: 8.2rem;
  box-shadow: var(--pg-hard);
  transform: var(--pg-tilt, none);
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease;
  backdrop-filter: none;
}
.pg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 180px at var(--pg-shine, 50% 0%), rgba(17, 17, 17, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity .25s ease;
}
.pg-card:hover,
.pg-card.is-tilt {
  border-color: #111;
  box-shadow: 12px 12px 0 #111;
}
.pg-card:hover::after,
.pg-card.is-tilt::after { opacity: 1; }
.pg-card:hover { transform: var(--pg-tilt, translate(-3px, -3px)); }

.pg-card-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pg-cyan);
  font-weight: 800;
  font-family: var(--pg-font-display);
}
.pg-card strong {
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pg-card p { color: #222; margin: 0.2rem 0 0; }
.pg-card-sat { min-height: 9.5rem; }

.pg-card-pole {
  min-height: 12.6rem;
  padding: 1.55rem 1.45rem 1.7rem;
  background: #fff;
  border-color: #111;
  box-shadow: var(--pg-hard);
}
.pg-card-pole::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #111;
  opacity: 1;
  box-shadow: none;
}
.pg-card-pole[data-code]::after {
  content: attr(data-code);
  position: absolute;
  right: 0.55rem;
  bottom: -0.2rem;
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(17, 17, 17, 0.07);
  pointer-events: none;
  z-index: 0;
}
.pg-card-pole .pg-card-kicker,
.pg-card-pole strong { position: relative; z-index: 1; }

.pg-don-line { margin: 1.4rem 0 0; }
.pg-section-video { padding-top: 1.2rem; }
.pg-video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #111;
  background: #111;
  box-shadow: var(--pg-hard);
}
.pg-video-wrap iframe,
.pg-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pg-cpe-band {
  margin-bottom: 3rem;
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 2rem 2.1rem;
  width: min(1180px, calc(100% - 3rem));
  box-shadow: var(--pg-hard);
}
.pg-cpe-band p { max-width: 48rem; color: #222; }

.pg-contact h2 { font-family: var(--pg-font-display); }

.pg-kreyol {
  color: var(--pg-cyan);
  font-style: italic;
  font-family: var(--pg-font-accent);
  margin-top: 0.7rem;
}
.pg-clientele { min-height: 14rem; }
.pg-hub-line { margin: 2.4rem 0 3.4rem; }
.pg-partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}
.pg-partners a,
.pg-partners span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 0.7rem;
  background: #fff;
  border-radius: 0;
  border: 1px solid #111;
  box-shadow: 4px 4px 0 #111;
}
.pg-partners img {
  max-height: 72px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* Curseur-cercle */
.pg-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid #111;
  box-shadow: 0 0 0 2px #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5000;
  mix-blend-mode: normal;
  background: transparent;
  transform: translate(var(--pg-cx, -40px), var(--pg-cy, -40px));
  transition: width .2s ease, height .2s ease, margin .2s ease, background .2s ease;
}
.pg-cursor.is-hot {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 0 0 0 2px #fff;
}

/* Reveal */
html.pg-fx-on .pg-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
}
html.pg-fx-on .pg-reveal.is-in {
  opacity: 1;
  transform: none;
}
html.pg-fx-on .pg-card.pg-reveal {
  transition:
    opacity .85s cubic-bezier(.2,.7,.2,1),
    transform .85s cubic-bezier(.2,.7,.2,1),
    box-shadow .2s ease;
}
html.pg-fx-on .pg-card.pg-reveal.is-in.is-tilt,
html.pg-fx-on .pg-card.pg-reveal.is-in:hover {
  transform: var(--pg-tilt, translate(-3px, -3px));
}

/* =============================================================================
 * INNER PAGES — bandeau clair, pills noires, colonne éditoriale
 * ============================================================================= */
html:has(body.pg-inner) { background: #fff; }

body.pg-inner {
  background: #fff;
  color: var(--pg-ink);
}

body.pg-inner .site-grid { background: transparent; }

body.pg-inner .grid-child.container-component,
body.pg-inner .site-grid .container-component {
  max-width: none !important;
  width: 100%;
  padding: 0 !important;
  grid-column: full-start / full-end;
}

body.pg-inner .com-content-article,
body.pg-inner .com-content-article.pg-inner,
body:not(.itemid-101) .com-content-article,
body:not(.itemid-101) .com-content-article.pg-inner {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 70px;
  color: var(--pg-ink);
}

body:not(.itemid-101) .grid-child.container-component {
  max-width: none;
  padding-top: 0;
}

/* Bandeau page (legacy + inner) */
.pg-pagehead {
  position: relative;
  max-width: 52rem;
  padding: 3.2rem 0 2rem;
  margin: 0 0 2.4rem;
  border-bottom: 3px solid #111;
}
.pg-pagehead::after { display: none; }
.pg-pagehead .pg-kicker { margin: 0 0 0.7rem; }
.pg-pagehead h1 {
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 0 0.85rem;
  color: #111;
}
.pg-pagehead .pg-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  color: #222;
  max-width: 36rem;
  margin: 0;
}

.pg-inner-hero {
  position: relative;
  min-height: 0;
  height: auto;
  padding: 5.6rem 0 2.6rem;
  overflow: hidden;
  background:
    radial-gradient(700px 280px at 92% 0%, rgba(17, 17, 17, 0.03), transparent 60%),
    #ffffff;
  border-bottom: 3px solid #111;
}
.pg-inner-hero::after { display: none; }

.pg-inner-hero__inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.pg-inner-hero__title {
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: #111;
  text-shadow: none;
  margin: 0;
  max-width: 12ch;
}

.pg-inner-hero__visual {
  position: relative;
  width: 220px;
  height: 220px;
  flex: 0 0 220px;
  margin-bottom: 0;
}

.pg-inner-hero__blob {
  width: 220px;
  height: 220px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 8px 8px 0 #111;
  background: #fff;
  border: 1px solid #111;
}

.pg-inner-hero__blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}

.pg-inner-hero__blob--glow {
  background:
    repeating-linear-gradient(90deg, #111 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, #111 0 1px, transparent 1px 18px),
    #fff;
  box-shadow: 8px 8px 0 #111;
}
.pg-inner-hero__blob--glow::before { display: none; }

.pg-inner-hero__wave {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 70px;
  height: 8px;
  background: var(--pg-cyan);
  clip-path: none;
  pointer-events: none;
}

/* Sub-nav pills noires / outline */
.pg-inner-subnav {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 1.4rem auto 0;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 10px 12px;
  box-shadow: 6px 6px 0 #111;
  backdrop-filter: none;
}

.pg-inner-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
  color: #111 !important;
  font-weight: 800;
  font-family: var(--pg-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 0 0.35rem 0 0.15rem;
  flex: 0 0 auto;
}
.pg-inner-brand img {
  width: auto;
  height: 36px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: normal;
}

.pg-inner-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
}

.pg-inner-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #111;
  background: #fff;
  color: #111 !important;
  text-decoration: none !important;
  font-family: var(--pg-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  line-height: 1;
}
.pg-inner-pill:hover,
.pg-inner-pill.is-active {
  background: #111;
  border-color: #111;
  color: #fff !important;
}

.pg-inner-cta {
  margin-left: auto;
  white-space: nowrap;
}

/* Content + aside */
.pg-inner-wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 3.2rem 0 0;
}

.pg-inner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.pg-inner-card {
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  box-shadow: var(--pg-hard);
  padding: 2rem 2.1rem 2.3rem;
  min-width: 0;
  color: #111;
  backdrop-filter: none;
  transform: var(--pg-tilt, none);
}
.pg-inner-card.is-tilt {
  border-color: #111;
}

.pg-inner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 5px 11px;
  border-radius: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--pg-font-display);
}
.pg-inner-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--pg-cyan);
}

.pg-inner-title {
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 0.9rem;
  padding: 0 0 0.75rem !important;
  border: 0 !important;
  border-bottom: 2px solid #111 !important;
  width: fit-content;
  max-width: 100%;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #111 !important;
}

.pg-inner-lead {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.55;
  color: #222;
  margin: 0 0 1.2rem;
  max-width: none;
}

.pg-inner-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #111;
  box-shadow: var(--pg-hard);
  padding: 0;
}

.pg-inner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 1rem 1.1rem 0.7rem;
  border-bottom: 1px solid #111;
}

.pg-inner-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  backdrop-filter: none;
}

.pg-inner-fact {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #fff;
  border: 0;
  border-top: 1px solid #111;
  border-radius: 0;
  padding: 14px 16px;
  backdrop-filter: none;
}
.pg-inner-fact:first-of-type { border-top: 0; }
.pg-inner-chips + .pg-inner-fact { border-top: 0; }

.pg-inner-fact strong {
  display: block;
  font-size: 0.92rem;
  color: #111;
  margin: 0 0 0.15rem;
  font-family: var(--pg-font-display);
}
.pg-inner-fact p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #333;
  text-align: left;
}
.pg-inner-fact__icon {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 0;
  background: #111;
}
.pg-inner-fact.tone-blue .pg-inner-fact__icon,
.pg-inner-fact.tone-teal .pg-inner-fact__icon,
.pg-inner-fact.tone-violet .pg-inner-fact__icon,
.pg-inner-fact.tone-orange .pg-inner-fact__icon,
.pg-inner-fact.tone-green .pg-inner-fact__icon {
  background: var(--pg-cyan);
}

/* Lecture éditoriale */
body:not(.itemid-101) .com-content-article__body,
body.pg-inner .com-content-article__body {
  color: #111;
  max-width: none;
}

body:not(.itemid-101) .com-content-article__body > p,
body:not(.itemid-101) .com-content-article__body > h2,
body:not(.itemid-101) .com-content-article__body > h3,
body:not(.itemid-101) .com-content-article__body > h4,
body:not(.itemid-101) .com-content-article__body > ul,
body:not(.itemid-101) .com-content-article__body > ol,
body:not(.itemid-101) .com-content-article__body > blockquote,
body.pg-inner .com-content-article__body > p,
body.pg-inner .com-content-article__body > h2,
body.pg-inner .com-content-article__body > h3,
body.pg-inner .com-content-article__body > h4,
body.pg-inner .com-content-article__body > ul,
body.pg-inner .com-content-article__body > ol,
body.pg-inner .com-content-article__body > blockquote {
  max-width: 68ch;
}

body:not(.itemid-101) .com-content-article__body > p,
body.pg-inner .com-content-article__body > p {
  text-align: justify;
  hyphens: auto;
  line-height: 1.72;
  margin: 0 0 1.15rem;
  color: #1a1a1a;
  font-size: 1.02rem;
}

body:not(.itemid-101) .com-content-article__body > p:first-of-type:not(:has(img)),
body.pg-inner .com-content-article__body > p:first-of-type:not(:has(img)) {
  font-size: 1.14rem;
  line-height: 1.65;
  color: #111;
}

body:not(.itemid-101) .com-content-article__body,
body:not(.itemid-101) .com-content-article__body p,
body:not(.itemid-101) .com-content-article__body span,
body:not(.itemid-101) .com-content-article__body li,
body:not(.itemid-101) .com-content-article__body td,
body:not(.itemid-101) .com-content-article__body th,
body:not(.itemid-101) .com-content-article__body em,
body:not(.itemid-101) .com-content-article__body strong,
body:not(.itemid-101) .com-content-article__body font,
body.pg-inner .com-content-article__body,
body.pg-inner .com-content-article__body p,
body.pg-inner .com-content-article__body span,
body.pg-inner .com-content-article__body li,
body.pg-inner .com-content-article__body td,
body.pg-inner .com-content-article__body th,
body.pg-inner .com-content-article__body em,
body.pg-inner .com-content-article__body strong,
body.pg-inner .com-content-article__body font {
  font-family: var(--pg-font-body) !important;
  background-color: transparent !important;
}

body:not(.itemid-101) .com-content-article__body p,
body:not(.itemid-101) .com-content-article__body span,
body:not(.itemid-101) .com-content-article__body li,
body:not(.itemid-101) .com-content-article__body td,
body:not(.itemid-101) .com-content-article__body th,
body:not(.itemid-101) .com-content-article__body em,
body:not(.itemid-101) .com-content-article__body font,
body.pg-inner .com-content-article__body p,
body.pg-inner .com-content-article__body span,
body.pg-inner .com-content-article__body li,
body.pg-inner .com-content-article__body td,
body.pg-inner .com-content-article__body th,
body.pg-inner .com-content-article__body em,
body.pg-inner .com-content-article__body font {
  color: inherit !important;
  font-size: inherit !important;
}

body:not(.itemid-101) .com-content-article__body a,
body.pg-inner .com-content-article__body a {
  color: #111 !important;
  font-family: inherit !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
body:not(.itemid-101) .com-content-article__body a:hover,
body.pg-inner .com-content-article__body a:hover {
  color: var(--pg-cyan) !important;
}

body:not(.itemid-101) .com-content-article__body h1,
body:not(.itemid-101) .com-content-article__body h2,
body:not(.itemid-101) .com-content-article__body h3,
body:not(.itemid-101) .com-content-article__body h4,
body.pg-inner .com-content-article__body h1,
body.pg-inner .com-content-article__body h2,
body.pg-inner .com-content-article__body h3,
body.pg-inner .com-content-article__body h4 {
  font-family: var(--pg-font-display) !important;
  color: #111 !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 2.1rem 0 0.85rem;
  padding-left: 0.85rem;
  border-left: 3px solid #111;
  font-weight: 800;
}

body:not(.itemid-101) .com-content-article__body h2,
body.pg-inner .com-content-article__body h2 { font-size: 1.5rem; }
body:not(.itemid-101) .com-content-article__body h3,
body.pg-inner .com-content-article__body h3 { font-size: 1.22rem; }
body:not(.itemid-101) .com-content-article__body h4,
body.pg-inner .com-content-article__body h4 { font-size: 1.05rem; }

.pg-cat-projet .com-content-article__body > h3:first-child,
.pg-cat-projet .com-content-article__body > h3:nth-child(2):has(span[style*="18pt"]),
.pg-lead-from-p .com-content-article__body > p:first-of-type:not(:has(img)),
.pg-lead-from-h .com-content-article__body > h2:first-of-type,
.pg-lead-from-h .com-content-article__body > h3:first-of-type {
  display: none;
}

body:not(.itemid-101) .com-content-article__body img,
body.pg-inner .com-content-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  border: 1px solid #111;
  box-shadow: var(--pg-hard);
}
body:not(.itemid-101) .com-content-article__body > p:has(> img),
body:not(.itemid-101) .com-content-article__body > p:has(> a > img),
body.pg-inner .com-content-article__body > p:has(> img),
body.pg-inner .com-content-article__body > p:has(> a > img) {
  max-width: min(52rem, 100%);
  text-align: center;
  margin: 1.8rem 0;
}
body:not(.itemid-101) .com-content-article figcaption,
body:not(.itemid-101) .com-content-article .caption {
  display: block;
  font-size: 0.85rem;
  color: var(--pg-muted);
  margin-top: 0.45rem;
  text-align: left;
}

body:not(.itemid-101) .com-content-article__body > ul,
body.pg-inner .com-content-article__body > ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 1.6rem;
}
body:not(.itemid-101) .com-content-article__body > ul > li,
body.pg-inner .com-content-article__body > ul > li {
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 0.9rem 1.15rem;
  color: #111;
  box-shadow: 4px 4px 0 #111;
}

body:not(.itemid-101) .com-content-article__body > ol,
body.pg-inner .com-content-article__body > ol {
  list-style: none;
  counter-reset: pgstep;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.7rem;
}
body:not(.itemid-101) .com-content-article__body > ol > li,
body.pg-inner .com-content-article__body > ol > li {
  counter-increment: pgstep;
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 0.95rem 1.15rem 0.95rem 3.4rem;
  position: relative;
  color: #111;
  box-shadow: 4px 4px 0 #111;
}
body:not(.itemid-101) .com-content-article__body > ol > li::before,
body.pg-inner .com-content-article__body > ol > li::before {
  content: counter(pgstep, decimal-leading-zero);
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--pg-cyan);
}

.com-content-article table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 0;
}
.com-content-article td,
.com-content-article th {
  border: 1px solid #111;
  padding: 0.7rem 0.9rem;
  vertical-align: top;
  color: #111;
}

body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(2):last-child),
body.pg-inner .com-content-article__body table:has(tr > td:nth-child(2):last-child) {
  display: block;
  background: transparent !important;
  border: 0 !important;
  width: 100%;
  max-width: 100%;
}
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(2):last-child) tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(2):last-child) tr {
  display: contents;
}
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(2):last-child) td,
body.pg-inner .com-content-article__body table:has(tr > td:nth-child(2):last-child) td {
  display: block;
  background: #fff !important;
  border: 1px solid #111 !important;
  border-radius: 0;
  padding: 1.25rem 1.35rem 1.4rem;
  color: #111 !important;
  box-shadow: var(--pg-hard);
}

body:not(.itemid-101) .pg-cat-partenaires .com-content-article__body,
body:not(.itemid-101) .pg-is-contact .com-content-article__body,
body:not(.itemid-101) .pg-is-join .com-content-article__body,
body:not(.itemid-101) .com-content-article__body:has(table) {
  max-width: none;
}

body:not(.itemid-101) .pg-cat-partenaires .com-content-article__body table,
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(3):last-child) {
  display: block;
  background: transparent !important;
  border: 0 !important;
  width: 100%;
  max-width: 100%;
}
body:not(.itemid-101) .pg-cat-partenaires .com-content-article__body table tbody,
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(3):last-child) tbody {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
body:not(.itemid-101) .pg-cat-partenaires .com-content-article__body table tr,
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(3):last-child) tr,
body.pg-inner .pg-cat-partenaires .com-content-article__body table tr,
body.pg-inner .com-content-article__body table:has(tr > td:nth-child(3):last-child) tr {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  background: #fff !important;
  border: 1px solid #111;
  border-radius: 0;
  padding: 1.2rem 1.1rem 1.3rem;
  min-height: 10.5rem;
  box-shadow: var(--pg-hard);
  backdrop-filter: none;
}
body:not(.itemid-101) .pg-cat-partenaires .com-content-article__body table tr:hover,
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(3):last-child) tr:hover {
  transform: translate(-3px, -3px);
  border-color: #111;
  box-shadow: 12px 12px 0 #111;
}
body:not(.itemid-101) .pg-cat-partenaires .com-content-article__body table td,
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(3):last-child) td {
  border: 0 !important;
  background: transparent !important;
  padding: 0.15rem 0;
  width: 100%;
}
body:not(.itemid-101) .pg-cat-partenaires .com-content-article__body table img,
body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(3):last-child) img {
  max-height: 64px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin: 0 auto 0.35rem;
  background: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 0;
  border: 1px solid #111;
}

.pg-contact-page,
.pg-contact,
.pg-join { max-width: none; }
.pg-contact-org {
  font-family: var(--pg-font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
  border-left: 0;
  padding-left: 0;
  color: #111;
}
.pg-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0 0 1.8rem;
}
.pg-contact-card {
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 1.25rem 1.3rem 1.4rem;
  min-height: 8rem;
  box-shadow: var(--pg-hard);
  backdrop-filter: none;
  color: #111;
}
.pg-contact-card .pg-card-kicker { margin: 0 0 0.65rem; }
.pg-contact-card p {
  margin: 0 0 0.35rem;
  text-align: left;
  max-width: none;
  line-height: 1.55;
}
.pg-contact-card p:last-child { margin-bottom: 0; }
.pg-contact-cta { margin: 0.4rem 0 0; }
.pg-is-contact .pg-contact-org { display: none; }

.pg-steps {
  display: grid;
  gap: 0.75rem;
  max-width: 68ch;
  margin: 1.5rem 0 2rem;
}
.pg-steps > p.pg-step {
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  padding: 1rem 1.2rem;
  margin: 0 !important;
  text-align: left !important;
  max-width: none;
  color: #111;
  box-shadow: 4px 4px 0 #111;
}
.pg-steps > p:not(.pg-step) { display: none; }

body.pg-inner .pg-btn {
  background: #111;
  border-color: #111;
  color: #fff !important;
}
body.pg-inner .pg-btn:hover {
  background: #fff;
  color: #111 !important;
}
body.pg-inner .pg-btn-ghost {
  background: #fff;
  border-color: #111;
  color: #111 !important;
}
body.pg-inner .pg-btn-ghost:hover {
  background: #111;
  color: #fff !important;
}

/* Footer noir plein — signature studio */
footer,
.container-footer,
body:not(.itemid-101) .container-footer,
body.pg-inner .container-footer {
  background: #111 !important;
  color: #fff;
  margin-top: 4.5rem;
  padding: 3.6rem 1.4rem 2.8rem;
  text-align: left;
  border-top: 0;
}
.container-footer .grid-child {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.pg-footer-line,
body.pg-inner .pg-footer-line {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-family: var(--pg-font-display);
  color: #fff;
  font-weight: 700;
}
.pg-foot-mark {
  display: block;
  font-family: var(--pg-font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 8.4rem);
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
  margin: 0 0 1.1rem;
}
.pg-footer-rest {
  display: block;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.14em;
}

#back-top,
.back-to-top-link {
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 0;
}

/* Mobile / tablette */
@media (max-width: 991px) {
  body { cursor: auto; }
  .pg-cursor { display: none !important; }
  body.itemid-101 .com-content-article { margin-top: 0; }

  .pg-burger { display: flex; margin-left: auto; order: 3; }

  .container-header,
  header.header {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
    align-items: center;
  }
  .container-header > .grid-child:first-child {
    flex: 1 1 auto;
    min-width: 0;
    order: 1;
  }
  .container-header > .pg-burger { order: 2; }
  .container-header > .container-nav,
  .container-header > .grid-child.container-nav {
    order: 4;
  }
  .container-header .container-nav {
    display: none;
    width: 100%;
    padding: 0.4rem 0 0.7rem;
    border-top: 1px solid currentColor;
    margin-top: 0.4rem;
  }
  .container-header.is-open .container-nav { display: block; }
  .container-header .mod-menu,
  .container-header .mod-menu.mod-list.nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span,
  .container-header .mod-menu > li > button {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    padding: 0.55rem 0.15rem;
  }
  .container-header .mod-menu .mod-menu__sub { display: none; }

  .pg-hero { min-height: calc(100svh - 4.5rem); }
  .pg-hero-inner {
    padding: 4.2rem 0 2.4rem;
    width: min(1100px, calc(100% - 1.6rem));
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pg-hero-mark {
    width: 72vw;
    right: -10vw;
    top: 58%;
    opacity: 0.18;
  }
  .pg-hero h1 {
    font-size: clamp(1.55rem, 5.2vw, 2.15rem);
    line-height: 1.2;
    max-width: 16ch;
  }
  .pg-carousel { aspect-ratio: 16 / 11; }
  .pg-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid-3 { grid-template-columns: 1fr; }
  .pg-inner-grid { grid-template-columns: 1fr; }
  .pg-inner-hero { padding: 4.2rem 0 2rem; }
  .pg-inner-hero__visual {
    width: 140px;
    height: 140px;
    flex-basis: 140px;
  }
  .pg-inner-hero__blob { width: 140px; height: 140px; }
  .pg-inner-subnav {
    flex-wrap: wrap;
    border-radius: 0;
  }
  .pg-inner-cta { margin-left: 0; }
  body:not(.itemid-101) .com-content-article__body table:has(tr > td:nth-child(2):last-child) tbody {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pg-grid-4 { grid-template-columns: 1fr; }
  .pg-hero-inner { padding: 3.6rem 0 2rem; }
  .pg-pagehead { padding-top: 1.8rem; }
  .pg-contact-grid { grid-template-columns: 1fr; }
  .pg-card-pole { min-height: 10rem; }
  .pg-clientele { min-height: 10rem; }
  .pg-inner-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .pg-inner-hero__visual {
    align-self: flex-end;
    margin-bottom: 0;
  }
  .pg-hud-chip { letter-spacing: 0.16em; box-shadow: 3px 3px 0 #111; }
  .pg-card { box-shadow: 6px 6px 0 #111; }
  .pg-section { width: min(1180px, calc(100% - 1.6rem)); }
}

@media (prefers-reduced-motion: reduce) {
  body { cursor: auto; }
  .pg-cursor { display: none !important; }
  .pg-hud-dot { animation: none; }
  .pg-marquee-track { animation: none; }
  .pg-carousel-slide { transition: none; }
  html.pg-fx-on .pg-reveal,
  html.pg-fx-on .pg-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pg-card,
  .pg-btn { transition: none; }
  .container-header,
  header.header { transition: none; }
}

html.pg-reduce,
html.pg-reduce body { cursor: auto; }
html.pg-reduce .pg-cursor { display: none !important; }

html.pg-shot-poles .pg-hero { display: none !important; }
html.pg-shot-poles body.itemid-101 .com-content-article { margin-top: 0; }
html.pg-shot-poles .pg-section { display: none !important; }
html.pg-shot-poles .pg-section-poles {
  display: block !important;
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
}
html.pg-shot-poles .pg-reveal,
html.pg-shot-poles .pg-reveal.is-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Fine-tuning Cassiopeia leftovers */
.container-topbar,
.container-banner { display: none !important; }
.metismenu > li > a { color: inherit; }

html.pg-shot .pg-reveal,
html.pg-shot .pg-reveal.is-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
html.pg-shot .pg-marquee-track { animation: none !important; }
html.pg-shot,
html.pg-shot body { cursor: auto !important; }
html.pg-shot .pg-cursor { display: none !important; }

html.pg-shot .pg-hero {
  min-height: 100svh;
}
html.pg-shot-scroll .pg-hero,
html.pg-shot-scroll .pg-marquee {
  display: none !important;
}
html.pg-shot-scroll body.itemid-101 .com-content-article,
html.pg-shot-scroll body.pg-home .com-content-article {
  margin-top: 0;
}
html.pg-shot-scroll .pg-section {
  padding-top: 2.2rem;
}


/* =============================================================================
 * Header logo — official BICS lockup, white keyed, no upscale, no white box
 * ============================================================================= */
.container-header .navbar-brand,
.container-header .navbar-brand a,
.container-header .brand-logo,
header.header .navbar-brand {
  background: transparent !important;
}
.container-header .navbar-brand img,
header.header .logo img,
.navbar-brand img,
.brand-logo img {
  height: auto !important;
  width: auto !important;
  max-height: 64px;
  max-width: 200px;
  display: block;
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
  border: 0;
  box-shadow: none;
  mix-blend-mode: normal !important;
  filter: none;
}
.container-header.is-scrolled .navbar-brand img,
header.header.is-scrolled .navbar-brand img {
  background: transparent !important;
  padding: 0 !important;
}
.pg-inner-brand img {
  height: 36px !important;
  width: auto !important;
  max-width: 96px;
  background: transparent !important;
  mix-blend-mode: normal !important;
}
