/* ── Shared ──────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
}

.s-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.s-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 64px;
  max-width: 560px;
}

/* ── Services ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--trace);
}

.svc {
  background: var(--paper);
  padding: 48px 40px;
  transition: background .3s;
}

.svc:hover { background: var(--ink); }

.svc:hover .svc-n,
.svc:hover .svc-name,
.svc:hover .svc-desc { color: var(--paper); }

.svc-n {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--trace);
  line-height: 1;
  margin-bottom: 24px;
  transition: color .3s;
}

.svc-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  transition: color .3s;
}

.svc-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #6a6a5a;
  transition: color .3s;
}

/* ── Projets ─────────────────────────────────────────── */
.proj-section {
  position: relative;
  z-index: 1;
  padding: 80px 48px;
}

.proj-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

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

.pi {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--trace);
}

.pi:nth-child(1) { grid-column: 1/6;  aspect-ratio: 3/4; }
.pi:nth-child(2) { grid-column: 6/9;  aspect-ratio: 3/4; }
.pi:nth-child(3) { grid-column: 9/13; aspect-ratio: 3/4; }
.pi:nth-child(4) { grid-column: 1/4;  aspect-ratio: 4/3; }
.pi:nth-child(5) { grid-column: 4/9;  aspect-ratio: 16/10; }
.pi:nth-child(6) { grid-column: 9/13; aspect-ratio: 4/3; }

.pi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  filter: saturate(.85);
}

.pi:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

.po {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .4s;
}

.pi:hover .po { opacity: 1; }

.p-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--trace);
  margin-bottom: 6px;
}

.p-name {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--paper);
  line-height: 1.2;
}

/* ── À propos — artifacts & flow ────────────────────── */
#about-flow-container {
  position: relative;
  min-height: 220px;
}

.artifact {
  position: absolute;
  opacity: .45;
  pointer-events: none;
  will-change: transform;
}

.artifact-compass {
  width: 120px;
  height: 150px;
  top: -10px;
  right: 10px;
}

.artifact-equerre {
  width: 80px;
  height: 80px;
  bottom: 10px;
  right: 30px;
}

.about-flow-text {
  position: relative;
  font-size: 14.5px;
  line-height: 1.75;
  color: #5a5a50;
}

.about-flow-text .flow-line {
  display: block;
  white-space: nowrap;
  overflow: visible;
}

/* ── À propos ────────────────────────────────────────── */
.about-section {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  border-top: 1px solid var(--trace);
}

.about-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-style: italic;
}

.about-quote::before {
  content: '«';
  display: block;
  font-size: 72px;
  color: var(--trace);
  line-height: .8;
  margin-bottom: 16px;
}

.about-body p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #5a5a50;
  margin-bottom: 18px;
}

.creds {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--trace);
}

.cred {
  display: flex;
  gap: 20px;
  font-size: 12.5px;
  color: #7a7a6a;
  padding: 10px 0;
  border-bottom: 1px solid var(--grid);
  align-items: baseline;
}

.cred-y {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent);
  min-width: 36px;
}

/* ── Marchés publics ─────────────────────────────────── */
.aod {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  padding: 120px 48px;
}

.aod-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-l);
  margin-bottom: 16px;
}

.aod-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 28px;
  max-width: 560px;
}

.aod-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #9a9a8a;
  max-width: 520px;
  margin-bottom: 64px;
}

.aod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #333;
}

.aod-item {
  background: var(--ink);
  padding: 40px 28px;
  border-top: 2px solid transparent;
  transition: all .3s;
}

.aod-item:hover {
  background: #1f1f1c;
  border-color: var(--accent-l);
}

.aod-icon  { font-family: var(--serif); font-size: 48px; color: var(--accent-l); line-height: 1; margin-bottom: 18px; }
.aod-name  { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.aod-text  { font-size: 13px; line-height: 1.6; color: #6a6a5a; }

/* ── Contact ─────────────────────────────────────────── */
.contact-section {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--trace);
}

.c-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.c-sub {
  font-size: 14.5px;
  color: #6a6a5a;
  margin-top: 20px;
  line-height: 1.65;
}

.c-info {
  margin-top: 48px;
  font-size: 13px;
  color: #8a8a7a;
  line-height: 2.2;
}

.form { display: flex; flex-direction: column; gap: 20px; }

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

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

.ff label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.ff input,
.ff select,
.ff textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--trace);
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .3s;
  appearance: none;
}

.ff input:focus,
.ff select:focus,
.ff textarea:focus { border-color: var(--accent); }

.ff textarea { resize: none; min-height: 90px; }

.submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  transition: all .3s;
}

.submit:hover { background: var(--ink); gap: 20px; }

/* ── Footer ──────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--paper);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.f-logo { font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; }
.f-info { font-size: 11.5px; color: #5a5a5a; text-align: center; line-height: 1.8; }
.f-ord  { font-size: 11.5px; color: #5a5a5a; text-align: right; line-height: 1.8; }

/* ── Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s, transform .8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
