/* ==========================================================================
   STYLE.CSS - GROUPE GRAZIANI (VERSION STABLE FINALE - JAUNE FLUO)
   ========================================================================== */

:root {
  --primary: #eeff00; /* Jaune Fluo */
  --primary-light: #f7ff80;
  --primary-shadow: rgba(238, 255, 0, 0.4);
  color-scheme: only light !important; /* Indique au navigateur de ne pas forcer de mode sombre */
}

/* 1. RESET COMPLET & FIX POINTS NOIRS */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0b0b0b;
  color: #e5e5e5;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

/* 2. PRELOADER - FIX CENTRAGE & ANIMATION */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader img {
  max-width: 200px;
  height: auto;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.6; filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
  50% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 20px rgba(255,255,255,0.5)); }
  100% { transform: scale(0.95); opacity: 0.6; filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
}

/* 3. HEADER & NAVIGATION */
header {
  position: fixed; top: 0; left: 0; width: 100%; padding: 20px 60px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 10, 10, 0.85);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  transition: 0.4s ease; z-index: 2000;
  box-sizing: border-box;
}
header.scrolled { background: rgba(0, 0, 0, 0.95); box-shadow: 0 10px 40px rgba(0,0,0,0.8); }
header .logo-header { height: auto; width: 220px; display: block; object-fit: contain; }

nav { display: flex; gap: 30px; align-items: center; }
nav a { color: #fff; font-weight: 600; font-size: 14px; position: relative; transition: 0.3s; }

nav a:not(.nav-btn)::after { 
  content: ""; position: absolute; width: 0; height: 3px; left: 0; bottom: -6px; 
  background: var(--primary); transition: 0.4s; 
}
nav a:not(.nav-btn):hover::after, nav a.active::after { width: 100%; }

/* BOUTON DEVIS */
.nav-btn {
  background: linear-gradient(45deg, var(--primary), var(--primary-light)) !important;
  padding: 10px 25px !important; 
  border-radius: 30px !important;
  color: #000 !important;
  display: inline-block !important;
  transition: 0.4s !important;
  text-align: center;
  font-weight: 700;
}
.nav-btn:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 20px var(--primary-shadow) !important; }

/* Ligne jaune : suit automatiquement le bas du header */
.industrial-line { display: none; }
header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), transparent);
  pointer-events: none;
}

/* 4. HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* small viewport, évite le saut avec la barre d'adresse mobile */
  min-height: 560px;
  width: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; overflow: hidden;
}
.hero video { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: opacity 0.6s ease; }
.hero video.hero-video-b { opacity: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.2), rgba(0,0,0,0.8)); z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 0%, rgba(11,11,11,0.6) 45%, #0b0b0b 100%);
  z-index: 1;
  pointer-events: none;
}
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
.scroll-indicator span {
  color: rgba(255,255,255,0.75);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.scroll-indicator i {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  display: block;
}
@keyframes scroll-pulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.65; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@media (max-width: 900px) {
  .hero::after { height: 160px; }
  .scroll-indicator { bottom: 22px; }
  .scroll-indicator i { height: 32px; }
}
.hero h2 { font-family: 'Oswald', sans-serif; font-size: clamp(30px, 8vw, 65px); color: #fff; margin-bottom: 20px; }
.hero .hero-logo { max-width: 500px; width: 70%; height: auto; margin-bottom: 25px; }
.hero p { font-size: clamp(14px, 2vw, 20px); margin-bottom: 30px; color: #eee; }

.btn-hero {
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  padding: 16px 45px; border-radius: 50px; color: #000 !important; 
  font-weight: 700; transition: 0.4s; display: inline-block;
}
.btn-hero:hover { transform: translateY(-4px); box-shadow: 0 15px 30px var(--primary-shadow); }

/* 5. MAIN CONTENT */
main { padding: 160px 60px 100px; max-width: 1200px; margin: auto; }
main h2 { font-family: 'Oswald', sans-serif; font-size: 38px; margin-bottom: 40px; position: relative; color: #fff; }
main h2::after { content: ""; width: 60px; height: 4px; background: var(--primary); position: absolute; left: 0; bottom: -12px; }
main p { line-height: 1.7; margin-bottom: 50px; font-size: 17px; color: #bbb; }

/* 6. GRILLES ET CARTES */
.companies, .services { 
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 50px; width: 100%;
}

.card, .service-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px; 
  width: 320px; 
  padding: 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 1 !important;
  visibility: visible !important;
}

.card:hover, .service-card:hover {
  transform: translateY(-15px) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 20px 40px var(--primary-shadow) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.card img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 25px; }

.service-card { padding: 0 0 30px 0; overflow: hidden; }
.service-card img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 20px; border-radius: 0; }

.card h4, .service-card h3, .service-card h4 { font-family: 'Oswald', sans-serif; font-size: 22px; margin-bottom: 15px; color: #fff; }
.card ul li, .service-card ul li { color: #aaa; margin-bottom: 8px; font-size: 14px; }

/* 7. STATS */
.stat h3 { font-family: 'Oswald', sans-serif; font-size: 50px; color: var(--primary); }
.stat span { font-size: 13px; color: #777; text-transform: uppercase; letter-spacing: 1px; }

/* 8. FOOTER */
footer { background: #000; padding: 80px 60px 40px; border-top: 1px solid #111; margin-top: 80px; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: auto; }
.footer-col h4 { font-family: 'Oswald', sans-serif; margin-bottom: 25px; color: #fff; font-size: 18px; }
.footer-col .logo-footer { max-width: 100px; height: auto; margin: 0 auto 10px; display: block; }
.footer-col:first-child { text-align: center; }
.footer-col:first-child p { text-align: center; }
.footer-col a, .footer-col p { color: #666; font-size: 14px; margin-bottom: 12px; display: block; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; margin-top: 50px; color: #333; font-size: 12px; border-top: 1px solid #111; padding-top: 20px; }

/* 9. MOBILE */
@media (max-width: 900px) {
  header { padding: 14px 18px; }
  header .logo-header { width: 150px; }
  .hamburger {
    display: flex; cursor: pointer; flex-direction: column; gap: 5px;
    z-index: 3500; position: relative;
    padding: 8px;
  }
  .hamburger span { width: 25px; height: 3px; background: #fff; border-radius: 2px; transition: 0.3s; }
  nav {
    position: fixed;
    right: -100%;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100svh;
    width: 85%;
    max-width: 340px;
    background: rgba(0,0,0,0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    z-index: 3000;
    transition: right 0.4s ease;
    padding: 100px 25px 40px;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,0.7);
  }
  nav.active { right: 0; }
  nav > a {
    width: 100%;
    text-align: center;
    padding: 6px 0;
    font-size: 15px;
  }
  main { padding: 140px 20px 60px; }
}

/* CORRECTIF D'ÉLÉVATION ET COULEURS SAMSUNG */
.card, .service-card, .social-card {
    transition: transform 0.3s ease, box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.card:hover, .service-card:hover, .social-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 20px 40px var(--primary-shadow) !important;
}

/* ULTIME CORRECTIF SAMSUNG INTERNET */
.nav-btn, .btn-hero, .industrial-line, .stat h3, main h2::after {
  forced-color-adjust: none !important;
  transform: translateZ(0);
}

@media screen and (prefers-color-scheme: dark) {
  .nav-btn, .btn-hero {
    background: #eeff00 !important;
    color: #000000 !important;
  }
}

/* ==========================================================================
   10. PAGE D'ACCUEIL — REDESIGN
   ========================================================================== */
.home-main {
    position: relative;
    padding: 100px 24px 100px;
    overflow: hidden;
    max-width: none;
    margin: 0;
    width: 100%;
}
.home-main > * { position: relative; z-index: 1; }

.home-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(900px circle at 12% 18%, rgba(238,255,0,0.07), transparent 55%),
        radial-gradient(900px circle at 88% 75%, rgba(238,255,0,0.05), transparent 55%),
        radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1.5px) 0 0 / 22px 22px;
    pointer-events: none;
}
.home-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.45;
    mix-blend-mode: overlay;
}

/* En-tête d'intro */
.home-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 90px;
}
.home-intro .eyebrow {
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
}
.home-intro h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}
.home-intro h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 70px;
    height: 4px;
    background: var(--primary);
}
.home-intro .lead {
    color: #b5b5b5;
    font-size: 16px;
    line-height: 1.75;
    margin: 35px 0 0;
}

/* Showcases entreprises */
.company-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 60px auto;
    max-width: 1240px;
    padding: 50px 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow:
        0 25px 70px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.company-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    box-shadow: 0 0 18px rgba(238,255,0,0.3);
}
.company-showcase:nth-of-type(even) {
    background: linear-gradient(225deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
}
.company-showcase:nth-of-type(even)::before {
    left: auto;
    right: 0;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
}
.company-showcase:nth-of-type(even) .showcase-image { grid-column: 2; }
.company-showcase:nth-of-type(even) .showcase-content { grid-column: 1; grid-row: 1; }

.showcase-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    background: #0d0d0d;
}
.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.showcase-image.logo-display {
    background:
        radial-gradient(circle at center, rgba(238,255,0,0.06), transparent 60%),
        linear-gradient(135deg, #1a1a1a, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
}
.showcase-image.logo-display .big-logo {
    width: 55%;
    height: 55%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.7));
}
.showcase-image.has-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    pointer-events: none;
}
.showcase-image img.image-logo-overlay {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(238,255,0,0.25);
    border-radius: 14px;
    padding: 10px;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: none;
}
.company-showcase:hover .showcase-image img.image-logo-overlay {
    transform: none;
}
.company-showcase:hover .showcase-image img,
.company-showcase:hover .showcase-image .big-logo {
    transform: scale(1.05);
}
.showcase-counter {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--primary);
    color: #000;
    padding: 7px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(238,255,0,0.3);
}
.showcase-counter.pending {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(238,255,0,0.4);
    box-shadow: none;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.showcase-eyebrow {
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}
.showcase-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    align-self: flex-start;
    background: rgba(255,255,255,0.04);
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 5px;
}
.showcase-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    color: #fff;
    line-height: 1.05;
    letter-spacing: 0.5px;
}
.showcase-tagline {
    color: #b5b5b5;
    font-size: 16px;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 5px !important;
}
.showcase-tags {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 5px 0 10px;
}
.showcase-tags li {
    list-style: none;
    background: rgba(238,255,0,0.07);
    border: 1px solid rgba(238,255,0,0.22);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.showcase-desc {
    color: #c5c5c5;
    line-height: 1.75;
    font-size: 15px;
    margin: 0 0 8px !important;
}
.showcase-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}
.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light)) !important;
    color: #000 !important;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    transition: 0.3s;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-shadow);
}
.btn-secondary {
    color: #fff !important;
    padding: 14px 4px;
    transition: 0.3s;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
}
.btn-secondary:hover {
    color: var(--primary) !important;
    border-bottom-color: var(--primary);
    transform: translateX(4px);
}

/* RESPONSIVE — page d'accueil */
@media (max-width: 900px) {
    .home-main { padding: 120px 18px 70px; }
    .home-intro { margin-bottom: 60px; }
    .home-intro .eyebrow { font-size: 11px; letter-spacing: 3px; }
    .home-intro h2 { font-size: 32px; }
    .home-intro .lead { font-size: 15px; margin-top: 28px; }

    .company-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px 22px;
        margin: 50px 0;
    }
    .company-showcase:nth-of-type(even) .showcase-image { grid-column: 1; }
    .company-showcase:nth-of-type(even) .showcase-content { grid-column: 1; grid-row: 2; }
    .showcase-content h3 { font-size: 26px; }
    .showcase-image.logo-display .big-logo { width: 60%; height: 60%; }
    .showcase-image img.image-logo-overlay { width: 65px; height: 65px; top: 12px; right: 12px; padding: 7px; }
    .showcase-tagline { font-size: 15px; }
    .showcase-desc { font-size: 14.5px; }
    .showcase-actions { gap: 14px; }
    .btn-primary, .btn-secondary { padding: 12px 22px; font-size: 12px; }
}

/* ==========================================================================
   12. DROPDOWN NAVIGATION
   ========================================================================== */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    cursor: pointer;
    padding-right: 14px;
}
.nav-dropdown-toggle::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -2px;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--primary);
    transition: transform 0.3s ease;
    transform-origin: 50% 30%;
}
.nav-dropdown.open .nav-dropdown-toggle::before,
.nav-dropdown:hover .nav-dropdown-toggle::before {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(8,8,8,0.97);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(238,255,0,0.25);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 2100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(238,255,0,0.1);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(8,8,8,0.97);
    border-left: 1px solid rgba(238,255,0,0.25);
    border-top: 1px solid rgba(238,255,0,0.25);
}
.nav-dropdown-menu a {
    display: block !important;
    padding: 11px 22px !important;
    font-size: 13px;
    color: #ddd !important;
    transition: 0.3s;
    border-radius: 0;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
    background: rgba(238,255,0,0.08);
    color: var(--primary) !important;
    padding-left: 28px !important;
}
.nav-dropdown-menu a.active {
    color: var(--primary) !important;
    background: rgba(238,255,0,0.06);
}
.nav-dropdown-menu a.active::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}
.nav-dropdown-menu a { position: relative; }

/* ==========================================================================
   11. PAGE RÉALISATIONS — NOUVEAU DESIGN ÉDITORIAL
   ========================================================================== */
.realisations-page {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

/* HERO de la page Réalisations */
.realisations-hero {
    position: relative;
    padding: 160px 24px 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background:
        radial-gradient(800px circle at 50% 0%, rgba(238,255,0,0.06), transparent 60%),
        #0b0b0b;
}
.hero-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.realisations-hero .hero-logo {
    display: block;
    width: clamp(140px, 22vw, 220px);
    height: auto;
    margin: 0 auto 40px;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.6));
}
.hero-lead {
    color: #c0c0c0;
    line-height: 1.8;
    font-size: 16px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* SECTION RÉALISATION (alternée) */
.realisation {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}
.realisation:nth-of-type(odd) {
    background: rgba(255,255,255,0.018);
}
.realisation:not(:last-of-type) {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.realisation-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}
.realisation-media,
.realisation-content { min-width: 0; }
.realisation:nth-of-type(even) .realisation-media {
    grid-column: 2; grid-row: 1;
}
.realisation:nth-of-type(even) .realisation-content {
    grid-column: 1; grid-row: 1;
}

/* Galerie média : image principale + colonne de miniatures verticales */
.realisation-media .project-gallery {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin: 0;
    align-items: stretch;
}
.realisation:nth-of-type(even) .realisation-media .project-gallery {
    flex-direction: row-reverse;
}
.realisation-media .gallery-main {
    border-radius: 18px;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.07);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    min-height: 0;
    line-height: 0;
    flex: 1 1 auto;
    min-width: 0;
}
/* Boutons navigation + compteur du carousel */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(238,255,0,0.4);
    background: rgba(11,11,11,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
    padding: 0;
}
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover {
    background: var(--primary);
    color: #000;
}
.gallery-prev { left: 14px; }
.gallery-prev:hover { transform: translateY(-50%) translateX(-2px); }
.gallery-next { right: 14px; }
.gallery-next:hover { transform: translateY(-50%) translateX(2px); }
.gallery-counter {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(11,11,11,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.1);
}
.gallery-counter strong { color: var(--primary); font-weight: 700; }
@media (max-width: 600px) {
    .gallery-nav { width: 38px; height: 38px; opacity: 1; background: rgba(11,11,11,0.5); }
    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }
    .gallery-counter { font-size: 11px; padding: 4px 10px; top: 10px; right: 12px; }
    .gallery-dots { bottom: 10px; padding: 6px 12px; gap: 7px; }
    .gallery-dot { width: 7px; height: 7px; }
    .gallery-dot.active { width: 20px; }
}
.realisation-media .gallery-main img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.35s ease;
}
.realisation-media .gallery-main.is-loading img { opacity: 0; }

/* Miniatures verticales le long de l'image principale */
.realisation-media .gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 84px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 4px 2px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    align-self: stretch;
}
.realisation-media .gallery-thumbs::-webkit-scrollbar { width: 4px; }
.realisation-media .gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(238,255,0,0.4); border-radius: 2px; }
.realisation-media .gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.realisation-media .gallery-thumbs img {
    width: 100%;
    height: 64px;
    object-fit: contain;
    background: #0d0d0d;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
}
.realisation-media .gallery-thumbs img:hover {
    opacity: 1;
    transform: translateX(-2px);
}
.realisation:nth-of-type(even) .realisation-media .gallery-thumbs img:hover {
    transform: translateX(2px);
}
.realisation-media .gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(238,255,0,0.4);
}

/* Curseur "zoom" sur l'image principale */
.realisation-media .gallery-main img:not(.image-logo-overlay) { cursor: zoom-in; }

/* LIGHTBOX plein écran */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 60px 20px;
}
.lightbox.open {
    display: flex;
    opacity: 1;
}
.lightbox-stage {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 25px 80px rgba(0,0,0,0.8);
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(238,255,0,0.4);
    background: rgba(11,11,11,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--primary);
    color: #000;
}
.lightbox-close {
    top: 24px;
    right: 24px;
    font-size: 28px;
    line-height: 1;
}
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    background: rgba(11,11,11,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
}
.lightbox-counter strong { color: var(--primary); font-weight: 700; }
body.no-scroll { overflow: hidden; }

@media (max-width: 600px) {
    .lightbox { padding: 50px 10px; }
    .lightbox-close, .lightbox-nav { width: 42px; height: 42px; font-size: 16px; }
    .lightbox-close { top: 14px; right: 14px; font-size: 22px; }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
    .lightbox-counter { font-size: 12px; padding: 6px 14px; bottom: 18px; }
}

/* Dots overlay en bas de l'image principale */
.gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(11,11,11,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 8px 14px;
    z-index: 2;
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.4s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}
.gallery-dot:hover {
    background: var(--primary);
    transform: scale(1.25);
}
.gallery-dot.active {
    width: 24px;
    background: var(--primary);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(238,255,0,0.5);
    transform: none;
}
.gallery-dot.active:hover { transform: none; }

/* Contenu (chiffre + titre + meta + texte) */
.realisation-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.realisation-num {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(70px, 9vw, 110px);
    color: rgba(238,255,0,0.18);
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -2px;
}
.realisation-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(26px, 3.5vw, 38px);
    color: #fff;
    line-height: 1.1;
    margin: 0;
    letter-spacing: 0.5px;
}
.realisation-meta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(238,255,0,0.15);
    border-bottom: 1px solid rgba(238,255,0,0.15);
    margin: 5px 0;
    list-style: none;
}
.realisation-meta li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
}
.realisation-meta span {
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
}
.realisation-meta strong {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.realisation-desc {
    color: #c7c7c7;
    line-height: 1.85;
    font-size: 15.5px;
    margin: 0;
    font-weight: 300;
}

/* CTA en bas de page */
.realisations-cta {
    padding: 100px 24px;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(238,255,0,0.06), transparent 70%),
        linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
    border-top: 1px solid rgba(255,255,255,0.06);
}
.realisations-cta h3 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 18px;
    line-height: 1.1;
}
.realisations-cta p {
    color: #b5b5b5;
    margin: 0 auto 35px;
    font-size: 16px;
    max-width: 540px;
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .realisations-hero {
        padding: 130px 18px 60px;
    }
    .hero-lead { font-size: 15px; margin: 45px auto 40px; }
    .hero-stats { gap: 40px; }
    .hero-stats li:not(:last-child)::after { right: -20px; }
    .hero-eyebrow { font-size: 11px; padding: 5px 14px; }

    .realisation { padding: 60px 18px; }
    .realisation-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }
    .realisation:nth-of-type(even) .realisation-media {
        grid-column: 1; grid-row: 1;
    }
    .realisation:nth-of-type(even) .realisation-content {
        grid-column: 1; grid-row: 2;
    }
    .realisation-num { font-size: 60px; }
    .realisation-meta { gap: 24px; padding: 15px 0; }
    .realisation-meta strong { font-size: 16px; }
    .realisation-desc { font-size: 15px; line-height: 1.75; }

    /* Miniatures repassent en bande horizontale sous l'image */
    .realisation-media .project-gallery,
    .realisation:nth-of-type(even) .realisation-media .project-gallery {
        flex-direction: column;
    }
    .realisation-media .gallery-thumbs {
        flex: none;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 2px 8px;
    }
    .realisation-media .gallery-thumbs img {
        width: 90px;
        height: 64px;
        flex: 0 0 90px;
    }
    .realisation-media .gallery-thumbs img:hover,
    .realisation:nth-of-type(even) .realisation-media .gallery-thumbs img:hover {
        transform: translateY(-2px);
    }

    .realisations-cta { padding: 70px 18px; }
}

/* =========== Ancienne galerie projets (legacy, à conserver pour compat) =========== */
.projects-page { max-width: 1300px; }
.projects-intro {
    font-size: 17px;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 70px;
    max-width: 900px;
}

.project {
    margin-bottom: 90px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.project:last-of-type { border-bottom: none; }

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(238,255,0,0.15);
}
.project-header h3 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 28px;
    letter-spacing: 0.5px;
}
.project-tag {
    background: rgba(238,255,0,0.12);
    color: var(--primary);
    border: 1px solid rgba(238,255,0,0.35);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Layout : galerie en haut, infos en bas */
.project-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 25px;
}

/* Galerie : image principale + colonne miniatures collées à droite */
.project-gallery {
    display: flex;
    gap: 14px;
    align-items: stretch;
    align-self: center;
    max-width: 100%;
}
.gallery-main {
    border-radius: 16px;
    overflow: hidden;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 70vh;
    min-height: 320px;
    position: relative;
    line-height: 0;
    flex: 0 1 auto;
    width: auto;
}
.gallery-main img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    display: block;
    transition: opacity 0.35s ease;
}
.gallery-main.is-loading img { opacity: 0; }

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 4px 2px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    flex: 0 0 110px;
    width: 110px;
}
.gallery-thumbs::-webkit-scrollbar { width: 6px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(238,255,0,0.4); border-radius: 3px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }

.gallery-thumbs img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    background: #0d0d0d;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    flex-shrink: 0;
}
.gallery-thumbs img:hover {
    opacity: 1;
    transform: translateX(-3px);
}
.gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(238,255,0,0.4);
}

/* Bloc d'info sous la galerie */
.project-info {
    border-left: 2px solid var(--primary);
    padding: 4px 0 4px 24px;
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
}
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
    margin-bottom: 22px;
}
.project-meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.project-meta .meta-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
}
.project-meta .meta-value {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.5px;
}
.project-info p.project-text {
    font-size: 16px;
    color: #d0d0d0;
    line-height: 1.85;
    margin: 0;
    font-weight: 300;
}

.projects-cta {
    text-align: center;
    margin-top: 40px;
}

/* Bloc "page en cours" */
.coming-soon {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--primary);
    border-radius: 0 16px 16px 0;
    padding: 50px 45px;
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
}
.coming-soon-tag {
    display: inline-block;
    background: rgba(238,255,0,0.12);
    color: var(--primary);
    border: 1px solid rgba(238,255,0,0.35);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.coming-soon h3 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 26px;
    margin-bottom: 18px;
}
.coming-soon p {
    color: #c2c2c2;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}
@media (max-width: 900px) {
    .coming-soon { padding: 35px 25px; margin: 40px auto; }
    .coming-soon h3 { font-size: 22px; }
    .coming-soon p { font-size: 15px; }
}

/* RESPONSIVE — page projets */
@media (max-width: 900px) {
    .projects-page { padding: 130px 18px 60px; }
    .projects-intro { font-size: 15px; margin-bottom: 50px; }

    .project { margin-bottom: 60px; padding-bottom: 40px; }
    .project-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .project-header h3 { font-size: 22px; line-height: 1.25; }
    .project-tag { font-size: 11px; padding: 5px 14px; }

    .project-gallery {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-self: stretch;
    }
    .gallery-main {
        min-height: 220px;
        max-height: 55vh;
        width: 100%;
    }
    .gallery-main img { max-height: 55vh; max-width: 100%; }
    .gallery-thumbs {
        flex-direction: row;
        flex: none;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 2px 8px;
    }
    .gallery-thumbs::-webkit-scrollbar { width: auto; height: 5px; }
    .gallery-thumbs img {
        width: 95px;
        height: 72px;
        flex: 0 0 95px;
    }
    .gallery-thumbs img:hover { transform: translateY(-2px); }

    .project-info { padding: 2px 0 2px 16px; }
    .project-meta { gap: 18px 30px; margin-bottom: 16px; }
    .project-meta .meta-value { font-size: 16px; }
    .project-info p.project-text { font-size: 15px; line-height: 1.75; }
}

/* RESPONSIVE — section "Nos Réalisations" en home */
@media (max-width: 900px) {
    .realisations { margin-top: 70px; }
    .realisations .realisations-subtitle { font-size: 14px; margin-bottom: 30px; }
}

/* RESPONSIVE — dropdown nav mobile */
@media (max-width: 900px) {
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }
    .nav-dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 5px 0;
        width: 100%;
        text-align: center;
        position: relative;
    }
    /* Sur mobile la flèche est inline à droite du texte (pas absolute) */
    .nav-dropdown-toggle::before {
        position: static;
        right: auto;
        top: auto;
        margin-top: 0;
        display: inline-block;
    }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 4px 0 12px;
        min-width: 0;
        display: none;
        text-align: center;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; transform: none; }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown-menu a {
        padding: 8px 0 !important;
        text-align: center;
        font-size: 12px;
        opacity: 0.8;
        display: block !important;
    }
    .nav-dropdown-menu a:hover { padding-left: 0 !important; opacity: 1; }
}