/* ────────────────────────────────────────────────────────
   PALETTE & RESET
   ──────────────────────────────────────────────────────── */
:root {
  --bg:        #0D0D0D;
  --surface:   #161616;
  --card:      #1E1E1E;
  --accent:    #F5C500;
  --accent-lo: rgba(245,197,0,.10);
  --accent-md: rgba(245,197,0,.20);
  --text:      #F0F0F0;
  --muted:     #888888;
  --border:    #282828;
  --nav-h:     66px;
  --max-w:     1160px;
  --r:         10px;
  --r-sm:      6px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img { display:block; max-width:100%; }
a   { color:inherit; text-decoration:none; }

/* ────────────────────────────────────────────────────────
   NAVIGATION
   ──────────────────────────────────────────────────────── */
.nav {
  position:fixed;
  top:0; left:0; right:0;
  height:var(--nav-h);
  z-index:1000;
  transition:background .3s, border-color .3s;
  border-bottom:1px solid transparent;
}
.nav.scrolled {
  background:rgba(13,13,13,.94);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-color:var(--border);
}
.nav__inner {
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 2rem;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav__logo {
  font-size:1.25rem;
  font-weight:800;
  letter-spacing:-.03em;
  color:var(--text);
}
.nav__logo span { color:var(--accent); }

.nav__links {
  display:flex;
  gap:1.75rem;
  list-style:none;
}
.nav__links a {
  color:var(--muted);
  font-size:.875rem;
  font-weight:500;
  transition:color .2s;
  position:relative;
  padding-bottom:2px;
}
.nav__links a::after {
  content:'';
  position:absolute;
  bottom:-2px; left:0; right:0;
  height:1.5px;
  background:var(--accent);
  transform:scaleX(0);
  transition:transform .2s;
  transform-origin:left;
}
.nav__links a:hover        { color:var(--text); }
.nav__links a.active       { color:var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { transform:scaleX(1); }

.nav__burger {
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:.4rem;
  flex-direction:column;
  gap:5px;
}
.nav__burger span {
  display:block;
  width:22px;
  height:1.5px;
  background:var(--text);
  transition:.25s;
}
.nav__burger.open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2){ opacity:0; }
.nav__burger.open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* ────────────────────────────────────────────────────────
   HERO (accueil)
   ──────────────────────────────────────────────────────── */
.hero {
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:calc(var(--nav-h) + 5rem) 2rem 6rem;
  position:relative;
  overflow:hidden;
}
.hero__glow {
  position:absolute;
  width:800px; height:800px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(245,197,0,.06) 0%, transparent 65%);
  right:-200px; top:50%;
  transform:translateY(-50%);
  pointer-events:none;
}
.hero__glow2 {
  position:absolute;
  width:400px; height:400px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(245,197,0,.04) 0%, transparent 70%);
  left:-100px; bottom:10%;
  pointer-events:none;
}
.hero__content {
  max-width:var(--max-w);
  margin:0 auto;
  width:100%;
  position:relative;
  z-index:1;
}
.hero__chip {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:var(--accent-lo);
  border:1px solid var(--accent-md);
  color:var(--accent);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:.35rem .85rem;
  border-radius:100px;
  margin-bottom:1.75rem;
}
.hero__chip::before {
  content:'';
  display:inline-block;
  width:6px; height:6px;
  background:var(--accent);
  border-radius:50%;
}
.hero__name {
  font-size:clamp(3rem,8vw,6.5rem);
  font-weight:800;
  line-height:.95;
  letter-spacing:-.04em;
  margin-bottom:1.25rem;
}
.hero__name em {
  font-style:normal;
  color:var(--accent);
}
.hero__role {
  font-size:clamp(1rem,2vw,1.3rem);
  color:var(--muted);
  margin-bottom:1.75rem;
  font-weight:400;
  letter-spacing:-.01em;
}
.hero__para {
  font-size:1rem;
  color:var(--muted);
  max-width:560px;
  line-height:1.75;
  margin-bottom:2.5rem;
}
.hero__cta {
  display:flex;
  gap:.85rem;
  flex-wrap:wrap;
  margin-bottom:4rem;
}
.hero__stats {
  display:flex;
  gap:3rem;
  flex-wrap:wrap;
  padding-top:2.5rem;
  border-top:1px solid var(--border);
}
.stat__n {
  font-size:2.2rem;
  font-weight:800;
  color:var(--accent);
  letter-spacing:-.03em;
  line-height:1;
}
.stat__l {
  font-size:.8rem;
  color:var(--muted);
  margin-top:.3rem;
  line-height:1.3;
}

/* ────────────────────────────────────────────────────────
   PAGE HEADER (inner pages)
   ──────────────────────────────────────────────────────── */
.page-hdr {
  padding:calc(var(--nav-h) + 5rem) 2rem 4rem;
  max-width:var(--max-w);
  margin:0 auto;
}
.page-hdr__chip {
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:.85rem;
  display:block;
}
.page-hdr__title {
  font-size:clamp(2.2rem,6vw,4rem);
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.05;
  margin-bottom:1rem;
}
.page-hdr__sub {
  font-size:1rem;
  color:var(--muted);
  max-width:560px;
  line-height:1.7;
}

/* ────────────────────────────────────────────────────────
   BUTTONS
   ──────────────────────────────────────────────────────── */
.btn {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.8rem 1.65rem;
  border-radius:var(--r-sm);
  font-size:.875rem;
  font-weight:600;
  transition:.18s;
  cursor:pointer;
  border:none;
  white-space:nowrap;
}
.btn--primary { background:var(--accent); color:#0D0D0D; }
.btn--primary:hover { background:#FFD93D; transform:translateY(-1px); }
.btn--outline {
  background:transparent;
  color:var(--text);
  border:1px solid var(--border);
}
.btn--outline:hover { border-color:var(--accent); color:var(--accent); }

/* ────────────────────────────────────────────────────────
   SECTIONS
   ──────────────────────────────────────────────────────── */
.section { padding:5rem 2rem; }
.section--alt { background:var(--surface); }
.section__inner { max-width:var(--max-w); margin:0 auto; }
.section__eyebrow {
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:.65rem;
  display:block;
}
.section__title {
  font-size:clamp(1.5rem,3.5vw,2.4rem);
  font-weight:800;
  letter-spacing:-.03em;
  margin-bottom:2.5rem;
}

/* ────────────────────────────────────────────────────────
   SERVICE CARDS (accueil)
   ──────────────────────────────────────────────────────── */
.services {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.25rem;
}
.svc {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:1.75rem;
  display:block;
  transition:border-color .2s, transform .2s;
}
.svc:hover { border-color:rgba(245,197,0,.35); transform:translateY(-3px); }
.svc__icon {
  width:42px; height:42px;
  background:var(--accent-lo);
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  margin-bottom:1.25rem;
  border:1px solid var(--accent-md);
}
.svc__title {
  font-size:1rem;
  font-weight:700;
  margin-bottom:.5rem;
}
.svc__text {
  font-size:.875rem;
  color:var(--muted);
  line-height:1.65;
}
.svc__arrow {
  display:inline-block;
  margin-top:1rem;
  font-size:.8rem;
  color:var(--accent);
  font-weight:600;
}

/* ────────────────────────────────────────────────────────
   PROJECT CARDS
   ──────────────────────────────────────────────────────── */
.proj-grid {
  display:grid;
  gap:1.5rem;
}
.proj-grid--2 { grid-template-columns:repeat(2,1fr); }

.proj {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r);
  overflow:hidden;
  transition:border-color .2s, transform .18s;
}
.proj:hover { border-color:rgba(245,197,0,.3); transform:translateY(-2px); }

/* Featured: side by side */
.proj--featured {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-column:1 / -1;
}
.proj--featured .proj__media {
  aspect-ratio:auto;
  min-height:300px;
}

.proj__media {
  aspect-ratio:16/9;
  background:var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:.4rem;
  position:relative;
  flex-shrink:0;
}
.proj__media-icon {
  font-size:2rem;
  opacity:.25;
}
.proj__media-txt {
  font-size:.78rem;
  color:var(--muted);
  text-align:center;
  padding:0 1.5rem;
  line-height:1.4;
}
.proj__media-badge {
  position:absolute;
  top:.75rem; left:.75rem;
  background:rgba(0,0,0,.7);
  backdrop-filter:blur(8px);
  color:var(--accent);
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.25rem .6rem;
  border-radius:100px;
  border:1px solid rgba(245,197,0,.2);
}

.proj__body { padding:2rem; }

.proj__meta {
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
  margin-bottom:1rem;
}
.proj__badge {
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  background:var(--accent-lo);
  padding:.2rem .6rem;
  border-radius:100px;
  border:1px solid var(--accent-md);
}
.proj__client {
  font-size:.78rem;
  color:var(--muted);
}

.proj__title {
  font-size:1.2rem;
  font-weight:700;
  line-height:1.3;
  margin-bottom:.75rem;
  letter-spacing:-.02em;
}
.proj__desc {
  font-size:.875rem;
  color:var(--muted);
  line-height:1.7;
  margin-bottom:1.25rem;
}

.proj__rows {
  border-top:1px solid var(--border);
  padding-top:1.25rem;
  display:flex;
  flex-direction:column;
  gap:.45rem;
}
.proj__row {
  display:flex;
  gap:.5rem;
  font-size:.82rem;
}
.proj__row-lbl {
  color:var(--muted);
  min-width:85px;
  flex-shrink:0;
}
.proj__row-val { color:var(--text); line-height:1.45; }

.proj__tags {
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-top:1.25rem;
}
.tag {
  font-size:.72rem;
  background:var(--surface);
  color:var(--muted);
  padding:.2rem .55rem;
  border-radius:4px;
  border:1px solid var(--border);
}

.proj__quote {
  background:var(--accent-lo);
  border-left:2px solid var(--accent);
  padding:.85rem 1rem;
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  margin-top:1.25rem;
  font-size:.83rem;
  color:var(--muted);
  font-style:italic;
  line-height:1.65;
}

/* ────────────────────────────────────────────────────────
   ABOUT PAGE
   ──────────────────────────────────────────────────────── */
.about-wrap {
  display:grid;
  grid-template-columns:340px 1fr;
  gap:4rem;
  align-items:start;
}
.about-photo {
  aspect-ratio:3/4;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:.5rem;
  color:var(--muted);
  font-size:.82rem;
  text-align:center;
  padding:1rem;
  position:sticky;
  top:calc(var(--nav-h) + 2rem);
}
.about-photo-icon { font-size:2.5rem; opacity:.2; }

.about-content h2 {
  font-size:1.4rem;
  font-weight:700;
  letter-spacing:-.025em;
  margin-bottom:.85rem;
  margin-top:2.5rem;
}
.about-content h2:first-child { margin-top:0; }
.about-content p {
  font-size:.925rem;
  color:var(--muted);
  line-height:1.75;
  margin-bottom:.85rem;
}
.about-content strong { color:var(--text); }

.values {
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-top:.5rem;
}
.val {
  display:flex;
  gap:1rem;
  align-items:flex-start;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:1rem 1.25rem;
}
.val__dot {
  width:8px; height:8px;
  background:var(--accent);
  border-radius:50%;
  margin-top:.35rem;
  flex-shrink:0;
}
.val__title {
  font-size:.9rem;
  font-weight:700;
  margin-bottom:.25rem;
}
.val__text {
  font-size:.85rem;
  color:var(--muted);
  line-height:1.6;
}

/* Contact */
.contact-box {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:2rem;
  margin-top:1rem;
}
.contact-row {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:.75rem 0;
  border-bottom:1px solid var(--border);
  font-size:.875rem;
}
.contact-row:last-child { border-bottom:none; }
.contact-icon {
  width:34px; height:34px;
  background:var(--accent-lo);
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.95rem;
  flex-shrink:0;
  border:1px solid var(--accent-md);
}
.contact-lbl { color:var(--muted); min-width:80px; font-size:.78rem; }
.contact-val { color:var(--text); }
.contact-val a { color:var(--accent); }

/* ────────────────────────────────────────────────────────
   SEPARATOR & FOOTER
   ──────────────────────────────────────────────────────── */
.sep {
  height:1px;
  background:var(--border);
  max-width:var(--max-w);
  margin:0 auto;
}
footer {
  border-top:1px solid var(--border);
  padding:2rem;
  text-align:center;
  font-size:.8rem;
  color:var(--muted);
  line-height:1.6;
}
footer a { color:var(--accent); }

/* ────────────────────────────────────────────────────────
   ANIMATIONS
   ──────────────────────────────────────────────────────── */
.fade {
  opacity:0;
  transform:translateY(18px);
  transition:opacity .5s ease, transform .5s ease;
}
.fade.visible { opacity:1; transform:translateY(0); }

/* ────────────────────────────────────────────────────────
   REAL IMAGES IN MEDIA SLOTS
   ──────────────────────────────────────────────────────── */
.proj__media img,
.proj__media video {
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}

/* ────────────────────────────────────────────────────────
   PHOTO GALLERY
   ──────────────────────────────────────────────────────── */
.gallery {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
  margin-top:2rem;
}
.gallery__item {
  border-radius:var(--r);
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--surface);
  cursor:pointer;
}
.gallery__item img {
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease, opacity .2s;
}
.gallery__item:hover img { transform:scale(1.04); opacity:.88; }

/* ────────────────────────────────────────────────────────
   LIGHTBOX
   ──────────────────────────────────────────────────────── */
.lightbox {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s;
}
.lightbox.open { opacity:1; pointer-events:all; }
.lightbox img {
  max-width:90vw;
  max-height:88vh;
  object-fit:contain;
  border-radius:var(--r);
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.lightbox__close {
  position:absolute;
  top:1.25rem; right:1.25rem;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  width:44px; height:44px;
  border-radius:50%;
  cursor:pointer;
  font-size:1.2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .18s;
}
.lightbox__close:hover { background:rgba(255,255,255,.22); }

/* ────────────────────────────────────────────────────────
   PDF EMBED
   ──────────────────────────────────────────────────────── */
.pdf-wrap {
  margin-top:1.5rem;
  border:1px solid var(--border);
  border-radius:var(--r);
  overflow:hidden;
}
.pdf-wrap iframe {
  display:block;
  width:100%;
  height:620px;
  border:none;
  background:var(--surface);
}
.pdf-dl {
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.9rem 1.25rem;
  border-top:1px solid var(--border);
  font-size:.82rem;
  color:var(--muted);
  background:var(--card);
}
.pdf-dl a { color:var(--accent); font-weight:600; }

/* ────────────────────────────────────────────────────────
   ABOUT PHOTO (real image)
   ──────────────────────────────────────────────────────── */
.about-photo img {
  width:100%; height:100%;
  object-fit:cover;
  border-radius:var(--r);
  display:block;
}
.about-photo { padding:0; overflow:hidden; }

/* ────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────── */
@media(max-width:960px){
  .services { grid-template-columns:1fr; }
  .proj-grid--2 { grid-template-columns:1fr; }
  .proj--featured { grid-template-columns:1fr; }
  .proj--featured .proj__media { min-height:200px; }
  .about-wrap { grid-template-columns:1fr; }
  .about-photo { display:none; }
}
@media(max-width:680px){
  .nav__links { display:none; }
  .nav__burger { display:flex; }
  .nav__links.open {
    display:flex;
    flex-direction:column;
    gap:1.25rem;
    position:absolute;
    top:var(--nav-h);
    left:0; right:0;
    background:rgba(13,13,13,.97);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
    padding:1.75rem 2rem;
  }
  .hero__stats { gap:1.5rem; }
  .hero__name { letter-spacing:-.03em; }
}
