/* Styles des pages de type « realisation » (chargés après base.css). */

:root {
      --orange: #E8631A; --navy: #1C2B45;
      --text: #2C3A4F; --text-mid: #5A6A7E;
      --border: #E4E9EF; --bg: #fff; --bg-grey: #F6F8FA;
      --f: "Outfit", sans-serif; --banner-h: 0px;
    }

.announce-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: var(--banner-h); background: var(--navy); display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 0 3rem; transition: height .3s, opacity .3s; }

.announce-bar.closed { height: 0; opacity: 0; }

.announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 2s ease infinite; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

.announce-text { font-size: .78rem; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.announce-text strong { color: var(--orange); margin-right: 4px; }

.announce-close { background: none; border: none; color: rgba(255,255,255,.5); cursor: pointer; font-size: 1rem; padding: 4px; margin-left: .5rem; }

nav { position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 100; height: 80px; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: box-shadow .3s; }

nav.scrolled { box-shadow: 0 2px 16px rgba(28,43,69,.08); }

.nav-inner { max-width: 1200px; width: 100%; padding: 0 4rem; display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.ns { width: 1px; height: 28px; background: var(--border); }

.nt { display: flex; flex-direction: column; gap: 1px; }

.nt-n { font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; color: var(--navy); line-height: 1; }

.nt-s { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #8A97A8; }

.nav-links { list-style: none; display: flex; align-items: center; }

.nav-links a { display: block; padding: 0 1rem; font-size: .82rem; font-weight: 500; color: #5A6A7E; text-decoration: none; transition: color .2s; }

.nav-links a:hover { color: var(--navy); }

.nav-links a.active { color: var(--orange); font-weight: 600; }

.nav-cta { margin-left: .8rem; background: var(--orange) !important; color: #fff !important; padding: .48rem 1.2rem !important; border-radius: 4px; font-weight: 600 !important; }

.nav-phone { display: flex; align-items: center; gap: 6px; margin-left: 1.2rem; padding-left: 1.2rem; border-left: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--navy); text-decoration: none; }

.nav-phone svg { width: 14px; height: 14px; stroke: var(--orange); fill: none; stroke-width: 2; }

.nav-linkedin { display: inline-block; width: 32px; height: 32px; margin-left: .7rem; vertical-align: middle; }

.nav-linkedin svg { width: 32px; height: 32px; display: block; }

.nav-lang { display: flex; align-items: center; gap: 2px; margin-left: .9rem; }

.nav-lang button, .nav-lang a { background: none; border: none; cursor: pointer; padding: 3px 6px; border-radius: 4px; font-size: .74rem; font-weight: 600; color: #8A97A8; font-family: var(--f); }

.nav-lang button, .nav-lang a.active { color: var(--navy); background: var(--bg-grey); }

.nav-lang-sep { color: var(--border); font-size: .7rem; }

.wrap {
      max-width: 1200px; margin: 0 auto;
      padding: calc(var(--banner-h) + 80px + 3.5rem) 4rem 5rem;
    }

.bc { font-size: .8rem; color: #8A97A8; margin-bottom: 2rem; }

.bc a { color: var(--orange); text-decoration: none; }

.bc a:hover { text-decoration: underline; }

.sector-tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; display: flex; align-items: center; gap: 8px; }

.sector-tag::before { content: ""; width: 18px; height: 2px; background: var(--orange); }

h1 { font-size: 2.4rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; margin-bottom: 2.5rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.gallery {
      position: sticky; top: 140px;
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
    }

.gallery-item {
      position: relative; border-radius: 8px; overflow: hidden;
      border: 1px solid var(--border); background: var(--bg-grey);
      display: flex; align-items: center; justify-content: center;
      cursor: zoom-in; aspect-ratio: 4 / 3;
    }

.gallery-item img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform 0.4s ease; }

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item::after {
      content: "";
      position: absolute; top: 8px; right: 8px;
      width: 28px; height: 28px; border-radius: 50%;
      background: rgba(28,43,69,0.7);
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.35-4.35'/><path d='M11 8v6M8 11h6'/></svg>");
      background-repeat: no-repeat; background-position: center; background-size: 14px;
      opacity: 0; transition: opacity 0.25s;
      pointer-events: none;
    }

.gallery-item:hover::after { opacity: 1; }

.lightbox {
      position: fixed; inset: 0; z-index: 300;
      background: rgba(16,20,28,0.94);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; visibility: hidden;
      transition: opacity 0.25s ease;
      padding: 5vh 5vw;
    }

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-figure { position: relative; max-width: 88vw; max-height: 84vh; display: flex; flex-direction: column; align-items: center; }

.lightbox img {
      display: block; max-width: 88vw; max-height: 76vh;
      width: auto; height: auto;
      border-radius: 6px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      background: #fff;
      opacity: 0; transform: scale(0.97);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

.lightbox img.loaded { opacity: 1; transform: none; }

.lightbox-caption { margin-top: 1rem; color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500; text-align: center; max-width: 80vw; }

.lightbox-counter { margin-top: 0.3rem; color: rgba(255,255,255,0.45); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; }

.lightbox-close {
      position: absolute; top: 22px; right: 22px;
      width: 42px; height: 42px; border-radius: 50%;
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
      color: #fff; font-size: 1.3rem; line-height: 1;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.2s;
    }

.lightbox-close:hover { background: rgba(255,255,255,0.18); }

.lightbox-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
      color: #fff; display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background 0.2s;
    }

.lightbox-nav:hover { background: rgba(255,255,255,0.18); }

.lightbox-nav svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }

.lightbox-prev { left: 2vw; }

.lightbox-next { right: 2vw; }

@media (max-width: 640px) {
      .lightbox-prev { left: 8px; }
      .lightbox-next { right: 8px; }
      .lightbox-nav { width: 40px; height: 40px; }
      .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
    }

.list-title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 2px solid var(--orange); display: inline-block; }

.project-list { list-style: none; }

.project-list li { font-size: 1rem; font-weight: 400; line-height: 1.6; color: var(--text); padding: .9rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: .75rem; }

.project-list li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); margin-top: .5rem; }

.back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-mid); text-decoration: none; padding: 0.7rem 1.4rem; border: 1.5px solid var(--border); border-radius: 4px; transition: all 0.2s; margin-top: 3rem; }

.back:hover { color: var(--navy); border-color: var(--navy); }

.back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

@media (max-width: 1024px) { .nav-inner, .wrap { padding-left: 2rem; padding-right: 2rem; } .split { grid-template-columns: 1fr !important; gap: 2rem; } .gallery { position: static; } }

@media (max-width: 640px) { .nav-links { display: none; } }

@media (max-width: 1024px) {
      .nav-links { display: none !important; }
      .nav-phone { display: none !important; }
      .nav-phone { display: none !important; }
      .nav-linkedin, .nav-linkedin { display: none !important; }
    }

@media (max-width: 768px) {
      .nav-lang, .nav-lang { margin-left: 0.5rem; }
    }

.nav-logo img { height: 64px; width: auto; display: block; }

.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.7rem; }

@media (max-width: 1024px) {
      .cta-inner { padding: 3rem 2rem; }
      .ft { padding: 0 2rem 3rem; grid-template-columns: 1fr 1fr; }
      .fb { padding: 1.4rem 2rem 0; }
    }

@media (max-width: 640px) {
      .ft { grid-template-columns: 1fr; }
      .cta-inner h2 { white-space: normal; }
    }
