/* ================================================================
   MASAYA IBF — Design System v3.0
   Navy #1B5C8A · Orange #F5893D · NavyDeep #071E30
================================================================ */

:root {
  --navy:      #1B5C8A;
  --navy-dk:   #0D3A5C;
  --navy-dp:   #071E30;
  --orange:    #F5893D;
  --orange-lt: #FAB77E;
  --orange-dk: #C96520;
  --white:     #FFFFFF;
  --lt-bg:     #F1F5F9;
  --border:    #E2E8F0;
  --txt:       #0F172A;
  --txt-m:     #475569;
  --txt-l:     #94A3B8;
  --fh:        'Montserrat', sans-serif;
  --fb:        'Inter', sans-serif;
  --r-xs: 3px; --r-sm: 5px; --r: 8px; --r-md: 12px; --r-lg: 16px;
  --sh:    0 4px 24px rgba(13,58,92,.12);
  --sh-lg: 0 14px 52px rgba(13,58,92,.20);
  /* Hauteurs fixes — NE PAS CHANGER sans mettre à jour body padding-top */
  --topbar-h: 38px;
  --nav-h:    78px;
  --nav-h-sm: 60px;
  --header-h: calc(var(--topbar-h) + var(--nav-h)); /* 116px total */
  --t:   .25s;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fb);
  color: var(--txt);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  /* Compense topbar+navbar fixes pour que le contenu ne passe pas DERRIÈRE */
  padding-top: var(--header-h);
}
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }
ul,ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden;
           clip: rect(0,0,0,0); white-space: nowrap; }

/* ================================================================
   TOPBAR — fixe en haut
================================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--navy-dp);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 1020;
}
.topbar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
.topbar-left a {
  color: rgba(255,255,255,.58); font-size: .72rem;
  display: flex; align-items: center; gap: 5px;
  transition: color var(--t); white-space: nowrap;
}
.topbar-left a:hover { color: var(--orange); }
.topbar-left a i { color: var(--orange); font-size: .65rem; flex-shrink: 0; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.48);
  font-size: .67rem; transition: all var(--t);
}
.topbar-social a:hover { background: var(--orange); color: var(--white); transform: translateY(-1px); }

/* Sélecteur de langue */
.lang-sw {
  display: flex; gap: 2px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm); padding: 3px;
}
.lang-sw a {
  display: flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 3px;
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.42); transition: all var(--t);
}
.lang-sw a:hover  { color: var(--white); background: rgba(255,255,255,.10); }
.lang-sw a.active { background: var(--orange); color: var(--white); }

/* ================================================================
   NAVBAR — fixe sous la topbar
================================================================ */
.navbar {
  position: fixed;
  top: var(--topbar-h);   /* juste sous la topbar */
  left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 2px solid var(--border);
  z-index: 1010;
  transition: height var(--t) var(--ease), box-shadow var(--t);
}
.navbar.scrolled {
  height: var(--nav-h-sm);
  box-shadow: 0 2px 20px rgba(13,58,92,.13);
  border-bottom-color: transparent;
}

.navbar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; gap: 0;
}

/* ── Logo ── */
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; margin-right: 36px;
}
.nav-logo-svg {
  display: block; height: 42px; width: auto; flex-shrink: 0;
  transition: height var(--t);
}
.navbar.scrolled .nav-logo-svg { height: 34px; }
.nav-logo-tag {
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--fh); font-size: .55rem; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  color: var(--navy); line-height: 1.6;
  border-left: 2px solid var(--orange);
  padding-left: 10px; white-space: nowrap;
}

/* ── Liens de navigation ── */
.nav-links { display: flex; align-items: center; gap: 0; flex: 1; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font-family: var(--fh); font-size: .74rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--txt); border-radius: var(--r-sm);
  white-space: nowrap; transition: color var(--t), background var(--t);
  position: relative;
}
.nav-links > li > a::after {
  content: ''; position: absolute;
  bottom: 3px; left: 50%; right: 50%;
  height: 2px; background: var(--orange); border-radius: 1px;
  transition: left var(--t) var(--ease), right var(--t) var(--ease);
}
.nav-links > li > a:hover::after,
.nav-links > li.active > a::after { left: 14px; right: 14px; }
.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--navy); }
.chv { font-size: .54rem; transition: transform var(--t); margin-left: 2px; }
.nav-links > li:hover > a .chv { transform: rotate(180deg); }

/* ── Dropdown ── */
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: -12px;
  min-width: 260px; background: var(--white);
  border: 1px solid var(--border); border-top: 3px solid var(--orange);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  z-index: 500;
}
.nav-drop::before {
  content: ''; position: absolute; top: -6px; left: 26px;
  width: 11px; height: 11px; background: var(--white);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-links > li:hover > .nav-drop,
.nav-links > li:focus-within > .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop li a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 20px; font-size: .82rem; font-weight: 500;
  color: var(--txt-m); border-left: 3px solid transparent;
  transition: all var(--t);
}
.nav-drop li a:hover {
  color: var(--navy); background: var(--lt-bg);
  border-left-color: var(--orange); padding-left: 24px;
}
.nav-drop li a i { color: var(--orange); font-size: .82rem; width: 17px; text-align: center; flex-shrink: 0; }
.nav-drop li:last-child a { border-top: 1px solid var(--border); color: var(--navy); font-weight: 700; }

/* ── Bouton CTA ── */
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); padding: 10px 22px; border-radius: var(--r);
  font-family: var(--fh); font-size: .74rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 3px 14px rgba(245,137,61,.38); white-space: nowrap;
  transition: all var(--t);
}
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(245,137,61,.54); }

/* ── Burger mobile ── */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto; border-radius: var(--r-sm);
  transition: background var(--t);
}
.nav-burger:hover { background: var(--lt-bg); }
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--txt); border-radius: 2px; transition: all .28s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================================
   MENU MOBILE
================================================================ */
.mob-menu {
  display: none;
  position: fixed;
  /* Commence sous le header complet */
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--navy-dp);
  z-index: 1005;
  flex-direction: column;
  padding: 24px 28px 40px;
  overflow-y: auto;
  /* Animation d'ouverture */
  transform: translateX(100%);
  transition: transform .32s var(--ease);
}
.mob-menu.open {
  display: flex;
  transform: translateX(0);
}
/* Bouton fermer */
.mob-close {
  position: absolute; top: 14px; right: 18px;
  color: rgba(255,255,255,.65); font-size: 1.3rem;
  padding: 8px; border-radius: var(--r-sm); transition: all var(--t);
  z-index: 10;
}
.mob-close:hover { color: var(--white); background: rgba(255,255,255,.1); }

.mob-links > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mob-links > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-family: var(--fh); font-size: .92rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--white);
  transition: color var(--t);
}
.mob-links > li > a:hover { color: var(--orange); }
.mob-cta {
  display: block; margin-top: 28px; text-align: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); padding: 16px; border-radius: var(--r);
  font-family: var(--fh); font-weight: 800; font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(245,137,61,.40);
}
.mob-langs {
  display: flex; gap: 8px; margin-top: 20px;
}
.mob-langs a {
  flex: 1; text-align: center; padding: 10px;
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--r);
  color: rgba(255,255,255,.55); font-size: .82rem;
  font-weight: 700; text-transform: uppercase; transition: all var(--t);
}
.mob-langs a.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ================================================================
   HERO SLIDER
================================================================ */
.hero {
  position: relative;
  /* Le body a déjà padding-top:var(--header-h) donc margin:0 ici */
  margin-top: 0;
  height: calc(100vh - var(--header-h));
  min-height: 580px;
  max-height: 960px;
  overflow: hidden;
  background: var(--navy-dp);
}

.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }

/* Photo background + Ken Burns */
.slide-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform 9s linear;
  will-change: transform;
}
.hero-slide.active .slide-photo { transform: scale(1.0); }

/* Overlay cinématique */
.slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(7,30,48,.90) 0%, rgba(7,30,48,.65) 40%, rgba(7,30,48,.20) 70%, rgba(7,30,48,.05) 100%),
    linear-gradient(to top, rgba(7,30,48,.60) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(7,30,48,.20) 0%, transparent 30%);
}

/* Décorations géométriques */
.slide-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.slide-deco::before {
  content: ''; position: absolute; right: -8%; top: -12%;
  width: 56vmin; height: 56vmin; border-radius: 50%;
  border: 1px solid rgba(245,137,61,.14);
  animation: ring-spin 22s linear infinite;
}
.slide-deco::after {
  content: ''; position: absolute; right: 6%; top: 6%;
  width: 36vmin; height: 36vmin; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
}
@keyframes ring-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.slide-deco-line {
  position: absolute; bottom: 0; left: 0; width: 45%; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.slide-deco-bar {
  position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px;
  background: linear-gradient(to bottom, transparent, var(--orange) 50%, transparent);
  border-radius: 0 2px 2px 0;
}

/* Contenu du slide */
.slide-body {
  position: relative; z-index: 5; height: 100%;
  display: flex; align-items: center; padding: 0 32px;
}
.slide-container {
  max-width: 1440px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 410px; gap: 56px; align-items: center;
}

/* Animations texte */
.slide-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px; opacity: 0; transform: translateY(16px);
  transition: opacity .5s .1s var(--ease), transform .5s .1s var(--ease);
}
.hero-slide.active .slide-eyebrow { opacity: 1; transform: translateY(0); }
.eyebrow-line { width: 30px; height: 2px; background: var(--orange); border-radius: 1px; flex-shrink: 0; }
.eyebrow-tag  { font-family: var(--fh); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-lt); }
.eyebrow-count{ font-family: var(--fh); font-size: .62rem; font-weight: 600; color: rgba(255,255,255,.28); margin-left: 4px; }

.slide-heading {
  font-family: var(--fh); font-size: clamp(2rem, 4.8vw, 3.7rem);
  font-weight: 900; line-height: 1.06; color: var(--white);
  max-width: 640px; margin-bottom: 20px;
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s .22s var(--ease), transform .55s .22s var(--ease);
}
.hero-slide.active .slide-heading { opacity: 1; transform: translateY(0); }
.slide-heading em { font-style: normal; color: var(--orange); }

.slide-sub {
  font-size: clamp(.88rem, 1.4vw, 1.02rem); line-height: 1.72;
  color: rgba(255,255,255,.68); max-width: 540px; margin-bottom: 34px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s .34s var(--ease), transform .5s .34s var(--ease);
}
.hero-slide.active .slide-sub { opacity: 1; transform: translateY(0); }

.slide-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s .46s var(--ease), transform .5s .46s var(--ease);
}
.hero-slide.active .slide-actions { opacity: 1; transform: translateY(0); }

/* Boutons hero */
.btn-hp {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); padding: 14px 30px; border-radius: var(--r);
  font-family: var(--fh); font-size: .83rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(245,137,61,.50); transition: all var(--t);
}
.btn-hp:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(245,137,61,.65); }
.btn-hg {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.10); color: var(--white);
  padding: 13px 26px; border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.30);
  font-family: var(--fh); font-size: .83rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  backdrop-filter: blur(8px); transition: all var(--t);
}
.btn-hg:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); transform: translateY(-3px); }

/* Carte glassmorphism */
.slide-card {
  background: rgba(6,20,36,.70); backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.11); border-top: 2px solid var(--orange);
  border-radius: var(--r-lg); padding: 30px 26px;
  opacity: 0; transform: translateX(24px);
  transition: opacity .6s .4s var(--ease), transform .6s .4s var(--ease);
}
.hero-slide.active .slide-card { opacity: 1; transform: translateX(0); }
.card-head-label {
  font-family: var(--fh); font-size: .62rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 20px; display: flex; align-items: center; gap: 9px;
}
.card-head-label::after { content: ''; flex: 1; height: 1px; background: rgba(245,137,61,.22); }
.card-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.card-stat-item {
  text-align: center; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--r-sm); padding: 12px 8px;
}
.card-stat-num { font-family: var(--fh); font-size: 1.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.card-stat-num em { font-style: normal; color: var(--orange); }
.card-stat-lbl { font-size: .66rem; color: rgba(255,255,255,.44); margin-top: 4px; line-height: 1.3; }
.card-hr { grid-column: 1/-1; border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 2px 0; }
.card-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.card-foot p { font-size: .73rem; color: rgba(255,255,255,.48); line-height: 1.4; }
.card-foot a {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  background: var(--orange); color: var(--white);
  font-family: var(--fh); font-size: .68rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--r-sm); transition: all var(--t);
}
.card-foot a:hover { background: var(--orange-dk); transform: translateY(-1px); }

/* Contrôles slider */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px); transition: all var(--t);
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-50%) scale(1.1); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-dots {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px; align-items: center;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.30); border: none;
  cursor: pointer; padding: 0; transition: all .32s var(--ease);
}
.hero-dot.active { background: var(--orange); width: 26px; border-radius: 4px; }

.hero-counter {
  position: absolute; bottom: 38px; left: 28px; z-index: 10;
  display: flex; align-items: baseline; gap: 7px;
}
.counter-curr { font-family: var(--fh); font-size: 2.2rem; font-weight: 900; color: var(--white); line-height: 1; }
.counter-sep  { font-family: var(--fh); font-size: .7rem; color: rgba(255,255,255,.28); display: inline-block; margin: 0 2px; }
.counter-total{ font-family: var(--fh); font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.36); }

.hero-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--orange); z-index: 10; transition: none; }

.hero-thumbs { position: absolute; bottom: 0; right: 0; z-index: 10; display: flex; gap: 3px; }
.hero-thumb {
  width: 108px; height: 65px; cursor: pointer;
  background-size: cover; background-position: center;
  opacity: .45; transition: opacity var(--t); position: relative;
}
.hero-thumb::after { content: ''; position: absolute; inset: 0; background: var(--navy-dp); opacity: .55; transition: opacity var(--t); }
.hero-thumb:hover::after, .hero-thumb.active::after { opacity: .08; }
.hero-thumb:hover, .hero-thumb.active { opacity: 1; }
.hero-thumb.active { border-top: 3px solid var(--orange); }

.scroll-hint {
  position: absolute; bottom: 40px; right: 32px; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,.36); font-family: var(--fh); font-size: .58rem;
  letter-spacing: .15em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,.48), transparent);
  animation: scroll-pulse 1.9s ease infinite;
}
@keyframes scroll-pulse { 0%,100% { opacity:.36; transform:scaleY(1); } 50% { opacity:.88; transform:scaleY(1.3); } }

/* Section suivante placeholder */
.next-ph {
  height: 66px; background: var(--lt-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-l); font-size: .86rem;
  border-top: 2px solid var(--border); letter-spacing: .02em;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1140px) {
  .nav-links, .btn-nav-cta, .nav-logo-tag { display: none; }
  .nav-burger { display: flex; }
  .hero-thumbs { display: none; }
}

@media (max-width: 900px) {
  .slide-container { grid-template-columns: 1fr; }
  .slide-card, .hero-counter { display: none; }
}

@media (max-width: 640px) {
  /* Topbar cachée → on réduit le padding-top du body */
  .topbar { display: none; }
  body { padding-top: var(--nav-h-sm); }
  .navbar { top: 0; height: var(--nav-h-sm); }
  .navbar.scrolled { height: var(--nav-h-sm); }
  /* Menu mobile commence juste sous la navbar */
  .mob-menu { top: var(--nav-h-sm); }
  /* Hero sans offset topbar */
  .hero { height: calc(100vh - var(--nav-h-sm)); min-height: 520px; }
  .hero-arrow, .scroll-hint { display: none; }
  .slide-heading { font-size: 1.85rem; }
  .slide-sub     { font-size: .9rem; }
  .navbar-inner  { padding: 0 16px; }
  .slide-body    { padding: 0 16px; }
}

@media (max-width: 420px) {
  .btn-hg { display: none; }
  .slide-heading { font-size: 1.6rem; }
  .topbar-left a:not(:first-child) { display: none; }
  .topbar-divider { display: none; }
}

/* ================================================================
   BODY SECTIONS — v3.0
================================================================ */

/* ── Helpers communs ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.section-tag::before {
  content: ''; width: 28px; height: 2px;
  background: var(--orange); border-radius: 1px; flex-shrink: 0;
}
.section-title {
  font-family: var(--fh); font-size: clamp(1.6rem,3.2vw,2.5rem);
  font-weight: 900; line-height: 1.15; color: var(--txt); margin-bottom: 14px;
}
.section-title span { color: var(--navy); }
.section-sub {
  font-size: 1rem; line-height: 1.72; color: var(--txt-m);
  max-width: 600px; margin-bottom: 0;
}
.section-sub.center { text-align: center; margin: 0 auto; }
.section-title.center, .section-tag.center { text-align: center; }
.section-tag.white { color: rgba(255,255,255,.85); }
.section-tag.white::before { background: rgba(255,255,255,.7); }
.section-title.white { color: var(--white); }
.section-sub.white   { color: rgba(255,255,255,.68); }

.container { max-width: 1300px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

/* ── Boutons communs ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); padding: 13px 28px; border-radius: var(--r);
  font-family: var(--fh); font-size: .8rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(245,137,61,.40); transition: all var(--t);
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(245,137,61,.55); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--navy);
  padding: 12px 26px; border-radius: var(--r);
  border: 2px solid var(--navy);
  font-family: var(--fh); font-size: .8rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; transition: all var(--t);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline.white { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline.white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ================================================================
   1. STATS STRIP
================================================================ */
.stats-strip {
  background: var(--navy);
  padding: 40px 0;
  position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; left: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.stats-strip::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(245,137,61,.08);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  position: relative; z-index: 1;
}
.stat-block {
  text-align: center; padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,.10);
}
.stat-block:last-child { border-right: none; }
.stat-icon {
  font-size: 1.5rem; color: var(--orange); margin-bottom: 8px;
  display: block;
}
.stat-num {
  font-family: var(--fh); font-size: 2.4rem; font-weight: 900;
  color: var(--white); line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: .78rem; color: rgba(255,255,255,.60);
  margin-top: 5px; line-height: 1.3;
}

/* ================================================================
   2. À PROPOS
================================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg);
}
.about-img-wrap img {
  width: 100%; height: 480px; object-fit: cover; display: block;
}
.about-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--orange);
  color: var(--white); border-radius: var(--r-md);
  padding: 14px 20px;
  font-family: var(--fh); font-weight: 800;
}
.about-badge-num { font-size: 2rem; line-height: 1; display: block; }
.about-badge-lbl { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.about-flag-band {
  position: absolute; top: 20px; right: 20px;
  display: flex; gap: 8px;
}
.about-flag {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); box-shadow: var(--sh);
}
.about-text p { font-size: 1rem; line-height: 1.78; color: var(--txt-m); margin-bottom: 16px; }
.about-meta {
  display: flex; gap: 24px; margin: 28px 0 32px;
  flex-wrap: wrap;
}
.about-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--txt-m);
}
.about-meta-item i { color: var(--orange); font-size: .9rem; }
.about-meta-item strong { color: var(--txt); font-weight: 700; }

/* ================================================================
   3. SERVICES
================================================================ */
.services-section { background: var(--lt-bg); }
.services-header { text-align: center; margin-bottom: 52px; }
.services-header .section-tag { justify-content: center; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--r-md);
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  transition: all var(--t);
  position: relative; overflow: hidden;
}
.service-card.navy  { border-top-color: var(--navy); }
.service-card.orange{ border-top-color: var(--orange); }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.service-card:hover.navy   { box-shadow: 0 14px 40px rgba(27,92,138,.18); }
.service-card:hover.orange { box-shadow: 0 14px 40px rgba(245,137,61,.18); }
.svc-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.2rem; flex-shrink: 0;
}
.service-card.navy  .svc-icon-wrap { background: rgba(27,92,138,.10); color: var(--navy); }
.service-card.orange .svc-icon-wrap { background: rgba(245,137,61,.12); color: var(--orange); }
.svc-title {
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  color: var(--txt); margin-bottom: 10px; line-height: 1.3;
}
.svc-desc { font-size: .84rem; line-height: 1.65; color: var(--txt-m); }
.services-footer { text-align: center; margin-top: 44px; }

/* ================================================================
   4. CALENDRIER FORUMS
================================================================ */
.forums-section { background: var(--white); }
.forums-header { text-align: center; margin-bottom: 40px; }
.forums-header .section-tag { justify-content: center; }

/* Filtres secteurs */
.forums-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 36px;
}
.filter-btn {
  padding: 7px 16px; border-radius: 100px;
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; border: 1.5px solid var(--border);
  color: var(--txt-m); background: var(--white);
  cursor: pointer; transition: all var(--t);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* Tableau des salons */
.forums-table-wrap {
  border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--sh);
}
.forums-table {
  width: 100%; border-collapse: collapse;
  font-size: .85rem;
}
.forums-table thead {
  background: var(--navy); color: var(--white);
}
.forums-table thead th {
  padding: 14px 16px;
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; text-align: left;
}
.forums-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.forums-table tbody tr:last-child { border-bottom: none; }
.forums-table tbody tr:hover { background: var(--lt-bg); }
.forums-table tbody tr[style*="display:none"] { display: none !important; }
.forums-table td { padding: 14px 16px; vertical-align: middle; }
.td-date {
  font-family: var(--fh); font-size: .78rem; font-weight: 700;
  color: var(--navy); white-space: nowrap;
}
.td-sector span {
  padding: 3px 10px; border-radius: 100px;
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; color: var(--white);
  white-space: nowrap; display: inline-block;
}
.td-name { color: var(--txt); font-weight: 500; line-height: 1.4; }
.td-badge span {
  padding: 3px 10px; border-radius: 100px;
  font-family: var(--fh); font-size: .65rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-major  { background: rgba(245,137,61,.12); color: var(--orange-dk); }
.badge-new    { background: rgba(16,163,74,.12); color: #15803d; }
.td-action a {
  font-family: var(--fh); font-size: .7rem; font-weight: 700;
  color: var(--navy); letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
  transition: color var(--t);
}
.td-action a:hover { color: var(--orange); }
.forums-footer { text-align: center; margin-top: 36px; }

/* ================================================================
   5. POURQUOI MASAYA
================================================================ */
.why-section {
  background: linear-gradient(135deg, var(--navy-dp) 0%, var(--navy-dk) 60%, var(--navy) 100%);
  position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(245,137,61,.10);
}
.why-section::after {
  content: ''; position: absolute; left: -60px; bottom: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.02);
}
.why-header { text-align: center; margin-bottom: 52px; }
.why-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  position: relative; z-index: 1;
}
.why-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 32px 28px;
  transition: all var(--t);
}
.why-item:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-3px);
}
.why-icon {
  width: 52px; height: 52px; border-radius: var(--r);
  background: rgba(245,137,61,.15); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 18px;
}
.why-title {
  font-family: var(--fh); font-size: .9rem; font-weight: 800;
  color: var(--white); margin-bottom: 10px;
}
.why-desc { font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.60); }

/* ================================================================
   6. QUI PEUT PARTICIPER
================================================================ */
.who-section { background: var(--lt-bg); }
.who-header { text-align: center; margin-bottom: 48px; }
.who-header .section-tag { justify-content: center; }
.who-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.who-card {
  background: var(--white); border-radius: var(--r-md);
  padding: 32px 24px; text-align: center;
  border: 1px solid var(--border);
  transition: all var(--t);
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.who-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(27,92,138,.08); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 18px;
}
.who-title {
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  color: var(--txt); margin-bottom: 10px;
}
.who-desc { font-size: .82rem; line-height: 1.6; color: var(--txt-m); }

/* ================================================================
   7. TÉMOIGNAGES
================================================================ */
.testi-section { background: var(--white); }
.testi-header { text-align: center; margin-bottom: 48px; }
.testi-header .section-tag { justify-content: center; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
  position: relative; transition: all var(--t);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: transparent; }
.testi-quote {
  font-size: 2.5rem; color: var(--orange); line-height: 1;
  font-family: Georgia, serif; margin-bottom: 16px;
}
.testi-text {
  font-size: .9rem; line-height: 1.74; color: var(--txt-m);
  margin-bottom: 24px; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.testi-name { font-family: var(--fh); font-size: .84rem; font-weight: 700; color: var(--txt); }
.testi-role { font-size: .76rem; color: var(--txt-l); margin-top: 2px; }

/* ================================================================
   8. CTA SECTION
================================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; left: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-section::after {
  content: ''; position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--fh); font-size: clamp(1.5rem,3vw,2.2rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 14px; line-height: 1.2;
}
.cta-sub {
  font-size: 1rem; color: rgba(255,255,255,.80);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.68;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); color: var(--orange-dk);
  padding: 14px 30px; border-radius: var(--r);
  font-family: var(--fh); font-size: .82rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0,0,0,.15); transition: all var(--t);
}
.cta-btns .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.22); }
.cta-btns .btn-outline-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: var(--r);
  border: 2px solid rgba(255,255,255,.50);
  font-family: var(--fh); font-size: .82rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; transition: all var(--t);
}
.cta-btns .btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); transform: translateY(-2px); }

/* ================================================================
   9. CONTACT
================================================================ */
.contact-section { background: var(--lt-bg); }
.contact-header { text-align: center; margin-bottom: 52px; }
.contact-header .section-tag { justify-content: center; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white); border-radius: var(--r-md);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--border); transition: all var(--t);
}
.contact-card:hover { box-shadow: var(--sh); transform: translateX(4px); }
.contact-card-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  background: rgba(27,92,138,.08); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-card-label {
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--txt-l); margin-bottom: 5px;
}
.contact-card-value {
  font-size: .9rem; font-weight: 600; color: var(--txt); line-height: 1.5;
}
.contact-card-value a { color: var(--navy); transition: color var(--t); }
.contact-card-value a:hover { color: var(--orange); }

/* Formulaire */
.contact-form {
  background: var(--white); border-radius: var(--r-lg);
  padding: 36px; border: 1px solid var(--border);
  box-shadow: var(--sh);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--fh);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--txt-m); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: var(--fb); font-size: .9rem; color: var(--txt);
  background: var(--white); transition: border-color var(--t), box-shadow var(--t);
  outline: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,92,138,.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 6px; }
.form-success-msg {
  display: none; padding: 14px 20px; border-radius: var(--r);
  background: rgba(16,163,74,.10); color: #15803d;
  font-weight: 600; font-size: .9rem; text-align: center;
  border: 1px solid rgba(16,163,74,.25); margin-top: 12px;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--navy-dp);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 48px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08);
}
/* Colonne logo */
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.footer-logo svg { height: 40px; width: auto; }
.footer-logo-tag {
  font-family: var(--fh); font-size: .55rem; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  color: rgba(255,255,255,.70); line-height: 1.6;
  border-left: 2px solid var(--orange); padding-left: 10px;
}
.footer-tagline {
  font-size: .88rem; line-height: 1.70;
  color: rgba(255,255,255,.52); margin-bottom: 22px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.50); font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); transform: translateY(-2px); }

/* Colonnes nav */
.footer-col-title {
  font-family: var(--fh); font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: .85rem; color: rgba(255,255,255,.52);
  display: flex; align-items: center; gap: 7px; transition: color var(--t);
}
.footer-links a i { font-size: .7rem; color: var(--orange); flex-shrink: 0; }
.footer-links a:hover { color: var(--orange); }

/* Colonne contact */
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .84rem; color: rgba(255,255,255,.52); line-height: 1.5;
}
.footer-contact-item i { color: var(--orange); font-size: .8rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.52); transition: color var(--t); }
.footer-contact-item a:hover { color: var(--orange); }

/* Bottom bar */
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-legal { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: .76rem; color: rgba(255,255,255,.35); transition: color var(--t);
}
.footer-bottom-links a:hover { color: var(--orange); }
.footer-countries {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; color: rgba(255,255,255,.30);
}
.footer-countries span { font-size: 1rem; }

/* ================================================================
   RESPONSIVE — BODY + FOOTER
================================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .about-grid   { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .about-img-wrap img { height: 320px; }
  .who-grid     { grid-template-columns: repeat(2,1fr); }
  .testi-grid   { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: repeat(2,1fr); }
  .stats-grid   { grid-template-columns: repeat(2,1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .forums-table th:last-child, .forums-table td:last-child { display: none; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section-pad  { padding: 60px 0; }
  .container    { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .who-grid     { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: 1fr; }
  .stats-grid   { grid-template-columns: repeat(2,1fr); }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; text-align: center; gap: 10px; }
  .footer-countries { justify-content: center; }
  .forums-table { font-size: .78rem; }
  .forums-table th, .forums-table td { padding: 10px 10px; }
  .forums-table .td-sector, .forums-table .td-badge { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ── Animations au scroll ── */
.anim-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.anim-up.anim-visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }

/* ================================================================
   FORUMS SECTION — VERSION CARDS AMÉLIORÉE
================================================================ */

/* Toolbar (search + filters) */
.forums-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.forums-search-wrap {
  position: relative;
  max-width: 420px;
}
.forums-search-wrap i {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--txt-l);
  font-size: .85rem;
  pointer-events: none;
}
.forums-search-wrap input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--fb);
  font-size: .88rem;
  color: var(--txt);
  background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.forums-search-wrap input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,92,138,.10);
}
.forums-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1.5px solid var(--border);
  color: var(--txt-m);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.filter-btn i { font-size: .7rem; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); background: rgba(27,92,138,.05); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Compteur */
.forums-count {
  font-size: .82rem;
  color: var(--txt-l);
  margin-bottom: 28px;
  font-family: var(--fh);
}
.forums-count span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

/* ── GRILLE DE CARDS ── */
.forums-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.forum-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.forum-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
/* Accent coloré en haut */
.forum-card-accent {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
  transition: height var(--t);
}
.forum-card:hover .forum-card-accent { height: 5px; }

/* Badge positionné */
.forum-card-badge {
  position: absolute;
  top: 16px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 2;
}
.forum-card-badge.badge-major { background: rgba(245,137,61,.12); color: var(--orange-dk); border: 1px solid rgba(245,137,61,.25); }
.forum-card-badge.badge-new   { background: rgba(16,163,74,.10);  color: #15803d;          border: 1px solid rgba(16,163,74,.25); }

/* Corps de la card */
.forum-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.forum-card-sector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  align-self: flex-start;
}
.forum-card-sector i { font-size: .62rem; }
.forum-card-name {
  font-family: var(--fh);
  font-size: .88rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1.35;
  flex: 1;
}
.forum-card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--txt-m);
  flex-wrap: wrap;
}
.forum-card-date i { color: var(--navy); font-size: .76rem; }
.forum-card-date strong { color: var(--txt); font-weight: 700; }
.forum-card-date span {
  font-size: .74rem;
  color: var(--txt-l);
  padding-left: 4px;
  border-left: 1px solid var(--border);
  margin-left: 0;
}
/* Bouton d'inscription */
.forum-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: var(--lt-bg);
  border-radius: var(--r-sm);
  font-family: var(--fh);
  font-size: .76rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: all var(--t);
  margin-top: auto;
}
.forum-card-btn:hover {
  background: var(--navy);
  color: var(--white);
}
.forum-card-btn i { font-size: .7rem; transition: transform var(--t); }
.forum-card-btn:hover i { transform: translateX(4px); }

/* Message vide */
.forums-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--txt-l);
}
.forums-empty i { font-size: 2.5rem; margin-bottom: 16px; display: block; opacity: .4; }
.forums-empty p { font-size: .95rem; }

/* Pied de section */
.forums-footer { text-align: center; margin-top: 8px; }

/* ================================================================
   SCROLL FAB — Boutons Scroll Up/Down modernes
================================================================ */
.scroll-fab {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.scroll-fab-btn {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: 0 4px 18px rgba(13,58,92,.28);
  cursor: pointer;
  transition: all var(--t);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  border: none;
}
.scroll-fab-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-fab-btn:hover {
  background: var(--orange);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(245,137,61,.45);
}
/* Bouton Top avec anneau de progression */
.scroll-fab-top {
  background: var(--orange);
}
.scroll-fab-top:hover { background: var(--orange-dk); }
.scroll-progress-ring {
  position: absolute;
  inset: -4px;
  pointer-events: none;
}
.scroll-progress-ring svg {
  width: 56px; height: 56px;
}
/* Bouton scroll down supprimé */

/* ================================================================
   FOOTER — Nouveautés
================================================================ */
.mob-brand {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 6px 12px;
  background: rgba(245,137,61,.12);
  border: 1px solid rgba(245,137,61,.25);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--orange-lt);
}
.footer-badge i { color: var(--orange); }

/* Newsletter footer */
.footer-newsletter { margin-top: 20px; }
.footer-newsletter-label {
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
  font-family: var(--fh);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
}
.footer-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,.07);
  border: none;
  color: var(--white);
  font-family: var(--fb);
  font-size: .83rem;
  outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-form input:focus { background: rgba(255,255,255,.10); }
.footer-newsletter-form button {
  padding: 10px 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: .88rem;
  transition: background var(--t);
  flex-shrink: 0;
}
.footer-newsletter-form button:hover { background: var(--orange-dk); }

/* Topbar text masqué sur très petit écran */
@media (max-width: 860px) {
  .topbar-text { display: none; }
  .topbar-left a { gap: 0; }
  .topbar-left a i { font-size: .8rem; }
}

/* ── Responsive Forums Cards ── */
@media (max-width: 1100px) {
  .forums-cards-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .forums-cards-grid { grid-template-columns: 1fr; }
  .forums-toolbar    { gap: 14px; }
  .filter-btn span   { display: none; }
  .filter-btn        { padding: 8px 12px; }
  .scroll-fab        { right: 16px; bottom: 20px; }
}

/* ── Sélecteur langue — drapeaux ── */
.lang-sw a { display: flex; align-items: center; gap: 4px; }
.lang-flag  { font-size: .85rem; line-height: 1; }
.lang-code  { font-size: .68rem; font-weight: 700; letter-spacing: .07em; }

/* ── Menu mobile — point actif + flèche ── */
.mob-active-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}
.mob-arrow {
  font-size: .68rem;
  opacity: .3;
  margin-left: auto;
  flex-shrink: 0;
}
.mob-active > a { color: var(--orange) !important; }

/* ================================================================
   PAGE HERO — Partial dynamique réutilisable
   partials/page-hero.php
================================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-dp);
  /* Taille medium par défaut */
  padding: 80px 0 64px;
}

/* ── Tailles ── */
.page-hero--sm { padding: 52px 0 44px; }
.page-hero--md { padding: 80px 0 64px; }
.page-hero--lg { padding: 116px 0 92px; }

/* ── Photo de fond — Ken Burns subtil ── */
.page-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroKenBurns 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1.04) translate(0,    0); }
  to   { transform: scale(1.08) translate(-1%, -.5%); }
}

/* ── Overlay ── */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  /* Le gradient est appliqué inline depuis PHP */
}

/* ── Décorations géométriques ── */
.page-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.page-hero__deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,137,61,.12);
}
.page-hero__deco-ring--1 {
  width: 520px; height: 520px;
  right: -80px; top: -120px;
  animation: heroRingSpin 28s linear infinite;
}
.page-hero__deco-ring--2 {
  width: 320px; height: 320px;
  right: 60px; top: 40px;
  border-color: rgba(255,255,255,.05);
  animation: heroRingSpin 20s linear infinite reverse;
}
@keyframes heroRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Ligne orange en bas à gauche */
.page-hero__deco-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 42%; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
}
/* Grille de points */
.page-hero__deco-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ── Inner content ── */
.page-hero__inner {
  position: relative;
  z-index: 5;
}

/* ── Alignement ── */
.page-hero--left  .page-hero__inner { max-width: 760px; }
.page-hero--center .page-hero__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.page-hero--center .page-hero__breadcrumb { justify-content: center; }
.page-hero--center .page-hero__tag        { justify-content: center; }
.page-hero--center .page-hero__chips      { justify-content: center; }
.page-hero--center .page-hero__cta        { justify-content: center; }

/* ── Breadcrumb ── */
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  font-size: .75rem;
  flex-wrap: wrap;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,.52);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--t);
}
.page-hero__breadcrumb a:hover { color: var(--orange-lt); }
.page-hero__breadcrumb a i     { font-size: .65rem; }
.page-hero__crumb-sep          { color: rgba(255,255,255,.25); font-size: .54rem; }
.page-hero__breadcrumb [aria-current="page"] {
  color: var(--orange);
  font-weight: 600;
  font-family: var(--fh);
}

/* ── Tag pastille ── */
.page-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fh);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-lt);
  margin-bottom: 14px;
  /* Animation d'entrée */
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp .55s .05s var(--ease) forwards;
}
.page-hero__tag-line {
  display: block;
  width: 28px; height: 2px;
  background: var(--orange);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── Titre ── */
.page-hero__title {
  font-family: var(--fh);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
  /* Animation d'entrée */
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp .55s .15s var(--ease) forwards;
}
/* Taille lg */
.page-hero--lg .page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
/* Taille sm */
.page-hero--sm .page-hero__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* ── Sous-titre ── */
.page-hero__sub {
  font-size: clamp(.88rem, 1.4vw, 1.02rem);
  line-height: 1.72;
  color: rgba(255,255,255,.68);
  max-width: 580px;
  margin-bottom: 26px;
  /* Animation d'entrée */
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp .55s .25s var(--ease) forwards;
}
.page-hero--center .page-hero__sub { margin: 0 auto 26px; }

/* ── Chips ── */
.page-hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  /* Animation d'entrée */
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp .5s .35s var(--ease) forwards;
}
.page-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.82);
  padding: 7px 15px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .76rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all var(--t);
}
.page-hero__chip:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
}
.page-hero__chip i {
  color: var(--orange);
  font-size: .74rem;
  flex-shrink: 0;
}

/* ── Boutons CTA ── */
.page-hero__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  /* Animation d'entrée */
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeUp .5s .45s var(--ease) forwards;
}

/* ── Animations ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .page-hero--lg { padding: 80px 0 64px; }
  .page-hero--md { padding: 60px 0 48px; }
  .page-hero--sm { padding: 44px 0 36px; }
}
@media (max-width: 640px) {
  .page-hero__title  { font-size: clamp(1.6rem, 6vw, 2rem); }
  .page-hero__deco-ring--1 { width: 280px; height: 280px; right: -60px; top: -60px; }
  .page-hero__deco-ring--2 { display: none; }
  .page-hero__chips  { gap: 7px; }
  .page-hero__chip   { font-size: .7rem; padding: 6px 12px; }
  .page-hero__cta    { flex-direction: column; align-items: flex-start; }
  .page-hero--center .page-hero__cta { align-items: center; }
}

/* ================================================================
   FORUMS PAGE — forums.php
   Préfixe : .fpg- (forums page)
================================================================ */

/* ── Stats strip sombre ── */
.fpg-stats {
  background: var(--navy-dk);
  padding: 36px 0;
  border-bottom: 3px solid var(--orange);
}
.fpg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.fpg-stat-block {
  text-align: center;
  padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.fpg-stat-block.in-view { opacity:1; transform:translateY(0); }
.fpg-stat-block:last-child { border-right:none; }
.fpg-stat-icon { font-size:1.4rem; color:var(--orange); margin-bottom:8px; display:block; }
.fpg-stat-num {
  font-family: var(--fh);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}
.fpg-stat-num .fpg-suffix { color: var(--orange); }
.fpg-stat-label { font-size:.78rem; color:rgba(255,255,255,.55); margin-top:5px; line-height:1.3; }

/* ── Toolbar sticky ── */
.fpg-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h-sm);
  z-index: 200;
  transition: box-shadow var(--t);
}
.fpg-toolbar.is-sticky { box-shadow: 0 4px 20px rgba(13,58,92,.10); }
.fpg-toolbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Recherche */
.fpg-search {
  position: relative;
  flex: 0 0 260px;
  min-width: 200px;
}
.fpg-search i {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--txt-l);
  font-size: .82rem;
  pointer-events: none;
}
.fpg-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--fb);
  font-size: .86rem;
  color: var(--txt);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  background: var(--lt-bg);
}
.fpg-search input:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,92,138,.09);
}

/* Filtres secteur — scroll horizontal sur mobile */
.fpg-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.fpg-filters::-webkit-scrollbar { display:none; }
.fpg-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1.5px solid var(--border);
  color: var(--txt-m);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}
.fpg-filter-btn i { font-size: .68rem; }
.fpg-filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.fpg-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Contrôles droite */
.fpg-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.fpg-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--fh);
  font-size: .72rem;
  font-weight: 600;
  color: var(--txt-m);
  background: var(--white);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2394A3B8' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
}
.fpg-select:focus { border-color: var(--navy); }

/* Toggle vue */
.fpg-view-toggle { display:flex; gap:3px; }
.fpg-view-btn {
  width: 34px; height: 34px;
  display: flex; align-items:center; justify-content:center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--txt-l);
  background: var(--white);
  cursor: pointer;
  font-size: .82rem;
  transition: all var(--t);
}
.fpg-view-btn:hover { border-color: var(--navy); color: var(--navy); }
.fpg-view-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Compteur résultats */
.fpg-results-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fpg-results-count {
  font-size: .82rem;
  color: var(--txt-l);
  font-family: var(--fh);
}
.fpg-results-count strong { color: var(--navy); font-size: 1.05rem; }

/* ── Section principale ── */
.fpg-main { background: var(--lt-bg); padding: 32px 0 72px; }
.fpg-content { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* ── GRILLE CARDS ── */
.fpg-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-bottom: 48px;
}

/* Card forum */
.fpg-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s var(--ease), transform .45s var(--ease),
              box-shadow .25s, border-color .25s;
}
.fpg-card.in-view { opacity:1; transform:translateY(0); }
.fpg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,58,92,.18);
  border-color: transparent;
}
/* Bande colorée latérale gauche */
.fpg-card-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  transition: width .25s var(--ease);
}
.fpg-card:hover .fpg-card-accent { width: 5px; }

/* Badge statut */
.fpg-card-badge {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 3;
}
.fpg-badge-next { background:rgba(27,92,138,.12); color:var(--navy-dk); border:1px solid rgba(27,92,138,.25); }
.fpg-badge-open { background:rgba(16,163,74,.10); color:#15803d; border:1px solid rgba(16,163,74,.25); }
.fpg-badge-new  { background:rgba(245,137,61,.12); color:var(--orange-dk); border:1px solid rgba(245,137,61,.30); }
.fpg-badge-full { background:rgba(220,38,38,.10); color:#b91c1c; border:1px solid rgba(220,38,38,.22); }

/* Corps de la card */
.fpg-card-body { padding: 20px 20px 0 24px; flex:1; display:flex; flex-direction:column; gap:10px; }

/* Secteur pill */
.fpg-card-sector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .04em;
  align-self: flex-start;
  margin-top: 2px;
}
.fpg-card-sector i { font-size: .6rem; }

/* Titre */
.fpg-card-title {
  font-family: var(--fh);
  font-size: .92rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1.35;
  flex: 1;
  transition: color var(--t);
}
.fpg-card:hover .fpg-card-title { color: var(--navy); }

/* Méta infos */
.fpg-card-meta { display:flex; flex-direction:column; gap:7px; }
.fpg-card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--txt-m);
}
.fpg-card-meta-row i { color:var(--navy); font-size:.74rem; width:14px; text-align:center; flex-shrink:0; }
.fpg-card-meta-row strong { color:var(--txt); font-weight:600; }
.fpg-card-meta-row .fpg-duration {
  margin-left: auto;
  font-family: var(--fh);
  font-size: .68rem;
  font-weight: 700;
  color: var(--txt-l);
  background: var(--lt-bg);
  padding: 2px 8px;
  border-radius: 100px;
}

/* Barre de places */
.fpg-card-places { padding: 0 2px; }
.fpg-places-label {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--txt-l);
  margin-bottom: 5px;
  font-family: var(--fh);
}
.fpg-places-label strong { color: var(--txt); font-weight: 700; }
.fpg-places-bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.fpg-places-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s var(--ease);
}

/* Ligne reveal au hover */
.fpg-card-desc {
  font-size: .8rem;
  color: var(--txt-l);
  line-height: 1.58;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .3s;
  opacity: 0;
}
.fpg-card:hover .fpg-card-desc { max-height: 80px; opacity: 1; }

/* Actions */
.fpg-card-actions {
  display: flex;
  gap: 8px;
  padding: 14px 20px 18px 24px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  background: var(--lt-bg);
}
.fpg-btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  background: linear-gradient(135deg,var(--orange),var(--orange-dk));
  color: var(--white);
  border-radius: var(--r-sm);
  font-family: var(--fh);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all var(--t);
  border: none;
  cursor: pointer;
}
.fpg-btn-primary:hover { box-shadow: 0 6px 18px rgba(245,137,61,.45); transform: translateY(-1px); }
.fpg-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--fh);
  font-size: .74rem;
  font-weight: 700;
  transition: all var(--t);
  white-space: nowrap;
}
.fpg-btn-secondary:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ── VUE LISTE ── */
.fpg-grid.fpg-list-view {
  grid-template-columns: 1fr;
  gap: 10px;
}
.fpg-grid.fpg-list-view .fpg-card {
  flex-direction: row;
  align-items: stretch;
  border-radius: var(--r-md);
}
.fpg-grid.fpg-list-view .fpg-card-accent {
  width: 4px;
  top: 0; bottom: 0;
  border-radius: 4px 0 0 4px;
}
.fpg-grid.fpg-list-view .fpg-card-body {
  flex-direction: row;
  align-items: center;
  padding: 16px 20px 16px 24px;
  gap: 20px;
  flex: 1;
}
.fpg-grid.fpg-list-view .fpg-card-title {
  font-size: .88rem;
  flex: 2;
  min-width: 0;
}
.fpg-grid.fpg-list-view .fpg-card-sector { flex-shrink: 0; }
.fpg-grid.fpg-list-view .fpg-card-meta {
  flex-direction: row;
  gap: 16px;
  flex: 3;
  flex-wrap: wrap;
}
.fpg-grid.fpg-list-view .fpg-card-places { display: none; }
.fpg-grid.fpg-list-view .fpg-card-desc   { display: none; }
.fpg-grid.fpg-list-view .fpg-card-actions {
  flex-direction: column;
  border-top: none;
  border-left: 1px solid var(--border);
  padding: 14px 16px;
  margin-top: 0;
  background: var(--lt-bg);
  justify-content: center;
  min-width: 130px;
}
.fpg-grid.fpg-list-view .fpg-card-badge { top: 10px; right: 145px; }
.fpg-grid.fpg-list-view .fpg-card:hover { transform: translateX(4px) translateY(0); }

/* Message vide */
.fpg-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--txt-l);
  display: none;
}
.fpg-empty i { font-size: 3rem; opacity:.25; display:block; margin-bottom:16px; }
.fpg-empty h3 { font-family:var(--fh); font-size:1.1rem; color:var(--txt-m); margin-bottom:8px; }
.fpg-empty p  { font-size:.88rem; }

/* ── Pourquoi participer ── */
.fpg-why { background: var(--white); padding: 80px 0; }
.fpg-why-header { text-align: center; margin-bottom: 52px; }
.fpg-why-header .section-tag { justify-content: center; }
.fpg-why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.fpg-why-card {
  background: var(--lt-bg);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--t);
}
.fpg-why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  opacity: 0;
  transition: opacity var(--t);
}
.fpg-why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.fpg-why-card:hover::before { opacity: 1; }
.fpg-why-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dk));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(13,58,92,.25);
}
.fpg-why-stat {
  font-family: var(--fh);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}
.fpg-why-title {
  font-family: var(--fh);
  font-size: .95rem;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 12px;
}
.fpg-why-desc { font-size: .85rem; color: var(--txt-m); line-height: 1.68; }

/* ── Testimonials carousel ── */
.fpg-testi { background: var(--lt-bg); padding: 80px 0; }
.fpg-testi-header { text-align: center; margin-bottom: 44px; }
.fpg-testi-header .section-tag { justify-content: center; }
.fpg-carousel { position: relative; overflow: hidden; }
.fpg-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.fpg-testi-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow var(--t);
}
.fpg-testi-card:hover { box-shadow: var(--sh-lg); }
.fpg-testi-quote-icon {
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 12px;
  opacity: .5;
}
.fpg-testi-salon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27,92,138,.08);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .67rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.fpg-testi-text {
  font-size: .88rem;
  line-height: 1.74;
  color: var(--txt-m);
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}
.fpg-testi-author { display: flex; align-items: center; gap: 12px; }
.fpg-testi-flag {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--lt-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.fpg-testi-name { font-family:var(--fh); font-size:.86rem; font-weight:800; color:var(--txt); }
.fpg-testi-role { font-size:.75rem; color:var(--txt-l); margin-top:2px; }

/* Carousel controls */
.fpg-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.fpg-carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--t);
}
.fpg-carousel-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.fpg-carousel-btn:disabled { opacity: .35; cursor: not-allowed; }
.fpg-carousel-dots { display: flex; gap: 7px; }
.fpg-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .28s;
}
.fpg-carousel-dot.active { background: var(--orange); width: 22px; border-radius: 4px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .fpg-grid { grid-template-columns: repeat(2,1fr); }
  .fpg-why-grid { grid-template-columns: repeat(2,1fr); }
  .fpg-testi-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 860px) {
  .fpg-stats-grid { grid-template-columns: repeat(2,1fr); }
  .fpg-stat-block:nth-child(2) { border-right: none; }
  .fpg-toolbar-inner { padding: 10px 20px; gap: 10px; }
  .fpg-controls { margin-left: 0; }
  .fpg-search { flex: 0 0 100%; }
  .fpg-content { padding: 0 20px; }
  .fpg-grid.fpg-list-view .fpg-card-body { flex-wrap: wrap; }
  .fpg-grid.fpg-list-view .fpg-card-meta { flex: 0 0 100%; }
}
@media (max-width: 640px) {
  .fpg-grid { grid-template-columns: 1fr; }
  .fpg-why-grid { grid-template-columns: 1fr; }
  .fpg-testi-card { flex: 0 0 100%; }
  .fpg-grid.fpg-list-view .fpg-card { flex-direction: column; }
  .fpg-grid.fpg-list-view .fpg-card-actions { border-left: none; border-top: 1px solid var(--border); flex-direction: row; }
  .fpg-results-bar { padding: 10px 20px 0; }
  .fpg-toolbar { position: relative; top: auto; }
  .fpg-stats-grid { grid-template-columns: repeat(2,1fr); }
}

/* ================================================================
   FORUM DETAILS PAGE — forum-details.php
   Préfixe : .fd- (forum detail)
================================================================ */

/* ── Hero detail — photo pleine largeur avec overlay fort ── */
.fd-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--navy-dp);
  display: flex;
  align-items: flex-end;
}
.fd-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroKenBurns 16s ease-in-out infinite alternate;
  will-change: transform;
}
.fd-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,30,48,.98) 0%, rgba(7,30,48,.70) 45%, rgba(7,30,48,.25) 100%),
    linear-gradient(105deg, rgba(7,30,48,.85) 0%, transparent 55%);
}
.fd-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.fd-hero__deco::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(245,137,61,.12);
}
.fd-hero__line {
  position: absolute;
  bottom: 0; left: 0;
  width: 40%; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
/* Contenu du hero */
.fd-hero__content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-bottom: 40px;
}
.fd-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .74rem;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.fd-hero__breadcrumb a {
  color: rgba(255,255,255,.52);
  display: flex; align-items: center; gap: 5px;
  transition: color var(--t);
}
.fd-hero__breadcrumb a:hover { color: var(--orange-lt); }
.fd-hero__breadcrumb i { font-size: .6rem; }
.fd-hero__breadcrumb-sep { color: rgba(255,255,255,.22); font-size: .52rem; }
.fd-hero__breadcrumb [aria-current="page"] { color: var(--orange); font-weight: 600; }
.fd-hero__sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .68rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.fd-hero__title {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  max-width: 820px;
  margin-bottom: 20px;
}
.fd-hero__meta-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.fd-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: rgba(255,255,255,.72);
}
.fd-hero__meta-item i { color: var(--orange); font-size: .78rem; flex-shrink: 0; }
.fd-hero__meta-item strong { color: var(--white); font-weight: 700; }
.fd-hero__badge {
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── Barre d'actions rapides (sticky) ── */
.fd-action-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h-sm);
  z-index: 200;
  box-shadow: var(--sh);
}
.fd-action-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fd-action-bar-title {
  font-family: var(--fh);
  font-size: .84rem;
  font-weight: 800;
  color: var(--navy);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fd-action-bar-btns { display: flex; gap: 10px; flex-shrink: 0; }
.fd-bar-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white);
  border-radius: var(--r);
  font-family: var(--fh); font-size: .78rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 3px 14px rgba(245,137,61,.38);
  transition: all var(--t); white-space: nowrap;
}
.fd-bar-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(245,137,61,.52); }
.fd-bar-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--fh); font-size: .78rem; font-weight: 700;
  transition: all var(--t); white-space: nowrap;
}
.fd-bar-btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ── Layout principal 2 colonnes ── */
.fd-main {
  background: var(--lt-bg);
  padding: 48px 0 80px;
}
.fd-layout {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* ── Colonne principale ── */
.fd-col-main { display: flex; flex-direction: column; gap: 24px; }

/* Bloc générique */
.fd-block {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--t);
}
.fd-block:hover { box-shadow: var(--sh); }
.fd-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.fd-block-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(27,92,138,.08);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.fd-block-title {
  font-family: var(--fh);
  font-size: .84rem; font-weight: 800;
  color: var(--txt); letter-spacing: .02em;
}
.fd-block-body { padding: 24px 28px; }

/* Description */
.fd-description { font-size: .95rem; line-height: 1.78; color: var(--txt-m); }
.fd-description p { margin-bottom: 14px; }
.fd-description p:last-child { margin-bottom: 0; }

/* Points forts */
.fd-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.fd-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--lt-bg);
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: all var(--t);
}
.fd-highlight-item:hover { border-color: var(--navy); background: rgba(27,92,138,.04); }
.fd-highlight-item i { color: var(--orange); font-size: .88rem; margin-top: 2px; flex-shrink: 0; }
.fd-highlight-item span { font-size: .84rem; color: var(--txt); font-weight: 500; line-height: 1.4; }

/* Programme / Agenda */
.fd-agenda { display: flex; flex-direction: column; gap: 0; }
.fd-agenda-day {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.fd-agenda-day:last-child { border-bottom: none; }
.fd-agenda-date {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: var(--r);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white);
}
.fd-agenda-date-num { font-family: var(--fh); font-size: 1.3rem; font-weight: 900; line-height: 1; }
.fd-agenda-date-mon { font-family: var(--fh); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.fd-agenda-content { flex: 1; }
.fd-agenda-title { font-family: var(--fh); font-size: .88rem; font-weight: 800; color: var(--txt); margin-bottom: 4px; }
.fd-agenda-desc  { font-size: .81rem; color: var(--txt-m); line-height: 1.5; }
.fd-agenda-tags  { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.fd-agenda-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-family: var(--fh); font-size: .64rem; font-weight: 700;
  background: var(--lt-bg); color: var(--txt-m); border: 1px solid var(--border);
}

/* Galerie photos */
.fd-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fd-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.fd-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.fd-gallery-item:hover img { transform: scale(1.07); }
.fd-gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.4rem;
  background: rgba(7,30,48,.5);
  opacity: 0;
  transition: opacity var(--t);
}
.fd-gallery-item:hover::after { opacity: 1; }
.fd-gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 240px; }

/* Salons similaires */
.fd-related { display: flex; flex-direction: column; gap: 10px; }
.fd-related-card {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px;
  background: var(--lt-bg);
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: all var(--t);
  text-decoration: none; color: inherit;
}
.fd-related-card:hover { border-color: var(--navy); background: rgba(27,92,138,.04); transform: translateX(4px); }
.fd-related-accent {
  width: 4px; height: 44px;
  border-radius: 2px; flex-shrink: 0;
}
.fd-related-info { flex: 1; min-width: 0; }
.fd-related-name { font-family: var(--fh); font-size: .82rem; font-weight: 700; color: var(--txt); line-height: 1.3; margin-bottom: 3px; }
.fd-related-date { font-size: .73rem; color: var(--txt-l); display: flex; align-items: center; gap: 5px; }
.fd-related-date i { color: var(--orange); font-size: .65rem; }
.fd-related-arrow { color: var(--txt-l); font-size: .74rem; flex-shrink: 0; }

/* ── Sidebar ── */
.fd-col-sidebar { display: flex; flex-direction: column; gap: 20px; }

/* Carte inscription CTA */
.fd-register-card {
  background: linear-gradient(135deg, var(--navy-dp) 0%, var(--navy-dk) 100%);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fd-register-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(245,137,61,.15);
}
.fd-register-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(245,137,61,.18);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}
.fd-register-card-title {
  font-family: var(--fh);
  font-size: 1rem; font-weight: 900;
  color: var(--white); margin-bottom: 8px;
}
.fd-register-card-sub {
  font-size: .8rem; color: rgba(255,255,255,.60);
  line-height: 1.55; margin-bottom: 22px;
}
.fd-register-card-deadline {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: rgba(245,137,61,.15);
  border: 1px solid rgba(245,137,61,.30);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  margin-bottom: 18px;
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: var(--orange-lt);
}
.fd-register-card-deadline i { font-size: .7rem; }
.fd-register-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white);
  border-radius: var(--r);
  font-family: var(--fh); font-size: .84rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(245,137,61,.45);
  transition: all var(--t);
  margin-bottom: 10px;
}
.fd-register-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,137,61,.6); }
.fd-register-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: #25d366; color: var(--white);
  border-radius: var(--r);
  font-family: var(--fh); font-size: .8rem; font-weight: 700;
  transition: all var(--t);
}
.fd-register-btn-wa:hover { background: #1da851; transform: translateY(-1px); }
.fd-register-note { font-size: .72rem; color: rgba(255,255,255,.35); margin-top: 12px; }

/* Infos pratiques sidebar */
.fd-info-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.fd-info-header {
  padding: 16px 20px;
  background: var(--lt-bg);
  border-bottom: 1px solid var(--border);
  font-family: var(--fh); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--txt-m);
  display: flex; align-items: center; gap: 8px;
}
.fd-info-header i { color: var(--orange); }
.fd-info-rows { padding: 6px 0; }
.fd-info-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.fd-info-row:last-child { border-bottom: none; }
.fd-info-row-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(27,92,138,.07);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: .78rem;
}
.fd-info-row-label { font-size: .68rem; color: var(--txt-l); font-family: var(--fh); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.fd-info-row-value { font-size: .85rem; color: var(--txt); font-weight: 600; line-height: 1.4; }
.fd-info-row-value a { color: var(--navy); transition: color var(--t); }
.fd-info-row-value a:hover { color: var(--orange); }

/* Compteur décompte */
.fd-countdown {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 22px 20px;
  text-align: center;
}
.fd-countdown-label {
  font-family: var(--fh); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--txt-l); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.fd-countdown-label i { color: var(--orange); }
.fd-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.fd-countdown-unit {
  background: var(--lt-bg);
  border-radius: var(--r-sm);
  padding: 10px 4px;
}
.fd-countdown-num {
  font-family: var(--fh);
  font-size: 1.6rem; font-weight: 900;
  color: var(--navy); line-height: 1;
  display: block;
}
.fd-countdown-unit-label { font-size: .58rem; color: var(--txt-l); font-family: var(--fh); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

/* Partage social */
.fd-share {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 18px 20px;
}
.fd-share-title { font-family: var(--fh); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-l); margin-bottom: 12px; }
.fd-share-btns { display: flex; gap: 8px; }
.fd-share-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 8px; border-radius: var(--r-sm);
  font-family: var(--fh); font-size: .7rem; font-weight: 700;
  color: var(--white); transition: all var(--t);
}
.fd-share-btn:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.fd-share-btn.linkedin  { background: #0077b5; }
.fd-share-btn.facebook  { background: #1877f2; }
.fd-share-btn.whatsapp  { background: #25d366; }
.fd-share-btn.copy      { background: var(--navy); cursor: pointer; border: none; font-family: inherit; }

/* ── Formulaire inscription (Modal) ── */
.fd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,30,48,.78);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.fd-modal-overlay.open { display: flex; }
.fd-modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 680px;
  box-shadow: 0 24px 80px rgba(7,30,48,.40);
  overflow: hidden;
  position: relative;
  animation: modalSlideIn .35s var(--ease);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.fd-modal-header {
  background: linear-gradient(135deg, var(--navy-dp), var(--navy-dk));
  padding: 26px 32px;
  border-bottom: 3px solid var(--orange);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.fd-modal-header-text {}
.fd-modal-label {
  font-family: var(--fh); font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-lt); margin-bottom: 6px;
  display: flex; align-items: center; gap: 7px;
}
.fd-modal-label i { font-size: .62rem; }
.fd-modal-title { font-family: var(--fh); font-size: 1.1rem; font-weight: 900; color: var(--white); line-height: 1.2; }
.fd-modal-subtitle { font-size: .8rem; color: rgba(255,255,255,.60); margin-top: 5px; }
.fd-modal-close {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,.10);
  border: none; border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t);
}
.fd-modal-close:hover { background: rgba(255,255,255,.20); color: var(--white); }
.fd-modal-salon-info {
  background: rgba(245,137,61,.10);
  border: 1px solid rgba(245,137,61,.22);
  border-radius: var(--r);
  padding: 12px 16px;
  margin: 24px 32px 0;
  display: flex; align-items: center; gap: 12px;
}
.fd-modal-salon-info i { color: var(--orange); font-size: .9rem; flex-shrink: 0; }
.fd-modal-salon-name { font-family: var(--fh); font-size: .82rem; font-weight: 700; color: var(--navy); }
.fd-modal-salon-date { font-size: .75rem; color: var(--txt-m); margin-top: 2px; }
.fd-modal-body { padding: 24px 32px 32px; }
/* Champs formulaire */
.fd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fd-form-group { display: flex; flex-direction: column; gap: 6px; }
.fd-form-group label {
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--txt-m);
  display: flex; align-items: center; gap: 4px;
}
.fd-form-req { color: var(--orange); }
.fd-form-input-wrap { position: relative; }
.fd-form-input-wrap > i:first-child {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--txt-l); font-size: .76rem; pointer-events: none; z-index: 1;
}
.fd-form-input-wrap input,
.fd-form-input-wrap select,
.fd-form-input-wrap textarea {
  width: 100%; padding: 11px 13px 11px 36px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: var(--fb); font-size: .88rem; color: var(--txt);
  background: var(--white); outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none; -webkit-appearance: none;
}
.fd-form-input-wrap input:focus,
.fd-form-input-wrap select:focus,
.fd-form-input-wrap textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,92,138,.09);
}
.fd-form-input-wrap textarea { padding-top: 12px; resize: vertical; min-height: 90px; }
.fd-form-input-wrap .fd-select-arrow {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--txt-l); font-size: .6rem; pointer-events: none; z-index: 1;
}
.fd-form-full { margin-bottom: 16px; }
.fd-form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 20px; cursor: pointer;
}
.fd-form-check input { display: none; }
.fd-form-check-box {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  border: 2px solid var(--border); border-radius: 4px;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.fd-form-check input:checked + .fd-form-check-box { background: var(--navy); border-color: var(--navy); }
.fd-form-check input:checked + .fd-form-check-box::after {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: .62rem; color: var(--white);
}
.fd-form-check-text { font-size: .82rem; color: var(--txt-m); line-height: 1.5; }
.fd-form-submit {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); border: none; border-radius: var(--r);
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 4px 18px rgba(245,137,61,.40);
  transition: all var(--t);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.fd-form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,137,61,.55); }
.fd-form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.fd-form-success {
  display: none; text-align: center; padding: 32px 20px;
}
.fd-form-success i { font-size: 3rem; color: #16a34a; margin-bottom: 14px; display: block; }
.fd-form-success h3 { font-family: var(--fh); font-size: 1.1rem; font-weight: 800; color: var(--txt); margin-bottom: 8px; }
.fd-form-success p { font-size: .88rem; color: var(--txt-m); line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .fd-layout { grid-template-columns: 1fr 300px; gap: 24px; }
  .fd-hero { height: 400px; }
}
@media (max-width: 860px) {
  .fd-layout { grid-template-columns: 1fr; }
  .fd-col-sidebar { order: -1; }
  .fd-highlights { grid-template-columns: 1fr; }
  .fd-gallery { grid-template-columns: repeat(2,1fr); }
  .fd-gallery-item:first-child { grid-column: span 2; }
  .fd-form-row { grid-template-columns: 1fr; }
  .fd-action-bar-title { display: none; }
  .fd-hero { height: 360px; }
  .fd-hero__title { font-size: 1.6rem; }
}
@media (max-width: 640px) {
  .fd-layout { padding: 0 16px; }
  .fd-hero { height: 320px; }
  .fd-action-bar-inner { padding: 10px 16px; }
  .fd-modal { border-radius: var(--r-lg); }
  .fd-modal-header { padding: 20px 20px; }
  .fd-modal-body { padding: 18px 20px 24px; }
  .fd-modal-salon-info { margin: 16px 20px 0; }
  .fd-gallery { grid-template-columns: 1fr 1fr; }
  .fd-countdown-num { font-size: 1.3rem; }
}

/* ================================================================
   LIGHTBOX — Galerie forum-details.php
================================================================ */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5,12,22,.95);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: lb-fade-in .22s var(--ease);
}
.lb-overlay.open { display: flex; }

@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Conteneur image */
.lb-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  animation: lb-zoom-in .28s var(--ease);
  display: block;
}
@keyframes lb-zoom-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Légende */
.lb-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7,30,48,.75);
  color: rgba(255,255,255,.80);
  font-family: var(--fh);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

/* Bouton fermer */
.lb-close {
  position: fixed;
  top: 20px; right: 24px;
  z-index: 9010;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: var(--white);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--t);
}
.lb-close:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.1); }

/* Flèches prev / next */
.lb-arrow {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  z-index: 9010;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: var(--white);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--t);
}
.lb-arrow:hover { background: var(--orange); border-color: var(--orange); }
.lb-arrow.prev { left: 20px; }
.lb-arrow.next { right: 20px; }
.lb-arrow:disabled { opacity: .2; cursor: not-allowed; }
.lb-arrow:disabled:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); }

/* Compteur */
.lb-counter {
  position: fixed;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 9010;
  font-family: var(--fh);
  font-size: .76rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  background: rgba(7,30,48,.6);
  padding: 5px 16px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

/* Dots en bas */
.lb-dots {
  position: fixed;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 9010;
  display: flex;
  gap: 7px;
  align-items: center;
}
.lb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  border: none; cursor: pointer; padding: 0;
  transition: all .25s;
}
.lb-dot.active { background: var(--orange); width: 20px; border-radius: 4px; }

/* Spinner chargement */
.lb-spinner {
  position: absolute;
  width: 36px; height: 36px;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: lb-spin .7s linear infinite;
  display: none;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }

/* Swipe visuel sur mobile */
@media (max-width: 640px) {
  .lb-wrap        { padding: 60px 16px; }
  .lb-arrow.prev  { left: 8px; width: 40px; height: 40px; }
  .lb-arrow.next  { right: 8px; width: 40px; height: 40px; }
  .lb-close       { top: 12px; right: 12px; }
}

/* ================================================================
   SERVICES PAGE — services.php
   Préfixe : .sp- (services page)
================================================================ */

/* ── Hero identique à contact/forums ── */

/* ── Intro 2 colonnes ── */
.sp-intro { background: var(--white); padding: 72px 0; }
.sp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sp-intro-tag  { margin-bottom: 14px; }
.sp-intro-title {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--txt);
  line-height: 1.15;
  margin-bottom: 20px;
}
.sp-intro-title span { color: var(--navy); }
.sp-intro-title em   { font-style: normal; color: var(--orange); }
.sp-intro-text {
  font-size: .95rem;
  line-height: 1.78;
  color: var(--txt-m);
  margin-bottom: 28px;
}
.sp-intro-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.sp-intro-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; border-radius: 100px;
  background: rgba(27,92,138,.07);
  border: 1px solid rgba(27,92,138,.15);
  color: var(--navy);
  font-family: var(--fh); font-size: .75rem; font-weight: 700;
}
.sp-intro-chip i { color: var(--orange); font-size: .7rem; }
.sp-intro-visual {
  position: relative;
  height: 420px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.sp-intro-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}
.sp-intro-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(13,58,92,.18);
  display: flex; align-items: center; gap: 14px;
  min-width: 200px;
}
.sp-intro-badge-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.sp-intro-badge-num {
  font-family: var(--fh); font-size: 1.4rem; font-weight: 900;
  color: var(--navy); line-height: 1;
}
.sp-intro-badge-lbl { font-size: .75rem; color: var(--txt-m); margin-top: 2px; }
.sp-intro-deco {
  position: absolute;
  top: 20px; right: 20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(245,137,61,.3);
}

/* ── Stats band ── */
.sp-stats {
  background: var(--navy-dp);
  padding: 44px 0;
  border-top: 3px solid var(--orange);
}
.sp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.sp-stat-item {
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.sp-stat-item:last-child { border-right: none; }
.sp-stat-icon { color: var(--orange); font-size: 1.3rem; margin-bottom: 10px; }
.sp-stat-num {
  font-family: var(--fh); font-size: 2.2rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.sp-stat-num span { color: var(--orange); }
.sp-stat-lbl {
  font-size: .75rem; color: rgba(255,255,255,.50);
  margin-top: 6px; font-family: var(--fh); font-weight: 600;
  letter-spacing: .04em;
}

/* ── Grille services principale ── */
.sp-services { background: var(--lt-bg); padding: 88px 0; }
.sp-services-header { text-align: center; margin-bottom: 56px; }
.sp-services-header .section-tag { justify-content: center; }
.sp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sp-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.sp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.sp-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.sp-card:hover::before { transform: scaleX(1); }
/* Numéro décoratif */
.sp-card-num {
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--fh); font-size: 2.8rem; font-weight: 900;
  color: rgba(27,92,138,.06);
  line-height: 1;
  pointer-events: none;
}
.sp-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.sp-card-icon.navy   { background: rgba(27,92,138,.10); color: var(--navy); }
.sp-card-icon.orange { background: rgba(245,137,61,.12); color: var(--orange-dk); }
.sp-card:hover .sp-card-icon { transform: scale(1.1) rotate(-5deg); box-shadow: 0 6px 18px rgba(13,58,92,.15); }
.sp-card-title {
  font-family: var(--fh); font-size: .94rem; font-weight: 800;
  color: var(--txt); margin-bottom: 12px; line-height: 1.3;
}
.sp-card-desc {
  font-size: .85rem; line-height: 1.68; color: var(--txt-m);
  margin-bottom: 20px;
}
.sp-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: .78rem; font-weight: 700;
  color: var(--navy); transition: gap var(--t), color var(--t);
}
.sp-card-link i { font-size: .68rem; transition: transform var(--t); }
.sp-card:hover .sp-card-link { color: var(--orange); gap: 10px; }
.sp-card:hover .sp-card-link i { transform: translateX(2px); }

/* ── Section processus ── */
.sp-process { background: var(--white); padding: 88px 0; }
.sp-process-header { text-align: center; margin-bottom: 60px; }
.sp-process-header .section-tag { justify-content: center; }
.sp-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Ligne de connexion */
.sp-process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  opacity: .18;
}
.sp-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.sp-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--fh); font-size: 1.3rem; font-weight: 900;
  position: relative; z-index: 2;
  border: 3px solid transparent;
  transition: all .3s var(--ease);
}
.sp-step:nth-child(odd) .sp-step-num {
  background: linear-gradient(135deg, var(--navy), var(--navy-dk));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(27,92,138,.30);
}
.sp-step:nth-child(even) .sp-step-num {
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(245,137,61,.30);
}
.sp-step:hover .sp-step-num { transform: scale(1.1); }
.sp-step-icon { font-size: .9rem; display: block; margin-bottom: 4px; }
.sp-step-title {
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  color: var(--txt); margin-bottom: 8px;
}
.sp-step-desc { font-size: .8rem; color: var(--txt-m); line-height: 1.6; }

/* ── Secteurs / marchés couverts ── */
.sp-markets { background: var(--lt-bg); padding: 72px 0; }
.sp-markets-header { text-align: center; margin-bottom: 48px; }
.sp-markets-header .section-tag { justify-content: center; }
.sp-markets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.sp-market-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 20px;
  transition: all var(--t);
  position: relative; overflow: hidden;
}
.sp-market-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--orange), var(--navy));
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}
.sp-market-card:hover { box-shadow: var(--sh-lg); border-color: transparent; }
.sp-market-card:hover::before { transform: scaleY(1); }
.sp-market-flag {
  font-size: 2.2rem; flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--lt-bg);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
}
.sp-market-info {}
.sp-market-name {
  font-family: var(--fh); font-size: 1rem; font-weight: 800;
  color: var(--txt); margin-bottom: 4px;
}
.sp-market-desc { font-size: .82rem; color: var(--txt-m); line-height: 1.5; }
.sp-market-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.sp-market-tag {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 100px;
  font-family: var(--fh); font-size: .65rem; font-weight: 700;
  background: rgba(27,92,138,.07); color: var(--navy);
  border: 1px solid rgba(27,92,138,.12);
}

/* ── Témoignages / Avantages MASAYA ── */
.sp-why { background: var(--navy-dp); padding: 88px 0; }
.sp-why-header { text-align: center; margin-bottom: 52px; }
.sp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  text-align: center;
  transition: all var(--t);
}
.sp-why-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(245,137,61,.3);
  transform: translateY(-4px);
}
.sp-why-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(245,137,61,.15);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 18px;
}
.sp-why-stat {
  font-family: var(--fh); font-size: 2rem; font-weight: 900;
  color: var(--orange); margin-bottom: 8px; line-height: 1;
}
.sp-why-title {
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  color: var(--white); margin-bottom: 10px;
}
.sp-why-desc { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ── FAQ accordion ── */
.sp-faq { background: var(--white); padding: 80px 0; }
.sp-faq-header { text-align: center; margin-bottom: 48px; }
.sp-faq-header .section-tag { justify-content: center; }
.sp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.sp-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t);
}
.sp-faq-item.open { border-color: var(--navy); }
.sp-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--white);
  user-select: none;
  transition: background var(--t);
}
.sp-faq-item.open .sp-faq-q { background: rgba(27,92,138,.04); }
.sp-faq-q-text {
  font-family: var(--fh); font-size: .88rem; font-weight: 700;
  color: var(--txt); flex: 1;
}
.sp-faq-chevron {
  color: var(--txt-l); font-size: .75rem; flex-shrink: 0;
  transition: transform .3s var(--ease), color var(--t);
}
.sp-faq-item.open .sp-faq-chevron { transform: rotate(180deg); color: var(--navy); }
.sp-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
  font-size: .86rem; color: var(--txt-m); line-height: 1.68;
}
.sp-faq-a-inner { padding: 0 20px 18px; }
.sp-faq-item.open .sp-faq-a { max-height: 300px; }

/* ── CTA contact personnalisé ── */
.sp-contact-band {
  background: var(--lt-bg);
  border-top: 1px solid var(--border);
  padding: 64px 0;
}
.sp-contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.sp-contact-title {
  font-family: var(--fh); font-size: 1.4rem; font-weight: 900;
  color: var(--txt); margin-bottom: 10px;
}
.sp-contact-sub { font-size: .94rem; color: var(--txt-m); line-height: 1.6; }
.sp-contact-channels { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 1060px) {
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .sp-process-steps::before { display: none; }
  .sp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-intro-grid { grid-template-columns: 1fr; }
  .sp-intro-visual { height: 300px; }
  .sp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 680px) {
  .sp-grid { grid-template-columns: 1fr; }
  .sp-why-grid { grid-template-columns: 1fr; }
  .sp-markets-grid { grid-template-columns: 1fr; }
  .sp-faq-grid { grid-template-columns: 1fr; }
  .sp-process-steps { grid-template-columns: 1fr; }
  .sp-contact-inner { grid-template-columns: 1fr; gap: 24px; }
  .sp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   NEWS PAGE — news.php
   Préfixe : .np- (news page)
================================================================ */

/* ── Layout principal ── */
.np-main {
  background: var(--lt-bg);
  padding: 56px 0 80px;
}
.np-layout {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}

/* ── Barre filtres / résultats ── */
.np-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.np-count {
  font-family: var(--fh);
  font-size: .78rem;
  color: var(--txt-l);
  font-weight: 600;
}
.np-count strong { color: var(--navy); font-size: 1rem; }
.np-search-wrap {
  position: relative;
  flex: 0 0 260px;
}
.np-search-wrap i {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--txt-l); font-size: .8rem; pointer-events: none;
}
.np-search-input {
  width: 100%;
  padding: 9px 13px 9px 36px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--fb); font-size: .84rem;
  color: var(--txt); background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.np-search-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,92,138,.08);
}

/* ── Grille articles ── */
.np-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ── Card article ── */
.np-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.np-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
/* Image couverture */
.np-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--lt-bg);
  flex-shrink: 0;
}
.np-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.np-card:hover .np-card-img img { transform: scale(1.06); }
/* Overlay lecture */
.np-card-img-overlay {
  position: absolute; inset: 0;
  background: rgba(7,30,48,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}
.np-card:hover .np-card-img-overlay { opacity: 1; }
.np-card-img-overlay i {
  color: var(--white);
  font-size: 1.6rem;
  transform: scale(.8);
  transition: transform .25s var(--ease);
}
.np-card:hover .np-card-img-overlay i { transform: scale(1); }
/* Corps card */
.np-card-body {
  padding: 22px 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.np-card-title {
  font-family: var(--fh);
  font-size: .96rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1.35;
  transition: color var(--t);
  /* Limiter à 3 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.np-card:hover .np-card-title { color: var(--navy); }
.np-card-excerpt {
  font-size: .82rem;
  color: var(--txt-l);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.np-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  border-top: 1px solid var(--border);
  background: var(--lt-bg);
}
.np-card-read {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: .73rem; font-weight: 700;
  color: var(--navy);
  transition: color var(--t), gap var(--t);
}
.np-card-read i { font-size: .65rem; transition: transform var(--t); }
.np-card:hover .np-card-read { color: var(--orange); gap: 9px; }
.np-card:hover .np-card-read i { transform: translateX(2px); }
.np-card-num {
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  color: var(--txt-l);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 100px;
}

/* ── Card featured (première) ── */
.np-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.np-card--featured .np-card-img {
  flex: 0 0 48%;
  aspect-ratio: auto;
  min-height: 260px;
}
.np-card--featured .np-card-body {
  padding: 32px 28px;
  justify-content: center;
}
.np-card--featured .np-card-title {
  font-size: 1.15rem;
  -webkit-line-clamp: 4;
}
.np-card--featured .np-card-excerpt {
  -webkit-line-clamp: 4;
  font-size: .88rem;
}
.np-featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,137,61,.12);
  border: 1px solid rgba(245,137,61,.25);
  color: var(--orange-dk);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--fh); font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  align-self: flex-start;
}

/* ── Empty state ── */
.np-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 20px;
  color: var(--txt-l);
}
.np-empty i { font-size: 3rem; opacity: .2; display: block; margin-bottom: 16px; }
.np-empty h3 { font-family: var(--fh); font-size: 1rem; color: var(--txt-m); margin-bottom: 8px; }

/* ── Pagination ── */
.np-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.np-page-btn {
  min-width: 38px; height: 38px;
  padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  font-family: var(--fh); font-size: .8rem; font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--txt-m);
  background: var(--white);
  transition: all var(--t);
}
.np-page-btn:hover { border-color: var(--navy); color: var(--navy); }
.np-page-btn.active {
  background: var(--navy); border-color: var(--navy);
  color: var(--white); box-shadow: 0 3px 12px rgba(27,92,138,.30);
}
.np-page-btn:disabled { opacity: .35; cursor: not-allowed; }
.np-page-dots { color: var(--txt-l); font-size: .8rem; padding: 0 4px; }

/* ── Sidebar ── */
.np-sidebar { display: flex; flex-direction: column; gap: 22px; }
.np-widget {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.np-widget-head {
  padding: 14px 20px;
  background: var(--navy);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fh); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.np-widget-head i { color: var(--orange); font-size: .7rem; }
.np-widget-body { padding: 16px; }

/* Widget : articles récents */
.np-recent-item {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: all var(--t);
}
.np-recent-item:last-child { border-bottom: none; }
.np-recent-item:hover { color: var(--navy); }
.np-recent-thumb {
  width: 56px; height: 48px; flex-shrink: 0;
  border-radius: var(--r-sm);
  overflow: hidden; background: var(--lt-bg);
}
.np-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.np-recent-title {
  font-family: var(--fh); font-size: .76rem; font-weight: 700;
  color: var(--txt); line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t);
}
.np-recent-item:hover .np-recent-title { color: var(--navy); }
.np-recent-num {
  font-size: .68rem; color: var(--txt-l);
  margin-top: 4px; font-family: var(--fh);
}

/* Widget : CTA contact */
.np-widget-cta {
  background: linear-gradient(135deg, var(--navy-dp), var(--navy-dk));
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
}
.np-widget-cta::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(245,137,61,.15);
}
.np-widget-cta-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(245,137,61,.18);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 14px;
}
.np-widget-cta-title {
  font-family: var(--fh); font-size: .9rem; font-weight: 800;
  color: var(--white); margin-bottom: 8px;
}
.np-widget-cta-sub {
  font-size: .78rem; color: rgba(255,255,255,.55);
  line-height: 1.55; margin-bottom: 18px;
}
.np-widget-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); border-radius: var(--r);
  font-family: var(--fh); font-size: .78rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  transition: all var(--t);
  box-shadow: 0 4px 16px rgba(245,137,61,.38);
}
.np-widget-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,137,61,.52); }

/* Widget forums */
.np-forum-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.np-forum-item:last-child { border-bottom: none; }
.np-forum-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.np-forum-name {
  font-family: var(--fh); font-size: .76rem; font-weight: 700;
  color: var(--txt); line-height: 1.3; margin-bottom: 3px;
}
.np-forum-date {
  font-size: .7rem; color: var(--txt-l);
  display: flex; align-items: center; gap: 4px;
}
.np-forum-date i { color: var(--orange); font-size: .62rem; }

/* ── Responsive ── */
@media (max-width: 1060px) {
  .np-layout { grid-template-columns: 1fr; }
  .np-sidebar { order: -1; flex-direction: row; flex-wrap: wrap; }
  .np-widget, .np-widget-cta { flex: 1 1 280px; }
}
@media (max-width: 760px) {
  .np-grid { grid-template-columns: 1fr; }
  .np-card--featured { flex-direction: column; }
  .np-card--featured .np-card-img { flex: none; min-height: 200px; }
  .np-layout { padding: 0 16px; }
  .np-search-wrap { flex: 0 0 100%; }
  .np-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   NEWS DETAIL PAGE — news-detail.php
   Préfixe : .nd- (news detail)
================================================================ */

/* ── Barre de progression scroll ── */
.nd-scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  z-index: 9999;
  transition: width .05s linear;
}

/* ── Layout 2 colonnes ── */
.nd-section { background: var(--lt-bg); padding: 56px 0 80px; }
.nd-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  align-items: start;
}

/* ── Article principal ── */
.nd-article {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Couverture */
.nd-cover {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
  background: var(--lt-bg);
}

/* Méta */
.nd-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 32px 0;
}
.nd-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: .72rem; font-weight: 600;
  color: var(--txt-l); letter-spacing: .04em;
}
.nd-meta-item i { color: var(--orange); font-size: .68rem; }
.nd-meta-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--border); flex-shrink: 0;
}

/* Titre */
.nd-title {
  font-family: var(--fh);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  color: var(--txt);
  line-height: 1.2;
  padding: 16px 32px 0;
}
.nd-title-bar {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  border-radius: 2px;
  margin: 14px 32px 24px;
}

/* Contenu riche */
.nd-content {
  padding: 0 32px 28px;
  font-size: .96rem;
  line-height: 1.82;
  color: var(--txt-m);
}
.nd-content h1, .nd-content h2, .nd-content h3,
.nd-content h4, .nd-content h5, .nd-content h6 {
  font-family: var(--fh); color: var(--txt);
  margin: 28px 0 12px; line-height: 1.3;
}
.nd-content h2 { font-size: 1.25rem; font-weight: 800; }
.nd-content h3 { font-size: 1.05rem; font-weight: 700; }
.nd-content p  { margin-bottom: 16px; }
.nd-content p:last-child { margin-bottom: 0; }
.nd-content ul, .nd-content ol {
  padding-left: 22px; margin-bottom: 16px;
}
.nd-content li { margin-bottom: 6px; }
.nd-content ul li { list-style: disc; }
.nd-content ol li { list-style: decimal; }
.nd-content a { color: var(--navy); text-decoration: underline; transition: color var(--t); }
.nd-content a:hover { color: var(--orange); }
.nd-content img { border-radius: var(--r-md); max-width: 100%; margin: 16px 0; }
.nd-content blockquote {
  border-left: 4px solid var(--orange);
  margin: 20px 0; padding: 14px 20px;
  background: rgba(245,137,61,.05);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; color: var(--txt-m);
}
.nd-content strong { color: var(--txt); font-weight: 700; }
.nd-content table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 16px; font-size: .88rem;
}
.nd-content th, .nd-content td {
  padding: 10px 14px; border: 1px solid var(--border); text-align: left;
}
.nd-content th { background: var(--lt-bg); font-family: var(--fh); font-weight: 700; }

/* Tags */
.nd-tags {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 18px 32px;
  border-top: 1px solid var(--border);
  background: var(--lt-bg);
}
.nd-tags__label {
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: var(--txt-l); display: flex; align-items: center; gap: 5px;
}
.nd-tags__label i { color: var(--orange); }
.nd-tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 100px;
  font-family: var(--fh); font-size: .7rem; font-weight: 700;
  background: rgba(27,92,138,.08); color: var(--navy);
  border: 1px solid rgba(27,92,138,.15);
  transition: all var(--t);
}
.nd-tag:hover { background: var(--navy); color: var(--white); }

/* Partage social */
.nd-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 18px 32px;
  border-top: 1px solid var(--border);
}
.nd-share__label {
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: var(--txt-l); margin-right: 4px;
}
.nd-share__btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--white);
  transition: transform var(--t), box-shadow var(--t);
  flex-shrink: 0; border: none; cursor: pointer;
}
.nd-share__btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.nd-share__btn--fb { background: #1877f2; }
.nd-share__btn--tw { background: #000; }
.nd-share__btn--wa { background: #25d366; }
.nd-share__btn--li { background: #0077b5; }
.nd-share__btn--cp { background: var(--navy); font-family: inherit; }
#nd-copy-msg {
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: #16a34a; display: none;
  animation: ndFadeIn .2s var(--ease);
}
@keyframes ndFadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }

/* Navigation prev/next */
.nd-nav {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  background: var(--lt-bg);
}
.nd-nav__btn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-md); flex: 1; min-width: 180px;
  transition: all var(--t); color: var(--txt);
}
.nd-nav__btn:hover { border-color: var(--navy); box-shadow: var(--sh); }
.nd-nav__btn--next { justify-content: flex-end; text-align: right; }
.nd-nav__btn i { color: var(--navy); font-size: .9rem; flex-shrink: 0; }
.nd-nav__btn span { font-size: .72rem; color: var(--txt-l); font-family: var(--fh); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.nd-nav__btn strong { font-family: var(--fh); font-size: .82rem; font-weight: 700; color: var(--txt); display: block; transition: color var(--t); }
.nd-nav__btn:hover strong { color: var(--navy); }

/* ── Galerie photos ── */
.nd-gallery-section {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.nd-gallery-header {
  max-width: 1300px; margin: 0 auto 28px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nd-gallery-title {
  font-family: var(--fh); font-size: 1.1rem; font-weight: 900;
  color: var(--txt); display: flex; align-items: center; gap: 10px;
}
.nd-gallery-title i { color: var(--orange); }
.nd-gallery-count {
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: var(--txt-l); background: var(--lt-bg);
  padding: 4px 12px; border-radius: 100px;
}
.nd-gallery-grid {
  max-width: 1300px; margin: 0 auto; padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.nd-gal-item {
  aspect-ratio: 4/3; border-radius: var(--r-md);
  overflow: hidden; cursor: pointer; position: relative;
  background: var(--lt-bg);
}
.nd-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.nd-gal-item:hover img { transform: scale(1.07); }
.nd-gal-item:first-child {
  grid-column: span 2; grid-row: span 2;
  aspect-ratio: auto; min-height: 260px;
}
.nd-gal-overlay {
  position: absolute; inset: 0;
  background: rgba(7,30,48,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t);
}
.nd-gal-item:hover .nd-gal-overlay { opacity: 1; }
.nd-gal-overlay i { color: var(--white); font-size: 1.3rem; }
.nd-gal-empty {
  grid-column: 1/-1; text-align: center;
  padding: 48px; color: var(--txt-l);
  font-size: .88rem;
}
.nd-gal-empty i { font-size: 2.5rem; display: block; margin-bottom: 12px; opacity: .25; }
.nd-gal-loader {
  grid-column: 1/-1; text-align: center;
  padding: 48px; color: var(--txt-l); font-size: .88rem;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* ── Lightbox ── */
.nd-lb {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(5,12,22,.95);
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.nd-lb.open { display: flex; }
.nd-lb-inner {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.nd-lb-img {
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 100px);
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  transition: opacity .22s;
}
.nd-lb-close, .nd-lb-arrow {
  position: fixed;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t);
}
.nd-lb-close { top: 20px; right: 24px; width: 42px; height: 42px; font-size: .9rem; }
.nd-lb-close:hover { background: var(--orange); border-color: var(--orange); }
.nd-lb-arrow { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: .9rem; }
.nd-lb-arrow:hover { background: var(--orange); border-color: var(--orange); }
.nd-lb-prev { left: 16px; }
.nd-lb-next { right: 16px; }
.nd-lb-footer {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.nd-lb-counter {
  font-family: var(--fh); font-size: .74rem; font-weight: 700;
  color: rgba(255,255,255,.55);
  background: rgba(7,30,48,.6); padding: 4px 14px; border-radius: 100px;
  backdrop-filter: blur(8px);
}
.nd-lb-dots { display: flex; gap: 6px; }
.nd-lb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.28); border: none; cursor: pointer; padding: 0;
  transition: all .25s;
}
.nd-lb-dot.on { background: var(--orange); width: 20px; border-radius: 4px; }

/* ── Sidebar ── */
.nd-sidebar { display: flex; flex-direction: column; gap: 22px; }
.nd-widget {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.nd-widget__head {
  padding: 14px 20px;
  background: var(--navy);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fh); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.nd-widget__head i { color: var(--orange); font-size: .7rem; }
.nd-widget__head-title { font-size: .72rem; }
.nd-widget__body { padding: 10px 16px; }
/* Articles récents sidebar */
.nd-recent-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: all var(--t);
}
.nd-recent-item:last-child { border-bottom: none; }
.nd-recent-item:hover { color: var(--navy); }
.nd-recent-item__img {
  width: 56px; height: 48px; flex-shrink: 0;
  border-radius: var(--r-sm); object-fit: cover;
  background: var(--lt-bg);
}
.nd-recent-item__title {
  font-family: var(--fh); font-size: .76rem; font-weight: 700;
  color: var(--txt); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--t);
}
.nd-recent-item:hover .nd-recent-item__title { color: var(--navy); }
.nd-recent-item__date {
  font-size: .68rem; color: var(--txt-l);
  margin-top: 4px; display: flex; align-items: center; gap: 4px;
}
.nd-recent-item__date i { color: var(--orange); font-size: .6rem; }
/* Widget CTA */
.nd-widget-cta {
  background: linear-gradient(135deg, var(--navy-dp), var(--navy-dk));
  border-radius: var(--r-lg); padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
}
.nd-widget-cta::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid rgba(245,137,61,.15);
}
.nd-widget-cta h3 {
  font-family: var(--fh); font-size: .94rem; font-weight: 900;
  color: var(--white); margin-bottom: 8px;
}
.nd-widget-cta h3 em { font-style: normal; color: var(--orange); }
.nd-widget-cta p { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.55; margin-bottom: 18px; }
.nd-widget-cta__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white); border-radius: var(--r);
  font-family: var(--fh); font-size: .78rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 10px; transition: all var(--t);
  box-shadow: 0 4px 16px rgba(245,137,61,.35);
}
.nd-widget-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,137,61,.5); }
.nd-widget-cta__link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--fh); font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.55); transition: color var(--t);
}
.nd-widget-cta__link:hover { color: var(--orange-lt); }
.nd-widget-cta__link i { font-size: .72rem; }
/* Widget salons */
.nd-salon-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.nd-salon-item:last-child { border-bottom: none; }
.nd-salon-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.nd-salon-name { font-family: var(--fh); font-size: .76rem; font-weight: 700; color: var(--txt); line-height: 1.3; margin-bottom: 3px; }
.nd-salon-date { font-size: .68rem; color: var(--txt-l); display: flex; align-items: center; gap: 4px; }
.nd-salon-date i { color: var(--orange); font-size: .6rem; }

/* ── Responsive ── */
@media (max-width: 1060px) {
  .nd-inner { grid-template-columns: 1fr; padding: 0 20px; }
  .nd-sidebar { flex-direction: row; flex-wrap: wrap; }
  .nd-widget, .nd-widget-cta { flex: 1 1 280px; }
  .nd-gallery-grid { grid-template-columns: repeat(3,1fr); }
  .nd-gal-item:first-child { grid-column: span 1; grid-row: span 1; min-height: auto; }
}
@media (max-width: 680px) {
  .nd-title { font-size: 1.3rem; padding: 14px 20px 0; }
  .nd-title-bar { margin: 12px 20px 18px; }
  .nd-content { padding: 0 20px 22px; font-size: .9rem; }
  .nd-meta { padding: 16px 20px 0; }
  .nd-tags, .nd-share, .nd-nav { padding: 14px 20px; }
  .nd-gallery-grid { grid-template-columns: repeat(2,1fr); padding: 0 20px; }
  .nd-gallery-header { padding: 0 20px; }
  .nd-lb-img { max-width: 100vw; }
}

/* ================================================================
   LEGAL PAGES — terms.php + privacy.php
   Préfixe : .lp- (legal page)
================================================================ */

/* ── Page wrapper ── */
.lp-page { background: var(--lt-bg); padding: 56px 0 88px; }

/* ── Layout 2 colonnes : TOC sidebar + contenu ── */
.lp-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Bandeau intro navy (remplace le hero) ── */
.lp-banner {
  background: linear-gradient(135deg, var(--navy-dp) 0%, var(--navy-dk) 100%);
  padding: 52px 0 48px;
  position: relative;
  overflow: hidden;
}
.lp-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(245,137,61,.12);
}
.lp-banner::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 35%; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.lp-banner-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lp-banner-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-lt); margin-bottom: 10px;
}
.lp-banner-tag i { font-size: .6rem; }
.lp-banner-title {
  font-family: var(--fh);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.lp-banner-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  max-width: 520px;
  line-height: 1.65;
}
.lp-banner-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  flex-shrink: 0;
}
.lp-banner-date {
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: rgba(255,255,255,.40);
  display: flex; align-items: center; gap: 6px;
}
.lp-banner-date i { color: var(--orange); }
.lp-banner-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: rgba(255,255,255,.35);
}
.lp-banner-breadcrumb a { color: rgba(255,255,255,.45); transition: color var(--t); }
.lp-banner-breadcrumb a:hover { color: var(--orange-lt); }
.lp-banner-breadcrumb i { font-size: .5rem; }

/* ── TOC sidebar sticky ── */
.lp-toc {
  position: sticky;
  top: calc(var(--nav-h-sm) + 24px);
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.lp-toc-head {
  padding: 14px 18px;
  background: var(--navy);
  font-family: var(--fh); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; gap: 7px;
}
.lp-toc-head i { color: var(--orange); font-size: .65rem; }
.lp-toc-list { padding: 8px 0; }
.lp-toc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-family: var(--fh); font-size: .75rem; font-weight: 600;
  color: var(--txt-m);
  transition: all var(--t);
  border-left: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.lp-toc-item:hover { color: var(--navy); background: rgba(27,92,138,.05); border-left-color: var(--navy); }
.lp-toc-item.active { color: var(--navy); background: rgba(27,92,138,.07); border-left-color: var(--orange); font-weight: 700; }
.lp-toc-item-num {
  font-size: .62rem; font-weight: 800;
  color: var(--txt-l); flex-shrink: 0;
  width: 16px; text-align: right;
}
.lp-toc-item.active .lp-toc-item-num { color: var(--orange); }
.lp-toc-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--lt-bg);
}
.lp-toc-dl {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: .7rem; font-weight: 700;
  color: var(--navy); transition: color var(--t);
}
.lp-toc-dl i { font-size: .65rem; }
.lp-toc-dl:hover { color: var(--orange); }

/* ── Contenu principal ── */
.lp-content { display: flex; flex-direction: column; gap: 28px; }

/* Section de contenu */
.lp-section {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h-sm) + 32px);
  transition: box-shadow var(--t);
}
.lp-section:hover { box-shadow: 0 4px 20px rgba(13,58,92,.07); }
.lp-section-head {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--lt-bg);
}
.lp-section-num {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-dk));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: .76rem; font-weight: 900;
}
.lp-section-icon {
  color: var(--orange); font-size: .9rem; flex-shrink: 0;
}
.lp-section-title {
  font-family: var(--fh); font-size: .95rem; font-weight: 800;
  color: var(--txt); flex: 1;
}
.lp-section-body {
  padding: 24px 28px;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--txt-m);
}
.lp-section-body p { margin-bottom: 14px; }
.lp-section-body p:last-child { margin-bottom: 0; }
.lp-section-body strong { color: var(--txt); font-weight: 700; }
.lp-section-body a { color: var(--navy); text-decoration: underline; transition: color var(--t); }
.lp-section-body a:hover { color: var(--orange); }

/* Liste stylisée */
.lp-list {
  display: flex; flex-direction: column; gap: 8px;
  margin: 14px 0;
}
.lp-list-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  background: var(--lt-bg);
  border-radius: var(--r);
  border-left: 3px solid var(--orange);
}
.lp-list-item i {
  color: var(--orange); font-size: .78rem;
  margin-top: 3px; flex-shrink: 0;
}
.lp-list-item span { font-size: .88rem; color: var(--txt-m); line-height: 1.55; }

/* Box highlight */
.lp-highlight {
  background: rgba(27,92,138,.05);
  border: 1px solid rgba(27,92,138,.15);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 16px 0;
  display: flex; align-items: flex-start; gap: 12px;
}
.lp-highlight.orange {
  background: rgba(245,137,61,.06);
  border-color: rgba(245,137,61,.20);
}
.lp-highlight.green {
  background: rgba(22,163,74,.06);
  border-color: rgba(22,163,74,.20);
}
.lp-highlight i {
  font-size: .9rem; flex-shrink: 0; margin-top: 2px;
  color: var(--navy);
}
.lp-highlight.orange i { color: var(--orange-dk); }
.lp-highlight.green i  { color: #16a34a; }
.lp-highlight-text { font-size: .87rem; line-height: 1.65; color: var(--txt-m); }
.lp-highlight-text strong { color: var(--txt); }

/* Contact box */
.lp-contact-box {
  background: linear-gradient(135deg, var(--navy-dp), var(--navy-dk));
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: flex; align-items: center; gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.lp-contact-box-text { flex: 1; min-width: 200px; }
.lp-contact-box-title {
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  color: var(--white); margin-bottom: 4px;
}
.lp-contact-box-sub { font-size: .8rem; color: rgba(255,255,255,.55); }
.lp-contact-box-btns { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.lp-contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--r);
  font-family: var(--fh); font-size: .75rem; font-weight: 700;
  transition: all var(--t);
}
.lp-contact-btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white);
  box-shadow: 0 3px 12px rgba(245,137,61,.35);
}
.lp-contact-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(245,137,61,.5); }
.lp-contact-btn.outline {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
}
.lp-contact-btn.outline:hover { background: rgba(255,255,255,.15); color: var(--white); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .lp-layout { grid-template-columns: 1fr; }
  .lp-toc    { position: relative; top: auto; }
  .lp-toc-list { display: flex; flex-wrap: wrap; gap: 0; }
  .lp-toc-item { flex: 0 0 50%; border-left: none; border-bottom: 1px solid var(--border); }
  .lp-toc-item.active { border-bottom-color: var(--border); background: rgba(27,92,138,.07); }
}
@media (max-width: 600px) {
  .lp-layout { padding: 0 16px; }
  .lp-banner-inner { padding: 0 16px; }
  .lp-section-head { padding: 16px 18px; }
  .lp-section-body { padding: 18px 18px; font-size: .87rem; }
  .lp-banner-meta { display: none; }
  .lp-toc-item { flex: 0 0 100%; }
}