/* ═══════════════════════════════════════════════════════════════
   JONATHAN DRAY CONSULTING — Design System v2.0 (LIGHT)
   jdray-consulting.com · Du terrain à la tech. De l'humain à l'algorithme.
   Font: Plus Jakarta Sans — Vibrant / Dynamic / Agency
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  /* Palette principale */
  --white:        #ffffff;
  --bg:           #ffffff;
  --bg-subtle:    #fffaf7;
  --bg-muted:     #fff4ed;
  --border:       #e5dad2;
  --border-light: #ede4da;

  /* Brand colors */
  --blue:         #2563eb;
  --blue-mid:     #1d4ed8;
  --blue-dark:    #1e3a8a;
  --blue-light:   #eff6ff;
  --cyan:         #06b6d4;
  --cyan-light:   #ecfeff;
  --purple:       #7c3aed;
  --purple-light: #f5f3ff;
  --orange:       #f97316;
  --orange-light: #fff7ed;
  --green:        #10b981;
  --green-light:  #ecfdf5;
  --pink:         #ec4899;
  --pink-light:   #fdf2f8;

  /* Text */
  --text:         #0f172a;
  --text-secondary: #334155;
  --text-muted:   #64748b;
  --text-faint:   #94a3b8;

  /* Gradients */
  --grad-primary:   linear-gradient(125deg, #f5921e 0%, #fdc048 28%, #e06e10 62%, #b87333 100%);
  --grad-purple:    linear-gradient(135deg, #7c3aed 0%, #b87333 100%);
  --grad-warm:      linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --grad-green:     linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-hero:      linear-gradient(135deg, #fffaf7 0%, #fff4ed 50%, #fff8f4 100%);
  --grad-text:      linear-gradient(125deg, #f5921e 0%, #fdc048 28%, #e06e10 62%, #b87333 100%);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:    0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg:    0 10px 40px rgba(15,23,42,0.10), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-xl:    0 24px 60px rgba(15,23,42,0.12), 0 8px 20px rgba(15,23,42,0.06);
  --shadow-blue:  0 8px 32px rgba(249,115,22,0.25);
  --shadow-glow:  0 0 0 4px rgba(249,115,22,0.15);

  /* Spacing & radius */
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  9999px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:     220ms;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ─────────────────────────────────────────
   TYPOGRAPHY SCALE
───────────────────────────────────────── */
.display-xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}
.display-lg {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}
.display-md {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.title-lg {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.title-md {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}
.body-lg { font-size: 1.0625rem; line-height: 1.7; }
.body-md { font-size: 0.9375rem; line-height: 1.65; }
.body-sm { font-size: 0.8125rem; line-height: 1.6; }
.caption  { font-size: 0.75rem;  line-height: 1.5; color: var(--text-muted); }

/* Gradient text utility */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-purple {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section tag (label above titles) */
.stag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.stag.blue   { color: var(--blue);   background: var(--blue-light);   border-color: rgba(37,99,235,0.15); }
.stag.cyan   { color: var(--cyan);   background: var(--cyan-light);   border-color: rgba(6,182,212,0.15); }
.stag.purple { color: var(--purple); background: var(--purple-light); border-color: rgba(124,58,237,0.15); }
.stag.orange { color: var(--orange); background: var(--orange-light); border-color: rgba(249,115,22,0.2); }
.stag.green  { color: var(--green);  background: var(--green-light);  border-color: rgba(16,185,129,0.15); }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
.section-pad-lg { padding: 7rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem; }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--duration) var(--ease);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Transparent au top */
.nav.nav-top {
  background: transparent;
}
/* Blanc au scroll */
.nav.nav-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo img {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo-text span { color: var(--orange); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-link {
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--orange);
  background: var(--orange-light);
}

/* CTA nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease-spring);
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
  cursor: pointer;
}
.nav-burger:hover { background: var(--bg-muted); }
.burger-line {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.nav-burger.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open .burger-line:nth-child(2) { opacity: 0; }
.nav-burger.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile .nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.nav-mobile .nav-cta {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
}

/* ─── Nav dropdown (Services) ─── */
.nav-dropdown-wrapper {
  position: relative;
}
.nav-dropdown-wrapper > .nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: default;
}
.nav-arrow {
  font-size: 0.6rem;
  transition: transform var(--duration) var(--ease);
  pointer-events: none;
}
.nav-dropdown-wrapper:hover > .nav-link .nav-arrow {
  transform: rotate(180deg);
}
/* gap bridge so dropdown stays open when moving mouse down */
.nav-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.75rem;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
  z-index: 200;
}
.nav-dropdown-wrapper:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.nav-dropdown a:hover {
  background: var(--bg-muted);
  color: var(--orange);
}
.dd-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(234,88,12,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--green-light);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px var(--green-light); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.15); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 820px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Stats strip */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 680px;
}
.hero-stat {
  flex: 1;
  min-width: 140px;
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249,115,22,0.35);
}
.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--orange);
  padding: 0.75rem 1.25rem;
}
.btn-ghost:hover { background: var(--orange-light); }

.btn-lg {
  padding: 0.9375rem 2.25rem;
  font-size: 1rem;
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}
.btn-icon {
  width: 42px; height: 42px;
  padding: 0;
  border-radius: var(--radius);
}

/* ─────────────────────────────────────────
   CARDS
───────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--border-light);
}
.card-muted {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
}

/* Colored top border variant */
.card-accent {
  position: relative;
  overflow: hidden;
}
.card-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
}
.card-accent.accent-purple::before { background: var(--grad-purple); }
.card-accent.accent-warm::before   { background: var(--grad-warm); }
.card-accent.accent-green::before  { background: var(--grad-green); }

/* Icon container */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  font-size: 1.375rem;
  flex-shrink: 0;
}
.icon-wrap-blue   { background: var(--blue-light);   color: var(--blue); }
.icon-wrap-cyan   { background: var(--cyan-light);   color: var(--cyan); }
.icon-wrap-purple { background: var(--purple-light); color: var(--purple); }
.icon-wrap-orange { background: var(--orange-light); color: var(--orange); }
.icon-wrap-green  { background: var(--green-light);  color: var(--green); }
.icon-wrap-pink   { background: var(--pink-light);   color: var(--pink); }

/* ─────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────── */
.section-head {
  margin-bottom: 3rem;
}
.section-head.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   BADGES / TAGS / PILLS
───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
}
.badge-blue   { background: var(--blue-light);   color: var(--blue); }
.badge-cyan   { background: var(--cyan-light);   color: var(--cyan); }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-green  { background: var(--green-light);  color: var(--green); }
.badge-pink   { background: var(--pink-light);   color: var(--pink); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 500;
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.tag-blue   { background: var(--blue-light);   color: var(--blue);   border-color: rgba(37,99,235,0.15); }
.tag-cyan   { background: var(--cyan-light);   color: var(--cyan);   border-color: rgba(6,182,212,0.15); }
.tag-purple { background: var(--purple-light); color: var(--purple); border-color: rgba(124,58,237,0.15); }
.tag-orange { background: var(--orange-light); color: var(--orange); border-color: rgba(249,115,22,0.15); }
.tag-green  { background: var(--green-light);  color: var(--green);  border-color: rgba(16,185,129,0.15); }

.tags-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }

/* ─────────────────────────────────────────
   PROOF STRIP / STAT BLOCK
───────────────────────────────────────── */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.proof-item {
  background: var(--white);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.proof-item:last-child { border-right: none; }
.proof-num {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proof-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   PILLAR / SERVICE CARDS (index.html)
───────────────────────────────────────── */
.pillar-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  cursor: default;
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.pillar-card .bg-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
  transition: opacity var(--duration);
}
.pillar-card:hover .bg-glow { opacity: 0.12; }

.pillar-emoji {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  display: block;
  line-height: 1;
}
.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.pillar-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.pillar-item::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   DOMAIN CARDS (formations.html)
───────────────────────────────────────── */
.domain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}
.domain-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.domain-card-header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.domain-card-body {
  padding: 1.25rem 1.75rem 1.75rem;
}
.domain-result {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.domain-result::before {
  content: '→';
  color: var(--green);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ─────────────────────────────────────────
   CASE STUDY CARDS
───────────────────────────────────────── */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}
.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.case-card-top {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-light);
}
.case-card-body { padding: 1rem 1.5rem 1.5rem; }
.case-kpis {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}
.case-kpi { display: flex; flex-direction: column; }
.kpi-val {
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.kpi-lab {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-faint);
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────
   TESTIMONIAL CARDS
───────────────────────────────────────── */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.testi-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testi-quote::before { content: '"'; color: var(--orange); font-size: 1.5rem; font-style: normal; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--white);
  flex-shrink: 0;
}
.testi-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.testi-role { font-size: 0.75rem; color: var(--text-muted); }

/* ─────────────────────────────────────────
   METHOD STEPS
───────────────────────────────────────── */
.method-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.method-track::before {
  content: '';
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple), var(--cyan), var(--green));
  opacity: 0.3;
}
.method-step {
  text-align: center;
  padding: 0 0.75rem;
  position: relative;
}
.method-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-blue);
  position: relative; z-index: 2;
}
.method-step h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.method-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   TIMELINE (apropos.html)
───────────────────────────────────────── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--purple), var(--cyan), var(--green));
  opacity: 0.35;
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-dot {
  position: absolute;
  left: -2.0625rem;
  top: 0.3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.2);
}
.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.35rem;
}
.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(249,115,22,0.25);
}
.timeline-card h4 { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.timeline-card p  { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.6; }

/* ─────────────────────────────────────────
   FORM (contact.html)
───────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-label .req { color: var(--orange); margin-left: 0.2rem; }
.form-control {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
}
.form-control::placeholder { color: var(--text-faint); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Checkbox */
.form-check { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.5rem; }
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--orange); cursor: pointer; margin-top: 0.1rem;
}
.form-check-label { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.55; }
.form-check-label a { color: var(--orange); text-decoration: underline; }

/* ─────────────────────────────────────────
   ACCORDION (FAQ)
───────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.6rem;
  background: var(--white);
  transition: box-shadow var(--duration) var(--ease);
}
.accordion-item.open { box-shadow: var(--shadow-md); border-color: rgba(249,115,22,0.25); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  gap: 1rem;
}
.accordion-trigger:hover { background: var(--bg-subtle); }
.accordion-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease), background var(--duration);
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--orange-light);
  color: var(--orange);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   GRADIENT BANNERS / CTA SECTIONS
───────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: var(--white);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.cta-banner p {
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.btn-white {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1.25rem;
}
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.6rem;
  transition: color var(--duration);
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8125rem; }
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration);
}
.footer-legal a:hover { color: var(--white); }

/* Social icons */
.social-links {
  display: flex;
  gap: 0.5rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: all var(--duration) var(--ease);
}
.social-link:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   TOAST NOTIFICATIONS
───────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  pointer-events: all;
  animation: toast-in 0.35s var(--ease-spring) forwards;
  max-width: 320px;
}
.toast.success { background: var(--green); }
.toast.error   { background: #ef4444; }
.toast.info    { background: var(--blue); }
.toast.hide    { animation: toast-out 0.25s var(--ease) forwards; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(8px); }
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─────────────────────────────────────────
   COOKIE BANNER
───────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9990;
  max-width: 380px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  display: none;
}
#cookie-banner.show { display: block; }
#cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cookie-actions { display: flex; gap: 0.75rem; }

/* ─────────────────────────────────────────
   ADMIN STYLES (admin.html)
───────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--text);
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0; height: 100vh;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.admin-sidebar-logo {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--white);
  padding: 0.5rem 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.75rem;
}
.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-align: left;
}
.admin-nav-btn:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav-btn.active { background: var(--blue); color: var(--white); }
.admin-main { padding: 2rem; background: var(--bg-subtle); overflow-y: auto; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.admin-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th {
  background: var(--bg-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--bg-subtle); }

/* ─────────────────────────────────────────
   UTILITY
───────────────────────────────────────── */
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.text-blue     { color: var(--blue); }
.text-cyan     { color: var(--cyan); }
.text-purple   { color: var(--purple); }
.text-orange   { color: var(--orange); }
.text-green    { color: var(--green); }
.text-muted    { color: var(--text-muted); }
.text-faint    { color: var(--text-faint); }
.font-bold     { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium   { font-weight: 500; }
.d-flex  { display: flex; }
.d-grid  { display: grid; }
.d-none  { display: none; }
.gap-sm  { gap: 0.5rem; }
.gap-md  { gap: 1rem; }
.gap-lg  { gap: 1.5rem; }
.gap-xl  { gap: 2rem; }
.ai-center { align-items: center; }
.jc-between { justify-content: space-between; }
.jc-center  { justify-content: center; }
.flex-wrap  { flex-wrap: wrap; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.25rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.25rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* ─────────────────────────────────────────
   LOGO TICKER / MARQUEE (clients carousel)
───────────────────────────────────────── */
.logo-ticker-wrap {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-ticker {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.logo-ticker:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  padding: 0.6rem 0.9rem;
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration);
}
.logo-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.logo-tile:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ─────────────────────────────────────────
   CONTACT PAGE — Layout grid
───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Contact sidebar info card */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.contact-info-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.contact-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row strong { color: var(--text); font-weight: 600; white-space: nowrap; }
.contact-info-row span { color: var(--text-secondary); text-align: right; }
.contact-checklist {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contact-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.contact-checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   CONTACT PAGE — Service Selector
───────────────────────────────────────── */
.service-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin: 2rem 0 0;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all var(--duration) var(--ease-spring);
  text-align: center;
}
.service-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card.selected {
  border-color: var(--orange);
  background: var(--orange-light);
  box-shadow: var(--shadow-blue);
  transform: translateY(-3px);
}
.service-card-emoji { font-size: 1.75rem; line-height: 1; }
.service-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .service-selector { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .service-selector { grid-template-columns: repeat(2, 1fr); }
}

/* Scroll to top */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease);
  pointer-events: none;
}
#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#scroll-top:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-pillars { grid-template-columns: repeat(2, 1fr); }
  .grid-sectors { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .method-track { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .method-track::before { display: none; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4          { grid-template-columns: repeat(2, 1fr); }
  .grid-pillars    { grid-template-columns: repeat(2, 1fr); }
  .grid-sectors    { grid-template-columns: repeat(3, 1fr); }
  .proof-strip     { grid-template-columns: repeat(2, 1fr); }
  .hero            { padding: 6.5rem 0 4rem; }
  .hero-stats      { max-width: 100%; }
  .hero-stat       { min-width: 120px; }
  .section-pad     { padding: 3.5rem 0; }
  .section-pad-lg  { padding: 4.5rem 0; }
  .cta-banner      { padding: 3rem 2rem; }
  .form-row        { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger      { display: flex; }
  .method-track    { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-top      { grid-template-columns: 1fr; }
  .admin-layout    { grid-template-columns: 1fr; }
  .admin-sidebar   { position: static; height: auto; }
}

@media (max-width: 480px) {
  .grid-4        { grid-template-columns: 1fr; }
  .grid-pillars  { grid-template-columns: 1fr; }
  .grid-sectors  { grid-template-columns: repeat(2, 1fr); }
  .proof-strip   { grid-template-columns: 1fr; }
  .hero-stats    { flex-direction: column; }
  .hero-stat     { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-actions  { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-banner    { padding: 2.5rem 1.5rem; }
  .container     { padding: 0 1rem; }
}
