/* Homo Habilis — additions to the mockup stylesheet (style.css) for the real site */

/* Language switch: links to /fr/… and /en/… instead of the mockup's buttons */
.lang-switch a {
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-decoration: none;
}
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--bg); }
html[data-style="territoire"] .lang-switch a { color: var(--dark-soft); font-family: var(--font-display); letter-spacing: 0.08em; }
html[data-style="territoire"] .lang-switch a[aria-current="true"] { background: var(--dark-ink); color: var(--dark); }

/* No more mockup style switch at the bottom of the page */
html:not(.is-shot) .footer-bottom { padding-bottom: 0; }

/* Project page without a gallery yet: the text block alone */
.project-body--text { grid-template-columns: minmax(0, 760px); }
.project-body--text .project-aside { position: static; }
.project-text p { margin: 0 0 1em; }

/* Contact form */
.form-alert { grid-column: 1 / -1; margin: 0; color: #a3341c; font-weight: 500; }
.field-error { margin: 6px 0 0; font-size: 0.85rem; color: #a3341c; }
.form--sent { align-content: start; }
.form--sent .form-msg { font-size: 1.15rem; }

/* Plain text pages (legal notice, privacy) */
.prose { max-width: 760px; font-size: 1.02rem; line-height: 1.65; }
.prose h2 { margin: 1.6em 0 0.5em; font-family: var(--font-display); font-weight: 500; }

/* Main image that is a plan or drawing: shown whole, on white */
.project-hero.is-plate { background: #fff; }
.project-hero.is-plate img { object-fit: contain; }

/* Agency page: two people with full bios, side by side (the logo's two hands) */
.team--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.team--duo .portrait { aspect-ratio: 16 / 9; }
html[data-style="territoire"] .team--duo .portrait .hand { width: auto; height: 74%; }
.member .bio { margin-top: 14px; max-width: 62ch; }
.member .bio p { margin: 0 0 0.9em; font-size: 0.98rem; line-height: 1.62; color: var(--ink-soft); }
@media (max-width: 760px) { .team--duo { grid-template-columns: 1fr; } }

/* Agency page: the approach in full, two steps per row */
.steps--full { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(36px, 5vw, 64px); }
.steps--full .step p { max-width: 60ch; font-size: 1rem; line-height: 1.62; }
.step p + p { margin-top: 0.8em; }
@media (max-width: 760px) { .steps--full { grid-template-columns: 1fr; } }

/* Links on the dark approach band */
html[data-style="territoire"] .section--steps .link-arrow { color: var(--accent-light); }
html[data-style="territoire"] .section--steps .link-arrow:hover { color: var(--dark-ink); }
