/* ============================================================
   BELANDSCAPE — CSS COMPLET
   Desktop + Responsive Mobile
   ============================================================ */

/* ============================================================
   C-04 — POLICE NUNITO AUTO-HÉBERGÉE (polices variables)
   Fichiers : nunito-latin-wght-normal.woff2
              nunito-latin-wght-italic.woff2
              nunito-latin-ext-wght-normal.woff2
              nunito-latin-ext-wght-italic.woff2
   ============================================================ */
@font-face {
  font-family: 'Nunito';
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/nunito-latin-ext-wght-normal.woff2') format('woff2'),
       url('../fonts/nunito-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/nunito-latin-ext-wght-italic.woff2') format('woff2'),
       url('../fonts/nunito-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Force le gras sur tous navigateurs (iOS Safari ne résout pas
   toujours "bold" quand le parent a un font-weight numérique) */
strong, b { font-weight: 700 !important; }

/* Force l'italique — iOS Safari peut ignorer font-style: italic
   si la police italique n'est pas encore chargée lors du premier rendu */
em, i { font-style: italic !important; }

/* ============================================================
   SKIP LINK — accessibilité clavier (invisible sauf au focus)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--brand, #345853);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 52px;
  height: 72px;
  background: var(--ivory);
  border-bottom: 1px solid rgba(52,88,83,.12);
  position: sticky;
  top: 0;
  z-index: 200;
}

.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo,
.logo-wrap img,
.site-header .logo-wrap img {
  height: auto !important;
  max-height: 46px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block;
  object-fit: contain;
}

.site-logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 44px;
}

.site-nav a:hover {
  color: var(--brand);
}

.site-nav a.active {
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.btn-contact {
  padding: 10px 24px;
  background: var(--brand);
  color: var(--ivory) !important;
  border-radius: 3px;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background .2s !important;
}

.btn-contact:hover {
  background: var(--brand-dark) !important;
}

/* Burger (caché desktop) */
.m-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.m-burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s ease;
}

.m-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.m-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.m-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   DRAWER MOBILE
   ============================================================ */
.m-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,46,43,.6);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.m-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.m-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--ivory);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.m-drawer-overlay.is-open .m-drawer {
  transform: translateX(0);
}

.m-drawer-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  background: var(--ivory-dark);
  border: none;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background .2s;
}

.m-drawer-close:hover {
  background: var(--sand);
}

.m-drawer a {
  display: block;
  font-size: 22px;
  font-weight: 200;
  color: var(--ink);
  letter-spacing: .02em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(52,88,83,.08);
  text-decoration: none;
  transition: color .2s;
}

.m-drawer a:hover,
.m-drawer a.active {
  color: var(--brand);
}

.m-drawer-cta {
  margin-top: 20px !important;
  display: inline-block !important;
  background: var(--brand) !important;
  color: var(--ivory) !important;
  border-radius: 3px !important;
  padding: 14px 24px !important;
  font-size: 12px !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  border: none !important;
  text-align: center;
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.hero-left {
  padding: 76px 52px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(52,88,83,.08);
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: 54px;
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-mid);
}

.hero-desc,
.hero-intro {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-mid);
  max-width: 400px;
  margin-bottom: 44px;
}

.ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cta-main {
  padding: 13px 28px;
  background: var(--brand);
  color: var(--ivory);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  transition: background .2s;
}

.cta-main:hover {
  background: var(--brand-dark);
}

.cta-ghost {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

.cta-ghost:hover {
  color: var(--brand);
  border-color: var(--brand-mist);
}

.hero-projet-moment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  transition: color var(--tr);
}

.hero-projet-moment:hover {
  color: var(--brand);
}

.hero-projet-moment-label {
  font-size: 22px;
  font-weight: 200;
  color: var(--ink);
}

.hero-projet-moment-sep {
  color: var(--sand);
}

.hero-projet-moment-name {
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-mid);
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img,
.proj-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.hero-right:not(.has-slideshow):hover img {
  transform: scale(1.04);
}

/* ── Hero slideshow ───────────────────────────────────────── */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 8s ease;
}

.hero-slide.active img {
  transform: scale(1.04);
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  right: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.hero-dot {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: rgba(255,255,255,.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .4s ease, height .4s ease;
}

.hero-dot.active {
  background: rgba(255,255,255,.9);
  height: 36px;
}

.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,.55);
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 36px;
  background: linear-gradient(to top, rgba(26,46,43,.9) 0%, transparent 100%);
}

.overlay-tag {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-mist);
  margin-bottom: 6px;
}

.overlay-title {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ivory);
  text-decoration: none;
  display: block;
}

.overlay-loc {
  color: var(--brand-sage);
  font-size: 14px;
}

/* Hero vert (approche) */
.hero-right-green {
  background: var(--brand);
  padding: 80px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-right-green::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.hero-right-green::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}

.hero-quote {
  font-size: 26px;
  font-weight: 200;
  font-style: italic;
  line-height: 1.5;
  color: var(--ivory);
  letter-spacing: .01em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero-quote::before {
  content: '"';
  font-size: 80px;
  font-weight: 200;
  color: rgba(245,242,235,.12);
  position: absolute;
  top: -20px; left: -16px;
  line-height: 1;
}

.hero-quote-source {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-sage);
  position: relative;
  z-index: 1;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ivory-dark);
  border-top: 1px solid rgba(52,88,83,.1);
  border-bottom: 1px solid rgba(52,88,83,.1);
}

.stat {
  padding: 28px 36px;
  border-right: 1px solid rgba(52,88,83,.08);
}

.stat:last-child { border-right: none; }

.stat-n {
  font-size: 38px;
  font-weight: 200;
  letter-spacing: -.02em;
  color: var(--brand);
  line-height: 1;
}

.stat-l {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 6px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 68px 52px;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

/* ============================================================
   GRILLE PROJETS — HOME
   Définie complètement dans style.css (4 cols, grid-auto-rows 280px)
   Seul le gap est défini ici pour ne pas créer de conflit.
   ============================================================ */
.home-proj-grid {
  gap: 3px;
}

/* ============================================================
   GRILLE PROJETS — ARCHIVE
   ============================================================ */
.archive-proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 3px;
  padding: 0 52px 52px;
}

/* Cycle de 5 garanti sans trous : large(2×2) + medium(1×2) + 3×small(1×1) = 3col×3rows exactement */
.archive-proj-grid .proj-card.proj-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.archive-proj-grid .proj-card.proj-card-medium {
  grid-column: span 1;
  grid-row: span 2;
}

.archive-proj-grid .proj-card.proj-card-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Texte diversité archive */
.page-hero-diversity {
  font-size: 18px;
  font-weight: 200;
  line-height: 1.6;
  color: rgba(245,242,235,.9);
  letter-spacing: .01em;
  max-width: 360px;
}

/* ============================================================
   CARTE PROJET
   ============================================================ */
.proj-card {
  overflow: hidden;
  cursor: pointer;
  background: var(--ivory);
}

.proj-card-inner {
  display: block;
  text-decoration: none;
  color: inherit;
}

.proj-card-img {
  overflow: hidden;
  position: relative;
  background: var(--ivory-dark);
}

/* Shimmer pendant le chargement de l'image */
.proj-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--ivory-dark) 0%,
    var(--sand) 40%,
    var(--ivory-dark) 80%
  );
  background-size: 200% 100%;
  animation: belaShimmer 1.4s ease infinite;
  z-index: 1;
  pointer-events: none;
}

/* Shimmer disparaît une fois l'image chargée */
.proj-card-img img.is-loaded ~ *,
.proj-card-img:has(img.is-loaded)::before {
  display: none;
}

.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .4s ease;
  opacity: 0;
  position: relative;
  z-index: 2;
}

.proj-card img.is-loaded {
  opacity: 1;
}

.proj-card:hover img {
  transform: scale(1.05);
}

/* Animation d'entrée des cartes */
.proj-card {
  animation: belaCardIn .5s cubic-bezier(.22,.68,0,1.1) both;
}

@keyframes belaShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes belaCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.proj-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--ivory-dark);
}

.proj-info {
  padding: 11px 14px 18px;
  background: var(--ivory);
  border-top: 2px solid transparent;
  transition: border-color .2s;
}

.proj-card:hover .proj-info {
  border-top-color: var(--brand);
}

.proj-cat {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-mid);
  margin-bottom: 4px;
}

.proj-name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink);
}

.proj-loc {
  font-size: 10px;
  font-weight: 300;
  color: var(--ink-light);
  margin-top: 3px;
}

/* ============================================================
   FILTRES
   ============================================================ */
.filters,
.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.archive-filters {
  padding: 0 52px 24px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.fbtn {
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 7px 18px;
  border: 1px solid var(--brand-mist);
  color: var(--ink-mid);
  background: transparent;
  cursor: pointer;
  border-radius: 100px;
  transition: all .2s;
}

.fbtn.on {
  background: var(--brand);
  color: var(--ivory);
  border-color: var(--brand);
}

.fbtn:hover:not(.on) {
  border-color: var(--brand-sage);
  color: var(--brand);
}

.fbtn-count {
  display: inline-block;
  margin-left: 4px;
  opacity: .7;
}

/* Carte filtrable cachée */
.proj-card.is-hidden {
  display: none;
}

/* ============================================================
   ARCHIVE HERO
   ============================================================ */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.page-hero-left {
  padding: 72px 52px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(52,88,83,.08);
}

.page-hero-title {
  font-size: 52px;
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 12px 0 20px;
}

.page-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-mid);
}

.page-hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-mid);
  max-width: 400px;
}

.page-hero-right {
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background: var(--ivory-dark);
}

.page-hero-right-green {
  background: var(--brand);
  gap: 20px;
}

.page-hero-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-hero-stat-n {
  font-size: 52px;
  font-weight: 200;
  color: var(--brand-mist);
  line-height: 1;
}

.page-hero-right-green .page-hero-stat-n {
  color: var(--ivory);
}

.page-hero-stat-l {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-sage);
}

.page-hero-right-green .page-hero-stat-l {
  color: rgba(245,242,235,.6);
}

.page-hero-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-hero-type-badge {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(245,242,235,.25);
  color: rgba(245,242,235,.7);
  border-radius: 100px;
}

/* ============================================================
   LOAD MORE
   ============================================================ */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 36px 52px 52px;
}

.load-more-btn {
  padding: 14px 36px;
  border: 1px solid var(--brand-mist);
  color: var(--brand);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
}

.load-more-btn:hover {
  background: var(--brand);
  color: var(--ivory);
  border-color: var(--brand);
}

.load-more-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Loader */
.bela-loader {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 44px 52px;
}

.bela-loader.is-active {
  display: flex;
}

.bela-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(52,88,83,.14);
  border-top-color: var(--brand);
  animation: bela-spin .7s linear infinite;
  flex-shrink: 0;
}

@keyframes bela-spin {
  to { transform: rotate(360deg); }
}

.bela-no-results {
  grid-column: 1 / -1;
  padding: 52px;
  text-align: center;
  color: var(--ink-mid);
  font-size: 14px;
}

/* ============================================================
   FICHE PROJET — BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 52px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-light);
  border-bottom: 1px solid rgba(52,88,83,.06);
}

.breadcrumb a {
  color: var(--ink-light);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--brand-mist); }
.breadcrumb-current { color: var(--ink-mid); }

/* ============================================================
   FICHE PROJET — HERO
   ============================================================ */
.proj-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.proj-hero img.proj-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,43,.85) 0%, rgba(26,46,43,.2) 60%, transparent 100%);
}

.proj-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 52px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.proj-cat-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-mist);
  border: 1px solid rgba(194,216,213,.4);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.proj-hero-title {
  font-size: 42px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: -.01em;
  line-height: 1.1;
}

.proj-hero-loc {
  font-size: 14px;
  font-weight: 300;
  color: var(--brand-mist);
  margin-top: 8px;
}

.proj-hero-year {
  font-size: 64px;
  font-weight: 200;
  color: rgba(245,242,235,.15);
  line-height: 1;
  letter-spacing: -.03em;
}

/* ============================================================
   FICHE PROJET — INFOS BAR
   ============================================================ */
.proj-infos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ivory-dark);
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.proj-info-item {
  padding: 20px 36px;
  border-right: 1px solid rgba(52,88,83,.08);
}

.proj-info-item:last-child { border-right: none; }

.proj-info-label {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 4px;
}

.proj-info-val {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
}

.proj-info-val strong { font-weight: 600; color: var(--brand); }

/* ============================================================
   FICHE PROJET — CORPS (contenu à gauche, sidebar à droite)
   ============================================================ */
.proj-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.proj-sidebar {
  padding: 48px 36px;
  background: var(--ivory-dark);
  border-left: 1px solid rgba(52,88,83,.08);
  order: 2;
}

.proj-content {
  order: 1;
}

.proj-sidebar-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.proj-sidebar-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 14px;
}

.sidebar-kpi {
  margin-bottom: 16px;
}

.kpi-num {
  font-size: 28px;
  font-weight: 200;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -.01em;
}

.kpi-label {
  font-size: 10px;
  color: var(--ink-light);
  margin-top: 3px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--brand-mist);
  color: var(--brand);
  border-radius: 100px;
}

.sidebar-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
}

/* Contenu */
.proj-content {
  padding: 52px;
}

.proj-intro {
  font-size: 28px;
  font-weight: 200;
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(52,88,83,.12);
  max-width: 720px;
}

.proj-intro em { font-style: italic; color: var(--brand-mid); }

.proj-body-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-mid);
  max-width: 660px;
}

.proj-body-text h2,
.proj-body-text h3 {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  margin: 32px 0 12px;
}

.proj-body-text p { margin-bottom: 16px; }

/* Structured content sections */
.proj-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 660px;
}

.content-section {
  margin-bottom: 36px;
}

.content-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-mist);
}

.content-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-mid);
  white-space: pre-line;
}

/* ============================================================
   FICHE PROJET — GALERIE INLINE (dans proj-content)
   ============================================================ */
.proj-inline-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 220px;
  gap: 3px;
}

.proj-inline-gallery .gallery-img-large {
  grid-column: span 2;
  grid-row: span 2;
}

.proj-inline-gallery .gallery-img-medium {
  grid-column: span 1;
  grid-row: span 2;  /* portrait : 1 col × 440px */
}

.proj-inline-gallery .gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Zone texte pleine largeur sous le bloc image+sidebar */
.proj-text-area {
  padding: 52px;
  border-top: 1px solid rgba(52,88,83,.08);
}

.proj-text-area .proj-intro {
  width: 65%;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(52,88,83,.12);
  margin-bottom: 52px;
}

.proj-text-area .proj-sections {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
  gap: 48px;
  max-width: 100%;
}

.proj-text-area .content-section {
  width: 50%;
  display: block !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 3px;
  margin-bottom: 3px;
}

.gallery-img-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-img {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

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

/* .gallery-img::after est défini dans la section "hover thumbnail" ci-dessous */

/* ============================================================
   LIGHTBOX
   ============================================================ */
.bela-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,46,43,.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transition et états opacity/pointer-events définis dans la section animations */
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(245,242,235,.15);
  border: 1px solid rgba(245,242,235,.2);
  color: var(--ivory);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(245,242,235,.25);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(245,242,235,.5);
}

/* ============================================================
   NAVIGATION ENTRE PROJETS
   ============================================================ */
.proj-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(52,88,83,.08);
}

.proj-nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 52px;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
  border-right: 1px solid rgba(52,88,83,.08);
}

.proj-nav-item:last-child { border-right: none; }
.proj-nav-item-right { justify-content: flex-end; text-align: right; grid-column: 2; }

.proj-nav-item:hover { background: var(--ivory-dark); }

.proj-nav-arrow {
  font-size: 24px;
  color: var(--brand-sage);
  flex-shrink: 0;
}

.proj-nav-dir {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.proj-nav-name {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 4px;
}

.proj-nav-loc {
  font-size: 11px;
  color: var(--ink-light);
}

.back-bar {
  padding: 20px 52px;
  border-top: 1px solid rgba(52,88,83,.06);
}

.back-link {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  transition: color .2s;
}

.back-link:hover { color: var(--brand-dark); }

/* ============================================================
   APPROCHE
   ============================================================ */
.hero-approche .hero-left { justify-content: center; gap: 24px; }

.definition {
  padding: 72px 52px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  border-bottom: 1px solid rgba(52,88,83,.08);
  align-items: start;
}

.def-tag {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-sage);
  margin-bottom: 16px;
}

.def-title {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
}

.def-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-mid);
}

.def-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-mid);
  margin-bottom: 20px;
}

.def-text:last-child { margin-bottom: 0; }

/* Steps */
.steps-section {
  background: var(--brand);
  padding: 80px 52px;
}

.steps-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.steps-tag {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-sage);
  margin-bottom: 12px;
}

.steps-title {
  font-size: 38px;
  font-weight: 200;
  letter-spacing: -.01em;
  color: var(--ivory);
  line-height: 1.1;
}

.steps-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-mist);
}

.steps-subtitle {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,242,235,.5);
  max-width: 340px;
  line-height: 1.7;
  text-align: right;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.step-card {
  background: rgba(255,255,255,.05);
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  transition: background .3s;
}

.step-card:hover { background: rgba(255,255,255,.09); }

.step-num {
  font-size: 64px;
  font-weight: 200;
  color: rgba(255,255,255,.1);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 28px;
  letter-spacing: -.02em;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(122,170,158,.2);
  border: 1px solid rgba(122,170,158,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 24px;
}

.step-title {
  font-size: 20px;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: .01em;
}

.step-text {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,242,235,.55);
  line-height: 1.85;
}

.step-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.step-kw {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 4px 10px;
  border: 1px solid rgba(122,170,158,.3);
  color: var(--brand-sage);
  border-radius: 100px;
}

/* Valeurs */
.values {
  padding: 80px 52px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.values-header { margin-bottom: 52px; }

.values-tag {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-sage);
  margin-bottom: 12px;
}

.values-title {
  font-size: 38px;
  font-weight: 200;
  letter-spacing: -.01em;
  color: var(--ink);
}

.values-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-mid);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.value-item {
  padding: 36px 28px;
  background: var(--ivory-dark);
  border-top: 3px solid transparent;
  transition: all .3s;
}

.value-item:hover {
  background: var(--sand);
  border-top-color: var(--brand);
}

.value-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--brand-mist);
  margin-bottom: 18px;
}

.value-title {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: .01em;
}

.value-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-mid);
}

/* Domaines */
.domains {
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.domain-item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(52,88,83,.08);
}

.domain-item:last-child { border-bottom: 1px solid rgba(52,88,83,.08); }

.domain-left {
  padding: 44px 100px 44px 52px;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory-dark);
  transition: background .2s ease;
}

.domain-item.is-open .domain-left { background: var(--ivory); }

.domain-tag {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-sage);
  margin-bottom: 10px;
}

.domain-name {
  font-size: 30px;
  font-weight: 200;
  color: var(--ink);
  letter-spacing: .01em;
}

.domain-right {
  padding: 0 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: padding .35s ease;
  border-top: 1px solid rgba(52,88,83,.06);
}
.domain-item.is-open .domain-right {
  padding: 44px 52px 52px;
}

.domain-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-mid);
}

.domain-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.domain-ex {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--brand-mist);
  color: var(--brand-mid);
  border-radius: 100px;
}

/* ============================================================
   PAGE APPROCHE — RÉFÉRENCE LIVRE (dans domaine 03)
   ============================================================ */
.domain-book {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(52,88,83,.08);
}

.domain-book-cover {
  flex-shrink: 0;
}

.domain-book-cover-img {
  width: 72px;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(52,88,83,.18);
}

.domain-book-label {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-sage);
  margin-bottom: 4px;
}

.domain-book-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: -.01em;
}

.domain-book-author {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.domain-book-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: 10px;
}

.domain-book-link {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  transition: color .2s;
}

.domain-book-link:hover { color: var(--brand-dark); }

/* ============================================================
   HOME — SECTION APPROCHE
   ============================================================ */
.approach {
  background: var(--brand);
  padding: 80px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.approach-left .approach-tag {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-sage);
  margin-bottom: 18px;
}

.approach-title {
  font-size: 42px;
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ivory);
  margin-bottom: 18px;
}

.approach-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-mist);
}

.approach-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(245,242,235,.8);
  margin-bottom: 28px;
}

.approach-cta {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid rgba(194,216,213,.4);
  color: var(--brand-mist);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 3px;
  text-decoration: none;
  transition: all .2s;
}

.approach-cta:hover {
  background: rgba(255,255,255,.1);
  color: var(--ivory);
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.approach-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.approach-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.approach-step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--brand-sage);
  padding-top: 3px;
}

.approach-step-title {
  font-size: 16px;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 6px;
}

.approach-step-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,242,235,.8);
}

/* ============================================================
   HOME — AGENCE TEASER
   ============================================================ */
.agence-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(52,88,83,.08);
}

.agence-teaser-img {
  overflow: hidden;
}

.agence-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agence-teaser-content {
  padding: 72px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(52,88,83,.08);
}

.agence-teaser-title {
  font-size: 36px;
  font-weight: 200;
  color: var(--ink);
  margin: 14px 0 18px;
  letter-spacing: -.01em;
}

.agence-teaser-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-mid);
  margin-bottom: 32px;
}

.agence-bureaux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid rgba(52,88,83,.08);
  padding-top: 28px;
}

.agence-bureau-city {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 6px;
}

.agence-bureau-addr {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-mid);
}

/* ============================================================
   HOME — CTA CONTACT
   ============================================================ */
/* ============================================================
   SECTION RÉSEAUX SOCIAUX — ACCUEIL
   ============================================================ */
.home-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 64px 52px;
  background: var(--brand);
  gap: 40px;
}

.home-social-left .eyebrow {
  color: rgba(245,242,235,.5);
  margin-bottom: 10px;
}

.home-social-title {
  font-size: 28px;
  font-weight: 200;
  color: var(--ivory);
  letter-spacing: .02em;
}

.home-social-icons {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.home-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245,242,235,.7);
  text-decoration: none;
  transition: color var(--tr);
}

.home-social-link svg {
  width: 28px;
  height: 28px;
}

.home-social-link span {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
}

.home-social-link:hover {
  color: var(--ivory);
}

@media (max-width: 768px) {
  .home-social {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 20px;
    gap: 32px;
  }
}

.home-contact-cta {
  padding: 80px 52px;
  background: var(--ivory-dark);
  border-top: 1px solid rgba(52,88,83,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.home-cta-left { }

.home-cta-right {
  border-left: 1px solid rgba(52,88,83,.08);
  padding-left: 60px;
}

.home-cta-title {
  font-size: 42px;
  font-weight: 200;
  color: var(--ink);
  margin: 14px 0 32px;
  letter-spacing: -.01em;
}

.home-cta-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================================================
   CTA SECTION GÉNÉRIQUE
   ============================================================ */
.cta-section {
  padding: 80px 52px;
  text-align: center;
  background: var(--ivory-dark);
  border-top: 1px solid rgba(52,88,83,.08);
}

.cta-section-dark {
  background: var(--brand);
  color: var(--ivory);
}

.cta-section-title {
  font-size: 42px;
  font-weight: 200;
  letter-spacing: -.01em;
  margin: 14px 0 20px;
}

.cta-section-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,242,235,.7);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.cta-section-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

/* ============================================================
   ÉQUIPE
   ============================================================ */
.team-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

/* Version studio (page équipe) : texte + mosaïque */
.team-hero-studio {
  grid-template-columns: 1fr 1fr;
}

.team-hero-studio .team-hero-left {
  border-right: 1px solid rgba(52,88,83,.08);
}

/* ── Mosaïque 3 cases ── */
.team-hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
  height: 100%;         /* remplit la cellule de la grille hero */
  min-height: 400px;    /* hauteur minimale si la cellule ne s'étire pas */
  gap: 2px;
  background: var(--ivory-dark); /* couleur visible entre les cases */
}

.mosaic-cell {
  position: relative;
  overflow: hidden;
  background: var(--ivory-dark);
}

/* Portrait — colonne gauche, toute la hauteur */
.mosaic-portrait {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Paysage haut — colonne droite, ligne 1 */
.mosaic-landscape-top {
  grid-column: 2;
  grid-row: 1;
}

/* Paysage bas — colonne droite, ligne 2 */
.mosaic-landscape-bottom {
  grid-column: 2;
  grid-row: 2;
}

/* Images dans les cellules */
.mosaic-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 1.2s ease;
}

/* Image entrante cachée jusqu'au fondu */
.mosaic-img.mosaic-next {
  opacity: 0;
}

/* Image courante — pleinement visible */
.mosaic-img.mosaic-current {
  opacity: 1;
  z-index: 1;
}

.team-hero-left {
  padding: 80px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(52,88,83,.08);
}

.team-hero-title {
  font-size: 48px;
  font-weight: 200;
  line-height: 1.12;
  color: var(--ink);
  margin: 12px 0 18px;
}

.team-hero-title em {
  font-style: italic;
  color: var(--brand-mid);
}

.team-hero-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 380px;
}

.team-hero-right {
  padding: 80px 52px;
  display: flex;
  align-items: center;
}

.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
}

.team-stat {
  padding: 28px;
  background: var(--ivory-dark);
}

.team-stat-n {
  font-size: 44px;
  font-weight: 200;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -.02em;
}

.team-stat-l {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-top: 6px;
  display: block;
}

/* Founders */
.founders-section {
  padding: 68px 52px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.founders-label {
  display: block;
  margin-bottom: 36px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  max-width: 900px;
}

/* Flip card */
.flip-card {
  cursor: pointer;
  perspective: 1200px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 420px;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.flip-card.flipped .flip-inner,
.flip-card:focus .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 2px;
  overflow: hidden;
}

.flip-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
}

.founder-photo {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-initials {
  font-size: 64px;
  font-weight: 200;
  color: rgba(255,255,255,.5);
  letter-spacing: -.02em;
}

.founder-plant {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 48px;
  opacity: .3;
}

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(26,46,43,.9) 0%, transparent 100%);
}

.founder-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid rgba(194,216,213,.4);
  color: var(--brand-mist);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.founder-name {
  font-size: 22px;
  font-weight: 300;
  color: var(--ivory);
}

.founder-qual {
  font-size: 11px;
  font-weight: 300;
  color: rgba(194,216,213,.7);
  margin-top: 4px;
}

.flip-back-plant {
  font-size: 36px;
  margin-bottom: 20px;
  opacity: .4;
}

.flip-back-name {
  font-size: 24px;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 12px;
}

.flip-back-quote {
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: rgba(245,242,235,.65);
  line-height: 1.75;
  margin-bottom: 16px;
}

.flip-back-bio {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,242,235,.5);
  line-height: 1.8;
  margin-bottom: 20px;
}

.flip-back-role {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-sage);
  margin-top: auto;
}

.flip-bar {
  height: 3px;
  background: var(--brand-sage);
  width: 40px;
  margin: 12px 0 6px;
  transition: width .3s;
}

.flip-card:hover .flip-bar { width: 80px; }

.flip-info { padding: 8px 16px; }
.flip-info-name { font-size: 16px; font-weight: 300; color: var(--ink); }
.flip-info-role { font-size: 10px; color: var(--ink-light); margin-top: 2px; }

/* Team grid */
.team-section {
  padding: 52px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 24px;
}

.team-member-card {
  background: var(--ivory-dark);
  transition: background .2s;
}

.team-member-card:hover { background: var(--sand); }

.team-member-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.team-member-card:hover .team-member-photo img {
  transform: scale(1.03);
}

.team-member-placeholder {
  width: 100%;
  height: 100%;
  background: var(--brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.team-member-initials {
  font-size: 36px;
  font-weight: 200;
  color: rgba(255,255,255,.5);
}

.team-member-emoji {
  font-size: 28px;
  opacity: .4;
}

.team-member-info {
  padding: 16px 18px 20px;
}

.team-member-name {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 3px;
}

.team-member-role {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-mid);
  margin-bottom: 2px;
}

.team-member-bureau {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-sage);
}

/* Offices */
.team-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(52,88,83,.08);
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.team-office {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(52,88,83,.08);
}

.team-office:last-child { border-right: none; }

.team-office-visual {
  height: 240px;
  background: var(--ivory-dark);
  overflow: hidden;
}

.team-office-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-office-visual-nyon { background: linear-gradient(160deg, var(--brand-mid), var(--brand-dark)); }
.team-office-visual-neuchatel { background: linear-gradient(160deg, var(--brand), var(--ink)); }

.team-office-info {
  padding: 36px 52px;
  flex: 1;
}

.team-office-city {
  font-size: 32px;
  font-weight: 200;
  color: var(--ink);
  margin: 12px 0 12px;
}

.team-office-addr {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 16px;
}

.team-office-phone {
  font-size: 14px;
  color: var(--brand);
  text-decoration: none;
  transition: color .2s;
}

.team-office-phone:hover { color: var(--brand-dark); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.contact-hero-left {
  padding: 80px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(52,88,83,.08);
}

.contact-hero-title {
  font-size: 48px;
  font-weight: 200;
  color: var(--ink);
  margin: 14px 0 18px;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.contact-hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
  max-width: 420px;
}

.contact-hero-right {
  padding: 60px 52px;
  display: flex;
  align-items: center;
  background: var(--ivory-dark);
}

.contact-info-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 28px;
}

.contact-info-label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.contact-info-val {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-mid);
}

.contact-info-link {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s;
}

.contact-info-link:hover { color: var(--brand-dark); }

/* Formulaire + schéma côte à côte */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  border-top: 1px solid rgba(52,88,83,.08);
}

.contact-form-section {
  padding: 68px 52px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 8px;
  font-weight: 400;
}

.required { color: var(--brand); }

.form-input {
  padding: 12px 16px;
  border: 1px solid var(--sand);
  border-radius: 3px;
  background: var(--ivory);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--brand-sage);
  box-shadow: 0 0 0 3px rgba(122,170,158,.15);
}

.form-input.has-error {
  border-color: #c0392b;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a9e9a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-error {
  font-size: 11px;
  color: #c0392b;
  margin-top: 5px;
  display: none;
}

.field-error.is-visible { display: block; }

.form-consent {
  margin-bottom: 24px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--brand);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-submit {
  padding: 14px 36px;
  background: var(--brand);
  color: var(--ivory);
  font-family: 'Nunito', sans-serif;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s;
  position: relative;
}

.btn-submit:hover { background: var(--brand-dark); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }

.form-legal {
  font-size: 11px;
  color: var(--ink-light);
}

/* Notices */
.form-notice {
  padding: 16px 20px;
  border-radius: 3px;
  margin-bottom: 24px;
  font-size: 14px;
}

.form-success {
  background: rgba(52,88,83,.08);
  border-left: 3px solid var(--brand);
  color: var(--brand-dark);
}

.form-error {
  background: rgba(192,57,43,.06);
  border-left: 3px solid #c0392b;
  color: #c0392b;
}

.contact-map {
  border-top: 1px solid rgba(52,88,83,.08);
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: none;
}

/* Schéma de localisation (image) — côté droit du formulaire */
.contact-location-schema {
  padding: 68px 52px 68px 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.contact-location-schema-img {
  width: 100%;
  height: auto;       /* s'adapte proportionnellement */
  max-height: none;   /* ne jamais couper la carte */
  object-fit: contain;
  display: block;
  border-radius: 3px;
}

/* Liens de contact obfusqués */
.obf-contact {
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
  border-bottom: 1px solid var(--brand-mist);
  padding-bottom: 1px;
}

.obf-contact:hover { color: var(--brand-dark); }

.obf-placeholder {
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .75;
}

/* ============================================================
   PAGE PROTECTION DES DONNÉES (LPD)
   ============================================================ */
.lpd-header {
  background: var(--ivory-dark);
  border-bottom: 1px solid var(--sand);
  padding: 64px 52px 52px;
}

.lpd-header-inner {
  max-width: 760px;
}

.lpd-header .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.lpd-title {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.lpd-updated {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: .06em;
}

.lpd-body {
  padding: 64px 52px 80px;
}

.lpd-content {
  max-width: 760px;
}

/* Titres des 7 sections */
.lpd-content h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brand-mist);
}

.lpd-content h2:first-child {
  margin-top: 0;
}

/* Sous-titres optionnels */
.lpd-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 8px;
}

/* Corps de texte */
.lpd-content p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
  margin-bottom: 14px;
}

.lpd-content p:last-child {
  margin-bottom: 0;
}

/* Listes */
.lpd-content ul,
.lpd-content ol {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.lpd-content ul li,
.lpd-content ol li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.lpd-content ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brand-sage);
}

.lpd-content ol {
  counter-reset: lpd-ol;
}

.lpd-content ol li::before {
  counter-increment: lpd-ol;
  content: counter(lpd-ol) '.';
  position: absolute;
  left: 0;
  color: var(--brand-sage);
  font-size: 13px;
}

/* Liens dans le contenu */
.lpd-content a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--brand-mist);
  text-underline-offset: 3px;
  transition: color var(--tr), text-decoration-color var(--tr);
}

.lpd-content a:hover {
  color: var(--brand-dark);
  text-decoration-color: var(--brand);
}

/* Bloc d'adresse de contact dans le texte */
.lpd-content address {
  display: block;
  font-style: normal;
  background: var(--ivory-dark);
  border-left: 3px solid var(--brand-mist);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-mid);
}

/* Lien "protection des données" discret dans le footer et le formulaire */
.footer-privacy-link {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,242,235,.35);
  text-decoration: none;
  transition: color .2s;
}

.footer-privacy-link:hover {
  color: rgba(245,242,235,.7);
}

.form-legal a,
.form-consent a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--brand-mist);
  text-underline-offset: 2px;
}

.form-legal a:hover,
.form-consent a:hover {
  color: var(--brand-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .lpd-header { padding: 48px 32px 40px; }
  .lpd-body   { padding: 48px 32px 64px; }
}

@media (max-width: 768px) {
  .lpd-header { padding: 36px 20px 32px; }
  .lpd-title  { font-size: 28px; }
  .lpd-body   { padding: 36px 20px 52px; }
  .lpd-content h2 { margin-top: 36px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 36px 52px;          /* réduit de 52px → 36px vertical */
  align-items: start;
}

.footer-brand {
  padding-right: 40px;         /* réduit de 52px → 40px */
  border-right: 1px solid rgba(255,255,255,.08);
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 600;
  color: rgba(245,242,235,.9);
}

.footer-desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,242,235,.5);
  margin-top: 10px;            /* réduit de 16px → 10px */
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;            /* réduit de 24px → 16px */
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;                 /* réduit de 36px → 32px */
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(245,242,235,.6);
  transition: border-color .2s, color .2s, background .2s;
  flex-shrink: 0;
}

.footer-social-link svg {
  width: 15px;
  height: 15px;
}

.footer-social-link:hover {
  border-color: rgba(255,255,255,.6);
  color: var(--ivory);
  background: rgba(255,255,255,.06);
}

.footer-col {
  padding: 0 28px;             /* réduit de 36px → 28px */
  border-right: 1px solid rgba(255,255,255,.08);
}

.footer-col:last-child { border-right: none; }

.footer-col-title {
  display: block;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,242,235,.4);
  margin-bottom: 12px;         /* réduit de 16px → 12px */
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;                    /* réduit de 10px → 8px */
}

.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,242,235,.7);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--ivory); }

.footer-addr {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,242,235,.5);
}

.footer-addr a,
.footer-addr .obf-contact {
  color: rgba(245,242,235,.7);
  text-decoration: none;
  transition: color .2s;
}

.footer-addr a:hover,
.footer-addr .obf-contact:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 52px;          /* réduit de 20px → 14px */
}

.footer-copy {
  font-size: 11px;
  color: rgba(245,242,235,.35);
}

.footer-legal {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,242,235,.35);
  text-decoration: none;
  transition: color .2s;
}

.footer-legal:hover { color: rgba(245,242,235,.7); }

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.bela-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 36px 52px;
}

.bela-pagination a,
.bela-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 12px;
  border: 1px solid var(--brand-mist);
  border-radius: 3px;
  color: var(--ink-mid);
  text-decoration: none;
  transition: all .2s;
}

.bela-pagination .current,
.bela-pagination a:hover {
  background: var(--brand);
  color: var(--ivory);
  border-color: var(--brand);
}

/* ============================================================
   RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }

  .site-header { padding: 0 32px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 52px 32px 40px; border-right: none; border-bottom: 1px solid rgba(52,88,83,.08); }
  .hero-right { min-height: 360px; }
  .hero-right-green { padding: 52px 32px; }
  .hero-title { font-size: 40px; }

  .stats { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 52px 32px; }
  .home-proj-grid { grid-template-columns: 1fr 1fr; }
  .home-proj-grid .proj-card:first-child { grid-row: auto; }
  .home-proj-grid .proj-card:first-child img { aspect-ratio: 4/3; height: auto; }

  .approach { grid-template-columns: 1fr; gap: 40px; padding: 60px 32px; }

  .agence-teaser { grid-template-columns: 1fr; }
  .agence-teaser-content { padding: 52px 32px; border-left: none; border-top: 1px solid rgba(52,88,83,.08); }

  .archive-proj-grid { grid-template-columns: repeat(2, 1fr); padding: 0 32px 40px; }
  .archive-filters { padding: 0 32px 24px; }

  .definition { grid-template-columns: 1fr; gap: 32px; padding: 52px 32px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .domain-left { padding: 36px 72px 36px 32px; }
  .domain-left::after { right: 32px; }
  .domain-right { padding: 0 32px; }
  .domain-item.is-open .domain-right { padding: 36px 32px 44px; }

  .team-hero,
  .team-hero-studio { grid-template-columns: 1fr; }
  .team-hero-right { border-top: 1px solid rgba(52,88,83,.08); padding: 40px 32px; }
  .team-hero-left,
  .team-hero-studio .team-hero-left { border-right: none; padding: 60px 32px 40px; }
  .team-hero-mosaic { min-height: 260px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr; max-width: 500px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-offices { grid-template-columns: 1fr; }
  .team-office { border-right: none; border-bottom: 1px solid rgba(52,88,83,.08); }

  .contact-hero { grid-template-columns: 1fr; }
  .contact-hero-right { border-top: 1px solid rgba(52,88,83,.08); }

  .proj-body { grid-template-columns: 1fr 240px; }
  .proj-sidebar { border-left: 1px solid rgba(52,88,83,.08); border-right: none; order: 2; }
  .proj-content { order: 1; }
  .proj-infos { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; padding: 32px 32px; }
  .footer-brand { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 28px; padding-right: 0; grid-column: 1 / -1; }
  .footer-col { border-right: none; padding: 0; }
  .footer-bottom { padding: 12px 32px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad-x: 20px; }

  /* Header */
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .m-burger { display: flex; }

  /* Hero */
  .hero-title { font-size: 32px; font-weight: 400; }
  .hero-left { padding: 40px 20px 32px; }
  .hero-right { min-height: 280px; }
  .hero-right-green { padding: 40px 20px; }
  .hero-quote { font-size: 18px; }

  /* Stats — 4 colonnes sur une seule ligne */
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat  { padding: 14px 10px; }
  .stat-n { font-size: 20px; font-weight: 400; }
  .stat-l { font-size: 9px; letter-spacing: .08em; }

  /* Sections */
  .section { padding: 40px 20px; }
  /* sec-head : titre à gauche, bouton à droite sur la même ligne */
  .sec-head { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: nowrap; }
  .sec-head .sec-title { font-size: 28px; flex-shrink: 1; min-width: 0; }
  .sec-head .cta-main  { flex-shrink: 0; white-space: nowrap; font-size: 10px; padding: 9px 16px; }

  /* Projets */
  .home-proj-grid { grid-template-columns: 1fr; }
  .archive-proj-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 140px;
    padding: 0 20px 32px;
  }
  /* IMPORTANT : réinitialiser grid-column à span 1 pour éviter la
     colonne implicite invisible sur un layout à 1 colonne.
     On restaure les grid-row spans pour conserver la variation de tailles. */
  .archive-proj-grid .proj-card.proj-card-large {
    grid-column: span 1;
    grid-row: span 3;  /* 3×140 = 420px — image mise en avant */
  }
  .archive-proj-grid .proj-card.proj-card-medium {
    grid-column: span 1;
    grid-row: span 2;  /* 2×140 = 280px — portrait */
  }
  .archive-proj-grid .proj-card.proj-card-small {
    grid-column: span 1;
    grid-row: span 1;  /* 1×140 = 140px — compact */
  }
  .archive-filters { padding: 0 20px 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .archive-filters::-webkit-scrollbar { display: none; }
  .fbtn { white-space: nowrap; }

  /* Page hero */
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-left { padding: 40px 20px 32px; border-right: none; border-bottom: 1px solid rgba(52,88,83,.08); }
  .page-hero-title { font-size: 36px; font-weight: 400; }
  .page-hero-stat-n { font-weight: 400; }
  .page-hero-right { padding: 32px 20px; }

  /* Fiche */
  .proj-hero { height: 320px; }
  .proj-hero-title { font-size: 26px; font-weight: 400; }
  .proj-hero-year { font-weight: 400; }
  .proj-intro { font-weight: 400; }
  .kpi-num { font-weight: 400; }
  .proj-hero-content { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .proj-hero-year { font-size: 40px; }
  .proj-infos { grid-template-columns: 1fr 1fr; }
  .proj-body { grid-template-columns: 1fr; }
  .proj-sidebar { border-left: none; border-top: 1px solid rgba(52,88,83,.08); padding: 32px 20px; order: 2; }
  .proj-content { padding: 32px 20px; order: 1; }
  .proj-nav { grid-template-columns: 1fr; }
  .proj-nav-item { padding: 24px 20px; border-right: none; border-bottom: 1px solid rgba(52,88,83,.08); }
  .breadcrumb { padding: 12px 20px; }
  .back-bar { padding: 16px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-img-large { grid-column: span 2; grid-row: span 2; }
  .proj-inline-gallery { grid-auto-rows: 160px; }
  .proj-text-area { padding: 32px 20px; }
  .proj-text-area .proj-intro,
  .proj-text-area .content-section { width: 100%; }

  /* Approche */
  .definition { padding: 40px 20px; gap: 24px; }
  .def-title { font-weight: 400; }
  .steps-section { padding: 52px 20px; }
  .steps-title { font-weight: 400; }
  .steps-header { flex-direction: column; gap: 16px; margin-bottom: 36px; }
  .steps-subtitle { text-align: left; }
  .steps-grid { grid-template-columns: 1fr; }
  .values { padding: 52px 20px; }
  .values-title { font-weight: 400; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .domains { }
  .domain-left { padding: 28px 52px 28px 20px; }
  .domain-left::after { right: 20px; font-size: 18px; }
  .domain-right { padding: 0 20px; }
  .domain-item.is-open .domain-right { padding: 28px 20px 36px; }
  .domain-name { font-size: 22px; font-weight: 400; }

  /* Équipe */
  .team-hero-left { padding: 40px 20px; }
  .team-hero-right { padding: 28px 20px; }
  .team-hero-title { font-size: 32px; font-weight: 400; }
  .team-stat-n { font-weight: 400; }
  .team-office-city { font-weight: 400; }
  .founders-section { padding: 40px 20px; }
  .flip-inner { height: 360px; }
  .team-section { padding: 32px 20px; }
  .team-section > .eyebrow { padding: 0 20px !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-office-info { padding: 28px 20px; }

  /* Contact */
  .contact-hero-left { padding: 40px 20px; }
  .contact-hero-right { padding: 32px 20px; }
  .contact-hero-title { font-size: 34px; font-weight: 400; }
  .contact-form-wrap { grid-template-columns: 1fr; }
  .contact-form-section { padding: 40px 20px; }
  .contact-location-schema { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Approach (home) */
  .approach { padding: 52px 20px; }
  .approach-title { font-size: 30px; font-weight: 400; }

  /* Agence */
  .agence-teaser-img     { order: 2; }
  .agence-teaser-content { order: 1; padding: 40px 20px; }
  .agence-teaser-title   { font-size: 26px; font-weight: 400; }
  .agence-bureaux        { grid-template-columns: 1fr; }

  /* CTA Contact */
  .home-contact-cta { padding: 52px 20px; grid-template-columns: 1fr; gap: 40px; }
  .home-cta-right { border-left: none; border-top: 1px solid rgba(52,88,83,.08); padding-left: 0; padding-top: 32px; }
  .home-cta-title { font-size: 30px; font-weight: 400; }
  .home-cta-btns { flex-direction: column; align-items: flex-start; }
  .cta-section { padding: 52px 20px; }
  .cta-section-title { font-size: 28px; font-weight: 400; }
  .home-social-title { font-weight: 400; }
  .cta-section-btns { flex-direction: column; }

  /* Footer — reorganisé pour mobile */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 40px 20px 0;
    gap: 0;
  }

  /* Brand (1er enfant) : pleine largeur */
  .footer-top > div:nth-child(1) {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 32px;
  }
  .footer-desc { max-width: 100%; font-size: 18px; }
  .footer-social-link { width: 38px; height: 38px; }

  /* Navigation (2e enfant) : pleine largeur, liens en grille 2×2 */
  .footer-top > div:nth-child(2) {
    grid-column: 1 / -1;
    padding: 28px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-top > div:nth-child(2) .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
  }
  .footer-top > div:nth-child(2) .footer-links a { font-size: 16px; }

  /* Nyon (3e enfant) : colonne gauche */
  .footer-top > div:nth-child(3) {
    grid-column: 1;
    padding: 28px 16px 28px 0;
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: none;
  }

  /* Neuchâtel (4e enfant) : colonne droite */
  .footer-top > div:nth-child(4) {
    grid-column: 2;
    padding: 28px 0 28px 16px;
    border-right: none;
    border-bottom: none;
  }

  .footer-col-title { font-size: 14px; margin-bottom: 10px; }
  .footer-addr { font-size: 17px; line-height: 1.8; }

  .footer-bottom { flex-direction: column; gap: 10px; padding: 20px; text-align: center; }

  /* Lightbox */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }

  /* Pagination */
  .bela-pagination { padding: 24px 20px; }

  /* Load more */
  .load-more-wrap { padding: 24px 20px; }

  /* Textes descriptifs accueil — agrandis sur mobile */
  .hero-desc                { font-size: 18px; }
  .approach-text            { font-size: 17px; }
  .approach-step-text       { font-size: 16px; }
  .agence-teaser-text       { font-size: 18px; }
  .agence-bureau-addr       { font-size: 15px; }

  /* Titres des vignettes projet — plus lisibles sur mobile */
  .proj-name { font-weight: 500; font-size: 16px; }
  .proj-cat  { font-weight: 500; font-size: 13px; }

  /* ============================================================
     TEXTES ≤ 14px — augmentés de +4px sur mobile
     ============================================================ */

  /* Boutons & CTAs */
  .cta-main    { font-size: 14px; }
  .cta-ghost   { font-size: 14px; }
  .load-more-btn { font-size: 14px; }
  .btn-submit  { font-size: 14px; }
  .breadcrumb  { font-size: 14px; }
  .back-link   { font-size: 14px; }
  .m-drawer-close { font-size: 18px; }

  /* Hero accueil */
  .hero-projet-moment      { font-size: 17px; }
  .hero-projet-moment-name { font-size: 18px; }
  .hero-quote-source       { font-size: 14px; }

  /* Overlay cartes projet */
  .overlay-tag { font-size: 13px; }
  .overlay-loc { font-size: 18px; }

  /* Méta projet */
  .proj-loc         { font-size: 14px; }
  .fbtn             { font-size: 13px; }
  .proj-cat-badge   { font-size: 13px; }
  .bela-no-results  { font-size: 18px; }

  /* Page hero */
  .page-hero-stat-l      { font-size: 15px; }
  .page-hero-type-badge  { font-size: 13px; }

  /* Fiche projet */
  .proj-hero-loc   { font-size: 18px; }
  .proj-info-label { font-size: 13px; }
  .proj-info-val   { font-size: 18px; }
  .sidebar-title   { font-size: 13px; }
  .kpi-label       { font-size: 14px; }
  .tag             { font-size: 13px; }
  .sidebar-text    { font-size: 16px; }
  .proj-body-text  { font-size: 18px; }
  .content-text    { font-size: 18px; }
  .proj-nav-dir    { font-size: 13px; }
  .proj-nav-loc    { font-size: 15px; }

  /* Page Approche */
  .def-tag             { font-size: 17px; }
  .def-text            { font-size: 18px; }
  .steps-tag           { font-size: 17px; }
  .steps-subtitle      { font-size: 17px; }
  .step-text           { font-size: 17px; }
  .step-kw             { font-size: 13px; }
  .values-tag          { font-size: 17px; }
  .value-num           { font-size: 15px; }
  .value-text          { font-size: 16px; }
  .domain-tag          { font-size: 13px; }
  .domain-text         { font-size: 17px; }
  .domain-ex           { font-size: 13px; }
  .domain-book-label   { font-size: 13px; }
  .domain-book-author  { font-size: 15px; }
  .domain-book-desc    { font-size: 17px; }
  .domain-book-link    { font-size: 14px; }
  .approach-left .approach-tag { font-size: 17px; }
  .approach-tag        { font-size: 14px; }
  .approach-step-num   { font-size: 15px; }

  /* Agence */
  .agence-bureau-city  { font-size: 18px; }

  /* Social & CTA */
  .home-social-link span { font-size: 13px; }
  .cta-section-text      { font-size: 18px; }

  /* Page Équipe */
  .team-stat-l          { font-size: 14px; }
  .founder-badge        { font-size: 13px; }
  .founder-qual         { font-size: 15px; }
  .flip-back-quote      { font-size: 17px; }
  .flip-back-bio        { font-size: 16px; }
  .flip-back-role       { font-size: 13px; }
  .flip-info-role       { font-size: 14px; }
  .team-member-role     { font-size: 15px; }
  .team-member-bureau   { font-size: 13px; }
  .team-office-addr     { font-size: 17px; }
  .team-office-phone    { font-size: 18px; }
  .team-office-label    { font-size: 17px; }

  /* Contact & Formulaire */
  .contact-info-label   { font-size: 14px; }
  .form-label           { font-size: 14px; }
  .form-input           { font-size: 16px; }
  .field-error          { font-size: 15px; }
  .form-checkbox-label  { font-size: 17px; }
  .form-legal           { font-size: 15px; }
  .form-notice          { font-size: 18px; }
  .obf-placeholder      { font-size: 15px; }

  /* Footer */
  .footer-links a      { font-size: 17px; }
  .footer-copy         { font-size: 15px; }
  .footer-legal        { font-size: 14px; }
  .footer-privacy-link { font-size: 14px; }
  .footer-social-icon  { font-size: 16px; }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.noscript-only { display: none; }
.no-js .noscript-only { display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* État de filtrage en cours (transition définie dans la section animations) */
.proj-card.is-filtering {
  opacity: 0;
  transform: scale(.98);
}

/* Print */
@media print {
  .site-header, .site-footer, .proj-nav, .back-bar { display: none; }
  .proj-hero { height: 200px; }
}

/* ============================================================
   ANIMATIONS — KEYFRAMES
   ============================================================ */
@keyframes belaSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes belaSlideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes belaSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes belaFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes belaScaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes belaProgressIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   HEADER — état scrollé
   ============================================================ */
.site-header {
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 24px rgba(26,46,43,.12);
}

/* ============================================================
   HERO — ANIMATION D'ENTRÉE (CSS pur, aucun JS requis)
   ============================================================ */
.hero-anim {
  opacity: 0;
  animation: belaSlideUp 0.65s cubic-bezier(.22,.68,0,1.2) both;
}
.hero-anim-right {
  opacity: 0;
  animation: belaFadeIn 1s ease 0.2s both;
}

/* Page Approche — hero */
.hero-approche .hero-left .eyebrow { animation: belaSlideUp .6s ease .05s both; }
.hero-approche .hero-left .hero-title { animation: belaSlideUp .7s ease .2s both; }
.hero-approche .hero-left .hero-intro { animation: belaSlideUp .6s ease .35s both; }
.hero-approche .hero-right { animation: belaFadeIn 1s ease .15s both; }

/* Page Contact — hero */
.contact-hero .contact-hero-left .eyebrow { animation: belaSlideUp .6s ease .05s both; }
.contact-hero .contact-hero-left .contact-hero-title { animation: belaSlideUp .7s ease .2s both; }
.contact-hero .contact-hero-left .contact-hero-desc { animation: belaSlideUp .6s ease .35s both; }
.contact-hero .contact-hero-right { animation: belaSlideRight .7s ease .25s both; }

/* Hero projet */
.proj-hero img.proj-hero-img { animation: belaSlideUp 1.5s cubic-bezier(.22,.68,0,1.2) both; }
.proj-hero-content .proj-hero-left { animation: belaSlideUp .65s ease .1s both; }
.proj-hero-content .proj-hero-right { animation: belaFadeIn .8s ease .3s both; }

/* ============================================================
   SCROLL REVEAL — classes ajoutées par JS
   ============================================================ */
.bela-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(.22,.68,0,1.1), transform 0.6s cubic-bezier(.22,.68,0,1.1);
  will-change: opacity, transform;
}
.bela-reveal.reveal-left  { transform: translateX(-40px); }
.bela-reveal.reveal-right { transform: translateX(40px); }
.bela-reveal.reveal-fade  { transform: none; }

.bela-reveal.reveal-done {
  opacity: 1;
  transform: translate(0);
}

/* ============================================================
   FILTRES PROJETS — transitions des cartes
   ============================================================ */
.proj-card {
  transition: opacity .35s ease, transform .35s ease;
}
.proj-card.is-hidden {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  position: absolute;    /* retire de la grille sans casser le layout */
  visibility: hidden;
}

/* ============================================================
   CARTES PROJET — hover amélioré
   ============================================================ */
.proj-card-inner {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.proj-card-img {
  overflow: hidden;
}
.proj-card-img img {
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-card-inner:hover .proj-card-img img,
.proj-card-inner:focus .proj-card-img img {
  transform: scale(1.07);
}
.proj-info {
  transition: transform .35s ease;
}
.proj-card-inner:hover .proj-info {
  transform: translateY(-4px);
}

/* ============================================================
   GALERIE — hover thumbnail
   ============================================================ */
.gallery-img {
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-img img {
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-img::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  background: rgba(52,88,83,.45);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-img:hover::after { opacity: 1; }
.gallery-img:hover img    { transform: scale(1.06); }

/* ============================================================
   LIGHTBOX — animation d'ouverture
   ============================================================ */
.bela-lightbox {
  transition: opacity .3s ease;
  opacity: 0;
  pointer-events: none;
}
.bela-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
#lightbox-img {
  transition: opacity .25s ease;
  max-height: 88vh;
  max-width: 90vw;
  object-fit: contain;
  border-radius: 3px;
}

/* ============================================================
   DOMAIN ACCORDION — Page Approche
   ============================================================ */
.domain-item {
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid rgba(52,88,83,.12);
  transition: background .2s ease;
}
.domain-item:hover { background: rgba(52,88,83,.03); }

.domain-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22,.68,0,1.1);
}
.domain-item.is-open .domain-collapse {
  max-height: 900px;
}

.domain-left {
  position: relative;
}
.domain-left::after {
  content: '+';
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 200;
  color: var(--brand);
  transition: transform .35s ease;
  line-height: 1;
}
.domain-item.is-open .domain-left::after {
  transform: translateY(-50%) rotate(45deg);
}

/* ============================================================
   STEP CARDS — animation numéros
   ============================================================ */
.step-num {
  transition: color .3s ease, transform .3s ease;
}
.step-card:hover .step-num {
  color: var(--brand);
  transform: scale(1.08);
}
.step-card {
  transition: transform .35s ease, box-shadow .35s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(52,88,83,.12);
}

/* ============================================================
   VALUE ITEMS
   ============================================================ */
.value-item {
  transition: transform .3s ease;
}
.value-item:hover {
  transform: translateY(-4px);
}

/* ============================================================
   FORMULAIRE CONTACT — Labels flottants
   ============================================================ */
.form-group {
  position: relative;
}
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color .2s ease;
}
.form-group:focus-within .form-label {
  color: var(--brand);
}
.form-input {
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(52,88,83,.12);
}
.form-input.has-error {
  border-color: #c0392b;
}
.form-input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

/* Email anti-spam : texte inversé re-affiché à l'endroit via CSS */
.email-obfuscated {
  unicode-bidi: bidi-override;
  direction: rtl;
  display: inline-block;
  user-select: all; /* sélection manuelle toujours possible */
}

/* Champ honeypot — invisible pour les humains, visible pour les bots */
.bela-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   BARRE DE PROGRESSION — Pages projet
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-sage));
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ============================================================
   BOUTON RETOUR EN HAUT — état visible
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(52,88,83,.25);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand-dark);
}

/* ============================================================
   FLIP CARDS — hover glow
   ============================================================ */
.flip-card:hover .flip-inner {
  filter: drop-shadow(0 8px 24px rgba(52,88,83,.18));
}

/* ============================================================
   AGENCE TEASER — image hover
   ============================================================ */
.agence-teaser-img {
  overflow: hidden;
  border-radius: 4px;
}
.agence-teaser-img img {
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agence-teaser:hover .agence-teaser-img img {
  transform: scale(1.04);
}

/* ============================================================
   BOUTONS — micro-animations
   ============================================================ */
.btn-primary,
.btn-ghost,
.cta-main,
.cta-ghost {
  transition: background .25s ease, color .25s ease, border-color .25s ease,
              transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover,
.cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52,88,83,.25);
}
.btn-ghost:hover,
.cta-ghost:hover {
  transform: translateY(-2px);
}

/* ============================================================
   NAV LINKS — indicateur de survol
   ============================================================ */
.site-nav a {
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

/* ============================================================
   FORM NOTICE — animation d'apparition
   ============================================================ */
.form-notice {
  animation: belaSlideUp .4s ease both;
}

/* ============================================================
   PROJ-INFO-ITEM hover
   ============================================================ */
.proj-info-item {
  transition: background .2s ease, transform .2s ease;
}
.proj-info-item:hover {
  transform: translateY(-3px);
}

/* ============================================================
   SIDEBAR KPI — animation chiffre
   ============================================================ */
.kpi-num {
  transition: color .3s ease;
}
.proj-sidebar-section:hover .kpi-num {
  color: var(--brand);
}

/* ============================================================
   RESPONSIVE — désactiver les animations lourdes sur mobile
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 768px) {
  .hero-anim,
  .hero-anim-right {
    animation-duration: .4s;
  }
  .proj-hero img.proj-hero-img {
    animation-duration: .8s;
  }
  .bela-reveal {
    transform: translateY(16px);
  }
}

/* ============================================================
   SCROLLBAR NAVIGATEUR — masquée (design épuré)
   ============================================================ */
html {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE / Edge legacy */
}
html::-webkit-scrollbar {
  display: none;               /* Chrome / Safari / Opera */
}

/* ============================================================
   M-09 — FOCUS VISIBLE (accessibilité clavier)
   Masque le focus souris, affiche un anneau clavier bien visible.
   ============================================================ */
*:focus         { outline: none; }
*:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sur éléments déjà encadrés, décaler légèrement */
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline-offset: 0;
  outline-color: var(--brand);
}

/* Sur fond sombre (boutons CTA verts) */
.btn-contact:focus-visible,
.btn-primary:focus-visible,
.cta-main:focus-visible {
  outline-color: var(--ivory);
}

/* Logo — plus d'espace autour */
.logo-wrap:focus-visible { outline-offset: 6px; }

/* Flip-cards — cibler l'inner pour un rendu propre */
.flip-card:focus-visible { outline: none; }
.flip-card:focus-visible .flip-inner {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   M-08 — CONTRASTE TEXTE (WCAG AA — 4,5:1 minimum)
   Les variables --brand-sage (#7aaa9e, 2,33:1) et --ink-light
   (#7a9e9a, ≈2,1:1) ne passent pas sur fond ivoire.
   On surcharge uniquement les sélecteurs de texte sur fond clair.
   ============================================================ */

/* Étiquettes catégorie dans les cartes projet */
.proj-cat     { color: var(--ink-mid); }

/* Localisation dans les cartes et fiches */
.proj-loc,
.proj-hero-loc { color: var(--ink-mid); }

/* Libellés stats (petits uppercase) */
.stat-l { color: var(--ink-mid); }

/* Libellés infos barre projet */
.proj-info-label { color: var(--ink-mid); }

/* Navigation de projet (précédent / suivant) */
.proj-nav-dir,
.proj-nav-loc { color: var(--ink-mid); }

/* Sidebar KPI labels */
.kpi-label { color: var(--ink-mid); }

/* Sidebar texte */
.sidebar-text { color: var(--ink-mid); }

/* Boutons filtre état normal (texte) */
.fbtn { color: var(--brand); }

/* Breadcrumb texte courant */
.breadcrumb-item:last-child { color: var(--ink-mid); }

/* ============================================================
   M-08 — CONTRASTE — brand-sage (#7aaa9e) sur fond ivoire
   Remplacer par --brand (#345853 — 7,8:1 sur ivoire)
   ============================================================ */
/* Fond clair (ivoire) → texte --brand (7,8:1) */
.def-tag,
.values-tag,
.domain-tag,
.domain-book-label { color: var(--brand); }

/* .steps-tag et .step-kw sont DANS .steps-section { background: var(--brand) }
   → texte clair sinon invisible */
.steps-tag,
.step-kw           { color: var(--brand-mist); }

/* Source de citation hero (fond clair possible) */
.hero-quote-source { color: var(--ink-mid); }

/* ============================================================
   M-08 — TAILLES MINIMALES (WCAG AA — corps ≥ 12 px)
   ============================================================ */
.cta-main,
.cta-ghost         { font-size: 12px; }
.overlay-tag       { font-size: 12px; }
.hero-quote-source { font-size: 12px; }
.stat-l            { font-size: 12px; }
.proj-cat          { font-size: 12px; }
.proj-loc          { font-size: 12px; }
.site-nav a        { font-size: 12px; }

/* ============================================================
   M-09 — ZONES DE CLIC (WCAG 2.5.5)
   CTA : min 44 × 44 px ; autres : min 24 px
   ============================================================ */
.cta-main {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.fbtn           { min-height: 24px; }
.footer-links a { min-height: 24px; display: flex; align-items: center; }

/* ============================================================
   TITRES DE PROJETS — uppercase partout (texte saisi en casse
   normale dans wp-admin, affiché en majuscules par CSS)
   ============================================================ */

/* Cartes : grille archive, page type, accueil */
.proj-name {
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* H1 fiche projet */
.proj-hero-title { text-transform: uppercase; }

/* Navigation précédent / suivant */
.proj-nav-name   { text-transform: uppercase; }

/* Fil d'Ariane — élément courant */
.breadcrumb-current { text-transform: uppercase; }

/* ============================================================
   M-08 COMPLÉMENT — brand-mid sur fond clair (4,3:1 → passe en brand 7,8:1)
   ============================================================ */
/* Italiques de titre en sections ivoire */
.def-title em,
.values-title em   { color: var(--brand); }

/* Intro projet (fond ivoire) */
.proj-intro em     { color: var(--brand); }

/* Flèche navigation projet (fond ivoire) */
.proj-nav-arrow    { color: var(--brand); }

/* ============================================================
   M-09 COMPLÉMENT — zones de clic manquantes (WCAG 2.5.5)
   ============================================================ */
/* Liens du drawer mobile */
.m-drawer a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Lien retour et breadcrumb */
.back-link,
.breadcrumb a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Navigation projet précédent/suivant */
.proj-nav-item {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Contrôles lightbox */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   M-08 COMPLÉMENT — éléments sur fond --brand (dark green)
   --brand-sage (2,9:1) → --brand-mist (#c2d8d5, 5:1) ✅
   ============================================================ */
.approach-left .approach-tag,
.approach-step-num { color: var(--brand-mist); }

/* ============================================================
   M-08 COMPLÉMENT — autres éléments sur fond clair
   ============================================================ */
/* fond ivoire : --brand-mid (4,3:1) → --brand (7,8:1) */
.domain-ex          { color: var(--brand); }

/* fond ivoire : --ink-light (2,3:1) → --ink-mid (5,8:1) */
.domain-book-author { color: var(--ink-mid); }

/* fond --ivory-dark : --brand-sage (2,2:1) → --brand (7,8:1) */
.team-member-bureau { color: var(--brand); }

/* fond blanc : --brand-sage (2,3:1) → --brand (7,8:1) */
.lpd-content ul li::before,
.lpd-content ol li::before { color: var(--brand); }

/* ============================================================
   M-08 TAILLES MINIMALES MANQUANTES (WCAG AA — corps ≥ 12 px)
   ============================================================ */
.step-kw,
.domain-tag,
.domain-ex,
.domain-book-label,
.team-member-bureau { font-size: 12px; }
.approach-cta       { font-size: 12px; }
.approach-step-num  { font-size: 12px; }
