/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --off-white: #F5F5F7;
  --red: #C10016;
  --red-dark: #8A0010;
  --black: #1D1D1F;
  --gray: #6E6E73;
  --border: #D2D2D7;
  --max: 1040px;
  --section-pad: 130px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.bg-light { background: var(--off-white); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.05;
}

h1 { font-size: 96px; letter-spacing: -0.03em; }
h2 { font-size: 52px; letter-spacing: -0.015em; }
h3 { font-size: 30px; letter-spacing: -0.01em; }
h4 { font-size: 22px; }

h1 em { font-style: italic; color: var(--red); }
.hero-bold {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-style: italic;
  color: var(--red);
}
.hero-domaine {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--gray);
  margin-top: 4px;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 15px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.01em;
}
.btn-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  padding: 15px 4px;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--red); border-color: var(--red); letter-spacing: 0.04em; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--red);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--red);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: var(--red); color: #fff; }

.btn-full { width: 100%; text-align: center; display: block; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header h2 { color: var(--black); }

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  transition: color 0.2s ease;
  opacity: 0.75;
}
.nav-links a:hover { color: var(--red); opacity: 1; }

.nav-cta { margin-left: 24px; padding: 9px 20px; font-size: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 40px 28px;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mobile-menu .btn-cta { text-align: center; }

/* ===== HERO ===== */
#hero {
  padding-top: 60px;
  position: relative;
  background: var(--white);
  display: flex;
  align-items: stretch;
}

/* ===== HERO SPLIT LAYOUT ===== */
.hero-split {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.hero-left {
  width: 38%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 48px 40px 56px 56px;
}

.hero-left-inner {
  max-width: 540px;
}

.hero-left-inner .section-label {
  display: block;
  margin-bottom: 24px;
}

.hero-left-inner h1 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 17px;
  color: rgba(15,15,15,0.55);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-stats-row {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.hero-stat-num span {
  font-size: 14px;
  font-weight: 400;
  color: var(--red);
  margin-left: 3px;
}

.hero-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15,15,15,0.4);
}

/* ===== HERO PHOTO SLIDER ===== */
.hero-strip-wrap {
  width: 62%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--black);
  overflow: hidden;
  position: relative;
}

.strip-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.strip-track {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 600%;
  display: flex;
  animation: hero-slide 24s linear infinite;
}

@keyframes hero-slide {
  0%     { transform: translateX(0%); }
  13.33% { transform: translateX(0%);        animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
  16.66% { transform: translateX(-16.666%); }
  30%    { transform: translateX(-16.666%);  animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
  33.33% { transform: translateX(-33.333%); }
  46.66% { transform: translateX(-33.333%); animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
  50%    { transform: translateX(-50%); }
  63.33% { transform: translateX(-50%);      animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
  66.66% { transform: translateX(-66.666%); }
  80%    { transform: translateX(-66.666%);  animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
  83.33% { transform: translateX(-83.333%); }
  100%   { transform: translateX(-83.333%); }
}

.strip-track a {
  width: calc(100% / 6);
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.strip-track a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
  pointer-events: none;
}

.strip-track a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

.strip-track a:hover img {
  transform: scale(1.04);
}


.hero-redline {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  z-index: 999;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 32px;
  display: block;
}

#hero h1 {
  margin-bottom: 52px;
  color: var(--black);
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero image panel */
.hero-img-panel {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(0.7) brightness(1.3) opacity(0.55);
  mix-blend-mode: multiply;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  /* Fade aggressive : plan disparaît en bas */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0)   0%,
    rgba(255,255,255,0.2) 30%,
    rgba(255,255,255,0.7) 55%,
    rgba(255,255,255,0.95) 75%,
    rgba(255,255,255,1)   90%
  );
  pointer-events: none;
}
.hero-img-overlay .hero-figure {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  pointer-events: all;
}
.hero-img-overlay .hero-fig-num { color: var(--black); }
.hero-img-overlay .hero-fig-label { color: var(--gray); }

.hero-figure {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-fig-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 120px;
  font-weight: 300;
  color: var(--black);
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.hero-fig-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.hero-fig-unit {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--red);
  line-height: 1;
}

.hero-fig-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.hero-sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 400px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll span {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--black);
  opacity: 0.4;
}
.scroll-track {
  width: 1.5px;
  height: 44px;
  opacity: 0.4;
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.scroll-thumb {
  width: 100%;
  height: 40%;
  background: var(--red);
  border-radius: 2px;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(150%); }
}

/* ===== STATS — DARK ===== */
#stats {
  background: var(--black);
  padding: 0;
}

.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 72px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-val {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 80px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-unit {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
}

/* ===== EXPERTISES — LIST ===== */
#expertises { padding: var(--section-pad) 0; background: var(--white); }

.expertise-list {
  border-top: 1px solid var(--border);
  margin-bottom: 60px;
}

.expertise-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.expertise-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--red);
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1);
}
.expertise-item:hover::before { width: 3px; }
.expertise-item:hover { padding-left: 20px; }

.ei-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--red);
  padding-top: 6px;
  opacity: 0.6;
}

.ei-content h3 {
  font-size: 28px;
  color: var(--black);
  margin-bottom: 10px;
  transition: letter-spacing 0.3s ease;
}
.expertise-item:hover .ei-content h3 { letter-spacing: -0.005em; }

.ei-content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 520px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
}
.expertise-item:hover .ei-content p {
  max-height: 80px;
  opacity: 1;
}

.ei-arrow {
  font-size: 20px;
  color: var(--gray);
  padding-top: 4px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}
.expertise-item:hover .ei-arrow {
  opacity: 1;
  color: var(--red);
  transform: translateX(0);
}

.ei-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 4px;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.expertise-item:hover .ei-tag { opacity: 1; color: var(--red); }

.partenaires {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
}
.partenaires span { color: var(--black); font-weight: 400; }

/* ===== IMPACT QUOTE — DARK ===== */
#impact {
  background: var(--black);
  padding: 120px 0;
  text-align: center;
}

.impact-inner {
  max-width: 800px;
}

.impact-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 160px;
  font-weight: 300;
  color: var(--red);
  line-height: 0.5;
  margin-bottom: 32px;
  opacity: 0.6;
}

.impact-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

.impact-author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.impact-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
}

.impact-role {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== PROJETS ===== */
#projets { padding: var(--section-pad) 0; background: var(--off-white); }

/* ===== PROJETS GRID — EDITORIAL ===== */
.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 3px;
  background: var(--off-white);
}

/* Base card */
.projet-card {
  background: var(--white);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
  transition: box-shadow 0.3s ease;
}
.projet-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.1); z-index: 2; }

/* Featured — spans 2 columns */
.projet-card.featured { grid-column: span 2; }
.projet-card.featured .pc-img { height: 340px; }

/* Tall — spans 2 rows */
.projet-card.tall { grid-row: span 2; }
.projet-card.tall .pc-img { height: 300px; }

/* Dark card — inverted */
.projet-card.dark {
  background: var(--black);
  color: #fff;
}
.projet-card.dark .pc-body h4,
.projet-card.dark h4 { color: #fff; }
.projet-card.dark .projet-desc { color: rgba(255,255,255,0.5); }
.projet-card.dark .projet-meta {
  color: rgba(255,255,255,0.3);
  border-top-color: rgba(255,255,255,0.1);
}
.projet-card.featured.dark .projet-desc { color: #fff; }
.projet-card.featured.dark .projet-meta { color: #fff; border-top-color: rgba(255,255,255,0.25); }
.projet-card.dark .projet-client { color: var(--red); }
.projet-card.dark:hover { background: #111; }
.projet-card.dark::after { background: var(--red); }

/* Landscape — image left, text right */
.projet-card.landscape {
  flex-direction: row;
  grid-column: span 2;
}
.projet-card.landscape .pc-img {
  width: 50%;
  height: auto;
  min-height: 260px;
  flex-shrink: 0;
}
.projet-card.landscape .pc-body {
  padding: 36px 40px;
  justify-content: center;
}
.projet-card.landscape::after {
  top: 0;
  bottom: 0;
  left: auto;
  right: 0;
  width: 2px;
  height: auto;
  transform: scaleY(0);
  transform-origin: top;
}
.projet-card.landscape:hover::after { transform: scaleY(1); }

/* Red card — accent */
.projet-card.accent {
  background: var(--red);
  color: #fff;
}
.projet-card.accent .pc-body h4 { color: #fff; font-size: 28px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; }
.projet-card.accent .projet-client,
.projet-card.accent .projet-desc { color: rgba(255,255,255,0.7); }
.projet-card.accent .projet-meta { color: rgba(255,255,255,0.5); border-top-color: rgba(255,255,255,0.2); }
.projet-card.accent::after { background: #fff; }

/* Red hover line */
.projet-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  transform-origin: left;
}
.projet-card:hover::after { transform: scaleX(1); }

/* Image zone */
.pc-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
  filter: brightness(0.88);
}
.projet-card:hover .pc-img img { transform: scale(1.04); filter: brightness(1); }

/* Placeholder when no photo */
.pc-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #141416 0%, #1e1214 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
}
.pc-img-placeholder span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}

/* Badge overlapping image */
.pc-img .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  margin-bottom: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
}
.pc-img .badge.amo { background: rgba(193,0,22,0.9); color: #fff; }
.pc-img .badge.moe { background: rgba(20,20,22,0.8); color: rgba(255,255,255,0.9); }

/* Text body */
.pc-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.badge.amo { background: rgba(192,0,0,0.08); color: var(--red); }
.badge.moe { background: rgba(29,29,31,0.06); color: var(--black); }

.projet-card h4,
.pc-body h4 {
  font-size: 17px;
  color: var(--black);
  margin-bottom: 6px;
  font-weight: 400;
  line-height: 1.3;
}
.projet-card.featured .pc-body h4 { font-size: 22px; }
.projet-client {
  font-size: 11px;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.projet-desc {
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 14px;
}
.projet-meta {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

/* ===== TÉMOIGNAGES ===== */
#temoignages { padding: var(--section-pad) 0; }

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* 5 cards: 3+2 layout */
.temoignages-grid .temoignage-card:nth-child(4),
.temoignages-grid .temoignage-card:nth-child(5) {
  grid-column: span 1;
}
@media (min-width: 1024px) {
  .temoignages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .temoignages-grid .temoignage-card:nth-child(4) {
    grid-column: 1 / 2;
  }
  .temoignages-grid .temoignage-card:nth-child(5) {
    grid-column: 2 / 3;
  }
}

.temoignage-card {
  position: relative;
  padding: 44px 36px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.temoignage-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.quote-mark {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--red);
  line-height: 0.55;
  margin-bottom: 28px;
  opacity: 0.35;
}

.temoignage-card blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.65;
  margin-bottom: 28px;
}

.temoignage-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.temoignage-author strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}
.temoignage-author span {
  font-size: 12px;
  color: var(--gray);
  font-weight: 300;
}

/* ===== ÉQUIPE ===== */
/* ===== ÉQUIPE ===== */
#equipe { padding: var(--section-pad) 0; background: var(--off-white); }

.equipe-sub {
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* FONDATEURS */
.equipe-fondateurs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

/* BLOCS PERMANENTS / FREELANCE */
.equipe-bloc { margin-top: 2px; }
.equipe-bloc-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray);
  padding: 20px 0 20px;
  border-top: 1px solid var(--border);
  margin-bottom: 2px;
}
.equipe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* CARTE MEMBRE */
.membre-card {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.2s ease;
}
.membre-card:hover { background: #F8F8F8; }

.membre-card.fondateur {
  background: var(--black);
  padding: 48px 40px;
  flex-direction: column;
  gap: 28px;
}
.membre-card.fondateur:hover { background: #242426; }

.membre-card.freelance {
  background: var(--off-white);
}
.membre-card.freelance:hover { background: #F0F0F0; }

/* AVATAR */
.mc-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
.mc-avatar.sm {
  width: 44px;
  height: 44px;
  font-size: 12px;
}
.mc-avatar.freelance {
  background: var(--border);
  color: var(--gray);
}

/* BODY */
.mc-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.mc-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
}
.membre-card.fondateur .mc-tag { color: rgba(193,0,22,0.9); }
.mc-since {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.mc-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1;
}
.membre-card.fondateur .mc-name { font-size: 32px; color: #fff; }
.mc-titre {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
}
.membre-card.fondateur .mc-titre { color: rgba(255,255,255,0.55); }
.mc-missions {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-missions li {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  padding-left: 14px;
  position: relative;
}
.mc-missions li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 11px;
}
.membre-card.fondateur .mc-missions li { color: rgba(255,255,255,0.6); }
.membre-card.fondateur .mc-missions li::before { color: var(--red); }
.mc-formation {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.membre-card.fondateur .mc-formation { color: #fff !important; }

/* Carte stat équipe (remplit la case vide) */
.equipe-stat-card {
  background: var(--black);
  justify-content: center;
  min-height: 180px;
}
.equipe-stat-card .mc-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.equipe-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 72px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.equipe-stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.equipe-stat-sub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-top: 4px;
}

/* ===== RSE ===== */
#rse { padding: var(--section-pad) 0; background: var(--white); }

.rse-container { max-width: 720px; text-align: center; }
.rse-container .section-header { margin-bottom: 0; }

.rse-content p {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
  margin-top: 32px;
}

.pilliers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill {
  font-size: 12px;
  font-weight: 400;
  color: var(--black);
  padding: 9px 18px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--off-white);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pill:hover { border-color: var(--red); color: var(--red); }

.rse-award {
  margin-top: 36px !important;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--red);
  border: 1px solid rgba(193,0,22,0.2);
  padding: 10px 20px;
  border-radius: 40px;
  background: rgba(193,0,22,0.03);
}

/* ===== CONTACT OVERLAY ===== */
#contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--white);
  display: flex;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.45s cubic-bezier(0.16,1,0.3,1), transform 0.45s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto;
}
#contact-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.contact-overlay-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px 80px;
}

/* Close button */
.contact-overlay-close {
  position: fixed;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
  z-index: 2100;
}
.contact-overlay-close:hover { border-color: var(--red); background: rgba(193,0,22,0.04); }
.contact-overlay-close span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--black);
  position: absolute;
  transition: background 0.2s;
}
.contact-overlay-close span:first-child { transform: rotate(45deg); }
.contact-overlay-close span:last-child  { transform: rotate(-45deg); }
.contact-overlay-close:hover span { background: var(--red); }

/* ===== CONTACT OVERLAY — SPLIT PANEL ===== */
.contact-overlay-split {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* LEFT — dark panel */
.contact-panel-left {
  flex: 0 0 44%;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: stretch;
}
.contact-panel-left-inner {
  display: flex;
  flex-direction: column;
  padding: 80px 56px;
  width: 100%;
  position: relative;
}

.contact-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.contact-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.contact-headline em {
  font-style: italic;
  color: var(--red);
}

.contact-reassurances {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.contact-reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cr-icon {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0;
}
.contact-reassurance-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-reassurance-item strong {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0;
}
.contact-reassurance-item span {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.contact-quote {
  border-left: 2px solid var(--red);
  padding-left: 20px;
  margin: 0 0 auto;
  padding-bottom: 0;
}
.contact-quote p,
.contact-quote > :not(cite) {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 10px;
}
.contact-quote cite {
  display: block;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-direct-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.contact-entities {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-entity {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-entity-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-entity-addr {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}
.contact-entity-tel {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-entity-tel:hover { color: #fff; }
.contact-direct-email {
  font-size: 13px;
  font-weight: 400;
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.2s;
}
.contact-direct-email:hover { opacity: 0.75; }
.contact-direct-name {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

/* RIGHT — form panel */
.contact-panel-right {
  flex: 1;
  background: var(--white);
  overflow-y: auto;
}
.contact-panel-right-inner {
  padding: 80px 64px;
  max-width: 600px;
}

.contact-form-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
}

.form-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(0,0,0,0.35);
  text-align: center;
  font-weight: 300;
}

/* Close button is fixed, always top-right of overlay */

/* Form label color inside right panel */
.contact-panel-right .form-group label { color: var(--black); }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193,0,22,0.07);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== SECTION REFERENCES — LOGOS ===== */
.section-references {
  background: var(--white);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}
.ref-header {
  text-align: center;
  margin-bottom: 80px;
}
.ref-header h2 { margin: 16px 0 20px; }
.ref-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.ref-sectors { display: flex; flex-direction: column; gap: 56px; }
.ref-sector {}
.ref-sector-label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ref-category { margin-bottom: 48px; }
.ref-cat-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 44px 56px;
  padding: 16px 0;
}
.logo-wall img {
  max-height: 36px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: multiply;
  transition: filter 0.25s ease;
  flex-shrink: 0;
}
.logo-wall img:hover {
  filter: grayscale(0) contrast(1);
  mix-blend-mode: multiply;
}
.ref-divider { height: 1px; background: var(--border); margin: 0 0 48px; }

/* ===== FOOTER ===== */
#footer {
  background: var(--black);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo-img {
  height: 84px;
  width: auto;
  display: block;
  align-self: flex-start;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

.footer-right {
  display: flex;
  gap: 28px;
  align-items: center;
}
.footer-right a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
  transition: color 0.2s ease;
}
.footer-right a:hover { color: rgba(255,255,255,0.75); }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  h1 { font-size: 72px; }
  h2 { font-size: 44px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); border-right: none; }

  .projets-grid { grid-template-columns: repeat(2, 1fr); }
  .projet-card.featured, .projet-card.landscape { grid-column: span 2; }
  .projet-card.tall { grid-row: span 1; }
  .projet-card.landscape { flex-direction: column; }
  .projet-card.landscape .pc-img { width: 100%; height: 220px; min-height: 0; }
  .temoignages-grid { grid-template-columns: 1fr; gap: 20px; }
  .logo-wall { gap: 32px 40px; }
  .equipe-fondateurs { grid-template-columns: 1fr 1fr; }
  .equipe-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-overlay-split { flex-direction: column; }
  .contact-panel-left { flex: none; }
  .contact-panel-left-inner { padding: 60px 32px 48px; }
  .contact-panel-right-inner { padding: 48px 32px; }
  .contact-overlay-close { top: 20px; right: 20px; }
  .impact-quote { font-size: 40px; }
}

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

  h1 { font-size: 48px; }
  h2 { font-size: 34px; }

  .container { padding: 0 20px; }

  .hero-redline { display: none; }
  .hero-scroll { display: none; }

  /* Hero split — mobile : bandeau en bas, texte en haut */
  .hero-split {
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px 0;
  }
  .hero-left {
    width: 100%;
    padding: 0;
    order: 1;
  }
  .hero-left-inner h1 { font-size: 44px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-stats-row { gap: 20px; margin-top: 32px; }
  .hero-stat-num { font-size: 22px; }

  .hero-strip-wrap {
    order: 2;
    width: 100%;
    height: 280px;
  }

  /* Hero CTAs — mobile */
  .hero-ctas-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-start;
  }
  .hero-ctas-bar .btn-cta,
  .hero-ctas-bar .btn-ghost {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Footer logo — mobile */
  .footer-logo-img { height: 52px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 40px 16px; }
  .stat-num { font-size: 56px; }

  .expertise-item { grid-template-columns: 40px 1fr; }
  .ei-arrow { display: none; }

  .projets-grid { grid-template-columns: 1fr; gap: 1px; background: none; }
  .projet-card.featured, .projet-card.landscape, .projet-card.tall { grid-column: span 1; grid-row: span 1; }
  .projet-card.landscape { flex-direction: column; }
  .projet-card.landscape .pc-img { width: 100%; height: 200px; min-height: 0; }
  .projet-card.featured .pc-img { height: 220px; }
  .projet-card.landscape::after { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  .projets-filter { flex-wrap: wrap; gap: 8px; }

  .temoignages-grid { grid-template-columns: 1fr; }
  .temoignage-card { padding: 32px 24px; }

  .equipe-fondateurs { grid-template-columns: 1fr; }
  .equipe-cards { grid-template-columns: 1fr; }
  .equipe-teaser { grid-template-columns: 1fr; }
  .membre-card { flex-direction: column; gap: 12px; }
  .mc-avatar { width: 56px; height: 56px; font-size: 16px; }

  .contact-overlay-split { flex-direction: column; overflow-y: auto; }
  .contact-panel-left { flex: none; order: 2; }
  .contact-panel-left-inner { padding: 28px 24px 32px; }
  .contact-panel-left .contact-headline,
  .contact-panel-left .contact-reassurances,
  .contact-panel-left .contact-quote { display: none; }
  .contact-panel-left .contact-eyebrow { margin-bottom: 0; }
  .contact-panel-left .contact-direct { margin-top: 16px; padding-top: 16px; }
  .contact-panel-right { overflow-y: visible; width: 100%; order: 1; }
  .contact-panel-right-inner { padding: 72px 24px 48px; max-width: none; }
  .contact-overlay-close { top: 16px; right: 16px; }
  .contact-headline { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn-cta { text-align: center; justify-content: center; }

  .section-teaser-cta { text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 20px; }
  .footer-right { flex-wrap: wrap; gap: 16px; }

  .logo-wall { gap: 20px 28px; }
  .logo-wall img { max-height: 26px; max-width: 80px; }

  .impact-quote { font-size: 30px; }
  .impact-mark { font-size: 120px; }

  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: 44px; }
  .page-hero-sub { font-size: 16px; }
  .expertise-detail-inner { grid-template-columns: 1fr; gap: 28px; }
  .methodo-steps { grid-template-columns: 1fr 1fr; gap: 16px; }

  #back-to-top { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-left-inner h1 { font-size: 36px; }
  .hero-strip-wrap { height: 240px; }
  .stat-num { font-size: 48px; }
  .impact-quote { font-size: 24px; }
  .methodo-steps { grid-template-columns: 1fr; }

  /* Hero très petit écran */
  .hpg-featured .hpg-img { min-height: 170px; }
  .hpg-secondary .hpg-img { min-height: 130px; }
  .hpg-small { height: 90px; }
  .hpg-body h4 { font-size: 14px; }
  .hpg-client { font-size: 10px; }

  /* Nav */
  .nav-inner { padding: 0 16px; }

  /* Contact overlay */
  .contact-panel-right-inner { padding: 60px 16px 32px; }
  .contact-entity-addr { display: none; }

  /* Témoignages */
  .temoignage-card { padding: 24px 16px; }

  /* Footer */
  .footer-inner { padding: 0 16px; }
  .footer-logo-img { height: 44px; }

  /* Expertises */
  .expertise-detail-inner { padding: 0; }
  .ed-bullets { padding-left: 0; }

  /* Page hero */
  .page-hero h1 { font-size: 34px; }
  .page-hero-sub { font-size: 15px; }

  /* Équipe */
  .mc-name { font-size: 15px; }
}

/* ===== DEV — FORCE MOBILE (toggle button) ===== */

/* ===== SUB-PAGES ===== */
.page-hero {
  padding: 140px 0 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-label { display: block; margin-bottom: 16px; }
.page-hero h1 {
  font-size: 72px;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1;
}
.page-hero h1 em { font-style: italic; color: var(--red); }
.page-hero-sub {
  font-size: 18px;
  color: var(--gray);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.7;
}
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.page-back:hover { color: var(--red); }
.page-back::before { content: '←'; }

/* Expertise page — plan de fond */
.expertise-plan-bg { position: relative; overflow: hidden; }
.expertise-plan-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(0.65) brightness(1.3) grayscale(1);
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
}
.expertise-plan-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--white) 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 86%, var(--white) 100%),
    linear-gradient(to bottom, var(--white) 0%, rgba(255,255,255,0) 12%, rgba(255,255,255,0) 88%, var(--white) 100%);
  pointer-events: none;
  z-index: 0;
}
.expertise-plan-bg > .container { position: relative; z-index: 1; }

/* Expertise page — détail complet */
.expertise-detail {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}
.expertise-detail:last-child { border-bottom: none; }
.expertise-detail-inner {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ed-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.04em;
}
.ed-left h3 { font-size: 28px; margin-bottom: 12px; }
.ed-left .mc-tag { margin-bottom: 16px; display: block; }
.ed-right p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}
.ed-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ed-bullets li {
  font-size: 14px;
  color: var(--black);
  padding-left: 20px;
  position: relative;
}
.ed-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
}

/* Methodologie */
.methodo-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
}
.methodo-step {
  padding: 32px 28px;
  border-left: 1px solid var(--border);
  position: relative;
}
.methodo-step:first-child { border-left: none; }
.ms-num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}
.ms-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  display: block;
  margin-bottom: 8px;
}
.ms-desc {
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.6;
}

/* Projets page — filtre tabs */
.projets-filter {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}
.filter-btn {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--off-white);
  border: none;
  cursor: pointer;
  color: var(--gray);
  transition: background 0.2s, color 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--black);
  color: #fff;
}
.projet-card.hidden { display: none; }

/* Landing teasers */
.section-teaser-cta {
  margin-top: 48px;
  text-align: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* Equipe teaser landing */
.equipe-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

@media (max-width: 1024px) {
  .expertise-detail-inner { grid-template-columns: 1fr 1fr; }
  .ed-num { display: none; }
  .methodo-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .page-hero h1 { font-size: 48px; }
  .expertise-detail-inner { grid-template-columns: 1fr; gap: 32px; }
  .methodo-steps { grid-template-columns: 1fr 1fr; }
  .equipe-teaser { grid-template-columns: 1fr; }
  .projets-filter { flex-wrap: wrap; }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
}
.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(0.7) brightness(1.3) opacity(0.55);
  mix-blend-mode: multiply;
}
.hero-slide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1014 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-placeholder span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.hero-slider-dots {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  gap: 7px;
  z-index: 10;
}
.hero-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.hero-slider-dot.active {
  background: var(--red);
  transform: scale(1.35);
}

/* ===== HERO PROJETS GRID ===== */
.hero-ctas-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-scroll-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  opacity: 1;
}
.hss-label {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.hss-nums {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}

.hero-projets-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr auto;
  gap: 5px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.hpg-featured .hpg-img { min-height: 280px; }
.hpg-secondary .hpg-img { min-height: 200px; }

.hpg-featured,
.hpg-secondary {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.hpg-featured { grid-column: 1; grid-row: 1; background: #0a0a0a; }
.hpg-secondary { grid-column: 2; grid-row: 1; background: var(--white); }

.hpg-row2 {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background: var(--border);
}

.hpg-img {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.hpg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hpg-featured:hover .hpg-img img,
.hpg-secondary:hover .hpg-img img { transform: scale(1.04); }

.hpg-dark-bg {
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 165px;
}
.hpg-placeholder-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

.hpg-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  z-index: 2;
}
.hpg-badge.amo { background: rgba(193,0,22,0.9); color: #fff; }
.hpg-badge.moe { background: rgba(15,15,15,0.82); color: rgba(255,255,255,0.9); }

.hpg-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}
.hpg-featured .hpg-body {
  background: #0a0a0a;
  padding: 20px 24px;
}
.hpg-body h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 5px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--black);
}
.hpg-featured .hpg-body h4 { color: #fff; font-size: 19px; }

.hpg-client {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 7px;
}
.hpg-body p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray);
  margin: 0 0 10px;
}
.hpg-featured .hpg-body p { color: rgba(255,255,255,0.5); font-size: 13px; }

.hpg-meta {
  display: block;
  font-size: 11px;
  color: var(--gray);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  letter-spacing: 0.02em;
  margin-top: auto;
}
.hpg-featured .hpg-meta { color: rgba(255,255,255,0.3); border-top-color: rgba(255,255,255,0.1); }

.hpg-small {
  display: block;
  position: relative;
  overflow: hidden;
  height: 180px;
  text-decoration: none;
  cursor: pointer;
}
.hpg-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s;
}
.hpg-small:hover img { transform: scale(1.05); filter: brightness(1); }

@keyframes hpg-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hpg-featured     { animation: hpg-rise 0.65s cubic-bezier(0.22,1,0.36,1) 0.08s both; }
.hpg-secondary    { animation: hpg-rise 0.65s cubic-bezier(0.22,1,0.36,1) 0.17s both; }
.hpg-row2 .hpg-small:nth-child(1) { animation: hpg-rise 0.5s cubic-bezier(0.22,1,0.36,1) 0.26s both; }
.hpg-row2 .hpg-small:nth-child(2) { animation: hpg-rise 0.5s cubic-bezier(0.22,1,0.36,1) 0.33s both; }
.hpg-row2 .hpg-small:nth-child(3) { animation: hpg-rise 0.5s cubic-bezier(0.22,1,0.36,1) 0.40s both; }

/* ===== CONTACT ACTIONS (overlay sans formulaire) ===== */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}
.contact-action-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.contact-action-item:hover {
  border-color: var(--red);
  background: rgba(193,0,22,0.02);
}
.cai-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  min-width: 52px;
}
.cai-value {
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  flex: 1;
}
.cai-arrow {
  color: var(--gray);
  font-size: 14px;
  transition: transform 0.2s, color 0.2s;
}
.contact-action-item:hover .cai-arrow {
  transform: translateX(4px);
  color: var(--red);
}

/* ===== ÉQUIPE GRID 10 (homepage) ===== */
.equipe-grid-10 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-bottom: 32px;
}
.membre-card.compact {
  padding: 28px 22px;
  gap: 14px;
}
.membre-card.compact .mc-avatar {
  width: 44px;
  height: 44px;
  font-size: 13px;
}
.membre-card.compact .mc-name { font-size: 20px; }
.membre-card.compact .mc-titre { font-size: 12px; }
@media (max-width: 1024px) {
  .equipe-grid-10 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .equipe-grid-10 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#back-to-top:hover { background: var(--red); }
