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

/* ============================================================
   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 {
  height: 40px;
  width: auto;
  display: block;
}

.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;
}

.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-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:hover img {
  transform: scale(1.04);
}

.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: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-mist);
  margin-bottom: 6px;
}

.overlay-title {
  font-size: 19px;
  font-weight: 300;
  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: baseline;
  margin-bottom: 28px;
}

/* ============================================================
   GRILLE PROJETS — HOME
   ============================================================ */
.home-proj-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3px;
}

.home-proj-grid .proj-card:first-child {
  grid-row: 1 / 3;
}

.home-proj-grid .proj-card:first-child img {
  aspect-ratio: 3/4;
  height: 100%;
}

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

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

.archive-proj-grid .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;
}

.proj-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.proj-card-large img {
  aspect-ratio: 16/10;
}

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

.proj-card-placeholder {
  aspect-ratio: 4/3;
  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: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--brand-sage);
  margin-bottom: 4px;
}

.proj-name {
  font-size: 15px;
  font-weight: 300;
  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;
  padding: 36px;
}

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

.bela-loader-dots {
  display: flex;
  gap: 6px;
}

.bela-loader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-sage);
  animation: bela-bounce .8s ease infinite;
}

.bela-loader-dots span:nth-child(2) { animation-delay: .15s; }
.bela-loader-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes bela-bounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: .5; }
  40% { transform: scale(1.2); opacity: 1; }
}

.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: 200;
  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: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(52,88,83,.08);
  max-width: 660px;
}

.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 { }

.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
   ============================================================ */
.proj-gallery {
  padding: 52px 52px 0;
  border-top: 1px solid rgba(52,88,83,.08);
}

.proj-gallery-label {
  margin-bottom: 20px;
}

.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 {
  content: '⤢';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: rgba(26,46,43,.7);
  color: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s;
}

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

/* ============================================================
   LIGHTBOX
   ============================================================ */
.bela-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,46,43,.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.bela-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.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; }

.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: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid rgba(52,88,83,.08);
}

.domain-item:last-child { border-bottom: none; }

.domain-left {
  padding: 52px;
  border-right: 1px solid rgba(52,88,83,.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory-dark);
}

.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: 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.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,.65);
  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,.5);
}

/* ============================================================
   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
   ============================================================ */
.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);
}

.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 0; }
.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 0;
  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: 100%;
  max-height: 600px;
  object-fit: cover;
  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;
}

/* ============================================================
   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: 52px;
}

.footer-brand {
  padding-right: 52px;
  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.8;
  color: rgba(245,242,235,.5);
  margin-top: 16px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  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: 16px;
  height: 16px;
}

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

.footer-col {
  padding: 0 36px;
  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: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.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.9;
  color: rgba(245,242,235,.5);
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 52px;
}

.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); }

/* ============================================================
   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-item { grid-template-columns: 1fr; }
  .domain-left { border-right: none; border-bottom: 1px solid rgba(52,88,83,.08); padding: 36px 32px; }
  .domain-right { padding: 32px 32px; }

  .team-hero { grid-template-columns: 1fr; }
  .team-hero-right { border-top: 1px solid rgba(52,88,83,.08); padding: 40px 32px; }
  .team-hero-left { border-right: none; padding: 60px 32px 40px; }
  .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; gap: 36px; }
  .footer-brand { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 36px; grid-column: 1 / -1; }
  .footer-col { border-right: none; padding: 0; }
}

/* ============================================================
   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; }
  .hero-left { padding: 40px 20px 32px; }
  .hero-right { min-height: 280px; }
  .hero-right-green { padding: 40px 20px; }
  .hero-quote { font-size: 18px; }

  /* Stats */
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px; }
  .stat-n { font-size: 30px; }

  /* Sections */
  .section { padding: 40px 20px; }
  .sec-head { flex-direction: column; gap: 12px; }

  /* Projets */
  .home-proj-grid { grid-template-columns: 1fr; }
  .archive-proj-grid { grid-template-columns: 1fr; padding: 0 20px 32px; }
  .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; }
  .page-hero-right { padding: 32px 20px; }

  /* Fiche */
  .proj-hero { height: 320px; }
  .proj-hero-title { font-size: 26px; }
  .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-gallery { padding: 32px 20px 0; }

  /* Approche */
  .definition { padding: 40px 20px; gap: 24px; }
  .steps-section { padding: 52px 20px; }
  .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-grid { grid-template-columns: 1fr 1fr; }
  .domains { }
  .domain-left { padding: 28px 20px; }
  .domain-right { padding: 24px 20px; }
  .domain-name { font-size: 22px; }

  /* Équipe */
  .team-hero-left { padding: 40px 20px; }
  .team-hero-right { padding: 28px 20px; }
  .team-hero-title { font-size: 32px; }
  .founders-section { padding: 40px 20px; }
  .flip-inner { height: 360px; }
  .team-section { padding: 32px 0; }
  .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; }
  .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; }

  /* Agence */
  .agence-teaser-content { padding: 40px 20px; }
  .agence-teaser-title { font-size: 26px; }
  .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; }
  .home-cta-btns { flex-direction: column; align-items: flex-start; }
  .cta-section { padding: 52px 20px; }
  .cta-section-title { font-size: 28px; }
  .cta-section-btns { flex-direction: column; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-col { padding: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; 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; }
}

/* ============================================================
   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;
}

/* Transition doux des cartes filtrées */
.proj-card {
  transition: opacity .3s ease, transform .3s ease;
}

.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-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-right {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22,.68,0,1.1), padding .3s ease;
  padding-bottom: 0;
}
.domain-item.is-open .domain-right {
  max-height: 700px;
  padding-bottom: 28px;
}

.domain-left {
  position: relative;
  padding-right: 32px;
}
.domain-left::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--brand);
  transition: transform .3s 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;
  }
  .bela-reveal {
    transform: translateY(16px);
  }
}
