/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:           #080910;
  --bg-card:      #10121a;
  --bg-glass:     rgba(16,18,26,0.7);
  --violet:       #6532F9;
  --violet-light: #885fff;
  --pink:         #FF077E;
  --cyan:         #4ae5f3;
  --blue:         #4D7FFF;
  --purple:       #b855f0;
  --orchid:       #d840e5;
  --gold:         #ffcc00;
  --text:         #e2e2e8;
  --muted:        #8888a0;
  --border:       rgba(101,50,249,0.2);
  --glow-v:       rgba(101,50,249,0.4);
  --glow-p:       rgba(255,7,126,0.3);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 25px 24px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--violet-light);
  background: rgba(101,50,249,0.08);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, #9b59f5 100%);
  color: #fff;
  box-shadow: 0 4px 30px var(--glow-v);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px var(--glow-v); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet-light); transform: translateY(-2px); }
.btn-pink {
  background: linear-gradient(135deg, var(--pink) 0%, #c0006a 100%);
  color: #fff;
  box-shadow: 0 4px 30px var(--glow-p);
}
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,7,126,0.4); }

section { padding: 100px 0; }

/* Background gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(101,50,249,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(255,7,126,0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101,50,249,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101,50,249,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

/* ─── Navigation ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(8,9,16,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo-first {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.logo-last {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ─── Hamburger ─── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Menu mobile overlay ─── */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding-top: 70px;
}
.nav-mobile.is-open { opacity: 1; pointer-events: all; }
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0;
  margin: 0;
}
.nav-mobile-links a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-mobile-links a:hover { color: var(--violet-light); }

/* Drupal admin toolbar compatibility — uniquement #navbar */
body.toolbar-fixed #navbar { top: 39px; }
body.toolbar-fixed.toolbar-tray-open.toolbar-horizontal #navbar { top: 79px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ─── Hero ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 0;
}
#hero .container { padding-top: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(101,50,249,0.1);
  border: 1px solid rgba(101,50,249,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--violet-light);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--violet);
  border-radius: 50%;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
@keyframes bee-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}
.hero-bee {
  width: 420px;
  max-width: 100%;
  filter:
    drop-shadow(0 0 40px rgba(101,50,249,0.5))
    drop-shadow(0 0 80px rgba(255,7,126,0.2));
  opacity: 0.95;
  animation: bee-pulse 4s ease-in-out infinite;
}

@media (max-width: 900px) {
  #hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
}

/* ─── Stats ─── */
.stats-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #0a0b12;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 0;
}
.stat-item { text-align: center; padding: 24px; position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
}

/* ─── Section Headings ─── */
.section-header { text-align: center; max-width: 860px; margin: 0 auto 64px; }
.section-header .tag { margin-bottom: 16px; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

/* ─── Expertise Cards ─── */
#expertise { position: relative; z-index: 1; }
.cards-grid { display: block; }
.cards-grid ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cards-grid li { display: contents; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(101,50,249,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card:hover { border-color: rgba(101,50,249,0.5); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(101,50,249,0.1); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 28px; height: 28px;
}
.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.card-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.card-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) { .cards-grid ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid ul { grid-template-columns: 1fr; } }

/* ─── Approche ─── */
#approche { position: relative; z-index: 1; }
.approche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.approche-visual { position: relative; height: 460px; }
.glass-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.glass-card-main {
  inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px;
}
.glass-card-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 30%, rgba(101,50,249,0.15) 0%, transparent 70%);
  border-radius: 20px;
  pointer-events: none;
}
.process-steps { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.process-step { display: flex; align-items: flex-start; gap: 16px; }
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.85rem; color: #fff;
  box-shadow: 0 0 16px var(--glow-v);
}
.step-content h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.step-content p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.float-badge.top-right { top: -20px; right: -20px; }
.float-badge.bottom-left { bottom: -20px; left: -20px; }
.badge-icon { font-size: 1.4rem; }
.badge-text strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 600; color: #fff; }
.badge-text span { font-size: 0.75rem; color: var(--muted); }
.approche-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; color: #fff;
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.approche-content p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.values-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text); }
.check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(101,50,249,0.15);
  border: 1px solid rgba(101,50,249,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.7rem; color: var(--violet-light);
}

@media (max-width: 900px) {
  .approche-grid { grid-template-columns: 1fr; }
  .approche-content { order: 1; }
  .approche-visual { height: auto; order: 2; }
  .glass-card { position: relative; }
  .glass-card-main { inset: auto; padding: 24px; }
}

/* ─── Secteurs ─── */
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.sector-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.88rem; color: var(--text); font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.sector-pill:hover { border-color: var(--violet); color: var(--violet-light); background: rgba(101,50,249,0.08); transform: translateY(-2px); }
.sector-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); flex-shrink: 0; }

/* ─── CTA Contact ─── */
#contact { position: relative; z-index: 1; padding: 60px 0; }
.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(101,50,249,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(255,7,126,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: #fff;
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 16px 0 20px;
}
.cta-box p { color: var(--muted); font-size: 1.05rem; max-width: 650px; margin: 0 auto 40px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.contact-info { display: flex; justify-content: center; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s ease;
}
.contact-link:hover { color: var(--violet-light); }
.contact-link .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.contact-link:hover .icon { border-color: var(--violet); }

@media (max-width: 700px) { .cta-box { padding: 48px 28px; } }

/* ─── Footer ─── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* Scroll reveal */
.reveal { opacity: 0; transition: opacity 0.6s ease; }
.reveal.visible { opacity: 1; }

/* ─── Pager Drupal ─── */
.pager {
  margin-top: 56px;
  text-align: center;
}
.pager__items {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}
.pager__item a,
.pager__item.is-active a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0 14px;
}
.pager__item a:hover {
  border-color: rgba(101,50,249,0.5);
  color: var(--violet-light);
  background: rgba(101,50,249,0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(101,50,249,0.15);
}
.pager__item.is-active a {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(101,50,249,0.4);
  font-weight: 700;
}
.pager__item--previous a,
.pager__item--next a,
.pager__item--first a,
.pager__item--last a {
  min-width: auto;
  padding: 0 18px;
  gap: 6px;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pager__item--previous a:hover,
.pager__item--next a:hover,
.pager__item--first a:hover,
.pager__item--last a:hover {
  color: var(--violet-light);
}
.pager__item--ellipsis {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}
.pager__item { list-style: none; }

/* ─── Blog / Articles ─── */
.views-element-container { position: relative; z-index: 1; }
#blog { padding: 100px 0; }
.blog-grid { display: block; }
.blog-grid ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-grid li { display: contents; list-style: none; }
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}
.article-card:hover { border-color: rgba(101,50,249,0.5); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.article-card-image img,
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-card-category { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--violet-light); margin-bottom: 10px; }
.article-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.article-card-title a { color: #fff; text-decoration: none; transition: color 0.2s; }
.article-card:hover .article-card-title a { color: var(--pink); }
.article-card-category a { color: inherit; text-decoration: none; }
.article-card-excerpt a { color: inherit; text-decoration: none; }
.article-card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.article-card-meta { margin-top: 16px; font-size: 0.78rem; color: var(--muted); }

@media (max-width: 900px) { .blog-grid ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid ul { grid-template-columns: 1fr; } }

/* ─── Fil d'Ariane ─── */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.breadcrumb-row .breadcrumb { margin-bottom: 0; }
.edit-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px; padding: 7px 14px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.edit-link:hover { color: #fff; border-color: rgba(101,50,249,0.5); background: rgba(101,50,249,0.08); }
.breadcrumb span:last-child { color: rgba(255,255,255,0.75); }
.breadcrumb-sep { font-size: 0; display: inline-flex; align-items: center; justify-content: center; width: 10px; }
.breadcrumb-sep::after { content: ''; display: block; width: 5px; height: 5px; border-right: 1.5px solid rgba(255,255,255,0.22); border-top: 1.5px solid rgba(255,255,255,0.22); transform: rotate(45deg); }

/* ─── Page Expertise — Hero ─── */
.expertise-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.expertise-hero-top {
  display: flex;
  align-items: center;
  gap: 28px;
}
.expertise-hero-heading { display: flex; flex-direction: column; gap: 12px; }
.expertise-hero-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expertise-hero-icon svg { width: 48px; height: 48px; }
.expertise-hero-content .tag { margin-bottom: 16px; display: inline-block; }
.expertise-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.expertise-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}
@media (max-width: 640px) {
  .expertise-hero-icon { width: 64px; height: 64px; }
  .expertise-hero-icon svg { width: 32px; height: 32px; }
}

/* ─── Page Expertise — Contenu + Sidebar ─── */
.expertise-body-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.expertise-body-content { color: #b0b0c8; line-height: 1.9; font-size: 1.05rem; }
.expertise-body-content .lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 32px;
}
.expertise-body-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 52px 0 16px;
  padding-left: 18px;
  border-left: 3px solid var(--violet);
  line-height: 1.25;
}
.expertise-body-content h2:first-child { margin-top: 0; }
.expertise-body-content p { margin-bottom: 16px; }
.expertise-body-content a { color: var(--violet-light); }
.expertise-body-content ul,
.expertise-body-content ol {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.expertise-body-content ul li,
.expertise-body-content ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.expertise-body-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
}
.expertise-body-content ol { counter-reset: exp-ol; }
.expertise-body-content ol li { counter-increment: exp-ol; }
.expertise-body-content ol li::before {
  content: counter(exp-ol);
  position: absolute;
  left: 0; top: 1px;
  color: var(--violet-light);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.85rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.sidebar-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* Sidebar articles : pas de double boîte */
.sidebar-card.sidebar-articles {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* Articles liés dans la sidebar */
.sidebar-article-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  list-style: none;
  padding: 0;
  margin-left: 0;
}
.sidebar-article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--exp-color, var(--border));
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sidebar-article-card:hover {
  border-color: var(--exp-color, rgba(101,50,249,0.4));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--exp-glow, rgba(101,50,249,0.12));
}
.sidebar-article-card-img {
  width: 100%;
  height: 120px;
  overflow: hidden;
}
.sidebar-article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sidebar-article-card:hover .sidebar-article-card-img img { transform: scale(1.04); }
.sidebar-article-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
}
.sidebar-article-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-article-card:hover .sidebar-article-card-title { color: var(--exp-color, var(--violet-light)); }
.sidebar-article-sticky {
  color: var(--exp-color, var(--violet-light));
  font-size: 0.75rem;
  margin-right: 4px;
  vertical-align: middle;
}
.sidebar-more-link {
  display: block;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--exp-color, var(--violet-light));
  text-decoration: none;
  text-align: right;
  transition: opacity 0.2s;
}
.sidebar-more-link:hover { opacity: 0.75; }
.sidebar-article-card-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.sidebar-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-meta-icon { font-size: 1.3rem; flex-shrink: 0; }
.sidebar-meta-item strong { display: block; font-size: 0.88rem; font-weight: 600; color: #fff; }
.sidebar-meta-item span { font-size: 0.78rem; color: var(--muted); }

.expertise-sidebar {
  position: sticky;
  top: 200px;
  align-self: start;
}

/* ─── Expertise — Section "Ce que j'apporte" ─── */
.expertise-apport {
  position: relative;
  margin-top: 48px;
  padding: 44px 48px;
  background: var(--exp-bg, rgba(101,50,249,0.08));
  border: 1px solid var(--exp-color, rgba(101,50,249,0.3));
  border-radius: 24px;
  overflow: hidden;
}
.expertise-apport::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--exp-glow, rgba(101,50,249,0.2)) 0%, transparent 70%);
  pointer-events: none;
}
.expertise-apport h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--exp-color, var(--violet-light));
  margin: 0 0 12px;
  padding-left: 0;
  border-left: none;
  line-height: 1.3;
}
.expertise-apport > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.expertise-body-content .expertise-apport ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0; margin: 0;
}
.expertise-body-content .expertise-apport ul li {
  display: block;
  position: relative;
  padding: 14px 18px 14px 42px;
  margin-bottom: 0;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.expertise-body-content .expertise-apport ul li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 14px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--exp-color, var(--violet-light));
  font-weight: 700;
  font-size: 0.95rem;
}
.expertise-body-content .expertise-apport ul li strong { color: var(--text); }
@media (max-width: 700px) {
  .expertise-apport { padding: 28px 24px; }
}

@media (max-width: 900px) {
  .expertise-body-grid { grid-template-columns: 1fr; }
  .expertise-sidebar { position: static; order: 2; }
}

/* ─── Page Expertise — Articles liés ─── */
.expertise-articles .blog-grid { margin-top: 0; }

/* ─── Pages légales / basiques ─── */
.lp-hero {
  position: relative;
  padding: 24px 0 56px;
  border-bottom: 1px solid var(--border);
}
.lp-hero-inner { position: relative; z-index: 1; }
.lp-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 20px 0 0;
  line-height: 1.15;
}
.lp-content { padding: 60px 0 100px; }
.lp-body {
  max-width: 800px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}
.lp-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.lp-body h2:first-child { margin-top: 0; }
.lp-body p { margin-bottom: 14px; }
.lp-body a { color: var(--violet-light); text-underline-offset: 3px; }
.lp-body a:hover { color: #fff; }
.lp-body strong { color: var(--text); font-weight: 600; }

/* ─── Article Détail — Hero ─── */
.art-messages {
  padding-top: 80px; /* compense la navbar fixe */
}
.art-hero {
  padding: 24px 0 48px;
  position: relative;
  overflow: hidden;
}
.art-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.art-breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.art-breadcrumb a:hover { color: #fff; }
.art-breadcrumb span:last-child { color: rgba(255,255,255,0.75); }
.art-breadcrumb-sep { font-size: 0; display: inline-flex; align-items: center; justify-content: center; width: 10px; }
.art-breadcrumb-sep::after { content: ''; display: block; width: 5px; height: 5px; border-right: 1.5px solid rgba(255,255,255,0.22); border-top: 1.5px solid rgba(255,255,255,0.22); transform: rotate(45deg); }
.art-hero-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.art-cat {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid;
}
.art-cat-link { text-decoration: none; transition: opacity 0.2s; }
.art-cat-link:hover { opacity: 0.8; }
.art-sidebar-expertises { display: flex; flex-wrap: wrap; gap: 8px; }
.art-exp-pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); text-decoration: none;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.art-exp-pill:hover {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.art-exp-pill--active { font-weight: 700; }
.art-date {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.83rem; color: var(--muted);
}
.art-date-sep { color: var(--border); }
.art-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: #fff;
  line-height: 1.1; letter-spacing: -0.025em;
}

/* ─── Blog — Filtres catégories ─── */
.blog-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  padding: 0 48px; margin-bottom: 48px;
}
.blog-filter-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted); text-decoration: none;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.blog-filter-btn:hover {
  color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
}
.blog-filter-btn--active {
  color: #fff; background: rgba(101,50,249,0.18); border-color: rgba(101,50,249,0.45);
}
.blog-filter-btn--active:hover {
  background: rgba(101,50,249,0.25); border-color: rgba(101,50,249,0.6);
}

/* ─── Article Détail — Image bannière ─── */
.art-image-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 48px;
}
.art-image {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.art-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-image::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    var(--bg) 0%,
    transparent 12%,
    transparent 78%,
    var(--bg) 100%);
  pointer-events: none;
}
.art-image::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 50%, rgba(8,9,16,0.4) 100%);
  pointer-events: none;
}

/* ─── Article Détail — Layout ─── */
.art-content {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 0;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 72px;
  align-items: start;
}

/* ─── Article Détail — Corps ─── */
.art-body {
  padding-top: 56px;
  color: #b0b0c8;
  line-height: 1.9;
  font-size: 1.05rem;
}
.art-body .field--name-body { color: #b0b0c8; }
.art-body h2, .art-body .field--name-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem; font-weight: 700; color: #fff;
  margin: 52px 0 16px;
  padding-left: 18px;
  border-left: 3px solid var(--violet);
  line-height: 1.25;
}
.art-body h3, .art-body .field--name-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  margin: 32px 0 12px;
}
.art-body p, .art-body .field--name-body p { margin-bottom: 20px; }
.art-body a, .art-body .field--name-body a {
  color: var(--violet-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(136,95,255,0.4);
  transition: text-decoration-color 0.2s;
}
.art-body a:hover { text-decoration-color: var(--violet-light); }
.art-body strong, .art-body .field--name-body strong { color: var(--text); font-weight: 600; }
.art-body ul, .art-body .field--name-body ul,
.art-body ol, .art-body .field--name-body ol {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.art-body ul li, .art-body .field--name-body ul li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
}
.art-body ul li::before, .art-body .field--name-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink);
}
.art-body ol li, .art-body .field--name-body ol li {
  counter-increment: art-ol;
  position: relative; padding-left: 28px; margin-bottom: 10px;
}
.art-body ol, .art-body .field--name-body ol { counter-reset: art-ol; }
.art-body ol li::before, .art-body .field--name-body ol li::before {
  content: counter(art-ol);
  position: absolute; left: 0;
  color: var(--violet-light);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  top: 1px;
}
.art-body code, .art-body .field--name-body code {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.87em; color: var(--cyan);
}
.art-body pre, .art-body .field--name-body pre {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 20px; border-radius: 12px; overflow-x: auto; margin: 24px 0;
}

/* ─── Article Détail — Sidebar ─── */
.art-sidebar { padding-top: 56px; position: sticky; top: 140px; }
.art-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 16px;
}
.art-sidebar-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
.art-sidebar-cta p:not(.art-sidebar-label) { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.art-author {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.art-author-avatar {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet) 0%, #9b59f5 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.85rem; color: #fff;
}
.art-author strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.92rem; font-weight: 600; color: #fff; }
.art-author span { font-size: 0.78rem; color: var(--muted); }
.art-author-bio { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ─── Article Détail — Back link ─── */
/* ─── Article Détail — Articles liés ─── */
.art-related { padding: 64px 0 0; }
.art-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.art-related-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.art-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.art-back:hover { color: var(--text); }
.art-back svg { transition: transform 0.2s; }
.art-back:hover svg { transform: translateX(-3px); }

/* ─── Article Détail — Responsive ─── */
@media (max-width: 900px) {
  .art-content { grid-template-columns: 1fr; gap: 0; }
  .art-sidebar { position: static; padding-top: 40px; }
  .art-image { height: 260px; border-radius: 12px; }
  .art-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }
}

/* ─── Page standard ─── */
.page-content { max-width: 900px; margin: 120px auto 80px; padding: 0 24px; }
.page-content h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: #fff; margin-bottom: 32px; }

/* ─── Messages Drupal ─── */
.messages { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-size: 0.9rem; }
.messages--status { background: rgba(74,229,243,0.1); border: 1px solid rgba(74,229,243,0.3); color: var(--cyan); }
.messages--warning { background: rgba(255,204,0,0.1); border: 1px solid rgba(255,204,0,0.3); color: var(--gold); }
.messages--error { background: rgba(255,7,126,0.1); border: 1px solid rgba(255,7,126,0.3); color: var(--pink); }

/* ─── Expertise Cards — Image ─── */
.card-expertise-image {
  position: relative;
  height: 160px;
  margin: -32px -32px 20px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.card-expertise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-expertise:hover .card-expertise-image img {
  transform: scale(1.05);
}
.card-expertise-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ─── Page expertise — Image hero ─── */
.expertise-hero-image {
  position: relative;
  margin-top: 40px;
  height: 340px;
  overflow: hidden;
}
.expertise-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.expertise-hero-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ─── Expertise Cards — Layout amélioré ─── */
.card-expertise {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-color: var(--c-border) !important;
  box-shadow: 0 0 0 0 var(--c-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-expertise:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--c-glow);
}
.card-expertise-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-expertise-header .card-icon {
  margin-bottom: 0;
}
.card-expertise-body {
  flex: 1;
}
.card-expertise-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text);
  transition: gap 0.25s ease;
}
.card-cta-arrow {
  transition: transform 0.25s ease;
}
.card-expertise:hover .card-cta { gap: 10px; }
.card-expertise:hover .card-cta-arrow { transform: translateX(4px); }
.card-expertise .card-title { transition: color 0.2s; }

/* ─── Page Login ─── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(101,50,249,0.12) 0%, transparent 70%);
}
.login-wrapper {
  width: 100%;
  max-width: 420px;
}
.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 0 60px rgba(101,50,249,0.08);
}
.login-header {
  text-align: center;
  margin-bottom: 32px;
}
.login-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.login-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.login-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}
.login-messages {
  margin-bottom: 24px;
}
.login-messages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 8px;
}
.login-messages ul li a.is-active {
  display: none;
}
.login-messages ul li a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.login-messages ul li:first-of-type a {
  border-radius: 100px 0 0 100px;
}
.login-messages ul li:last-of-type a {
  border-radius: 0 100px 100px 0;
  border-left: none;
}
.login-messages ul li a:hover {
  color: var(--violet-light);
  border-color: var(--violet);
  background: rgba(101,50,249,0.06);
}

/* Form Drupal dans login */
.login-form-wrapper .form-item {
  margin-bottom: 20px;
}
.login-form-wrapper label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="password"] {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-form-wrapper input[type="text"]:focus,
.login-form-wrapper input[type="password"]:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(101,50,249,0.15);
}
.login-form-wrapper .form-item-pass .description,
.login-form-wrapper .form-item-name .description {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}
.login-form-wrapper input[type="submit"] {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--violet) 0%, #9b59f5 100%);
  color: #fff;
  box-shadow: 0 4px 30px var(--glow-v);
  transition: transform 0.2s, box-shadow 0.2s;
}
.login-form-wrapper input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--glow-v);
}
.login-form-wrapper .js-form-type-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-form-wrapper .js-form-type-checkbox label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}
.login-form-wrapper input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
  cursor: pointer;
}
.login-form-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.login-form-wrapper a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.login-form-wrapper a:hover {
  color: var(--violet-light);
}
.card-expertise:hover .card-title { color: var(--c-text); }
