/* ============================================
   MEDIASPHERE — Site Web Public
   L'EMPIRE SARL — 2026
   ============================================ */

:root {
  --navy: #0B1B3D;
  --navy-soft: #0F2148;
  --navy-card: #142547;
  --primary: #1A2B5C;
  --cyan: #4FC3F7;
  --cyan-light: #81D4FA;
  --gold: #C9A84C;
  --empire-gold: #B87333;
  --amber: #FFB300;
  --green: #4CAF50;
  --text: #E8EEF7;
  --text-soft: #A0B0CC;
  --text-dark: #1a1a2e;
  --border: #1F3060;
  --white: #ffffff;
  --gray-light: #f8fafc;
  --shadow: 0 4px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── UTILITAIRES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--empire-gold); }
.hidden { display: none !important; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 0;
}
.navbar.scrolled {
  background: rgba(11, 27, 61, .97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: .3px;
}
.nav-link:hover { color: var(--cyan); background: rgba(79,195,247,.1); }
.nav-link.active { color: var(--cyan); background: rgba(79,195,247,.12); font-weight: 600; }
.nav-cta {
  background: linear-gradient(135deg, var(--empire-gold), var(--amber));
  color: #000 !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 6px;
  letter-spacing: .5px;
  transition: var(--transition);
  margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(185,115,51,.45); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #060f24 0%, #0a1628 40%, #0d1e3d 70%, #0b1830 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 15% 60%, rgba(79,195,247,.09) 0%, transparent 65%),
    radial-gradient(ellipse 700px 500px at 85% 25%, rgba(185,115,51,.09) 0%, transparent 55%),
    radial-gradient(ellipse 500px 400px at 50% 80%, rgba(26,43,92,.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: .4;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: .4; }
  90% { opacity: .4; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,195,247,.08);
  border: 1px solid rgba(79,195,247,.3);
  backdrop-filter: blur(12px);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(79,195,247,.1);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(27px, 4.5vw, 51px);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 10px;
  text-shadow: 0 4px 40px rgba(255,255,255,.08);
}
.hero-title-accent {
  color: var(--empire-gold);
  text-shadow: 0 0 40px rgba(185,115,51,.4);
}
.hero-subtitle {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  color: var(--cyan-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--empire-gold), var(--amber));
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  letter-spacing: .5px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(185,115,51,.35);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(185,115,51,.5); }
.btn-hero-secondary {
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  transition: var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.08); border-color: var(--cyan); color: var(--cyan); }
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hero-stat { text-align: center; padding: 0 32px; }
.hero-stat-n {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--cyan);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-l { font-size: 11px; color: var(--text-soft); letter-spacing: 1.5px; text-transform: uppercase; }
.hero-stat-sep { width: 1px; height: 48px; background: rgba(255,255,255,.12); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
  animation: bounce 2s infinite;
}
.hero-scroll-arrow { font-size: 20px; color: var(--cyan); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
.section { padding: 100px 0; }
.section-dark { background: linear-gradient(180deg, #0a1628 0%, #0b1b3d 100%); }
.section-pub { background: var(--gray-light); }
.section-contact { background: linear-gradient(160deg, #0a1628 0%, #0d1e40 100%); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--empire-gold);
  background: rgba(185,115,51,.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-tag.light { color: var(--cyan); background: rgba(79,195,247,.1); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(15px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-title.light { color: var(--white); }
.section-desc { font-size: 12px; color: #6b7280; max-width: 580px; margin: 0 auto; line-height: 1.7; }
.section-desc.light { color: var(--text-soft); }

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e8ecf0;
  border-radius: 16px;
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-color: var(--border);
  color: var(--white);
}
.service-card.featured::before { background: linear-gradient(90deg, var(--empire-gold), var(--amber)); }
.service-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--empire-gold), var(--amber));
  color: #000;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.service-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.service-title {
  font-size: 18px;
  font-weight: 700;
  color: inherit;
  margin-bottom: 10px;
}
.service-card.featured .service-title { color: var(--white); }
.service-desc { font-size: 13px; color: #6b7280; margin-bottom: 16px; line-height: 1.6; }
.service-card.featured .service-desc { color: var(--text-soft); }
.service-list { list-style: none; }
.service-list li {
  font-size: 12px;
  color: #374151;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.service-card.featured .service-list li { color: var(--text-soft); }

/* ============================================
   GALERIE STATIQUE
   ============================================ */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.galerie-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 64px;
  padding: 48px;
  color: var(--text-soft);
}

/* ============================================
   SECTION PUBLICITÉ (20 PHOTOS CRM)
   ============================================ */
.pub-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pub-filter {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.3px;
}
.pub-filter:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.pub-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,43,92,0.4);
}
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  min-height: 300px;
}
.pub-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px;
  color: #6b7280;
  font-size: 14px;
}
.pub-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e8ecf0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pub-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: #9ca3af;
}
.pub-empty-icon { font-size: 56px; display: block; margin-bottom: 12px; }
.pub-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.pub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pub-card-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f4f6;
  position: relative;
}
.pub-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pub-card:hover .pub-card-img-wrap img { transform: scale(1.07); }
.pub-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,27,61,.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.pub-card:hover .pub-card-overlay { opacity: 1; }
.pub-card-overlay-text { color: var(--white); }
.pub-card-overlay-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.pub-card-overlay-text p { font-size: 11px; color: var(--text-soft); }
.pub-card-info { padding: 14px 16px; }
.pub-card-titre { font-size: 13px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.pub-card-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(26,43,92,.08);
  color: var(--primary);
  letter-spacing: .5px;
}
.pub-card-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: var(--transition);
}
.pub-card:hover .pub-card-zoom { opacity: 1; }

/* ============================================
   SECTION ÉQUIPEMENTS
   ============================================ */
.section-equip {
  background: linear-gradient(180deg, #f0f4ff 0%, #f8fafc 60%, #ffffff 100%);
  position: relative;
}
.section-equip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--empire-gold));
}
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  min-height: 200px;
}
.equip-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid #e8ecf2;
}
.equip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.equip-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}
.equip-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.equip-card:hover .equip-card-img img { transform: scale(1.05); }
.equip-card-body { padding: 16px 18px 18px; }
.equip-card-titre { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.equip-card-desc { font-size: 12px; color: #6b7280; line-height: 1.55; margin-bottom: 10px; }
.equip-card-footer { display: flex; align-items: center; justify-content: space-between; }
.equip-card-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: var(--primary);
  letter-spacing: .5px;
}
.equip-card-zoom-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: var(--transition);
}
.equip-card:hover .equip-card-zoom-btn { opacity: 1; }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.lightbox.show { display: flex; }
.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: var(--navy-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.8);
}
.lightbox-content img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #000;
}
.lightbox-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.lightbox-info h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.lightbox-info p { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; }
.lightbox-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(79,195,247,.15);
  color: var(--cyan);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: var(--white);
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.2); }

/* ============================================
   AVANTAGES
   ============================================ */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.avantage-item {
  text-align: center;
  padding: 36px 28px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #e8ecf0;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden;
}
.avantage-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: width .3s ease;
  border-radius: 2px;
}
.avantage-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.avantage-item:hover::after { width: 60%; }
.avantage-icon { font-size: 44px; display: block; margin-bottom: 16px; }
.avantage-item h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.avantage-item p { font-size: 13px; color: #6b7280; line-height: 1.65; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-infos { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(79,195,247,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-label { font-size: 10px; color: var(--text-soft); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.contact-val { font-size: 15px; font-weight: 500; color: var(--white); }
.contact-social { display: flex; gap: 10px; margin-top: 8px; }
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}
.social-btn:hover { background: var(--cyan); color: var(--navy); }
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-field { margin-bottom: 14px; }
.contact-field label { display: block; font-size: 11px; font-weight: 600; color: #374151; letter-spacing: .5px; margin-bottom: 6px; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  font-family: inherit;
  color: #111827;
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,43,92,.1);
}
.contact-field textarea { resize: vertical; min-height: 100px; }
.btn-contact-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--navy-soft));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-contact-submit:hover { background: linear-gradient(135deg, #1e3370, #0d1f4a); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,43,92,.4); }
.contact-success {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(76,175,80,.1);
  border: 1px solid rgba(76,175,80,.3);
  border-radius: var(--radius-sm);
  color: #2e7d32;
  font-size: 13px;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, #070f22 0%, #060d1e 100%);
  border-top: 1px solid rgba(79,195,247,.12);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 12px; color: var(--text-soft); margin-bottom: 8px; line-height: 1.6; }
.footer-legal { font-size: 11px; color: var(--text-soft); opacity: .6; }
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-link:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-soft);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-empire a { color: var(--empire-gold); text-decoration: none; }
.footer-empire a:hover { text-decoration: underline; }

/* ============================================
   RETOUR EN HAUT
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--navy-soft));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* backdrop-filter sur la barre en fait le bloc conteneur de ses enfants en
     position:fixed : le menu plein ecran se retrouvait confine a la hauteur de
     la barre, son fond ne couvrait qu'un bandeau et les liens debordaient
     par-dessus la page. On retire donc le flou sur mobile. */
  .navbar.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(11,27,61); }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: rgb(11,27,61);
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }

  /* Empeche la page de defiler derriere le menu ouvert. */
  body.menu-ouvert { overflow: hidden; }
  .nav-link { font-size: 18px; }
  .nav-burger { display: flex; z-index: 1000; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 20px; }
  .hero-stat-n { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row-2 { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero { padding: 100px 16px 60px; }
  .hero-title { font-size: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 280px; text-align: center; }
  .pub-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
