/* ================================================================
   PIXELS86 — FRONT CSS v2
   Tout est scopé sous .p86- ou #p86-
   Aucune fuite sur le thème actif.
   Variables injectées via PHP (class-assets.php)
   ================================================================ */

:root {
  --c-bg:      #F5F3EF;
  --c-ink:     #0F0F0E;
  --c-night:   #0D1824;
  --c-accent:  #E8621A;
  --c-accent2: #F5A623;
  --c-muted:   #8C8880;
  --c-line:    #E2DDD6;
  --c-card:    #EDEBE6;
  --c-white:   #FAFAF8;
  --f-body:    'Manrope', sans-serif;
  --f-accent:  'Baloo 2', cursive;
  --p86-h1:    clamp(3rem,8vw,7rem);
  --p86-h2:    clamp(2rem,4vw,3.25rem);
  --p86-h3:    clamp(1.25rem,2vw,1.75rem);
  --p86-body:  1rem;
  --p86-small: 0.875rem;
  --p86-nav:   0.9rem;
  --ease:      cubic-bezier(.25,.46,.45,.94);
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  7rem;
  --r:      16px;
}

/* ---- RESET SCOPÉ ---- */
.p86-header *, .p86-footer *,
.p86-hero *, .p86-section *,
.p86-stats *, .p86-nav-mobile *,
.p86-single-actu *, .p86-single-projet *,
.p86-page-archive * {
  box-sizing: border-box;
}

/* ---- UTILITAIRES ---- */
.p86-font-accent { font-family: var(--f-accent); color: var(--c-accent); }
.p86-label {
  font-family: var(--f-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.p86-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-accent);
  flex-shrink: 0;
}

/* ================================================================
   HEADER
   ================================================================ */
.p86-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--sp-md);
  background: var(--c-white);
  font-family: var(--f-body);
  position: relative;
  z-index: 999;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.p86-header--sticky {
  position: sticky;
  top: 0;
}
.p86-header.p86-is-scrolled {
  background: rgba(245,243,239,.95) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
}
.p86-header--transparent {
  background: transparent !important;
}
.p86-header--dark .p86-logo,
.p86-header--dark .p86-nav a { color: #fff; }
.p86-header--dark .p86-burger span { background: #fff; }

/* Logo */
.p86-logo {
  font-family: var(--f-accent);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.02em;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
}
.p86-logo span { color: var(--c-accent); }
.p86-logo__img { height: 40px; width: auto; display: block; }

/* Nav desktop */
.p86-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.p86-nav a {
  font-family: var(--f-body);
  font-size: var(--p86-nav);
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1;
  position: relative;
  transition: color .2s;
}
.p86-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transition: width .3s var(--ease);
}
.p86-nav a:hover { color: var(--c-accent); }
.p86-nav a:hover::after { width: 100%; }

/* CTA nav */
.p86-nav__cta,
.p86-nav a.p86-nav__cta {
  padding: .5rem 1.25rem;
  background: var(--c-ink);
  color: var(--c-white) !important;
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s, transform .15s;
}
.p86-nav__cta::after { display: none !important; }
.p86-nav__cta:hover,
.p86-nav a.p86-nav__cta:hover {
  background: var(--c-accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.p86-header--dark .p86-nav__cta {
  background: rgba(255,255,255,.15) !important;
}

/* Burger */
.p86-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  outline: none;
}
.p86-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

/* Nav mobile */
.p86-nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(245,243,239,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  font-family: var(--f-body);
}
.p86-nav-mobile.is-open { transform: translateX(0); }
.p86-nav-mobile a {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-ink);
  text-decoration: none;
  transition: color .2s;
}
.p86-nav-mobile a:hover { color: var(--c-accent); }
.p86-nav-mobile__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--c-muted);
  line-height: 1;
  transition: color .2s;
}
.p86-nav-mobile__close:hover { color: var(--c-accent); }

/* ================================================================
   SECTION WRAPPER
   ================================================================ */
.p86-section {
  padding: var(--sp-xl) var(--sp-md);
  font-family: var(--f-body);
  background: var(--c-bg);
}
.p86-section--white  { background: var(--c-white); }
.p86-section--night  { background: var(--c-night); }
.p86-section--border-top { border-top: 1px solid var(--c-line); }
.p86-section--contact { position: relative; overflow: hidden; }

.p86-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ================================================================
   HERO
   ================================================================ */
.p86-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--c-night);
  font-family: var(--f-body);
}
.p86-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232,98,26,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(245,166,35,.07) 0%, transparent 55%),
    var(--c-night);
  background-size: cover;
  background-position: center;
}
/* Grain */
.p86-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}
.p86-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: var(--sp-lg) var(--sp-md);
  padding-top: 130px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}

.p86-hero__time {
  font-family: var(--f-body);
  font-size: .875rem;
  font-style: italic;
  color: rgba(255,255,255,.45);
  letter-spacing: .03em;
  margin-bottom: 2rem;
  min-height: 1.4em;
  opacity: 0;
  transform: translateY(10px);
  animation: p86FadeUp .7s var(--ease) .15s forwards;
}

.p86-hero__h1 {
  font-family: var(--f-body);
  font-size: var(--p86-h1);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--c-white);
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(22px);
  animation: p86FadeUp .85s var(--ease) .35s forwards;
}
.p86-hero__h1-line { display: block; }
.p86-hero__h1-accent {
  display: block;
  font-family: var(--f-accent);
  color: var(--c-accent);
}

.p86-hero__sub {
  max-width: 540px;
  font-size: var(--p86-body);
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: p86FadeUp .8s var(--ease) .55s forwards;
}

.p86-hero__ctas {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  animation: p86FadeUp .75s var(--ease) .75s forwards;
}

.p86-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 3.5rem;
  opacity: 0;
  animation: p86FadeIn 1s var(--ease) 1.4s forwards;
  align-self: center;
}
.p86-scroll-cue span {
  font-family: var(--f-body);
  font-size: .625rem;
  color: rgba(255,255,255,.28);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.p86-scroll-cue__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.28), transparent);
  animation: p86ScrollPulse 2s ease-in-out 2s infinite;
}

/* ================================================================
   BOUTONS
   ================================================================ */
.p86-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: var(--p86-body);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
  line-height: 1;
}
.p86-btn--accent { background: var(--c-accent); color: #fff; }
.p86-btn--accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,98,26,.38); color: #fff; }
.p86-btn--ghost  { background: transparent; border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.p86-btn--ghost:hover { border-color: rgba(255,255,255,.55); color: #fff; transform: translateY(-2px); }
.p86-btn--dark   { background: var(--c-ink); color: #fff; }
.p86-btn--dark:hover { background: var(--c-accent); transform: translateY(-1px); color: #fff; }
.p86-btn--sm     { padding: .5rem 1.125rem; font-size: var(--p86-small); }
.p86-btn--full   { width: 100%; justify-content: center; }

/* ================================================================
   MANIFESTE
   ================================================================ */
.p86-manifeste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 1rem;
}
.p86-manifeste__quote {
  font-family: var(--f-body);
  font-size: var(--p86-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--c-ink);
  margin: 0;
}
.p86-manifeste__quote em { font-style: normal; }
.p86-manifeste__text {
  font-size: var(--p86-body);
  line-height: 1.85;
  color: var(--c-muted);
  border-left: 2px solid var(--c-accent);
  padding-left: 1.5rem;
  margin: 0;
}

/* ================================================================
   SERVICES
   ================================================================ */
.p86-services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
  gap: 1rem;
}
.p86-services__title {
  font-family: var(--f-body);
  font-size: var(--p86-h2);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 0;
}
.p86-services__list { border-top: 1px solid var(--c-line); }

.p86-service {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  align-items: center;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.p86-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-night);
  transform: translateX(-101%);
  transition: transform .38s var(--ease);
  z-index: 0;
}
.p86-service:hover::before { transform: translateX(0); }
.p86-service > * { position: relative; z-index: 1; transition: color .3s; }

.p86-service__name {
  font-family: var(--f-body);
  font-size: clamp(1.05rem,2vw,1.45rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-ink);
}
.p86-service__tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.p86-service__arrow {
  font-size: 1.1rem;
  color: var(--c-line);
  transition: color .3s, transform .3s;
}
.p86-service:hover .p86-service__name { color: #fff; }
.p86-service:hover .p86-service__tag  { color: rgba(255,255,255,.4); }
.p86-service:hover .p86-service__arrow { color: var(--c-accent); transform: translateX(4px); }

/* ================================================================
   PROJETS
   ================================================================ */
.p86-section--night .p86-label { color: var(--c-accent); }

.p86-projets__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
  gap: 1rem;
}
.p86-projets__title {
  font-family: var(--f-body);
  font-size: var(--p86-h2);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}
.p86-voir-tout {
  font-family: var(--f-body);
  font-size: var(--p86-small);
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
}
.p86-voir-tout:hover { color: var(--c-accent); }
.p86-voir-tout--muted { color: var(--c-muted); }
.p86-voir-tout--muted:hover { color: var(--c-accent); }

.p86-projets__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.125rem;
}
.p86-projet-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  display: block;
  border: 1px solid rgba(255,255,255,.07);
}
/* Layout grille asymétrique */
.p86-projet-card:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.p86-projet-card:nth-child(2) { aspect-ratio: 9/11; }
.p86-projet-card:nth-child(3) { aspect-ratio: 4/3; }
.p86-projet-card:nth-child(4) { aspect-ratio: 4/3; }
.p86-projet-card:nth-child(5) { grid-column: span 2; aspect-ratio: 21/8; }

.p86-projet-card__thumb {
  position: absolute;
  inset: 0;
  background: var(--c-night);
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}
.p86-projet-card:hover .p86-projet-card__thumb { transform: scale(1.045); }
.p86-projet-card__initiales {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-accent);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,.06);
  letter-spacing: -.05em;
}
.p86-projet-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,24,36,.92) 0%, rgba(13,24,36,.25) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.375rem;
  transition: background .3s;
}
.p86-projet-card:hover .p86-projet-card__overlay {
  background: linear-gradient(to top, rgba(13,24,36,.97) 0%, rgba(13,24,36,.4) 60%, transparent 100%);
}
.p86-projet-card__info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
}
.p86-projet-card__name {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.p86-projet-card__cat {
  font-family: var(--f-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.p86-projet-card__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.p86-projet-card__year {
  font-family: var(--f-body);
  font-size: .7rem;
  color: rgba(255,255,255,.28);
}
.p86-projet-card__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: .875rem;
  transition: all .25s;
  transform: translateY(6px);
  opacity: 0;
}
.p86-projet-card:hover .p86-projet-card__arrow {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(232,98,26,.12);
}

/* ================================================================
   POUR QUI
   ================================================================ */
.p86-pourqui__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.p86-pourqui__lead {
  font-family: var(--f-body);
  font-size: var(--p86-h2);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 2rem;
}
.p86-cibles { display: flex; flex-direction: column; gap: 1rem; }
.p86-cible {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--c-bg);
  border-radius: var(--r);
  transition: transform .22s, box-shadow .22s;
}
.p86-cible:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.p86-cible__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--c-night);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.p86-cible__name {
  display: block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--c-ink);
  margin-bottom: .25rem;
}
.p86-cible__desc {
  font-family: var(--f-body);
  font-size: var(--p86-small);
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}
.p86-pourqui__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
}
.p86-pqv-card {
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  min-height: 140px;
}
.p86-pqv-card--1 {
  grid-column: span 2;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(232,98,26,.1), rgba(245,166,35,.1));
}
.p86-pqv-card--2 { background: var(--c-card); }
.p86-pqv-card--3 { background: var(--c-night); color: #fff; }

/* ================================================================
   STATS
   ================================================================ */
.p86-stats {
  font-family: var(--f-body);
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 0 var(--sp-md);
}
.p86-stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.p86-stat {
  text-align: center;
  padding: 3rem 1.5rem;
  border-right: 1px solid var(--c-line);
}
.p86-stat:last-child { border-right: none; }
.p86-stat__number {
  font-family: var(--f-accent);
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: .5rem;
}
.p86-stat__number span { color: var(--c-accent); }
.p86-stat__label {
  font-size: var(--p86-small);
  color: var(--c-muted);
  font-weight: 500;
}

/* ================================================================
   PHOTO
   ================================================================ */
.p86-photo__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: end;
  margin-bottom: var(--sp-lg);
}
.p86-photo__title {
  font-family: var(--f-body);
  font-size: var(--p86-h2);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 0;
}
.p86-photo__desc {
  font-size: var(--p86-body);
  color: var(--c-muted);
  line-height: 1.8;
  margin: 0;
}
.p86-photo__gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: 230px 230px;
  gap: .875rem;
}
.p86-photo__item {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}
.p86-photo__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.p86-photo__item img,
.p86-photo__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.p86-photo__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-card);
  font-size: 2rem;
}
.p86-photo__item:hover img { transform: scale(1.04); }
.p86-photo__label {
  position: absolute;
  bottom: .875rem;
  left: .875rem;
  font-family: var(--f-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.38);
  padding: .3rem .75rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* ================================================================
   JOURNAL (home)
   ================================================================ */
.p86-journal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
  gap: 1rem;
}
.p86-journal__title {
  font-family: var(--f-body);
  font-size: var(--p86-h2);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 0;
}
.p86-journal__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.125rem;
}

/* ================================================================
   CARTE ACTU (réutilisable)
   ================================================================ */
.p86-actu-card {
  display: block;
  text-decoration: none;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  font-family: var(--f-body);
}
.p86-actu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,.09);
}
.p86-actu-card__thumb {
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  background: var(--c-card);
}
.p86-actu-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.p86-actu-card:hover .p86-actu-card__thumb img { transform: scale(1.05); }
.p86-actu-card__thumb-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-card), rgba(232,98,26,.08));
}
/* Grande carte (1ère de la grille) */
.p86-journal__grid .p86-actu-card:first-child .p86-actu-card__thumb { aspect-ratio: 3/2; }
.p86-journal__grid .p86-actu-card:first-child .p86-actu-card__title { font-size: 1.35rem; }

.p86-actu-card__body { padding: 1.25rem; }
.p86-actu-card__cat {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .5rem;
}
.p86-actu-card__title {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: var(--c-ink);
  margin: 0 0 .5rem;
}
.p86-actu-card__excerpt {
  font-size: var(--p86-small);
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p86-actu-card__date {
  font-size: .72rem;
  color: var(--c-muted);
  margin-top: 1rem;
  font-weight: 500;
}

/* ================================================================
   CONTACT
   ================================================================ */
.p86-contact__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 80% 50%, rgba(232,98,26,.09) 0%, transparent 60%);
  pointer-events: none;
}
.p86-contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.p86-contact__left .p86-label { color: var(--c-accent); }
.p86-contact__lead {
  font-family: var(--f-body);
  font-size: var(--p86-h2);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}
.p86-contact__sub {
  font-size: var(--p86-body);
  color: rgba(255,255,255,.48);
  line-height: 1.75;
  margin: 0 0 2rem;
}
.p86-contact__infos { display: flex; flex-direction: column; gap: .75rem; }
.p86-contact__info {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--f-body);
  font-size: var(--p86-body);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.p86-contact__info--link:hover { color: #fff; }
.p86-contact__ico { width: 16px; height: 16px; flex-shrink: 0; color: var(--c-accent); }

/* Formulaire */
.p86-form { display: flex; flex-direction: column; gap: .875rem; font-family: var(--f-body); }
.p86-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.p86-form__field { display: flex; flex-direction: column; gap: .45rem; }
.p86-form__field label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}
.p86-form__field input,
.p86-form__field textarea,
.p86-form__field select {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .875rem 1rem;
  color: #fff;
  font-family: var(--f-body);
  font-size: var(--p86-body);
  outline: none;
  width: 100%;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
}
.p86-form__field input::placeholder,
.p86-form__field textarea::placeholder { color: rgba(255,255,255,.22); }
.p86-form__field input:focus,
.p86-form__field textarea:focus,
.p86-form__field select:focus {
  border-color: var(--c-accent);
  background: rgba(255,255,255,.085);
}
.p86-form__field select { cursor: pointer; }
.p86-form__field select option { background: var(--c-night); color: #fff; }
.p86-form__field textarea { resize: vertical; min-height: 120px; }
.p86-form__notice {
  font-size: var(--p86-small);
  font-weight: 500;
  border-radius: 10px;
  padding: .75rem 1rem;
  display: none;
}
.p86-form__notice--ok  { display: block; background: rgba(40,167,69,.12); border: 1px solid rgba(40,167,69,.28); color: #4ade80; }
.p86-form__notice--err { display: block; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.28); color: #f87171; }

/* ================================================================
   FOOTER
   ================================================================ */
.p86-footer {
  background: var(--c-ink);
  color: #fff;
  padding: var(--sp-lg) var(--sp-md) 1.75rem;
  font-family: var(--f-body);
}
.p86-footer__inner { max-width: 1200px; margin: 0 auto; }
.p86-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.75rem;
}
.p86-footer__logo {
  margin-bottom: .875rem;
  font-size: 1.625rem;
}
.p86-footer__baseline {
  font-size: var(--p86-small);
  color: rgba(255,255,255,.42);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 260px;
}
.p86-footer__social { display: flex; gap: .5rem; }
.p86-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.p86-social-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(232,98,26,.1);
}
.p86-footer__col h4 {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin: 0 0 1.25rem;
}
.p86-footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.p86-footer__col a {
  font-size: var(--p86-body);
  color: rgba(255,255,255,.58);
  text-decoration: none;
  transition: color .2s;
}
.p86-footer__col a:hover { color: #fff; }
.p86-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.p86-footer__copy { font-size: .78rem; color: rgba(255,255,255,.28); }
.p86-footer__made { font-size: .78rem; color: rgba(255,255,255,.18); }
.p86-footer__made span { color: var(--c-accent); }

/* ================================================================
   SINGLES — ACTU
   ================================================================ */
.p86-single-actu { font-family: var(--f-body); }
.p86-single-actu__hero {
  background: var(--c-night);
  padding: 7rem var(--sp-md) 4rem;
}
.p86-single-actu__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(232,98,26,.12);
  border: 1px solid rgba(232,98,26,.2);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.p86-single-actu__title {
  font-size: var(--p86-h1);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  max-width: 820px;
}
.p86-single-actu__meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.p86-single-actu__date { font-size: var(--p86-small); color: rgba(255,255,255,.38); }
.p86-single-actu__back {
  font-size: var(--p86-small);
  font-weight: 600;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  transition: color .2s;
}
.p86-single-actu__back:hover { color: var(--c-accent); }

.p86-single-actu__thumb-wrap {
  background: var(--c-night);
  padding-bottom: 3rem;
  font-family: var(--f-body);
}
.p86-single-actu__thumb {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,.28);
}
.p86-single-actu__thumb img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
}

.p86-single-actu__content.p86-prose { max-width: 720px; }
.p86-single-actu__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.p86-single-actu__nav-link {
  font-size: var(--p86-small);
  font-weight: 700;
  color: var(--c-accent);
  text-decoration: none;
  transition: opacity .2s;
}
.p86-single-actu__nav-link:hover { opacity: .7; }
.p86-single-actu__nav-link--next { margin-left: auto; text-align: right; }

/* ================================================================
   SINGLE PROJET
   ================================================================ */
.p86-single-projet { font-family: var(--f-body); }
.p86-single-projet__hero {
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background: var(--c-night) center/cover no-repeat;
}
.p86-single-projet__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,24,36,.96) 0%, rgba(13,24,36,.35) 55%, rgba(13,24,36,.15) 100%);
}
.p86-single-projet__hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 7rem var(--sp-md) 3.5rem;
}
.p86-single-projet__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--p86-small);
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color .2s;
}
.p86-single-projet__back:hover { color: var(--c-accent); }
.p86-single-projet__title {
  font-size: var(--p86-h1);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.0;
  margin: 0 0 1.5rem;
}
.p86-single-projet__meta { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.p86-single-projet__meta-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: var(--p86-small);
  color: rgba(255,255,255,.55);
}
.p86-single-projet__meta-item strong {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}
.p86-single-projet__galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.p86-single-projet__galerie img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
  display: block;
  transition: transform .4s var(--ease);
}
.p86-single-projet__galerie img:hover { transform: scale(1.02); }

/* ================================================================
   PROSE (contenu éditeur WP — dans les singles)
   Forte spécificité pour écraser les styles thème
   ================================================================ */
.p86-prose,
.p86-prose * { font-family: 'Manrope', sans-serif !important; box-sizing: border-box; }
.p86-prose { font-size: 1.0625rem; line-height: 1.85; color: #374151; }
.p86-prose p  { margin: 0 0 1.5rem; font-size: 1.0625rem; line-height: 1.85; color: #374151; }
.p86-prose h1,.p86-prose h2,.p86-prose h3,.p86-prose h4 {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #0F0F0E;
  line-height: 1.2;
}
.p86-prose h2 { font-size: clamp(1.5rem,3vw,2rem); margin: 2.5rem 0 1rem; }
.p86-prose h3 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.p86-prose h4 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.p86-prose ul,.p86-prose ol { padding-left: 1.5rem; margin: 0 0 1.5rem; }
.p86-prose li { margin-bottom: .5rem; color: #374151; }
.p86-prose blockquote {
  border-left: 3px solid #E8621A;
  padding: .5rem 0 .5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #8C8880;
}
.p86-prose img { border-radius: 12px; margin: 2rem 0; max-width: 100%; display: block; }
.p86-prose a { color: #E8621A; text-decoration: underline; }
.p86-prose a:hover { opacity: .75; }
.p86-prose strong { font-weight: 700; color: #0F0F0E; }
.p86-prose figure { margin: 2rem 0; }
.p86-prose figcaption { font-size: .8125rem; color: #8C8880; margin-top: .5rem; text-align: center; }
.p86-prose code { background: #EDEBE6; padding: .15rem .4rem; border-radius: 4px; font-size: .9em; }
.p86-prose pre { background: #0F0F0E; color: #F5F3EF; padding: 1.5rem; border-radius: 12px; overflow-x: auto; margin: 2rem 0; }
.p86-prose hr { border: none; border-top: 1px solid #E2DDD6; margin: 3rem 0; }
/* Gutenberg alignments */
.p86-prose .alignwide  { margin-left: -4rem; margin-right: -4rem; }
.p86-prose .alignfull  { margin-left: -2rem; margin-right: -2rem; }
.p86-prose .wp-block-image img { border-radius: 12px; }

/* ================================================================
   ARCHIVES
   ================================================================ */
.p86-page-archive__hero {
  padding: 7rem var(--sp-md) 4rem;
  font-family: var(--f-body);
}
.p86-page-archive__title {
  font-size: var(--p86-h1);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.0;
  margin: .5rem 0 0;
}
.p86-filtres {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 3rem;
}
.p86-archive-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.p86-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
  font-family: var(--f-body);
}
.p86-pagination a,
.p86-pagination span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border-radius: 8px;
  font-size: var(--p86-small);
  font-weight: 600;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  transition: all .2s;
}
.p86-pagination a:hover,
.p86-pagination span.current {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.p86-empty {
  font-family: var(--f-body);
  text-align: center;
  color: var(--c-muted);
  font-size: 1.125rem;
  padding: 4rem 0;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.p86-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.p86-reveal.p86-is-visible { opacity: 1; transform: translateY(0); }
.p86-delay-0 { transition-delay: 0s; }
.p86-delay-1 { transition-delay: .1s; }
.p86-delay-2 { transition-delay: .2s; }
.p86-delay-3 { transition-delay: .3s; }
.p86-delay-4 { transition-delay: .4s; }

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes p86FadeUp  { to { opacity:1; transform:translateY(0); } }
@keyframes p86FadeIn  { to { opacity:.55; } }
@keyframes p86ScrollPulse {
  0%,100%{ opacity:.28; transform:scaleY(1); }
  50%    { opacity:.65; transform:scaleY(1.15); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .p86-projets__grid { grid-template-columns: 1fr 1fr; }
  .p86-projet-card:nth-child(1),
  .p86-projet-card:nth-child(5) { grid-column: span 2; aspect-ratio: 16/8; }
  .p86-projet-card:nth-child(2),
  .p86-projet-card:nth-child(3),
  .p86-projet-card:nth-child(4) { aspect-ratio: 4/3; }
  .p86-journal__grid { grid-template-columns: 1fr 1fr; }
  .p86-journal__grid .p86-actu-card:first-child { grid-column: span 2; }
  .p86-footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .p86-archive-grid { grid-template-columns: repeat(2,1fr); }
  .p86-stats__inner { grid-template-columns: 1fr 1fr; }
  .p86-stat { border-right: none; border-bottom: 1px solid var(--c-line); }
  .p86-stat:nth-child(odd) { border-right: 1px solid var(--c-line); }
  .p86-stat:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --sp-xl: 4rem; --sp-lg: 2.5rem; }

  .p86-nav { display: none; }
  .p86-burger { display: flex; }

  .p86-manifeste { grid-template-columns: 1fr; gap: 2rem; }
  .p86-pourqui__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .p86-pourqui__visual { display: none; }
  .p86-contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .p86-photo__head { grid-template-columns: 1fr; gap: 1.5rem; }

  .p86-services__head { flex-direction: column; align-items: flex-start; }
  .p86-service { grid-template-columns: 1fr auto; }
  .p86-service__tag { display: none; }

  .p86-projets__grid { grid-template-columns: 1fr; }
  .p86-projet-card:nth-child(n) { grid-column: span 1; aspect-ratio: 4/3; }

  .p86-photo__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .p86-photo__item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
  .p86-photo__item:not(:first-child) { aspect-ratio: 1; }

  .p86-journal__grid { grid-template-columns: 1fr; }
  .p86-journal__grid .p86-actu-card:first-child { grid-column: span 1; }
  .p86-journal__head,
  .p86-projets__head { flex-direction: column; align-items: flex-start; }

  .p86-footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .p86-form__row { grid-template-columns: 1fr; }

  .p86-archive-grid { grid-template-columns: 1fr; }

  .p86-single-actu__thumb img { aspect-ratio: 16/9; }
  .p86-single-projet__hero { min-height: 55vh; }
}
