/* ============================================================
   YGA ENGINEERING — AXESS GROUP STYLE
   Design: Professional industrial, dark teal/navy palette
   ============================================================ */

/* ── FONTS ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  --primary:   #1a4548;   /* Axess dark teal */
  --primary-2: #2a6068;
  --accent:    #00b4c8;   /* Axess cyan */
  --accent-2:  #e8f4f5;
  --bg:        #ffffff;
  --bg-light:  #f6f8f8;
  --bg-dark:   #0d2225;
  --text:      #1a1a1a;
  --text-muted:#6b7280;
  --border:    #e2e8f0;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --radius:    6px;
  --header-h:  72px;
  --topbar-h:  44px;
}

/* ═══════════════════════════════════════════════════════════
   TOP BAR (like Axess "Sign in Bridge" bar)
═══════════════════════════════════════════════════════════ */
.topbar {
  height: var(--topbar-h);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5%;
  gap: 12px;
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1100;
}
.topbar-info {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.topbar-info span { display: flex; align-items: center; gap: 5px; }
.topbar-info i { font-size: 11px; color: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  border: 1px solid transparent;
}
.topbar-btn.outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.topbar-btn.outline:hover { border-color: var(--accent); color: var(--accent); }
.topbar-btn.filled {
  background: var(--accent);
  color: var(--primary);
}
.topbar-btn.filled:hover { background: #00c8de; }

/* ═══════════════════════════════════════════════════════════
   HEADER / MEGA-NAV
═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; width: 100%;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

/* LOGO */
.logo {
  display: flex; align-items: center; gap: 11px;
  flex-shrink: 0;
}
.logo img {
  width: 48px; height: 48px;
  object-fit: cover; border-radius: 50%;
  border: 2px solid var(--accent);
  background: #fff;
  padding: 3px;
  transition: 0.3s;
}
.logo img:hover { transform: scale(1.06); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: 'Source Serif 4', serif;
  font-size: 18px; font-weight: 700;
  color: var(--primary); letter-spacing: -0.2px;
}
.logo-tagline { font-size: 10px; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }

/* MAIN NAV */
.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 0 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text); white-space: nowrap;
  height: 100%;
  transition: color 0.2s;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--primary); border-bottom-color: var(--accent); }
.nav-link i { font-size: 11px; transition: transform 0.2s; }
.nav-item:hover > .nav-link i { transform: rotate(180deg); }
.nav-link.active { color: var(--primary); border-bottom-color: var(--accent); }

/* DEVIS BUTTON in nav */
.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: #00c8de; transform: translateY(-1px); }

/* ── MEGA DROPDOWN ─────────────────────────────────────────── */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%; transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  min-width: 600px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
}
.nav-item:hover .mega-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-col { padding: 0 20px; border-right: 1px solid var(--border); }
.mega-col:last-child { border-right: none; }
.mega-col-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.mega-link {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; font-size: 13px; color: var(--text);
  transition: color 0.2s, padding-left 0.2s;
}
.mega-link:hover { color: var(--primary); padding-left: 4px; }
.mega-link i { color: var(--accent); font-size: 12px; }
.mega-link-main {
  font-weight: 600; font-size: 14px;
  color: var(--primary); margin-bottom: 8px; display: block;
}
.mega-link-main:hover { color: var(--accent); }

/* Simple dropdown (single column) */
.simple-dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 999;
}
.nav-item:hover .simple-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.simple-dropdown a {
  display: block; padding: 9px 20px;
  font-size: 13px; color: var(--text);
  transition: background 0.15s, color 0.15s;
}
.simple-dropdown a:hover { background: var(--bg-light); color: var(--primary); }

/* MOBILE BURGER */
.burger {
  display: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: 0.3s;
}
input#nav-toggle { display: none; }

/* ═══════════════════════════════════════════════════════════
   PAGE OFFSET (header + topbar)
═══════════════════════════════════════════════════════════ */
.page-body { padding-top: calc(var(--topbar-h) + var(--header-h)); }

/* ═══════════════════════════════════════════════════════════
   HERO — FULL HEIGHT with video/image
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('acceuil.jpg') center/cover no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,34,37,0.85) 0%,
    rgba(13,34,37,0.6) 50%,
    rgba(0,180,200,0.15) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; padding: 0 30px;
  color: #fff; text-align: left;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,200,0.2); border: 1px solid rgba(0,180,200,0.4);
  color: var(--accent); padding: 7px 16px;
  border-radius: 25px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge i { font-size: 11px; }
.hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.15;
  margin-bottom: 22px;
  color: #ffffff;
}
.hero h1 strong { font-weight: 700; color: var(--accent); }
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  margin-bottom: 36px; max-width: 560px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px; background: var(--accent); color: var(--primary);
  border-radius: 30px; font-weight: 700; font-size: 14px;
  transition: 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #00c8de; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,180,200,0.35); }
.btn-outline {
  padding: 14px 32px; border: 2px solid rgba(255,255,255,0.4); color: #fff;
  border-radius: 30px; font-weight: 600; font-size: 14px;
  transition: 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION GLOBALS
═══════════════════════════════════════════════════════════ */
.section { padding: 96px 5%; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-primary { background: var(--primary); color: #fff; }

.section-header { text-align: center; max-width: 740px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  background: var(--accent-2); color: var(--primary);
  padding: 6px 16px; border-radius: 25px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 18px;
}
.section-dark .section-tag { background: rgba(0,180,200,0.15); color: var(--accent); }
.section-primary .section-tag { background: rgba(255,255,255,0.15); color: #fff; }

.section-title {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300; line-height: 1.2;
  color: var(--primary); margin-bottom: 18px;
}
.section-dark .section-title,
.section-primary .section-title { color: #fff; }

.section-sub {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.75;
}
.section-dark .section-sub { color: rgba(255,255,255,0.65); }
.section-primary .section-sub { color: rgba(255,255,255,0.75); }

/* ═══════════════════════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════════════════════ */
.stats-strip {
  background: var(--primary);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 30px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transition: 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-icon-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,180,200,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.stat-icon-wrap i { font-size: 20px; color: var(--accent); }
.stat-number {
  font-family: 'Source Serif 4', serif;
  font-size: 2.4rem; font-weight: 700; color: #fff;
  line-height: 1;
}
.stat-number span { color: var(--accent); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* ═══════════════════════════════════════════════════════════
   SERVICES — GRID CARDS (Axess style with image + overlay)
═══════════════════════════════════════════════════════════ */
.services-intro {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2px; margin-bottom: 2px;
}
.service-intro-card {
  background: var(--bg-light);
  padding: 45px 35px;
  display: flex; gap: 20px;
  transition: 0.3s; cursor: pointer;
  border-bottom: 3px solid transparent;
}
.service-intro-card:hover { background: var(--primary); border-bottom-color: var(--accent); }
.service-intro-card:hover .sic-title,
.service-intro-card:hover .sic-text { color: rgba(255,255,255,0.9); }
.service-intro-card:hover .sic-icon { background: rgba(0,180,200,0.2); }
.service-intro-card:hover .sic-icon i { color: var(--accent); }
.sic-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: rgba(26,69,72,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: 0.3s;
}
.sic-icon i { font-size: 22px; color: var(--primary); transition: 0.3s; }
.sic-title {
  font-size: 16px; font-weight: 700; color: var(--primary);
  margin-bottom: 8px; transition: 0.3s;
}
.sic-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; transition: 0.3s; }

/* Full services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.3s; cursor: pointer;
  box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); border-color: var(--accent); }
.service-card-img {
  height: 200px; overflow: hidden; position: relative;
  background: var(--bg-light);
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--primary); color: #fff;
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.service-card-body { padding: 22px; }
.service-card-body h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.service-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 13px; font-weight: 600;
  color: var(--primary); transition: gap 0.2s;
}
.service-card-link:hover { gap: 10px; color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   INDUSTRY SECTORS (like Axess "Your industry")
═══════════════════════════════════════════════════════════ */
.sectors-section { padding: 80px 5%; }
.sectors-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.sectors-header h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--primary);
}
.sectors-more { font-size: 14px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.sectors-more:hover { gap: 10px; color: var(--accent); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.sector-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; cursor: pointer;
  transition: 0.25s;
  position: relative; overflow: hidden;
}
.sector-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--primary); transform: scaleY(0); transform-origin: bottom;
  transition: 0.3s;
}
.sector-card:hover::before { transform: scaleY(1); }
.sector-icon {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; transition: 0.3s;
}
.sector-icon i { font-size: 17px; color: var(--primary); transition: 0.3s; }
.sector-name {
  font-size: 13px; font-weight: 600; color: var(--primary);
  position: relative; z-index: 1; transition: 0.3s;
}
.sector-arrow { position: relative; z-index: 1; transition: 0.3s; }
.sector-arrow i { font-size: 12px; color: var(--primary); transition: 0.3s; }
.sector-card:hover .sector-icon { border-color: rgba(255,255,255,0.5); }
.sector-card:hover .sector-icon i,
.sector-card:hover .sector-name,
.sector-card:hover .sector-arrow i { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   ABOUT — TWO-COLUMN
═══════════════════════════════════════════════════════════ */
.about-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.about-text .section-title { text-align: left; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.feature-item i { color: var(--accent); font-size: 16px; }
.about-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--primary); color: #fff;
  border-radius: 25px; font-weight: 600; font-size: 14px;
  transition: 0.25s; margin-top: 10px;
}
.about-btn:hover { background: var(--primary-2); transform: translateY(-2px); }

.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; border-radius: 12px; box-shadow: 0 25px 60px rgba(0,0,0,0.15); }
.about-badge {
  position: absolute; bottom: 24px; right: -20px;
  background: var(--primary); color: #fff;
  padding: 16px 22px; border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.about-badge i { font-size: 24px; color: var(--accent); }
.about-badge-text { font-size: 13px; font-weight: 600; }
.about-badge-text span { display: block; font-size: 11px; font-weight: 400; opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════
   VALUES GRID
═══════════════════════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  transition: 0.3s; position: relative; overflow: hidden;
}
.value-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: 0.3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.value-icon i { font-size: 26px; color: var(--primary); }
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   PROJECTS GRID
═══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  position: relative; border-radius: 10px;
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow);
}
.project-card img { width: 100%; height: 240px; object-fit: cover; transition: 0.5s; display: block; }
.project-card:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,34,37,0.95) 0%, rgba(13,34,37,0.2) 60%, transparent 100%);
  padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  transform: translateY(20px); opacity: 0.85; transition: 0.35s;
}
.project-card:hover .project-overlay { opacity: 1; transform: translateY(0); }
.project-cat {
  display: inline-block; background: var(--accent); color: var(--primary);
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; margin-bottom: 8px;
}
.project-overlay h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.project-overlay p { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.project-info { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.project-info strong { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS
═══════════════════════════════════════════════════════════ */
.cert-hero {
  height: 60vh; min-height: 400px;
  background: url('chantier.jpg') center/cover no-repeat;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.cert-hero .overlay {
  position: absolute; inset: 0;
  background: rgba(13,34,37,0.72);
}
.cert-hero .hero-content { position: relative; z-index: 1; }
.cert-hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 3rem; font-weight: 300; margin-bottom: 14px;
}
.cert-hero p { font-size: 1.05rem; max-width: 600px; margin: 0 auto 24px; color: rgba(255,255,255,0.8); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.cert-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: 0.3s; box-shadow: var(--shadow);
}
.cert-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 50px rgba(0,180,200,0.1); }
.cert-icon {
  width: 62px; height: 62px; border-radius: 14px;
  background: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: 0.3s;
}
.cert-card:hover .cert-icon { background: var(--primary); }
.cert-icon i { font-size: 26px; color: var(--primary); transition: 0.3s; }
.cert-card:hover .cert-icon i { color: #fff; }
.cert-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.cert-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

/* Process steps */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 50px;
}
.process-step {
  text-align: center; position: relative; padding: 30px 20px;
}
.process-step::after {
  content: ''; position: absolute; top: 38px; right: -30px;
  width: 60px; height: 2px; background: var(--border);
}
.process-step:last-child::after { display: none; }
.process-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: 'Source Serif 4', serif;
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; position: relative; z-index: 1;
}
.process-step h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════ */
.gallery-hero {
  height: 55vh; min-height: 350px;
  background: url('hauteur 1.jpeg') center/cover no-repeat;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.gallery-hero .overlay { position: absolute; inset: 0; background: rgba(13,34,37,0.65); }
.gallery-hero .hero-content { position: relative; z-index: 1; }
.gallery-hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 2.8rem; font-weight: 300; margin-bottom: 12px;
}

.gallery-filters {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text);
  border-radius: 25px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: 0.25s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: 8px; overflow: hidden;
  position: relative; box-shadow: var(--shadow); transition: 0.3s;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.gallery-item img, .gallery-item video { width: 100%; height: 240px; object-fit: cover; display: block; transition: 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(13,34,37,0.9), transparent);
  color: #fff; text-align: left;
  transform: translateY(8px); opacity: 0; transition: 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-overlay h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.gallery-overlay p { font-size: 12px; color: rgba(255,255,255,0.7); }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 3000; padding: 20px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; }
.close-lightbox {
  position: absolute; top: 24px; right: 36px;
  font-size: 2.5rem; color: #fff; cursor: pointer;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT & DEVIS
═══════════════════════════════════════════════════════════ */
.contact-hero, .devis-hero {
  height: 50vh; min-height: 320px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.contact-hero h1, .devis-hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 2.8rem; font-weight: 300; margin-bottom: 12px;
}
.contact-hero p, .devis-hero p { font-size: 1.05rem; opacity: 0.8; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 50px; align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--bg-light); border: 1px solid var(--border);
  padding: 22px; border-radius: var(--radius);
  transition: 0.3s;
}
.contact-card:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-card.whatsapp { border-color: rgba(37,211,102,0.3); }
.cc-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cc-icon i { font-size: 22px; color: var(--primary); }
.contact-card.whatsapp .cc-icon { background: rgba(37,211,102,0.1); }
.contact-card.whatsapp .cc-icon i { color: #25d366; }
.cc-text h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.cc-text a, .cc-text p { font-size: 14px; color: var(--text-muted); }
.cc-text a:hover { color: var(--primary); }

.form-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-box input,
.form-box select,
.form-box textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--text); font-size: 14px;
  outline: none; transition: 0.25s; font-family: inherit;
}
.form-box input::placeholder, .form-box textarea::placeholder { color: #aaa; }
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { border-color: var(--accent); }
.form-box textarea { min-height: 130px; resize: vertical; }
.form-box .file-label {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1.5px dashed var(--border);
  border-radius: 8px; cursor: pointer; background: #fff;
  font-size: 14px; color: var(--text-muted); transition: 0.25s;
}
.form-box .file-label:hover { border-color: var(--accent); color: var(--primary); }
.form-box .file-label input { display: none; }
.submit-btn {
  width: 100%; padding: 16px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 8px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: 0.25s; display: flex; align-items: center;
  justify-content: center; gap: 10px; font-family: inherit;
}
.submit-btn:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,69,72,0.25); }

/* ═══════════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  padding: 72px 5%; text-align: center; color: #fff;
}
.cta-band h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 2.2rem; font-weight: 300; margin-bottom: 14px;
}
.cta-band p { font-size: 1rem; opacity: 0.75; margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   LATEST UPDATES (News)
═══════════════════════════════════════════════════════════ */
.updates-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px;
}
.updates-more { font-size: 14px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.updates-more:hover { gap: 10px; color: var(--accent); }

.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: 0.3s; cursor: pointer;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.news-card-img { height: 180px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px; }
.news-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block;
}
.news-card-body h3 {
  font-size: 15px; font-weight: 700; color: var(--primary);
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (small pages)
═══════════════════════════════════════════════════════════ */
.page-hero {
  height: 50vh; min-height: 320px;
  background: center/cover no-repeat;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.page-hero .overlay { position: absolute; inset: 0; background: rgba(13,34,37,0.7); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin-bottom: 12px;
}
.page-hero p { font-size: 1rem; opacity: 0.8; max-width: 550px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7);
  padding: 72px 5% 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name { color: #fff; font-size: 20px; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.4); }
.footer-brand p {
  font-size: 13.5px; line-height: 1.8; margin: 18px 0;
  color: rgba(255,255,255,0.6);
}
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; }
.footer-legal strong { color: rgba(255,255,255,0.55); }

.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #fff; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col a {
  display: block; font-size: 13.5px;
  color: rgba(255,255,255,0.6); line-height: 2.2; transition: 0.2s;
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact p {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 2.2;
}
.footer-contact i { color: var(--accent); font-size: 13px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 14px; transition: 0.25s;
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }

.footer-avail {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,200,0.12); border: 1px solid rgba(0,180,200,0.25);
  padding: 7px 14px; border-radius: 25px;
  font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 14px;
}
.footer-avail::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 12.5px; color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: 0.2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.divider { width: 60px; height: 3px; background: var(--accent); border-radius: 2px; margin: 0 auto 24px; }

/* Active nav */
.nav-link.active { color: var(--primary); border-bottom-color: var(--accent); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-intro { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .mega-dropdown { min-width: 480px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --topbar-h: 0px; --header-h: 64px; }
  .topbar { display: none; }
  .header { padding: 0 20px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; border-top: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.1); height: auto; gap: 0; }
  .main-nav.open { display: flex; }
  .nav-item { height: auto; width: 100%; }
  .nav-link { height: auto; padding: 12px 16px; border-bottom: 1px solid var(--border); border-right: none; }
  .nav-cta { margin: 12px 16px 0; text-align: center; display: block; }
  .mega-dropdown, .simple-dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 0 20px; display: none; min-width: unset; grid-template-columns: 1fr; }
  .nav-item.open .mega-dropdown, .nav-item.open .simple-dropdown { display: grid; }
  .burger { display: flex; }
  .about-container { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-intro { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
  .sectors-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .updates-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .section { padding: 60px 20px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   PRESTATIONS GRID (service pages)
═══════════════════════════════════════════════════════════ */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.prest-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 16px 18px;
  box-shadow: var(--shadow); transition: 0.25s;
}
.prest-item:hover { border-color: var(--accent); transform: translateX(4px); }
.prest-item i { color: var(--accent); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.prest-item span { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════
   SECTEUR — SERVICES GRID
═══════════════════════════════════════════════════════════ */
.secteur-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.secteur-service-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 20px;
  box-shadow: var(--shadow); transition: 0.25s;
  cursor: pointer;
}
.secteur-service-card:hover {
  border-color: var(--primary); transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26,69,72,0.12);
}
.ssc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-2); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: 0.25s;
}
.ssc-icon i { font-size: 20px; color: var(--primary); }
.secteur-service-card:hover .ssc-icon { background: var(--primary); }
.secteur-service-card:hover .ssc-icon i { color: #fff; }
.ssc-text h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.ssc-text span { font-size: 12px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.ssc-text span i { font-size: 11px; transition: transform 0.2s; }
.secteur-service-card:hover .ssc-text span i { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   CLIENTS GRID (références)
═══════════════════════════════════════════════════════════ */
.clients-grid {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.client-badge {
  background: var(--bg-light); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 14px 28px;
  font-size: 15px; font-weight: 700; color: var(--primary);
  transition: 0.25s;
}
.client-badge:hover { border-color: var(--accent); background: var(--accent-2); color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE — all services grid
═══════════════════════════════════════════════════════════ */
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.all-svc-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); transition: 0.3s; display: block;
}
.all-svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); border-color: var(--accent); }
.all-svc-img { height: 160px; overflow: hidden; position: relative; background: var(--bg-light); }
.all-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.all-svc-card:hover .all-svc-img img { transform: scale(1.07); }
.all-svc-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 600;
}
.all-svc-body { padding: 16px; }
.all-svc-body h3 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.all-svc-body p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.all-svc-link {
  font-size: 12px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 5px;
}
.all-svc-link i { font-size: 10px; transition: transform 0.2s; }
.all-svc-card:hover .all-svc-link i { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   MEGA DROPDOWN — wider for more links
═══════════════════════════════════════════════════════════ */
.mega-dropdown { min-width: 720px; }

@media (max-width: 1100px) {
  .mega-dropdown { min-width: 560px; grid-template-columns: 1fr 1fr; }
  .mega-col:last-child { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE ADDITIONS
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .prestations-grid { grid-template-columns: 1fr; }
  .secteur-services-grid { grid-template-columns: 1fr; }
  .clients-grid { gap: 10px; }
  .client-badge { padding: 10px 18px; font-size: 13px; }
  .all-services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .all-services-grid { grid-template-columns: 1fr; }
}
