/* ============================================================
   CyberAfrik Dark Cyber Theme
   Palette: #0A0E1A (fond) | #00D4FF (cyan) | #7B2FBE (violet)
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg-primary: #0A0E1A;
  --bg-secondary: #0D1426;
  --bg-card: #111827;
  --bg-card-hover: #141f35;
  --cyan: #00D4FF;
  --cyan-dim: rgba(0, 212, 255, 0.12);
  --cyan-glow: rgba(0, 212, 255, 0.35);
  --violet: #7B2FBE;
  --violet-dim: rgba(123, 47, 190, 0.15);
  --green: #00FF94;
  --text-primary: #E8F4FD;
  --text-muted: #8BA0B8;
  --border: rgba(0, 212, 255, 0.15);
  --gradient-hero: linear-gradient(135deg, #0A0E1A 0%, #0D1B2A 50%, #120a2e 100%);
  --gradient-cyan: linear-gradient(135deg, #00D4FF, #0099cc);
  --gradient-violet: linear-gradient(135deg, #7B2FBE, #4a1a8a);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.cyber-body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Animated bg canvas */
.cyber-bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cyber-bg-animation canvas {
  width: 100%;
  height: 100%;
}

main#main-content {
  position: relative;
  z-index: 1;
}

/* ── Preloader ────────────────────────────────────────────── */
.cyber-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.cyber-preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.cyber-loader-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cyber-loader-logo {
  max-width: 140px;
  margin-bottom: 20px;
  animation: pulse-glow 2s infinite;
  filter: brightness(1.2);
}

.cyber-loader-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: transparent;
  border-bottom-color: var(--violet);
  border-left-color: transparent;
  animation: spin-preloader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15), inset 0 0 10px rgba(123, 47, 190, 0.1);
}

.cyber-loader-text {
  font-family: var(--font-heading);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  animation: blink 1.5s infinite;
  margin-top: 15px;
}

@keyframes spin-preloader {
  100% {
    transform: rotate(360deg);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .25s;
}

a:hover {
  color: #fff;
}

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

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

.bg-card {
  background: var(--bg-card);
}

.section-padding {
  padding: 90px 0;
}

/* ── Site Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background .35s, box-shadow .35s, border-color .35s;
}

.site-header.scrolled {
  background: rgba(10, 14, 26, .96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0, 0, 0, .55);
}

/* Brand */
.hdr-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 26px;
  border-right: 1px solid rgba(0, 212, 255, .18);
  margin-right: 10px;
}

.hdr-brand:hover {
  text-decoration: none;
}

.hdr-brand img {
  height: 38px;
  filter: brightness(1.1);
}

.hdr-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hdr-brand-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.hdr-brand-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 4px;
  font-style: normal;
}

.hdr-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: hdr-pulse-anim 2s ease-in-out infinite;
}

@keyframes hdr-pulse-anim {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 148, .5); }
  50% { opacity: .6; box-shadow: 0 0 0 6px rgba(0, 255, 148, 0); }
}

/* Nav list */
.hdr-nav {
  gap: 0 !important;
}

/* Individual link — bracket hover effect */
.hdr-link {
  display: block;
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(232, 244, 253, .75) !important;
  text-decoration: none !important;
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}

.hdr-link::before,
.hdr-link::after {
  position: absolute;
  top: 50%;
  color: var(--cyan);
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s, transform .28s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.hdr-link::before {
  content: '[';
  left: 3px;
  transform: translate(-5px, -50%);
}

.hdr-link::after {
  content: ']';
  right: 3px;
  transform: translate(5px, -50%);
}

.hdr-link:hover,
.hdr-link.is-active {
  color: var(--cyan) !important;
}

.hdr-link:hover::before,
.hdr-link.is-active::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.hdr-link:hover::after,
.hdr-link.is-active::after {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Remove Bootstrap's default caret */
.hdr-link.dropdown-toggle::after {
  display: none;
}

/* Dropdown trigger — visually distinct from plain links */
.hdr-link--drop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hdr-drop-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(0, 212, 255, .1);
  border: 1px solid rgba(0, 212, 255, .22);
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .0s;
}

.hdr-drop-arrow i {
  font-size: 8px;
  color: var(--cyan);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  display: block;
}

/* Chevron pivote quand le dropdown est ouvert */
.hdr-has-sub.show > .hdr-link .hdr-drop-arrow {
  background: rgba(0, 212, 255, .18);
  border-color: rgba(0, 212, 255, .5);
}

.hdr-has-sub.show > .hdr-link .hdr-drop-arrow i {
  transform: rotate(180deg);
}

/* Sur hover du lien parent */
.hdr-link--drop:hover .hdr-drop-arrow {
  background: rgba(0, 212, 255, .15);
  border-color: rgba(0, 212, 255, .4);
}

/* Active state (page du sous-menu active) */
.hdr-link--drop.is-active .hdr-drop-arrow {
  background: rgba(0, 212, 255, .15);
  border-color: var(--cyan);
}

/* Dropdown sub-menu */
.hdr-sub {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 8px !important;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 212, 255, .05) !important;
  margin-top: 6px !important;
}

.hdr-sub-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 14px !important;
  font-size: 13.5px !important;
  color: var(--text-primary) !important;
  border-radius: 8px !important;
  transition: background .2s, color .2s !important;
  text-decoration: none !important;
}

.hdr-sub-link i {
  width: 16px;
  font-size: 13px;
  color: var(--cyan);
  flex-shrink: 0;
}

.hdr-sub-link:hover {
  background: var(--cyan-dim) !important;
  color: var(--cyan) !important;
}

/* CTA — fill-from-left animation */
.hdr-actions {
  flex-shrink: 0;
  margin-left: 18px;
}

.hdr-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid rgba(0, 212, 255, .5);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}

.hdr-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s cubic-bezier(.4, 0, .2, 1);
}

.hdr-cta:hover {
  color: #000;
  border-color: var(--cyan);
  text-decoration: none;
}

.hdr-cta:hover::before {
  transform: scaleX(1);
}

.hdr-cta i,
.hdr-cta span {
  position: relative;
  z-index: 1;
}

/* Mobile burger */
.hdr-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  flex-shrink: 0;
}

.hdr-burger:focus {
  outline: none;
  border-color: var(--cyan);
}

.hdr-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Wrapper height on desktop */
.site-header .container {
  display: flex;
  align-items: center;
  min-height: 72px;
}

/* ── Hero Section ─────────────────────────────────────────── */
.cyber-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(0, 212, 255, .07) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 85%, rgba(123, 47, 190, .09) 0%, transparent 45%),
    linear-gradient(160deg, rgba(10, 14, 26, .82) 0%, rgba(10, 20, 42, .74) 55%, rgba(18, 8, 40, .80) 100%),
    url('../img/pil.jpg') center / cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
  text-align: center;
}

.cyber-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, .06) 0%, transparent 65%);
  animation: pulse-glow 5s ease-in-out infinite;
  pointer-events: none;
}

.cyber-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 190, .07) 0%, transparent 65%);
  animation: pulse-glow 7s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes pulse-glow {

  0%,
  100% {
    transform: scale(1);
    opacity: .8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Fondu bas du hero */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(10, 14, 26, .45) 55%,
    var(--bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Badge row — mobile-first */
.hero-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

/* Traits : masqués sur mobile, visibles à partir de 640px */
.hb-line {
  display: none;
  height: 1px;
  flex-shrink: 0;
  font-style: normal;
}

.hb-line:first-child {
  background: linear-gradient(to right, transparent, rgba(0, 212, 255, .65));
}

.hb-line:last-child {
  background: linear-gradient(to left, transparent, rgba(0, 212, 255, .65));
}

/* Badge pill — mobile : texte sur 2 lignes si nécessaire */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
  max-width: 230px;
}

/* ≥ 640px : on remet les traits et le nowrap */
@media (min-width: 640px) {
  .hero-badge-row {
    display: inline-flex;
    gap: 16px;
    margin-bottom: 28px;
  }

  .hb-line {
    display: block;
    width: 52px;
  }

  .hero-badge {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px 18px;
    max-width: none;
    line-height: normal;
  }
}

@media (min-width: 992px) {
  .hb-line { width: 72px; }
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
}

.hero-title .highlight {
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 36px;
  text-align: center;
}

/* Demi-cercle image — centrage via flex, overflow clippé par .cyber-hero */
.hero-halfcircle {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 340px;
  margin-top: 80px;      /* assez d'espace pour ne jamais toucher les CTA */
  overflow: visible;
  z-index: 3;
  position: relative;
}

.hero-halfcircle-ring {
  width: 680px;
  height: 680px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, .28);
  box-shadow:
    0 0 0 10px rgba(0, 212, 255, .035),
    0 0 90px rgba(0, 212, 255, .15),
    inset 0 0 60px rgba(0, 0, 20, .35);
  animation: ring-glow 4s ease-in-out infinite;  /* glow sans scale */
  background: rgba(5, 10, 28, .3);
}

@keyframes ring-glow {
  0%, 100% {
    box-shadow:
      0 0 0 10px rgba(0, 212, 255, .035),
      0 0 70px rgba(0, 212, 255, .12),
      inset 0 0 50px rgba(0, 0, 20, .3);
    border-color: rgba(0, 212, 255, .25);
  }
  50% {
    box-shadow:
      0 0 0 16px rgba(0, 212, 255, .06),
      0 0 120px rgba(0, 212, 255, .28),
      inset 0 0 70px rgba(0, 0, 20, .4);
    border-color: rgba(0, 212, 255, .5);
  }
}

.hero-halfcircle-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
}

/* ── Hero stats strip ─────────────────────────────────────── */
.hero-stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.hss-card {
  text-align: center;
  padding: 38px 20px;
  border-right: 1px solid var(--border);
  transition: background .3s;
}

.hss-card:last-child {
  border-right: none;
}

.hss-card:hover {
  background: rgba(0, 212, 255, .03);
}

.hss-icon {
  font-size: 1.6rem;
  color: var(--violet);
  margin-bottom: 10px;
}

.hss-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.hss-suffix {
  font-size: 1.8rem;
  color: var(--cyan);
}

.hss-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes hero-float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.cyber-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-cyan);
  color: #000;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
}

.cyber-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--cyan-glow);
  color: #000;
}

.cyber-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 15px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
}

.cyber-btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  font-family: var(--font-heading);
}

.hero-stat .label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Typing effect */
.typed-cursor {
  color: var(--cyan);
  animation: blink 1s infinite;
}

/* ── Section Headings ─────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
  position: relative;
}

/* Traits latéraux — identiques au hero badge */
.section-badge::before,
.section-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  width: 56px;
  pointer-events: none;
}

.section-badge::before {
  right: calc(100% + 10px);
  background: linear-gradient(to right, transparent, rgba(0, 212, 255, .65));
}

.section-badge::after {
  left: calc(100% + 10px);
  background: linear-gradient(to left, transparent, rgba(0, 212, 255, .65));
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--cyan);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 580px;
  font-size: 1rem;
}

/* ── Service Cards ────────────────────────────────────────── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: all .35s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--cyan);
  margin-bottom: 20px;
  transition: .35s;
}

.service-card:hover .service-icon {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.service-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  transition: .3s;
}

.service-card:hover h4 {
  color: var(--cyan);
}

.service-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0;
}

.service-card .read-more {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .read-more i {
  transition: .3s;
}

.service-card:hover .read-more i {
  transform: translateX(4px);
}

/* ── Stats — ancienne section (autres pages) ──────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-card { text-align: center; padding: 40px 20px; border-right: 1px solid var(--border); }
.stat-card:last-child { border-right: none; }
.stat-card .stat-number { font-size: 3rem; font-weight: 900; color: var(--cyan); font-family: var(--font-heading); line-height: 1; }
.stat-card .stat-suffix { font-size: 2rem; color: var(--cyan); }
.stat-card .stat-label  { color: var(--text-muted); font-size: .9rem; margin-top: 8px; }
.stat-card .stat-icon   { font-size: 2rem; color: var(--violet); margin-bottom: 12px; }

/* ── Stats Strip — bande compacte style dashboard ─────────── */

/* Section wrapper — pas de section-padding classique */
.sstrip-section {
  padding: 0 0 48px;
}

/*
  Carte bande : mobile-first
  ▸ Mobile (<640) : intro + metrics empilés
  ▸ ≥640 : intro à gauche | metrics à droite sur une ligne
*/
.sstrip-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(8, 14, 30, .88);
  border: 1px solid rgba(0, 212, 255, .14);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  position: relative;
}

/* Reflet haut */
.sstrip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,212,255,.4), transparent);
  pointer-events: none;
}

/* ── Intro (label gauche) ── */
.sstrip-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(0,212,255,.1);
}

.sstrip-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 212, 255, .08);
  border: 1.5px solid rgba(0, 212, 255, .28);
  flex-shrink: 0;
  position: relative;
}

.sstrip-dot::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .9;
  animation: blink 1.5s infinite;
}

.sstrip-intro-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sstrip-intro-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Divider vertical — caché sur mobile, visible ≥640 */
.sstrip-vline { display: none; }

/* ── Métriques — grille 2×2 sur mobile ── */
.sstrip-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sstat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid rgba(0,212,255,.08);
  border-bottom: 1px solid rgba(0,212,255,.08);
  transition: background .3s;
}

.sstat:hover { background: rgba(0, 212, 255, .04); }

/* Enlever les bords redondants */
.sstat:nth-child(2n)     { border-right: none; }
.sstat:nth-last-child(-n+2) { border-bottom: none; }

/* Icône circulaire */
.sstat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 212, 255, .07);
  border: 1.5px solid rgba(0, 212, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: background .3s, border-color .3s, transform .3s;
}

.sstat:hover .sstat-icon {
  background: rgba(0, 212, 255, .14);
  border-color: rgba(0, 212, 255, .5);
  transform: scale(1.08);
}

.sstat-body { min-width: 0; }

.sstat-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  font-family: var(--font-heading);
}

.sstat-suf {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--cyan);
  font-family: var(--font-heading);
}

.sstat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.35;
}

/* ── ≥ 640px : une seule ligne ── */
@media (min-width: 640px) {
  .sstrip-card {
    flex-direction: row;
    align-items: stretch;
  }

  .sstrip-intro {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 180px;
    border-bottom: none;
    border-right: 1px solid rgba(0,212,255,.1);
    padding: 28px 26px;
  }

  .sstrip-vline { display: none; }

  .sstrip-metrics {
    flex: 1;
    grid-template-columns: repeat(4, 1fr);
  }

  .sstat:nth-child(2n)        { border-right: 1px solid rgba(0,212,255,.08); }
  .sstat:last-child           { border-right: none; }
  .sstat:nth-last-child(-n+2) { border-bottom: 1px solid rgba(0,212,255,.08); }
  .sstat:nth-last-child(1)    { border-bottom: none; }
  .sstat { border-bottom: none; }
}

/* ── ≥ 768px : plus grand ── */
@media (min-width: 768px) {
  .sstrip-section { padding: 0 0 60px; }

  .sstat {
    padding: 28px 22px;
    gap: 16px;
  }

  .sstat-icon { width: 52px; height: 52px; font-size: 20px; }
  .sstat-num  { font-size: 2rem; }
  .sstat-suf  { font-size: 1.5rem; }
  .sstat-lbl  { font-size: 12px; }
}

/* ── ≥ 992px : desktop confortable ── */
@media (min-width: 992px) {
  .sstrip-section { padding: 0 0 72px; }

  .sstrip-intro { min-width: 210px; padding: 32px 30px; }
  .sstrip-intro-title { font-size: 15px; }

  .sstat { padding: 32px 28px; gap: 18px; }
  .sstat-icon { width: 58px; height: 58px; font-size: 22px; }
  .sstat-num  { font-size: 2.4rem; }
  .sstat-suf  { font-size: 1.8rem; }
  .sstat-lbl  { font-size: 12.5px; margin-top: 6px; }
}

/* ── Blog Cards ───────────────────────────────────────────── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: .35s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .blog-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
}

.blog-card h5 {
  font-size: 1rem;
  margin: 8px 0;
  transition: .3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.blog-card:hover h5 {
  color: var(--cyan);
}

.blog-card p {
  color: var(--text-muted);
  font-size: .875rem;
}

.blog-card .blog-meta {
  color: var(--text-muted);
  font-size: 12px;
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-excerpt {
  flex: 1;
  color: var(--text-muted);
  font-size: .875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.blog-card-footer {
  margin-top: auto;
}

/* ── Blog Content (corps d'article) ──────────────────────── */
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 20px auto;
  display: block;
  border: 1px solid var(--border);
}

.blog-content figure {
  margin: 28px 0;
  text-align: center;
}

.blog-content figure figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-content a {
  color: var(--cyan);
  text-decoration: underline;
}

.blog-content blockquote {
  border-left: 4px solid var(--cyan);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--cyan-dim);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-muted);
  font-style: italic;
}

.blog-content pre,
.blog-content code {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
}

.blog-content pre {
  padding: 16px;
  overflow-x: auto;
  margin: 20px 0;
}

.blog-content code {
  padding: 2px 6px;
}

.blog-content ul,
.blog-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.blog-content li {
  margin-bottom: 6px;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.blog-content table th,
.blog-content table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  font-size: 0.875rem;
}

.blog-content table th {
  background: var(--cyan-dim);
  color: var(--cyan);
}

/* ── Team Cards ───────────────────────────────────────────── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 30px 20px;
  transition: .35s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cyan);
  margin: 0 auto 16px;
}

.team-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--cyan);
  margin: 0 auto 16px;
}

.team-card h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .poste {
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 16px;
}

.team-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 13px;
  margin: 0 3px;
  transition: .25s;
}

.team-socials a:hover {
  background: var(--cyan);
  color: #000;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 212, 255, .08) 0%, rgba(123, 47, 190, .1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ── Partners Slider ──────────────────────────────────────── */
.partner-logo {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 80px;
  margin: 0 10px;
}

.partner-logo img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5);
  opacity: .6;
  transition: .3s;
}

.partner-logo:hover img {
  filter: none;
  opacity: 1;
}

/* ── Partners marquee ─────────────────────────────────────── */
.pmarquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 72px, black calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 72px, black calc(100% - 72px), transparent 100%);
}
.pmarquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: pmarquee 32s linear infinite;
}
.pmarquee-track:hover {
  animation-play-state: paused;
}
@keyframes pmarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.pmarquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  min-width: 164px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.pmarquee-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,212,255,.12);
}
.pmarquee-item img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  opacity: .5;
  transition: filter .25s, opacity .25s;
}
.pmarquee-item:hover img {
  filter: none;
  opacity: 1;
}
.pmarquee-item span {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .25s;
}
.pmarquee-item:hover span {
  color: var(--cyan);
}

/* ── Forms / Inputs ───────────────────────────────────────── */
.cyber-input {
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  transition: .25s !important;
}

.cyber-input:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px var(--cyan-dim) !important;
  background: rgba(0, 212, 255, .03) !important;
  outline: none !important;
}

.cyber-input::placeholder {
  color: var(--text-muted) !important;
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
}

/* ── Modal ────────────────────────────────────────────────── */
.cyber-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.cyber-modal .modal-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

.cyber-modal .modal-footer {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}

.cyber-alert-success {
  background: rgba(0, 255, 148, .08);
  border: 1px solid rgba(0, 255, 148, .3);
  color: #00ff94;
  border-radius: 10px;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.cyber-breadcrumb {
  background:
    linear-gradient(160deg, rgba(10, 14, 26, .80) 0%, rgba(10, 20, 42, .74) 60%, rgba(18, 8, 40, .78) 100%),
    url('../img/pil.jpg') center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.cyber-breadcrumb h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.breadcrumb-item {
  color: var(--text-muted);
}

.breadcrumb-item.active {
  color: var(--cyan);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
}

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

/* ── Job cards ────────────────────────────────────────────── */
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: .35s;
  position: relative;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}

.job-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.badge-cdi {
  background: rgba(0, 212, 255, .15);
  color: var(--cyan);
  border: 1px solid var(--border);
}

.badge-cdd {
  background: rgba(123, 47, 190, .2);
  color: #b57ef5;
  border: 1px solid rgba(123, 47, 190, .3);
}

.badge-stage {
  background: rgba(0, 255, 148, .12);
  color: var(--green);
  border: 1px solid rgba(0, 255, 148, .25);
}

.badge-freelance {
  background: rgba(255, 165, 0, .12);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, .25);
}

/* ── Blog page ────────────────────────────────────────────── */
.blog-filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  cursor: pointer;
  transition: .25s;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #000;
}

/* ── Project cards ────────────────────────────────────────── */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: .35s;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.proj-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(0,212,255,.07) 0%, rgba(5,10,28,.95) 55%, rgba(123,47,190,.08) 100%);
  border-bottom: 1px solid var(--border);
}
.proj-img-placeholder i {
  font-size: 2.6rem;
  color: var(--border);
}
.proj-img-placeholder span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.proj-img-placeholder--hero {
  height: 420px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.proj-img-placeholder--hero i {
  font-size: 4rem;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 14, 26, .9));
}

.project-cat-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cyan);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.project-card .card-body {
  padding: 24px;
}

.project-card h5 {
  font-size: 1rem;
  margin-bottom: 8px;
  transition: .3s;
}

.project-card:hover h5 {
  color: var(--cyan);
}

.project-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.project-meta span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-meta i {
  color: var(--cyan);
}

/* ── Footer ───────────────────────────────────────────────── */
.cyber-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
  position: relative;
  z-index: 1;
}

.footer-brand img {
  max-height: 45px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: .9rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-heading {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.footer-links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: .9rem;
  transition: .25s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: .9rem;
}

.footer-contact-item i {
  color: var(--cyan);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 16px;
  margin-right: 8px;
  transition: .25s;
}

.footer-social a:hover {
  background: var(--cyan);
  color: #000;
  transform: translateY(-3px);
}

.footer-newsletter .cyber-input {
  border-radius: 10px !important;
}

.footer-newsletter .btn-subscribe {
  width: 100%;
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: .85rem;
  margin: 0;
}

/* ── Back to top ──────────────────────────────────────────── */
.back-to-top-cyber {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cyan);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: .35s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.back-to-top-cyber.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-cyber:hover {
  box-shadow: 0 6px 20px var(--cyan-glow);
  transform: translateY(-4px);
  color: #000;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .cyber-hero {
    padding: 120px 0 0;
    min-height: auto;
  }

  .hero-subtitle {
    margin: 0 auto 30px;
  }

  .hero-stats {
    justify-content: center;
    margin-top: 30px;
    gap: 0;
  }

  .hero-stat {
    padding: 0 14px;
  }

  .d-flex.flex-wrap.gap-3 {
    justify-content: center;
  }

  /* Demi-cercle mobile : réduit */
  .hero-halfcircle {
    height: 200px;
    margin-top: 40px;
  }

  .hero-halfcircle-ring {
    width: 400px;
    height: 400px;
  }

  .hero-halfcircle-ring {
    width: min(400px, 90vw);
    height: min(400px, 90vw);
  }

  .hero-halfcircle {
    height: min(200px, 45vw);
  }

  /* Stats strip mobile */
  .hss-card {
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 24px 14px;
  }

  .col-6:nth-child(even) .hss-card {
    border-right: none;
  }

  .hss-number {
    font-size: 2rem;
  }

  /* Header Mobile */
  .site-header {
    background: rgba(10, 14, 26, .98) !important;
  }

  .site-header .container {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;
  }

  .hdr-burger {
    display: flex;
  }

  .hdr-brand {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .hdr-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
  }

  .hdr-nav {
    flex-direction: column;
    width: 100%;
    gap: 2px !important;
    margin-bottom: 6px;
  }

  .hdr-nav .nav-item {
    width: 100%;
  }

  .hdr-link {
    padding: 10px 14px !important;
  }

  .hdr-link::before,
  .hdr-link::after {
    display: none;
  }

  .hdr-sub {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, .03) !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
  }

  .hdr-actions {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }

  .hdr-cta {
    width: 100%;
    justify-content: center;
  }

  /* Sections Alignment */
  .section-title {
    text-align: center;
  }

  .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-badge {
    margin-left: auto;
    margin-right: auto;
    display: table;
  }

  .col-lg-4.d-flex.align-items-end {
    justify-content: center !important;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  /* Hero Stats */
  .hero-stats {
    gap: 15px;
  }

  .hero-stat {
    flex: 1 1 40%;
  }

  /* Global Stats Grid */
  .stat-card {
    padding: 25px 15px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .col-6:nth-child(even) .stat-card {
    border-right: none;
  }

  .row.g-0>div:nth-last-child(-n+2) .stat-card {
    border-bottom: none;
  }

  .stat-card .stat-number {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Buttons */
  .cyber-btn-primary,
  .cyber-btn-outline {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }

  .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    width: 100%;
    gap: 10px !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-stat {
    flex: 1 1 100%;
  }

  /* Full Width Stats on very small screens */
  .col-6 {
    width: 100%;
  }

  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 20px;
  }

  .row.g-0>div:last-child .stat-card {
    border-bottom: none !important;
  }

  .stat-card .stat-number {
    font-size: 2rem;
  }

  .partner-logo {
    margin: 0 5px 10px;
    padding: 15px;
  }

  .team-card {
    padding: 20px 15px;
  }
}

/* ── Utilities ────────────────────────────────────────────── */
.glow-cyan {
  box-shadow: var(--shadow-glow);
}

.border-cyan {
  border-color: var(--cyan) !important;
}

.bg-cyber-card {
  background: var(--bg-card);
}

.divider-cyber {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.tag-chip {
  display: inline-block;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  margin: 3px;
}

/* ── Glassmorphism & Modern UI ──────────────────────────────── */
.glass-panel {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.hover-lift {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.bento-item {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: -webkit-linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ── Fix : select & option sur fond sombre ───────────────── */
select.cyber-input,
select.cyber-input option {
  background-color: #111827 !important; /* var(--bg-card) */
  color: #E8F4FD !important;            /* var(--text-primary) */
}

select.cyber-input option:hover,
select.cyber-input option:checked {
  background-color: rgba(0, 212, 255, 0.15) !important;
  color: #00D4FF !important;
}

/* ── Fix : text-muted lisible sur fonds sombres ──────────── */
.text-muted {
  color: #8BA0B8 !important; /* var(--text-muted) du thème, pas le gris Bootstrap */
}

/* ═══════════════════════════════════════════════════════════
   SERVICES — ARC LAYOUT   ( ○ )
═══════════════════════════════════════════════════════════ */

.svc-arc-wrap {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  gap: 0 28px;
  align-items: center;
  min-height: 760px;
}

/* ── Arc columns ── */
.svc-arc {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.svc-arc--left  { align-items: flex-end;  position: relative; }
.svc-arc--right { align-items: flex-start; position: relative; }

/* ── Arc visual lines : ) et ( ──
   width:160px + right:0 = l'arc commence/finit à column_right-80px
   (= position des cartes haut/bas avec translateX(-80px)) et bombe
   jusqu'à column_right (= carte du milieu). Correspondance exacte.
── */
.svc-arc--left::before,
.svc-arc--right::before {
  content: '';
  position: absolute;
  top: 4%;
  height: 92%;
  width: 160px;
  pointer-events: none;
  z-index: 0;
}

/* ) — gauche : bombe vers la droite / centre */
.svc-arc--left::before {
  right: 0;
  border-right: 1.5px solid rgba(0, 212, 255, .22);
  border-radius: 0 50% 50% 0;
}

/* ( — droite : bombe vers la gauche / centre */
.svc-arc--right::before {
  left: 0;
  border-left: 1.5px solid rgba(0, 212, 255, .22);
  border-radius: 50% 0 0 50%;
}

/*
  LEFT ARC ) : cartes haut/bas à -80px → décalage visible.
  La rotation suit la tangente de l'ellipse à ces points (~12°).
*/
.svc-arc--left .svc-card:nth-child(1) { transform: translateX(-80px) rotate(12deg);  }
.svc-arc--left .svc-card:nth-child(2) { /* flex-end = closest to center, no transform */ }
.svc-arc--left .svc-card:nth-child(3) { transform: translateX(-80px) rotate(-12deg); }

/*
  RIGHT ARC ( : symétrique.
*/
.svc-arc--right .svc-card:nth-child(1) { transform: translateX(80px) rotate(-12deg);  }
.svc-arc--right .svc-card:nth-child(2) { /* flex-start = closest to center */          }
.svc-arc--right .svc-card:nth-child(3) { transform: translateX(80px) rotate(12deg);  }

/* ── Card shell ── */
.svc-card {
  width: 348px;
  background: rgba(8, 12, 28, .84);
  border-radius: 14px;
  padding: 28px 30px;
  transition: transform .44s cubic-bezier(.22,.61,.36,1),
              box-shadow .44s,
              border-color .44s;
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer on hover */
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,.06), transparent 55%);
  opacity: 0;
  transition: opacity .44s;
  border-radius: inherit;
  pointer-events: none;
}
.svc-card:hover::after { opacity: 1; }

/* Left card — "spine" on right (facing center) */
.svc-card--l {
  border: 1px solid rgba(0,212,255,.12);
  border-right: 2px solid rgba(0,212,255,.44);
}

/* Right card — "spine" on left (facing center) */
.svc-card--r {
  border: 1px solid rgba(0,212,255,.12);
  border-left: 2px solid rgba(0,212,255,.44);
}

/* Hover : la carte se redresse sur place (rotation → 0, translateX conservé) */
.svc-arc--left .svc-card:hover {
  border-color: rgba(0,212,255,.38);
  border-right-color: var(--cyan);
  box-shadow: 6px 0 30px rgba(0,212,255,.14), 0 8px 30px rgba(0,0,0,.45);
}

.svc-arc--left .svc-card:nth-child(1):hover { transform: translateX(-80px) rotate(0deg); }
.svc-arc--left .svc-card:nth-child(3):hover { transform: translateX(-80px) rotate(0deg); }

.svc-arc--right .svc-card:hover {
  border-color: rgba(0,212,255,.38);
  border-left-color: var(--cyan);
  box-shadow: -6px 0 30px rgba(0,212,255,.14), 0 8px 30px rgba(0,0,0,.45);
}

.svc-arc--right .svc-card:nth-child(1):hover { transform: translateX(80px) rotate(0deg); }
.svc-arc--right .svc-card:nth-child(3):hover { transform: translateX(80px) rotate(0deg); }

/* ── Card inner layout ── */
.svc-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.svc-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0,212,255,.07);
  border: 1px solid rgba(0,212,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: background .35s, border-color .35s, transform .35s;
}

.svc-card:hover .svc-icon-wrap {
  background: rgba(0,212,255,.14);
  border-color: rgba(0,212,255,.38);
  transform: scale(1.08);
}

.svc-body        { flex: 1; min-width: 0; }
.svc-body--r     { text-align: right; }

.svc-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.3;
  transition: color .3s;
}

.svc-card:hover .svc-body h4 { color: var(--cyan); }

.svc-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 14px;
}

.svc-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .75;
  transition: opacity .25s, gap .25s;
}
.svc-link:hover          { opacity: 1; gap: 8px; color: var(--cyan); }
.svc-link--r             { flex-direction: row-reverse; }
.svc-link--r:hover       { gap: 8px; }

/* ── Centre ── */
.svc-center-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.svc-center-circle {
  width: 232px;
  height: 232px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0,212,255,.07) 0%, rgba(123,47,190,.09) 100%);
  border: 1.5px solid rgba(0,212,255,.26);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  gap: 10px;
  position: relative;
  z-index: 2;
  transition: border-color .4s, box-shadow .4s;
  animation: svc-pulse 5s ease-in-out infinite;
}

.svc-center-circle:hover {
  border-color: rgba(0,212,255,.5);
  box-shadow: 0 0 56px rgba(0,212,255,.15);
}

@keyframes svc-pulse {
  0%,100% { box-shadow: 0 0 22px rgba(0,212,255,.07), 0 0 0 0   rgba(0,212,255,.05); }
  50%     { box-shadow: 0 0 44px rgba(0,212,255,.14), 0 0 0 10px rgba(0,212,255,.04); }
}

.svc-center-ring-outer {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,.1);
  pointer-events: none;
  animation: svc-pulse 5s ease-in-out infinite reverse;
}

.svc-center-circle > i {
  font-size: 28px;
  color: var(--cyan);
  opacity: .85;
}

.svc-center-circle > p {
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(232,244,253,.72);
  margin: 0;
}

.svc-center-cta {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid rgba(0,212,255,.28);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: .04em;
  transition: background .3s, border-color .3s;
  white-space: nowrap;
}
.svc-center-cta:hover {
  background: rgba(0,212,255,.1);
  border-color: rgba(0,212,255,.55);
  color: var(--cyan);
}

/* ── Responsive ── */
@media (max-width: 1399px) {
  .svc-card { width: 316px; }
}

@media (max-width: 1199px) {
  .svc-arc-wrap {
    grid-template-columns: 1fr 230px 1fr;
    gap: 0 14px;
    min-height: 680px;
  }
  .svc-arc { gap: 38px; }
  .svc-card { width: 276px; padding: 22px 24px; }
  .svc-body h4 { font-size: 14.5px; }
  .svc-body p  { font-size: 12.5px; }
  .svc-center-circle { width: 218px; height: 218px; }
}

@media (max-width: 991px) {
  .svc-arc-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
  }

  .svc-arc--left,
  .svc-arc--right { align-items: stretch; }

  /* Masquer les lignes d'arc sur mobile */
  .svc-arc--left::before,
  .svc-arc--right::before { display: none; }

  /* Flatten all arc transforms on mobile */
  .svc-arc--left  .svc-card:nth-child(1),
  .svc-arc--left  .svc-card:nth-child(2),
  .svc-arc--left  .svc-card:nth-child(3),
  .svc-arc--right .svc-card:nth-child(1),
  .svc-arc--right .svc-card:nth-child(2),
  .svc-arc--right .svc-card:nth-child(3) {
    transform: none !important;
    width: 100%;
  }

  /* Uniform left-accent on mobile for both directions */
  .svc-card--l {
    border-right: 1px solid rgba(0,212,255,.12);
    border-left: 2px solid rgba(0,212,255,.44);
  }
  .svc-card--r {
    border-left: 2px solid rgba(0,212,255,.44);
    border-right: 1px solid rgba(0,212,255,.12);
  }

  .svc-body--r  { text-align: left; }
  .svc-link--r  { flex-direction: row; }

  .svc-center-wrap   { margin: 8px auto; }
  .svc-center-circle {
    width: 100%;
    height: auto;
    border-radius: 16px;
    padding: 32px 24px;
    animation: none;
    max-width: 380px;
    margin: 0 auto;
  }
  .svc-center-ring-outer { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   À PROPOS — bento grid (2 grandes + 3 petites)
   Mobile-first
═══════════════════════════════════════════════════════════ */

/* Grille — mobile : colonne unique */
.apostr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* ── Carte ── */
.apostr-card {
  background: rgba(10, 16, 34, .88);
  border: 1px solid rgba(0, 212, 255, .1);
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .35s, box-shadow .35s, background .35s;
}

/* Reflet en haut de la carte */
.apostr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,212,255,.3), transparent);
  pointer-events: none;
}

.apostr-card:hover {
  border-color: rgba(0, 212, 255, .28);
  background: rgba(10, 16, 34, .96);
  box-shadow: 0 6px 40px rgba(0, 212, 255, .08);
}

/* ── Icône — pseudo-3D ── */
.apostr-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  /* Gradient simulant une surface éclairée (3D look) */
  background: linear-gradient(135deg,
    rgba(0,212,255,.16) 0%,
    rgba(5,10,28,.9)   55%,
    rgba(123,47,190,.1) 100%);
  border-top:    1px solid rgba(0,212,255,.38);
  border-left:   1px solid rgba(0,212,255,.18);
  border-bottom: 1px solid rgba(0,0,0,.35);
  border-right:  1px solid rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .35s, background .35s;
}

.apostr-card:hover .apostr-icon {
  transform: rotate(-8deg) scale(1.1);
  background: linear-gradient(135deg,
    rgba(0,212,255,.26) 0%,
    rgba(5,10,28,.9)   55%,
    rgba(123,47,190,.18) 100%);
  box-shadow: 0 0 22px rgba(0,212,255,.22);
}

/* Version plus petite (cartes du bas) */
.apostr-icon--sm {
  width: 44px;
  height: 44px;
  font-size: 17px;
  border-radius: 10px;
}

/* ── Texte ── */
.apostr-content { flex: 1; min-width: 0; }

.apostr-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.3;
}

/* Mot mis en valeur : cyan */
.apostr-title em {
  font-style: normal;
  color: var(--cyan);
}

.apostr-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── ≥ 480px : 2 colonnes ── */
@media (min-width: 480px) {
  .apostr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* ── ≥ 768px : textes un peu plus grands ── */
@media (min-width: 768px) {
  .apostr-card  { padding: 26px 24px; gap: 18px; }
  .apostr-title { font-size: 1rem; }
  .apostr-desc  { font-size: 13px; }
  .apostr-icon  { width: 56px; height: 56px; font-size: 23px; }
  .apostr-icon--sm { width: 48px; height: 48px; font-size: 19px; }
}

/* ── ≥ 992px : bento 2 grandes (row 1) + 3 petites (row 2) ── */
@media (min-width: 992px) {
  .apostr-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }

  /* Row 1 : 2 grandes cartes sur 3 colonnes chacune */
  .apostr-card:nth-child(1),
  .apostr-card:nth-child(2) { grid-column: span 3; }

  /* Row 2 : 3 petites cartes sur 2 colonnes chacune */
  .apostr-card:nth-child(3),
  .apostr-card:nth-child(4),
  .apostr-card:nth-child(5) { grid-column: span 2; }

  /* Grandes cartes : layout en colonne (icône haute, texte bas) */
  .apostr-card--top {
    flex-direction: column;
    padding: 36px 32px;
    gap: 20px;
  }

  .apostr-card--top .apostr-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: 14px;
  }

  .apostr-card--top .apostr-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .apostr-card--top .apostr-desc {
    font-size: 14px;
    line-height: 1.78;
  }
}

/* ══════════════════════════════════════════════════════════
   SECTION MISSION (à propos)
══════════════════════════════════════════════════════════ */
.mission-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.mission-hero {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0 48px;
}

.mission-headline {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.025em;
  color: var(--text-primary);
  margin: 0;
}

.mission-headline em {
  font-style: normal;
  color: var(--cyan);
}

.mission-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.22);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.mission-desc {
  color: var(--text-muted);
  line-height: 1.88;
  font-size: .95rem;
  margin-bottom: 30px;
}

.mission-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: #000 !important;
  font-weight: 800;
  font-size: .9rem;
  padding: 15px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .25s, transform .25s, box-shadow .25s;
  letter-spacing: .02em;
}

.mission-cta:hover {
  background: #00bbe0;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,212,255,.32);
}

.mission-disclaimer {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 14px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mission-disclaimer i { color: var(--cyan); font-size: .7rem; }

/* Guarantees strip */
.mission-guarantees {
  background: rgba(13,20,38,.85);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.mguar-row {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mguar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.mguar-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 10px;
  background: rgba(0,212,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: .95rem;
}

.mguar-item span {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 500;
}

.mguar-divider { display: none; }

@media (min-width: 768px) {
  .mguar-row {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .mguar-item {
    padding: 0 28px;
  }
  .mguar-item:first-child { padding-left: 0; }
  .mguar-item:last-child  { padding-right: 0; }
  .mguar-divider {
    display: block;
    width: 1px;
    height: 44px;
    background: var(--border);
    flex-shrink: 0;
  }
}

@media (min-width: 992px) {
  .mission-hero {
    flex-direction: row;
    align-items: center;
    gap: 80px;
    padding: 90px 0 70px;
  }
  .mission-headline-col { flex: 0 0 44%; }
  .mission-content-col  { flex: 1; }
}

/* ══════════════════════════════════════════════════════════
   STATS SECTION — à propos (layout type "Cronograma")
══════════════════════════════════════════════════════════ */
.aprstat-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 80px 0 70px;
}

/* Glow décoratif côté gauche */
.aprstat-section::before {
  content: '';
  position: absolute;
  inset: 0 55% 0 0;
  background:
    radial-gradient(ellipse 70% 60% at 0% 50%, rgba(0,212,255,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 30% 80%, rgba(123,47,190,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Ligne pointillée verticale séparatrice (desktop) */
.aprstat-section::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 42%;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 6px,
    var(--border) 6px,
    var(--border) 12px
  );
  display: none;
}

@media (min-width: 992px) {
  .aprstat-section::after { display: block; }
}

/* Conteneur flex */
.aprstat-wrap {
  display: flex;
  flex-direction: column;
  gap: 52px;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .aprstat-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .aprstat-intro     { flex: 0 0 40%; padding-right: 60px; position: sticky; top: 120px; }
  .aprstat-cards-col { flex: 1; padding-left: 52px; }
}

/* ─── Colonne gauche ─────────────────────────────────── */
.aprstat-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.22);
  padding: 4px 13px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.aprstat-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.aprstat-headline em {
  font-style: normal;
  color: var(--cyan);
}

.aprstat-subline {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 320px;
}

.aprstat-deco-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px;
}

/* ─── Grille de cartes ───────────────────────────────── */
.aprstat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Décalage vers le bas de la colonne droite (stagger) */
.aprstat-card--offset { margin-top: 40px; }

.aprstat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .28s, transform .28s, box-shadow .28s;
}

/* Trait coloré en haut de chaque carte */
.aprstat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: .5;
  transition: opacity .28s;
}

.aprstat-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--violet), transparent);
}

.aprstat-card:hover {
  border-color: rgba(0,212,255,.35);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

.aprstat-card:nth-child(even):hover {
  border-color: rgba(123,47,190,.45);
}

.aprstat-card:hover::before { opacity: 1; }

/* Pill icône */
.aprstat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: .85rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.aprstat-pill--cyan {
  background: rgba(0,212,255,.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,.25);
}

.aprstat-pill--violet {
  background: rgba(123,47,190,.12);
  color: #b47fff;
  border: 1px solid rgba(123,47,190,.3);
}

/* Nombre */
.aprstat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.aprstat-suf {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cyan);
}

/* Libellé */
.aprstat-lbl {
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

/* Mobile : pas de stagger (cartes empilées proprement) */
@media (max-width: 575px) {
  .aprstat-grid { grid-template-columns: 1fr; }
  .aprstat-card--offset { margin-top: 0; }
}

@media (min-width: 576px) and (max-width: 991px) {
  .aprstat-card--offset { margin-top: 28px; }
}

/* ══════════════════════════════════════════════════════════
   TEAM SECTION — layout photo + liste (à propos)
══════════════════════════════════════════════════════════ */

/* Conteneur principal */
.tlsect-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 992px) {
  .tlsect-wrap {
    flex-direction: row;
    align-items: stretch;
    gap: 44px;
  }
  .tlsect-photo-col { flex: 0 0 42%; }
  .tlsect-list-col  { flex: 1; }
}

/* ─── Colonne photo ──────────────────────────────────── */
.tlsect-photo-col { min-height: 320px; }

.tlsect-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tlsect-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Placeholder quand pas de photo */
.tlsect-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  padding: 40px;
  background: linear-gradient(145deg,
    rgba(0,212,255,.05) 0%,
    rgba(5,10,28,1)   55%,
    rgba(123,47,190,.06) 100%);
}

.tlsect-placeholder i {
  font-size: 5.5rem;
  color: rgba(0,212,255,.18);
  display: block;
}

.tlsect-placeholder span {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

/* Boutons réseaux sur le bord droit de la photo */
.tlsect-socials {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 3;
}

.tlsect-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10,14,26,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: .78rem;
  text-decoration: none;
  transition: background .22s, border-color .22s, color .22s, transform .22s;
}

.tlsect-social-btn:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  transform: scale(1.1);
}

/* ─── Colonne liste ──────────────────────────────────── */
.tlsect-list-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

/* Chaque ligne membre — forme pill */
.tlsect-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 18px 28px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-card);
  cursor: pointer;
  transition: background .26s, border-color .26s, box-shadow .26s;
  user-select: none;
}

.tlsect-row:hover {
  border-color: rgba(0,212,255,.28);
  background: rgba(0,212,255,.04);
}

.tlsect-row--active {
  background: rgba(0,212,255,.09) !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 1px rgba(0,212,255,.15), 0 6px 22px rgba(0,212,255,.1);
}

/* Infos (nom + poste) */
.tlsect-row-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding-right: 8px;
}

.tlsect-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .22s;
}

.tlsect-row--active .tlsect-name {
  color: var(--cyan);
}

.tlsect-poste {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .22s;
}

.tlsect-row--active .tlsect-poste {
  color: rgba(0,212,255,.7);
}

/* Bouton flèche */
.tlsect-arrow {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .78rem;
  text-decoration: none;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}

.tlsect-row:hover .tlsect-arrow,
.tlsect-row--active .tlsect-arrow {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  transform: rotate(0deg) scale(1.05);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 575px) {
  .tlsect-row {
    border-radius: 16px;
    padding: 14px 14px 14px 18px;
  }
  .tlsect-row-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .tlsect-poste { text-align: left; }
  .tlsect-name  { font-size: .95rem; }
  .tlsect-socials {
    right: 10px;
  }
  .tlsect-social-btn { width: 32px; height: 32px; font-size: .7rem; }
}

/* ══════════════════════════════════════════════════════════
   RECRUTEMENT — liste des offres (rct-*)
══════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────────── */
.rct-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 64px;
  overflow: hidden;
  position: relative;
}

.rct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.rct-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .rct-hero-inner  { flex-direction: row; align-items: center; gap: 60px; }
  .rct-hero-text   { flex: 0 0 54%; }
  .rct-hero-visual { flex: 1; }
}

.rct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.rct-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff94;
  flex-shrink: 0;
  animation: rct-livepulse 2s ease-in-out infinite;
}

@keyframes rct-livepulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,148,.55); }
  50%       { box-shadow: 0 0 0 7px rgba(0,255,148,0); }
}

.rct-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.09;
  letter-spacing: -.033em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.rct-headline em {
  font-style: normal;
  color: var(--cyan);
}

.rct-sub {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.82;
  max-width: 440px;
  margin-bottom: 28px;
}

.rct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rct-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .77rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
}

.rct-chips span i { color: var(--cyan); }

/* ─── Role cloud ────────────────────────────────────────── */
.rct-role-cloud {
  position: relative;
  height: 290px;
  display: none;
}

@media (min-width: 992px) { .rct-role-cloud { display: block; } }

.rct-rc {
  position: absolute;
  display: inline-block;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: .79rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
}

.rct-rc--1 { top: 0;    left: 24px;  border-color: rgba(0,212,255,.35); color: var(--cyan); background: rgba(0,212,255,.06); }
.rct-rc--2 { top: 18px; right: 6px;  border-color: rgba(0,212,255,.2);  color: var(--cyan); }
.rct-rc--3 { top: 82px; left: 0;     }
.rct-rc--4 { top: 98px; right: 28px; border-color: rgba(123,47,190,.3); color: #b47fff; }
.rct-rc--5 { top: 160px; left: 44px; }
.rct-rc--6 { top: 175px; right: 0;   border-color: rgba(0,212,255,.18); }
.rct-rc--7 { top: 238px; left: 8px;  border-color: rgba(0,255,148,.22); color: #00ff94; }

/* ─── Why strip ─────────────────────────────────────────── */
.rct-why-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}

.rct-why-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 768px) {
  .rct-why-row { flex-direction: row; gap: 0; }
  .rct-why-item {
    flex: 1;
    border-right: 1px solid var(--border);
    padding: 0 30px;
  }
  .rct-why-item:first-child { padding-left: 0; }
  .rct-why-item:last-child  { padding-right: 0; border-right: none; }
}

.rct-why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.rct-why-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: .88rem;
}

.rct-why-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.rct-why-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ─── Process strip ─────────────────────────────────────── */
.rct-process-strip {
  background: var(--bg-primary);
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.rct-process-label-top {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.rct-process-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.rct-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rct-step-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--border);
  font-family: var(--font-heading);
  line-height: 1;
  letter-spacing: -.04em;
  min-width: 38px;
}

.rct-step-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 90px;
}

.rct-step-sep {
  color: var(--border);
  font-size: .7rem;
  flex-shrink: 0;
}

/* ─── Offers list section ───────────────────────────────── */
.rct-offers-section { background: var(--bg-primary); }

.rct-offers-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.rct-offers-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -.024em;
  margin: 0;
}

.rct-offers-title em {
  font-style: normal;
  color: var(--cyan);
}

.rct-offers-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.3);
  color: var(--cyan);
  font-size: .85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.rct-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rct-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  transition: background .2s, padding-left .2s;
  overflow: hidden;
}

.rct-row:last-child { border-bottom: none; }

.rct-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--cyan);
  transform: scaleY(0);
  transition: transform .2s;
  transform-origin: center;
}

.rct-row:hover { background: rgba(0,212,255,.04); padding-left: 36px; }
.rct-row:hover::before { transform: scaleY(1); }

.rct-row-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--border);
  font-family: var(--font-heading);
  flex-shrink: 0;
  min-width: 32px;
  letter-spacing: -.03em;
  transition: color .2s;
}

.rct-row:hover .rct-row-num { color: var(--cyan); }

.rct-row-main { flex: 1; min-width: 0; }

.rct-row-title {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rct-row-dept {
  display: block;
  font-size: .73rem;
  color: var(--cyan);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: .02em;
}

.rct-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.rct-row-loc, .rct-row-exp {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: .73rem;
  color: var(--text-muted);
}

@media (min-width: 640px)  { .rct-row-loc { display: inline-flex; } }
@media (min-width: 992px)  { .rct-row-exp { display: inline-flex; } }

.rct-row-loc i, .rct-row-exp i { color: var(--cyan); font-size: .62rem; }

.rct-row-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .72rem;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.rct-row:hover .rct-row-arrow {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #000;
  transform: translateX(3px);
}

.rct-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

.rct-empty i {
  font-size: 3.5rem;
  color: var(--border);
  display: block;
  margin-bottom: 16px;
}

/* ─── Spontaneous application ───────────────────────────── */
.rct-spont-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 70px 0;
}

.rct-spont-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .rct-spont-wrap   { flex-direction: row; align-items: center; gap: 80px; }
  .rct-spont-body   { flex: 1; }
  .rct-spont-deco   { flex: 0 0 180px; }
}

.rct-spont-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.rct-spont-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -.024em;
  margin-bottom: 14px;
}

.rct-spont-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.82;
  max-width: 500px;
  margin-bottom: 28px;
}

.rct-spont-contact {
  font-size: .77rem;
  color: var(--text-muted);
  margin-top: 18px;
  margin-bottom: 0;
}

.rct-spont-contact i { color: var(--cyan); }

/* Concentric rings decoration */
.rct-spont-deco {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.rct-spont-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,.18);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.rct-spont-ring--1 { width: 160px; height: 160px; animation: rct-ringpulse 3.2s ease-in-out infinite; }
.rct-spont-ring--2 { width: 112px; height: 112px; animation: rct-ringpulse 3.2s ease-in-out infinite .6s; }

@keyframes rct-ringpulse {
  0%, 100% { opacity: .35; }
  50%       { opacity: 1; border-color: rgba(0,212,255,.42); }
}

.rct-spont-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.4rem;
}

/* ══════════════════════════════════════════════════════════
   RECRUTEMENT — page détail (rctd-*)
══════════════════════════════════════════════════════════ */

.rctd-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}

.rctd-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.rctd-header::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(123,47,190,.07) 0%, transparent 60%);
  pointer-events: none;
}

.rctd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.rctd-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.rctd-breadcrumb a:hover { color: var(--cyan); }
.rctd-breadcrumb i { font-size: .55rem; }

.rctd-header-inner {
  position: relative;
  z-index: 1;
}

.rctd-title {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 16px 0 26px;
}

.rctd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.rctd-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .77rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 50px;
}

.rctd-meta-chip i { color: var(--cyan); font-size: .7rem; }

/* ─── Body layout ───────────────────────────────────────── */
.rctd-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 60px 0;
}

@media (min-width: 992px) {
  .rctd-body  { flex-direction: row; gap: 52px; }
  .rctd-main  { flex: 1; min-width: 0; }
  .rctd-aside { flex: 0 0 292px; }
}

/* ─── Content sections ──────────────────────────────────── */
.rctd-section { margin-bottom: 38px; }

.rctd-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.rctd-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.rctd-desc {
  color: var(--text-muted);
  font-size: .91rem;
  line-height: 1.9;
}

/* ─── Requirements checklist ────────────────────────────── */
.rctd-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rctd-req-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 11px 16px;
  background: var(--bg-card);
  border-radius: 9px;
  border-left: 2px solid rgba(0,212,255,.28);
}

.rctd-req-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ─── Sidebar apply box ─────────────────────────────────── */
.rctd-apply-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.rctd-apply-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.rctd-apply-sub {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}

.rctd-fact-list {
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rctd-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .79rem;
}

.rctd-fact i { color: var(--cyan); width: 14px; text-align: center; flex-shrink: 0; }
.rctd-fact-label { color: var(--text-muted); flex: 1; }
.rctd-fact-val   { font-weight: 700; color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════════
   PARTENARIAT (prt-*)
══════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────────── */
.prt-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 72px;
  overflow: hidden;
  position: relative;
}

.prt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 90% at -5% 50%, rgba(0,212,255,.065) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 105% 50%, rgba(123,47,190,.05) 0%, transparent 60%);
  pointer-events: none;
}

.prt-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .prt-hero-inner  { flex-direction: row; align-items: center; gap: 80px; }
  .prt-hero-text   { flex: 0 0 50%; }
  .prt-hero-visual { flex: 1; }
}

.prt-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  padding: 5px 15px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.prt-headline {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.prt-headline em { font-style: normal; color: var(--cyan); }

.prt-sub {
  color: var(--text-muted);
  font-size: .91rem;
  line-height: 1.82;
  max-width: 430px;
  margin-bottom: 28px;
}

/* 2×2 type visual */
.prt-type-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.prt-type-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .25s;
}

.prt-type-tile:hover { border-color: rgba(0,212,255,.28); }

.prt-type-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
}

.prt-type-tile:nth-child(1) .prt-type-tile-icon { background: rgba(0,212,255,.1);  border: 1px solid rgba(0,212,255,.25); color: var(--cyan); }
.prt-type-tile:nth-child(2) .prt-type-tile-icon { background: rgba(123,47,190,.12); border: 1px solid rgba(123,47,190,.3);  color: #b47fff; }
.prt-type-tile:nth-child(3) .prt-type-tile-icon { background: rgba(0,255,148,.07);  border: 1px solid rgba(0,255,148,.22); color: #00e07a; }
.prt-type-tile:nth-child(4) .prt-type-tile-icon { background: rgba(255,165,0,.08);  border: 1px solid rgba(255,165,0,.22);  color: #ffa500; }

.prt-type-tile-name  { font-size: .82rem; font-weight: 700; color: var(--text-primary); }
.prt-type-tile-count { font-size: .72rem; color: var(--text-muted); }

/* ─── Partnership types editorial list ──────────────────── */
.prt-types-section {
  padding: 70px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.prt-types-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -.022em;
  margin-bottom: 36px;
}

.prt-types-title em { font-style: normal; color: var(--cyan); }

.prt-type-rows {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.prt-type-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: background .2s, padding-left .2s;
  position: relative;
  overflow: hidden;
}

.prt-type-row:last-child { border-bottom: none; }

.prt-type-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  transform: scaleY(0);
  transition: transform .2s;
  transform-origin: center;
}

.prt-type-row:nth-child(1)::before { background: var(--cyan);  }
.prt-type-row:nth-child(2)::before { background: #b47fff;       }
.prt-type-row:nth-child(3)::before { background: #00e07a;       }
.prt-type-row:nth-child(4)::before { background: #ffa500;       }

.prt-type-row:hover { background: rgba(0,212,255,.03); padding-left: 40px; }
.prt-type-row:hover::before { transform: scaleY(1); }

.prt-type-row-num {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--border);
  font-family: var(--font-heading);
  flex-shrink: 0;
  min-width: 36px;
  letter-spacing: -.04em;
}

.prt-type-row-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.prt-type-row:nth-child(1) .prt-type-row-icon { background: rgba(0,212,255,.1);  border: 1px solid rgba(0,212,255,.25); color: var(--cyan); }
.prt-type-row:nth-child(2) .prt-type-row-icon { background: rgba(123,47,190,.12); border: 1px solid rgba(123,47,190,.3);  color: #b47fff; }
.prt-type-row:nth-child(3) .prt-type-row-icon { background: rgba(0,255,148,.07);  border: 1px solid rgba(0,255,148,.22); color: #00e07a; }
.prt-type-row:nth-child(4) .prt-type-row-icon { background: rgba(255,165,0,.08);  border: 1px solid rgba(255,165,0,.22);  color: #ffa500; }

.prt-type-row-body { flex: 1; min-width: 0; }

.prt-type-row-name {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.prt-type-row-desc {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.prt-type-row-count {
  flex-shrink: 0;
  font-size: .73rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  padding: 4px 13px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ─── Partner directory ─────────────────────────────────── */
.prt-dir-section { padding: 70px 0; }

.prt-dir-type-block { margin-bottom: 52px; }
.prt-dir-type-block:last-child { margin-bottom: 0; }

.prt-dir-type-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.prt-dir-type-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

.prt-dir-type-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.prt-partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px)  { .prt-partner-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .prt-partner-grid { grid-template-columns: 1fr 1fr 1fr; } }

.prt-partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color .22s, transform .22s, box-shadow .22s;
}

.prt-partner-card:hover {
  border-color: rgba(0,212,255,.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.24);
  color: var(--text-primary);
}

.prt-partner-logo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -.02em;
}

.prt-partner-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  padding: 6px;
  transition: filter .22s;
}

.prt-partner-card:hover .prt-partner-logo-wrap img { filter: none; }

.prt-partner-info { flex: 1; min-width: 0; }

.prt-partner-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prt-partner-desc {
  font-size: .74rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prt-partner-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .62rem;
  flex-shrink: 0;
  transition: background .22s, color .22s, border-color .22s;
}

.prt-partner-card:hover .prt-partner-link-icon {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
}

/* ─── Become a partner CTA ──────────────────────────────── */
.prt-cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.prt-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 992px) {
  .prt-cta-wrap  { flex-direction: row; align-items: center; gap: 80px; }
  .prt-cta-body  { flex: 1; }
  .prt-cta-form  { flex: 0 0 350px; }
}

.prt-cta-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.prt-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.022em;
  line-height: 1.13;
  margin-bottom: 16px;
}

.prt-cta-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.82;
  max-width: 460px;
  margin-bottom: 0;
}

.prt-cta-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.prt-cta-form-title {
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.prt-contact-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 24px;
}

.prt-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.prt-contact-item:hover { color: var(--cyan); }
.prt-contact-item i { color: var(--cyan); width: 14px; text-align: center; }
/* ══════════════════════════════════════════════════════════
   CAPTCHA WIDGET
══════════════════════════════════════════════════════════ */
.captcha-block {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,212,255,.05);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 16px;
}

.captcha-icon {
  width: 34px;
  height: 34px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan, #00D4FF);
  font-size: .82rem;
  flex-shrink: 0;
}

.captcha-q {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan, #00D4FF);
  display: block;
  margin-bottom: 4px;
}

.captcha-expr {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  font-family: 'Courier New', monospace;
  letter-spacing: .04em;
}

.captcha-sep {
  font-size: .85rem;
  color: var(--text-muted, #64748b);
}

.captcha-input {
  width: 68px;
  padding: 7px 10px;
  background: var(--bg-secondary, #0D1421);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 7px;
  color: var(--text-primary, #f1f5f9);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.captcha-input:focus {
  border-color: var(--cyan, #00D4FF);
  box-shadow: 0 0 0 3px rgba(0,212,255,.12);
}

/* Compact pour footer newsletter */
.captcha-block--compact {
  padding: 9px 12px;
  gap: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.captcha-block--compact .captcha-input {
  width: 58px;
  padding: 5px 8px;
  font-size: .9rem;
}

.captcha-block--compact .captcha-expr {
  font-size: .87rem;
}

.captcha-error {
  font-size: .75rem;
  color: #ff6b6b;
  margin-top: 5px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Prose content (CKEditor HTML output on public pages) ── */
.prose-content {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: .95rem;
}
.prose-content p { margin-bottom: .9em; }
.prose-content h2 { font-size: 1.35rem; font-family: var(--font-heading); color: var(--text-primary); margin: 1.4em 0 .6em; }
.prose-content h3 { font-size: 1.1rem; font-family: var(--font-heading); color: var(--text-primary); margin: 1.2em 0 .5em; }
.prose-content h4 { font-size: .95rem; font-family: var(--font-heading); color: var(--cyan); margin: 1em 0 .4em; text-transform: uppercase; letter-spacing: .05em; }
.prose-content ul,
.prose-content ol { padding-left: 1.4em; margin-bottom: .9em; }
.prose-content ul li { list-style: none; position: relative; padding-left: 1.2em; margin-bottom: .4em; }
.prose-content ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.prose-content ol li { margin-bottom: .4em; }
.prose-content strong { color: var(--text-primary); font-weight: 600; }
.prose-content em { color: var(--cyan); font-style: italic; }
.prose-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose-content a:hover { color: var(--violet); }
.prose-content blockquote { border-left: 3px solid var(--cyan); padding-left: 1em; margin: 1em 0; color: var(--text-muted); font-style: italic; }
.prose-content code { background: rgba(0,212,255,.08); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; font-size: .85em; color: var(--cyan); }
.prose-content figure { margin: 1.2em 0; }
.prose-content figure img { border-radius: var(--radius); max-width: 100%; }
.prose-content table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: .875rem; }
.prose-content th { background: rgba(0,212,255,.07); border: 1px solid var(--border); padding: 8px 12px; color: var(--cyan); font-weight: 600; text-align: left; }
.prose-content td { border: 1px solid var(--border); padding: 8px 12px; }
