@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #0F2040;
  --blue: #1E3A8A;
  --blue-light: #2563EB;
  --gold: #F59E0B;
  --gold-light: #FCD34D;
  --white: #F8FAFC;
  --gray: #94A3B8;
  --gray-dark: #475569;
  --border: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── WIRE ANIMATION (signature element) ─── */
.wire {
  position: fixed;
  left: 28px;
  top: 0;
  width: 2px;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}
.wire::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--blue-light) 70%, transparent);
  opacity: 0.3;
}
.wire-spark {
  position: absolute;
  left: -4px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px 4px rgba(245,158,11,0.6);
  animation: sparkMove 4s ease-in-out infinite;
}
@keyframes sparkMove {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled {
  background: rgba(10,22,40,0.97);
  height: 62px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
}
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px 80px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(30,58,138,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245,158,11,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 80%);
}
.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1.5px;
  background: var(--gold);
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.2);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 40px; height: 1px;
  background: var(--gray);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: lineFlow 2s ease-in-out infinite;
}
@keyframes lineFlow { to { left: 100%; } }

/* ─── SECTIONS ─── */
section { padding: 100px 80px; position: relative; }
.section-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  color: var(--gray);
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 60px;
}

/* ─── SERVICES SECTION ─── */
.services-bg { background: var(--navy-mid); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--navy-mid);
  padding: 40px 36px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { background: rgba(30,58,138,0.15); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(245,158,11,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(245,158,11,0.2); }
.service-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── ABOUT / WHY US ─── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-visual {
  position: relative;
  height: 480px;
}
.why-card-big {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 72%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
}
.why-card-big .big-icon {
  font-size: 5rem;
  position: absolute;
  top: 20px; right: 20px;
  opacity: 0.15;
}
.why-card-small {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 45%;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
.why-card-small * { color: var(--navy); }
.card-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.card-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.card-desc { font-size: 0.85rem; opacity: 0.8; margin-top: 4px; }
.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 4px;
  min-width: 28px;
}
.why-item h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.why-item p { color: var(--gray); font-size: 0.9rem; line-height: 1.65; }

/* ─── RÉALISATIONS SECTION ─── */
.realisations-bg { background: var(--navy-mid); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy);
  cursor: pointer;
}
.gallery-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.gallery-tag {
  position: absolute;
  top: 14px; left: 14px;
  
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ─── SCOR-BOX FEATURE ─── */
.scorbox {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.scorbox-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.scorbox-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.scorbox-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.scorbox-feat {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
}
.scorbox-feat .feat-icon { font-size: 1.4rem; margin-bottom: 10px; }
.scorbox-feat h5 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.scorbox-feat p { color: var(--gray); font-size: 0.8rem; line-height: 1.5; }
.scorbox-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box-mockup {
  width: 260px;
  height: 340px;
  background: linear-gradient(160deg, #1a2d50 0%, var(--navy-mid) 100%);
  border-radius: 16px;
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(245,158,11,0.08);
}
.box-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.box-screen {
  width: 180px;
  height: 100px;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.box-dots {
  display: flex;
  gap: 8px;
}
.box-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
  animation: dotPulse 1.5s ease-in-out infinite;
}
.box-dot:nth-child(2) { animation-delay: 0.3s; }
.box-dot:nth-child(3) { animation-delay: 0.6s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
.box-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ─── CONTACT SECTION ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}
.contact-item-text p, .contact-item-text a {
  color: var(--gray);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item-text a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(245,158,11,0.05);
}
.form-field select option { background: var(--navy-mid); }
.form-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 16px 32px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  align-self: flex-start;
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.25);
}

/* ─── FOOTER ─── */
footer {
  background: #060F1C;
  border-top: 1px solid var(--border);
  padding: 60px 80px 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.footer-brand p {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h5 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: var(--gray-dark); font-size: 0.8rem; }
.footer-bottom a { color: var(--gold); text-decoration: none; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--gold); background: rgba(245,158,11,0.1); }

/* ─── PAGE TRANSITIONS ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 24px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLETTE (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  section, .hero { padding: 80px 40px; }
  footer { padding: 60px 40px 36px; }

  .hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
  .hero-stats { gap: 32px; flex-wrap: wrap; }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-visual { height: 360px; }

  .scorbox-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .scorbox-features { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item:first-child { grid-column: 1 / 3; }

  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE LARGE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 64px; }
  nav.scrolled { height: 58px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(20px);
    padding: 28px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .nav-links.open a { font-size: 1rem; letter-spacing: 0.06em; }
  .nav-cta { text-align: center; padding: 12px 20px !important; }
  .hamburger { display: flex; }
  .wire { display: none; }

  section { padding: 64px 20px; }
  .hero { padding: 100px 20px 60px; min-height: auto; }
  footer { padding: 48px 20px 28px; }

  /* HERO */
  .hero h1 { font-size: 2rem; line-height: 1.1; margin-bottom: 20px; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 32px; }
  .hero-eyebrow { font-size: 0.72rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-outline { text-align: center; padding: 14px 24px; }
  .hero-stats {
    gap: 20px 32px;
    margin-top: 48px;
    padding-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stat-num { font-size: 1.8rem; }
  .hero-scroll { display: none; }

  /* SECTION TITLES */
  .section-title { font-size: 1.8rem; }
  .section-sub { font-size: 0.9rem; margin-bottom: 40px; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card { padding: 28px 24px; }

  /* WHY US */
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { height: 280px; }
  .why-card-big { padding: 20px; }
  .why-card-small { padding: 18px; }
  .card-value { font-size: 1.8rem; }
  .why-list { gap: 24px; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery-item:first-child { grid-column: 1 / 2; }
  .gallery-item img, .gallery-item > div { min-height: 200px !important; }

  /* SCOR-BOX */
  .scorbox-inner { grid-template-columns: 1fr; gap: 40px; }
  .scorbox-features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .scorbox-feat { padding: 14px; }
  .scorbox-visual { order: -1; }
  .box-mockup { width: 200px; height: 270px; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; text-align: center; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* STATS GRID in réalisations */
  .stats-realisations { grid-template-columns: 1fr 1fr !important; }

  /* Services page inline grids */
  .service-detail-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .service-cards-2col { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE PETIT (max 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  nav { padding: 0 16px; }
  .nav-logo-text { font-size: 0.85rem; }

  section { padding: 52px 16px; }
  .hero { padding: 90px 16px 52px; }
  footer { padding: 40px 16px 24px; }

  .hero h1 { font-size: 1.75rem; }
  .hero-eyebrow { font-size: 0.65rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 36px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.72rem; }

  .section-title { font-size: 1.6rem; }

  .scorbox-features { grid-template-columns: 1fr; }
  .box-mockup { width: 180px; height: 240px; }

  .service-card { padding: 24px 18px; }
  .service-icon { width: 44px; height: 44px; font-size: 1.2rem; }

  .why-visual { height: 240px; }
  .why-card-small { padding: 14px; }
  .card-value { font-size: 1.5rem; }

  .contact-icon { width: 38px; height: 38px; font-size: 0.95rem; }

  .gallery-item img, .gallery-item > div { min-height: 180px !important; }

  .toast { bottom: 16px; right: 16px; left: 16px; text-align: center; }

  .footer-top { gap: 24px; }
  .social-links { flex-wrap: wrap; }

  /* Stats 2 colonnes même sur tout petit écran */
  div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — TRÈS PETIT (max 360px)
══════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.4rem; }
  .section-title { font-size: 1.4rem; }
  .btn-primary, .btn-outline { font-size: 0.85rem; padding: 12px 18px; }
  .scorbox-features { grid-template-columns: 1fr; }
  .why-visual { height: 200px; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wire-spark { animation: none; }
  .scroll-line::after { animation: none; }
  .box-dot { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════
   CLASSES SUPPLÉMENTAIRES (HTML refactorisé)
══════════════════════════════════════════ */

.section-cta { text-align: center; margin-top: 48px; }

.box-status {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Page hero padding */
.page-hero-section { padding-top: 140px; }
.page-h1 { font-size: clamp(2.2rem, 5vw, 4rem); }

/* ─── SERVICE DETAIL BLOCK ─── */
.service-detail-block { margin-bottom: 80px; }
.service-detail-block.alt-bg {
  margin: 0 -80px;
  padding: 60px 80px;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.service-detail-grid.reverse { grid-template-columns: 2fr 1fr; }
.service-detail-emoji-card {
  background: linear-gradient(135deg, var(--blue), var(--navy-mid));
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 280px;
}
.service-detail-desc {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 24px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.08em;
}
.mini-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ─── SERVICE 2-COL CARDS ─── */
.service-cards-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 80px;
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-list li { color: var(--gray); font-size: 0.9rem; display: flex; gap: 10px; align-items: center; }
.service-list .arrow { color: var(--gold); flex-shrink: 0; }

/* ─── CTA BAND ─── */
.cta-band {
  text-align: center;
  margin-top: 80px;
  padding: 60px 40px;
  background: rgba(30,58,138,0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.cta-band-sub {
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── GALLERY REFACTORED ─── */
.gallery-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, #0F2040, #1E3A8A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.gallery-placeholder.sm { height: 240px; font-size: 3rem; }
.gallery-big { grid-column: 1 / 3; }

/* ─── STATS RÉALISATIONS ─── */
.stats-realisations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 80px;
}
.stat-block {
  background: var(--navy-mid);
  padding: 40px 20px;
  text-align: center;
}
.stat-big-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-big-label {
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── TESTIMONIAL ─── */
.testimonial {
  margin-top: 80px;
  padding: 60px;
  background: linear-gradient(135deg, rgba(30,58,138,0.15), rgba(245,158,11,0.05));
  border: 1px solid var(--border);
  border-radius: 8px;
}
.testimonial-quote { font-size: 3rem; margin-bottom: 20px; color: var(--gold); }
.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 700px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Rajdhani', sans-serif;
  flex-shrink: 0;
}
.author-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.author-role { color: var(--gray); font-size: 0.85rem; }

/* ─── HORAIRES ─── */
.horaires {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}
.horaires h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.horaire-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.horaire-row span:first-child { color: var(--gray); }
.horaire-row .gold { color: var(--gold); }

/* ─── MAP PLACEHOLDER ─── */
.map-placeholder {
  margin-top: 80px;
  background: rgba(30,58,138,0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.map-icon { font-size: 2.5rem; }
.map-address {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.map-link { color: var(--gold); font-size: 0.875rem; text-decoration: none; }
.map-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   RESPONSIVE EXTRA POUR NOUVELLES CLASSES
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-detail-block.alt-bg { margin: 0 -40px; padding: 60px 40px; }
  .service-detail-grid,
  .service-detail-grid.reverse { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-realisations { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero-section { padding-top: 100px; }
  .service-detail-block { margin-bottom: 48px; }
  .service-detail-block.alt-bg { margin: 0 -20px; padding: 48px 20px; }
  .service-detail-grid,
  .service-detail-grid.reverse { grid-template-columns: 1fr; gap: 28px; }
  .service-detail-emoji-card { min-height: 180px; font-size: 3.5rem; order: -1; }
  .service-detail-grid.reverse .service-detail-emoji-card { order: -1; }
  .mini-feat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-cards-2col { grid-template-columns: 1fr; }
  .service-cards-2col .service-card { padding: 28px 20px !important; }
  .cta-band { padding: 40px 20px; margin-top: 48px; }
  .stats-realisations { grid-template-columns: 1fr 1fr; }
  .stat-block { padding: 28px 16px; }
  .stat-big-num { font-size: 2rem; }
  .testimonial { padding: 32px 24px; margin-top: 48px; }
  .testimonial-text { font-size: 1rem; }
  .gallery-big { grid-column: 1 / 2; }
  .gallery-placeholder { height: 220px; font-size: 3rem; }
  .gallery-placeholder.sm { height: 180px; font-size: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .map-placeholder { height: auto; padding: 40px 20px; }
}

@media (max-width: 480px) {
  .page-hero-section { padding-top: 88px; }
  .service-detail-emoji-card { min-height: 140px; font-size: 3rem; }
  .mini-feat-grid { grid-template-columns: 1fr; }
  .stats-realisations { grid-template-columns: 1fr 1fr; }
  .tag-row { gap: 8px; }
  .tag { font-size: 0.72rem; padding: 5px 10px; }
  .testimonial { padding: 24px 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-big { grid-column: 1 / 2; }
  .gallery-placeholder { height: 180px; }
  .gallery-placeholder.sm { height: 160px; }
  .cta-band { padding: 32px 16px; }
  .cta-band-sub { font-size: 0.9rem; }
  .horaires { padding: 18px 16px; }
  .horaire-row { font-size: 0.8rem; flex-wrap: wrap; gap: 4px; }
}
