/* Pépin de Banane — refonte 2026
   Fondations Figma : Geist · Phosphor · angles droits · orange en accent */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #262626;
  --secondary: #505353;
  --canvas: #ffffff;
  --surface: #f5f5f3;
  --line: #d6d6d6;
  --orange: #f79433;
  --orange-hover: #e8801c;
  --muted: #6b6e6e;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1312px;
  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(72px, 9vw, 140px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Typo ---------- */
.display { text-wrap: balance; font-size: clamp(44px, 7.8vw, 112px); line-height: .96; font-weight: 700; letter-spacing: -0.035em; }
.h2 { text-wrap: balance; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.eyebrow { font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--orange); }
.caption { font-size: 14px; line-height: 20px; color: var(--muted); }
.lead { color: var(--secondary); max-width: 46ch; }

/* ---------- Boutons (Pépin/Button) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 48px; padding: 12px 20px;
  font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-hover); border-color: var(--ink); }
.btn--outline { background: var(--canvas); color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface); }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--secondary); line-height: .82; font-weight: 700; letter-spacing: -0.04em; }
.logo__name { font-size: 19px; }
.logo__name em { font-style: normal; color: var(--orange); }
.logo__tag { font-size: 8.5px; letter-spacing: .28em; text-transform: uppercase; color: #b45309; font-weight: 600; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a, .nav__tel { font-size: 15px; text-decoration: none; position: relative; padding: 8px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__tel { font-variant-numeric: tabular-nums; }

.burger { display: none; width: 48px; height: 48px; margin-right: -12px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.burger svg { width: 26px; height: 26px; }

.mobile-menu { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    display: flex; flex-direction: column; gap: 8px;
    padding: 24px var(--gutter) 32px; background: var(--canvas);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    overflow-y: auto;
  }
  .mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu a:not(.btn) { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 24px; justify-content: space-between; }
  .mobile-menu a.mobile-menu__tel { font-size: 18px; font-weight: 500; border: 0; padding: 8px 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.display .line { display: block; }
.hero { position: relative; min-height: clamp(560px, 86vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.62) 100%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__aside { display: grid; gap: 20px; max-width: 300px; font-size: 15px; line-height: 22px; padding-bottom: 8px; }
.hero__aside p { color: rgba(255, 255, 255, .9); }

@media (max-width: 899px) {
  .hero { min-height: clamp(520px, calc(100svh - var(--header-h)), 720px); }
  .hero .container { grid-template-columns: 1fr; gap: 20px; }
  .hero__aside { max-width: none; }
  .hero__aside .btn { justify-self: start; }
}

/* ---------- L'agence ---------- */
.agence { padding: var(--section) 0; }
.agence__top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.agence__top .lead { justify-self: end; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; }
.agence__body { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.agence__text { display: grid; gap: 20px; padding-bottom: 8px; }
.agence__text::before { content: ""; width: 40px; height: 2px; background: var(--orange); }
.agence__text p { color: var(--secondary); max-width: 44ch; }

@media (max-width: 899px) {
  .agence__top, .agence__body { grid-template-columns: 1fr; gap: 28px; }
  .agence__top .lead { justify-self: start; }
}

/* ---------- Réalisations ---------- */
.realisations { background: var(--surface); padding: var(--section) 0; }
.anim .realisations { padding-bottom: 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 64px; align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.section-head__side { display: grid; gap: 16px; max-width: 340px; justify-items: start; }
.section-head__side p { font-size: 15px; line-height: 22px; color: var(--secondary); }
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Vision ---------- */
.vision { padding: var(--section) 0 calc(var(--section) * .7); }
.vision__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 64px; }
.vision__intro { display: grid; gap: 20px; align-content: start; }
.vision__intro p { color: var(--secondary); max-width: 34ch; }
.expertises { border-top: 1px solid var(--line); }
.expertise { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.expertise h3 { grid-column: 1; }
.expertise p { grid-column: 1; color: var(--muted); font-size: 15px; line-height: 22px; }
.expertise svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; transition: transform .2s, color .2s; }
.expertise:hover svg { transform: translate(3px, -3px); color: var(--orange); }

@media (max-width: 899px) { .vision__grid { grid-template-columns: 1fr; } }

/* ---------- Références ---------- */
.references { padding-bottom: var(--section); }
.references h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 32px; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 112px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--secondary);
}
.logos li span { display: block; text-transform: none; font-size: 11px; font-weight: 400; letter-spacing: .1em; color: var(--muted); margin-top: 4px; }
@media (max-width: 899px) { .logos { grid-template-columns: repeat(2, 1fr); } .logos li { min-height: 88px; font-size: 13px; } }

/* ---------- Journal ---------- */
.journal { padding: var(--section) 0; border-top: 1px solid var(--line); }
.journal .h2 { text-transform: uppercase; }
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.article a { display: grid; gap: 16px; text-decoration: none; }
.article__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.article a:hover img { transform: scale(1.03); }
.article__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.article h3 { font-size: 17px; line-height: 24px; font-weight: 500; }
.article a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.article time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.article .source { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 899px) {
  .articles { grid-template-columns: 1fr; gap: 40px; }
  .article__media { aspect-ratio: 4 / 3; }
}

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; background: var(--ink); text-align: center; overflow: hidden; }
.cta picture, .cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.cta .container { position: relative; z-index: 1; display: grid; justify-items: center; gap: 28px; padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(64px, 8vw, 96px); }
.cta .eyebrow { color: rgba(255, 255, 255, .85); }
.cta .display { text-transform: uppercase; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__credit { font-size: 13px; color: rgba(255, 255, 255, .8); margin-top: clamp(32px, 5vw, 64px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9e9e7; font-size: 15px; line-height: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a { padding: 6px 0; }
.footer__logo { background: #fff; padding: 10px 12px; }
.footer__mid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)) 1fr; gap: 40px; padding: 40px 0 72px; }
.footer__mid h2 { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.footer__mid address { font-style: normal; display: grid; gap: 4px; color: #c9c9c6; }
.footer__mid address a { color: #fff; }
.socials { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 8px 24px; }
.socials a { text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #b5b5b2; }
.footer__bottom nav { display: flex; gap: 24px; }

@media (max-width: 899px) {
  .footer__top { flex-direction: column-reverse; align-items: flex-start; }
  .footer__mid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .socials { justify-content: flex-start; }
}

/* ---------- Animations (activées seulement si JS + mouvement autorisé) ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }

/* Titres : chaque ligne monte depuis un masque */
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; }
.anim [data-anim="lines"] .ln > span { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 90ms); }
.anim [data-anim="lines"].in .ln > span { transform: none; }

/* Fondu montant */
.anim [data-anim="fade"] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.anim [data-anim="fade"].in { opacity: 1; transform: none; }

/* Images : rideau qui s'ouvre vers le haut + léger dézoom */
.media-reveal { overflow: hidden; }
.anim [data-anim="img"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-io); transition-delay: var(--d, 0s); }
.anim [data-anim="img"] img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.anim [data-anim="img"].in { clip-path: inset(0 0 0 0); }
.anim [data-anim="img"].in img { transform: scale(1); }

/* Listes : entrée en cascade */
.anim [data-anim="stagger"] > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.anim [data-anim="stagger"].in > * { opacity: 1; transform: none; }
.anim .article [data-anim="img"] { transition-delay: calc(var(--i, 0) * 120ms); }

/* Hero : la photo se pose à l'ouverture */
.anim .hero img { transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.anim .hero.in img { transform: none; }

/* Header : se range au scroll vers le bas, revient au scroll vers le haut */
.site-header { transition: border-color .2s, transform .45s var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); }

@media (prefers-reduced-motion: reduce) {
  .anim [data-anim], .anim [data-anim] *, .anim .hero img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Page contact ---------- */
.contact-page { background: var(--surface); padding: clamp(48px, 7vw, 112px) 0 var(--section); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 80px; align-items: start; }
.contact-intro { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.agences { display: grid; gap: 24px; margin-top: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.agences h2 { font-size: 16px; font-weight: 600; }
.agences address { font-style: normal; color: var(--secondary); font-size: 16px; line-height: 24px; }
.agences a { font-weight: 500; }

.form { display: grid; gap: 24px; background: var(--canvas); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.opt { color: var(--muted); font-weight: 400; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font); color: var(--ink);
  background: var(--canvas); border: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
[aria-invalid="true"] { border-color: #b3261e !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); font-size: 15px; cursor: pointer; }
.chips input { accent-color: var(--ink); margin: 0; }
.chips label:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.consent { display: flex; gap: 12px; font-size: 14px; line-height: 20px; color: var(--secondary); }
.consent input { margin-top: 3px; accent-color: var(--ink); flex: none; width: 18px; height: 18px; }
.form .btn { justify-self: start; }
.form__status { font-size: 15px; min-height: 22px; }
.form__status.is-error { color: #b3261e; }
.form__status.is-ok { color: #1f6b3a; font-weight: 500; }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; justify-content: space-between; }
}

/* ---------- Revue UX : ajouts ---------- */
.call-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--ink); margin-left: auto; }
.call-btn svg { width: 24px; height: 24px; }
@media (max-width: 899px) { .call-btn { display: inline-flex; } .site-header .container { gap: 4px; } }

.methode { padding: var(--section) 0; background: var(--canvas); border-top: 1px solid var(--line); }
.methode .section-head__side { font-size: 16px; line-height: 24px; color: var(--secondary); }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); }
.etapes li { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.etapes li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.etape__num { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.etape__num::before { content: ""; width: 6px; height: 6px; background: var(--orange); }
.etapes h3 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.etapes p { font-size: 15px; line-height: 22px; color: var(--secondary); }
@media (max-width: 899px) {
  .etapes { grid-template-columns: 1fr 1fr; }
  .etapes li, .etapes li + li { padding: 24px 16px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .etapes li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .etapes { grid-template-columns: 1fr; }
  .etapes li:nth-child(even) { padding-left: 0; border-left: 0; }
}

.temoignages { padding: var(--section) 0; }
.temoignages blockquote { margin: 0; }
.quote-main { margin: 24px 0 0; max-width: 1040px; }
.quote-main p { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.temoignages figcaption { display: grid; gap: 2px; margin-top: 20px; font-size: 15px; line-height: 22px; }
.temoignages figcaption span { color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.quotes figure { margin: 0; }
.quotes p { font-size: 17px; line-height: 26px; color: var(--secondary); }
@media (max-width: 899px) { .quotes { grid-template-columns: 1fr; gap: 28px; } }

.site-footer .footer__nav a, .socials a, .footer__bottom a, .footer__mid address a { display: inline-block; padding-block: 11px; }
.footer__mid address { gap: 0; }
@media (pointer: coarse) { .footer__bottom nav { gap: 16px; } }

/* ---------- « Quelques lieux » : un projet à la fois au scroll (pattern Captain Submit .s-process) ---------- */
.lieux { margin-top: 40px; }
.lieux__sticky { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 72px; }
.lieux__text { display: flex; flex-direction: column; gap: 32px; }
.lieux__count { font-size: clamp(56px, 6vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: #7f8282; font-variant-numeric: tabular-nums; }
.lieux__count b { color: var(--ink); font-weight: 700; }
.lieux__steps { display: grid; gap: 48px; }
.lieu { display: grid; gap: 14px; align-content: start; }
.lieu__meta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lieu__title { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.lieu__title a { text-decoration: none; }
.lieu__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lieu__desc { color: var(--secondary); max-width: 42ch; }
.lieu .link-arrow { justify-self: start; margin-top: 4px; }
.lieux__media { position: relative; display: grid; gap: 16px; }
.lieu__visual { overflow: hidden; background: var(--line); aspect-ratio: 16 / 10; }
.lieu__visual picture, .lieu__visual img { width: 100%; height: 100%; object-fit: cover; }
.lieux__nav, .lieux__dim, .lieux__count { display: none; }

/* Version animée : section épinglée, 1 projet par écran de scroll */
.anim .lieux { position: relative; height: calc(100svh + (var(--n) - 1) * 85svh); margin-top: 0; }
.anim .lieux__sticky { position: sticky; top: 0; height: 100svh; min-height: 560px; align-items: center; padding: calc(var(--header-h) + 8px) 0 32px; }
.anim .lieux__count { display: block; }
.anim .lieux__steps { display: grid; gap: 0; }
.anim .lieu { grid-area: 1 / 1; opacity: 0; transform: translateY(28px); pointer-events: none; transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .7s var(--ease-out); }
.anim .lieu.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.anim .lieu .link-arrow { pointer-events: inherit; }
.anim .lieux__media { display: block; height: min(70svh, 680px); }
.anim .lieu__visual { position: absolute; inset: 0; aspect-ratio: auto; opacity: 0; transition: opacity .8s cubic-bezier(.4, 0, .2, 1); }
.anim .lieu__visual.is-active { opacity: 1; z-index: 1; }
.anim .lieu__visual img { transform: scale(1.18); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.anim .lieu__visual.is-active img { transform: scale(1); }
.anim .lieux__dim { display: block; position: absolute; inset: 0; z-index: 2; background: #111; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.anim .lieux.is-switching .lieux__dim { opacity: .4; }
.anim .lieux__nav { display: flex; flex-direction: column; margin-top: auto; border-top: 1px solid var(--line); }
.lieux__nav button { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: 500 15px/1.2 var(--font); color: var(--muted); text-align: left; cursor: pointer; transition: color .3s; }
.lieux__nav button span { font-variant-numeric: tabular-nums; width: 24px; }
.lieux__nav button::after { content: ""; margin-left: auto; width: 0; height: 2px; background: var(--orange); transition: width .5s var(--ease-out); }
.lieux__nav button:hover { color: var(--ink); }
.lieux__nav button[aria-current="step"] { color: var(--ink); }
.lieux__nav button[aria-current="step"]::after { width: 40px; }

@media (max-width: 899px) {
  .lieux__sticky { grid-template-columns: 1fr; }
  .lieux__media { order: -1; }
  .anim .lieux__sticky { grid-template-rows: auto 1fr; gap: 20px; align-items: start; padding-top: calc(var(--header-h) + 12px); padding-bottom: 20px; }
  .anim .lieux__media { height: 42svh; }
  .anim .lieux__text { gap: 16px; height: 100%; }
  .anim .lieux__count { font-size: 40px; }
  .lieu__title { font-size: 30px; }
  .lieu__desc { font-size: 16px; line-height: 24px; }
  .anim .lieux__nav { flex-direction: row; border-top: 0; gap: 8px; }
  .anim .lieux__nav li { flex: 1; }
  .lieux__nav button { font-size: 0; min-height: 44px; padding: 0; border-bottom: 0; position: relative; }
  .lieux__nav button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lieux__nav button::after { position: absolute; left: 0; right: 0; top: 50%; margin: 0; width: auto; height: 3px; background: var(--line); }
  .lieux__nav button[aria-current="step"]::after { width: auto; background: var(--ink); }
}
@media (max-height: 640px) and (max-width: 899px) { .lieu__desc { display: none; } }

/* =====================================================================
   Pages intérieures
   ===================================================================== */
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu a[aria-current="page"] { color: var(--orange-hover); }
@media (min-width: 900px) and (max-width: 1199px) { .nav__tel { display: none; } .nav { gap: 24px; } .nav__links { gap: 22px; } }

/* Fil d'Ariane */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.breadcrumb a { text-decoration: none; padding-block: 10px; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* En-tête de page */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero__title { font-size: clamp(44px, 6.6vw, 96px); max-width: 14ch; }
.page-hero__intro { margin-top: 24px; max-width: 58ch; font-size: 19px; line-height: 30px; }
@media (max-width: 899px) { .page-hero__intro { font-size: 17px; line-height: 27px; } }

.anchors { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 32px; }
.anchors a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; transition: border-color .2s, background-color .2s; }
.anchors a:hover { border-color: var(--ink); background: var(--surface); }

/* Filtres */
.portfolio { padding-bottom: var(--section); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.filters button span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
.filters__status { font-size: 14px; color: var(--muted); margin: 16px 0 28px; }
@media (max-width: 899px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
}

/* Cartes projet */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.card[hidden] { display: none; }
.card a { display: grid; gap: 10px; text-decoration: none; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); margin-bottom: 6px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.card a:hover .card__media img { transform: scale(1.04); }
.card__cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.card a:hover .card__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card__meta { font-size: 15px; color: var(--secondary); }
.card__play { position: absolute; left: 16px; bottom: 16px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--orange); color: var(--ink); }
.card__play svg { width: 18px; height: 18px; }
@media (max-width: 1099px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .cards { grid-template-columns: 1fr; gap: 36px; } }
.cards--3 .card:nth-child(n+4) { display: none; }

/* CTA simple (pages intérieures) */
.cta--plain { background: var(--ink); text-align: left; }
.cta--plain::after { display: none; }
.cta--plain .container { justify-items: start; padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.cta--plain .h2 { color: #fff; font-size: clamp(40px, 5.6vw, 80px); }
.cta__text { color: rgba(255, 255, 255, .8); max-width: 52ch; }
.cta--plain .cta__actions { justify-content: flex-start; }

/* Fiche projet */
.projet-head { padding: clamp(40px, 6vw, 80px) 0 40px; }
.projet-head .eyebrow { margin-bottom: 16px; }
.projet-head__title { font-size: clamp(40px, 6vw, 88px); max-width: 18ch; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 17px; font-weight: 500; }
.projet-cover { margin: 0; }
.projet-cover img { width: 100%; height: min(78vh, 860px); object-fit: cover; background: var(--line); }
.projet-cover figcaption { font-size: 14px; color: var(--muted); padding-top: 12px; }
.projet-body { display: grid; grid-template-columns: 4fr 8fr; gap: 24px 64px; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 88px); }
.projet-text { display: grid; gap: 18px; max-width: 68ch; color: var(--secondary); font-size: 18px; line-height: 30px; }
.projet-text p:first-child { color: var(--ink); font-size: 21px; line-height: 32px; }
@media (max-width: 899px) { .projet-body { grid-template-columns: 1fr; } .projet-cover img { height: 56vh; } .projet-text { font-size: 17px; line-height: 28px; } .projet-text p:first-child { font-size: 19px; line-height: 29px; } }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: var(--section); }
.gallery__item { margin: 0; display: grid; gap: 10px; align-content: start; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item a { display: block; overflow: hidden; background: var(--line); cursor: zoom-in; }
.gallery__item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease-out); }
.gallery__item--wide img { aspect-ratio: 16 / 8; }
.gallery__item a:hover img { transform: scale(1.03); }
.gallery__item figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 599px) { .gallery { grid-template-columns: 1fr; gap: 20px; } .gallery__item--wide img { aspect-ratio: 3 / 2; } }

.projet-video { padding-bottom: var(--section); }
.video-facade { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .7s var(--ease-out); }
.video-facade:hover img { opacity: .65; transform: scale(1.02); }
.video-facade__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--orange); color: var(--ink); font: 500 16px/1 var(--font); white-space: nowrap; }
.video-facade__play svg { width: 18px; height: 18px; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #000; }

.projet-temo { padding-bottom: var(--section); }
.projet-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.projet-nav .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.projet-nav a { text-decoration: none; padding: 28px 0; display: grid; gap: 4px; }
.projet-nav span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.projet-nav strong { font-size: 18px; font-weight: 600; }
.projet-nav a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.projet-nav__next { text-align: right; }
.projet-nav__all { font-size: 15px; border: 1px solid var(--line); padding: 12px 18px !important; }
@media (max-width: 699px) { .projet-nav .container { grid-template-columns: 1fr 1fr; } .projet-nav__all { display: none !important; } .projet-nav strong { font-size: 16px; } }
.related { padding: var(--section) 0; }
.related .h3 { margin-bottom: 32px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 18, 18, .96); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox__inner { position: relative; display: grid; grid-template-rows: 1fr auto; height: 100%; padding: 64px 72px 24px; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__caption { text-align: center; font-size: 15px; color: rgba(255, 255, 255, .8); padding-top: 16px; min-height: 40px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 22px; left: 24px; font-size: 14px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
@media (max-width: 699px) { .lightbox__inner { padding: 64px 0 16px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } .lightbox__caption { padding: 16px 72px 0; } }

/* Expertises */
.expertise-block { padding: var(--section) 0; border-top: 1px solid var(--line); }
.expertise-block--alt { background: var(--surface); }
.expertise-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 72px; align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.expertise-block--alt .expertise-block__media { order: -1; }
.expertise-block__text { display: grid; gap: 18px; }
.expertise-block__accroche { font-size: 22px; line-height: 1.3; font-weight: 500; }
.expertise-block__desc { color: var(--secondary); max-width: 56ch; }
.expertise-block__media { margin: 0; aspect-ratio: 4 / 3; }
.expertise-block__media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--orange); transform: translateY(-2px); }
.examples-title { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 24px; }
@media (max-width: 899px) { .expertise-block__grid { grid-template-columns: 1fr; } .expertise-block--alt .expertise-block__media { order: 0; } }

/* Agence */
.fondateur { padding: 0 0 var(--section); }
.fondateur__grid { display: grid; grid-template-columns: auto 1fr; gap: 40px 72px; align-items: center; }
.fondateur__photo { margin: 0; width: min(260px, 100%); }
.fondateur__photo img { width: 100%; filter: grayscale(1); }
.fondateur__text { display: grid; gap: 16px; max-width: 62ch; }
.fondateur__text p { color: var(--secondary); }
.team__role { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; }
.fondateur__quote { margin: 12px 0 0; padding-left: 20px; border-left: 2px solid var(--orange); }
.fondateur__quote p { font-size: 20px; line-height: 1.45; color: var(--ink) !important; }
@media (max-width: 899px) { .fondateur__grid { grid-template-columns: 1fr; } }
.team { padding: var(--section) 0; background: var(--surface); }
.team .h3 { margin-bottom: 32px; }
.team__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.team__list li { display: grid; gap: 8px; align-content: start; padding: 28px 24px 8px 0; }
.team__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.team__list h3 { font-size: 20px; font-weight: 600; }
.team__list p:not(.team__role) { font-size: 15px; line-height: 22px; color: var(--secondary); }
@media (max-width: 899px) { .team__list { grid-template-columns: 1fr; } .team__list li, .team__list li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.implantations { padding: var(--section) 0; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.office { display: grid; gap: 12px; align-content: start; padding: 32px; border: 1px solid var(--line); }
.office h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.office address { font-style: normal; font-size: 17px; line-height: 27px; }
.office p:not(.eyebrow) { color: var(--secondary); font-size: 15px; line-height: 22px; }
@media (max-width: 699px) { .offices { grid-template-columns: 1fr; } .office { padding: 24px; } }
.quotes--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) { .quotes--2 { grid-template-columns: 1fr; } }
.presse-teaser { padding: var(--section) 0; border-top: 1px solid var(--line); }

/* Presse */
.presse { border-top: 1px solid var(--line); margin-top: 32px; }
.presse li { display: grid; grid-template-columns: 140px 1fr auto; gap: 8px 32px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.presse time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.presse__titre { font-size: 19px; font-weight: 500; }
a.presse__titre { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
a.presse__titre:hover { text-decoration-color: currentColor; }
.presse__pdf { font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.presse__source { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); }
@media (max-width: 699px) { .presse li { grid-template-columns: 1fr; gap: 4px; } }
.journal-presse { padding: 0 0 var(--section); }
.journal-videos { padding: var(--section) 0; background: var(--surface); }
.journal-videos .section-head { margin-bottom: 40px; }
.reseaux { padding: var(--section) 0; }
.reseaux__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; }
.reseaux__list { border-top: 1px solid var(--line); }
.reseaux__list a { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.reseaux__list a span { font-size: 15px; font-weight: 400; color: var(--muted); }
.reseaux__list a svg { margin-left: auto; width: 20px; height: 20px; transition: transform .2s, color .2s; }
.reseaux__list a:hover svg { transform: translate(3px, -3px); color: var(--orange-hover); }
@media (max-width: 899px) { .reseaux__grid { grid-template-columns: 1fr; } .reseaux__list a { flex-wrap: wrap; font-size: 20px; } .reseaux__list a span { order: 3; width: 100%; } }

/* Texte légal */
.prose { max-width: 820px; padding-bottom: var(--section); }
.prose h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--secondary); margin-bottom: 14px; }
.prose a { color: var(--ink); }
.prose mark { background: #fde3c6; color: #7a3d00; padding: 0 4px; }

/* Contact dans le nouveau gabarit */
.contact-page .breadcrumb { margin-bottom: 8px; }

/* Références : vrais logos, harmonisés en gris, couleur au survol */
.logos--img { grid-template-columns: repeat(6, 1fr); }
.logos--img li { min-height: 132px; gap: 8px; padding: 24px 20px; }
.logos--img img { width: auto; height: auto; max-width: min(100%, 150px); max-height: 52px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s; }
.logos--img li.logo--blason img { max-height: 64px; }
.logos--img li.logo--mark img { max-height: 56px; }
.logos--img li span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 0; }
.logos--img li:hover img { filter: none; opacity: 1; }
@media (max-width: 1099px) { .logos--img { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 599px) { .logos--img { grid-template-columns: repeat(2, 1fr); } .logos--img li { min-height: 104px; padding: 18px 12px; } .logos--img img { max-height: 40px; } .logos--img li.logo--blason img { max-height: 52px; } }
.references--agence { padding: var(--section) 0; border-top: 1px solid var(--line); }
.references--agence .h2 { margin-bottom: 40px; }
.logos--img img[src*="seb"] { max-height: 76px; }
.logos--img img[src*="institut-tres-bien"] { max-height: 76px; }
.logos--img img[src*="heures-montres"] { max-height: 46px; }

/* ---------- Réalisations : barre filtres + vue carte ---------- */
.portfolio__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); }
.view-toggle button { min-height: 44px; padding: 8px 18px; border: 0; background: var(--canvas); color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer; }
.view-toggle button + button { border-left: 1px solid var(--line); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 899px) { .portfolio__bar { flex-direction: column; align-items: stretch; } .view-toggle { align-self: flex-start; } }
.projets-map { margin-bottom: 8px; }
.projets-map__canvas { height: min(72vh, 720px); min-height: 420px; background: var(--surface); border: 1px solid var(--line); }
.projets-map__note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pin { width: 16px; height: 16px; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink); transform: rotate(45deg); transition: background-color .2s, transform .2s; }
.pin:hover { background: var(--orange); transform: rotate(45deg) scale(1.2); }
.leaflet-popup-content-wrapper { border-radius: 0 !important; padding: 0 !important; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35) !important; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; font-family: var(--font); }
.map-pop { display: grid; gap: 4px; text-decoration: none; color: var(--ink) !important; padding-bottom: 14px; }
.map-pop img { width: 100%; height: 140px; object-fit: cover; margin-bottom: 8px; }
.map-pop small { padding: 0 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.map-pop strong { padding: 0 14px; font-size: 16px; line-height: 1.25; }
.map-pop span { padding: 0 14px; font-size: 13px; color: var(--secondary); }
.leaflet-container a.leaflet-popup-close-button { color: #fff; text-shadow: 0 0 4px rgba(0,0,0,.6); }
.marker-cluster { background: var(--orange); color: var(--ink); font: 600 13px/32px var(--font); width: 32px !important; height: 32px !important; text-align: center; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink); }

/* ---------- Page 404 ---------- */
.erreur { padding: clamp(48px, 7vw, 112px) 0 var(--section); position: relative; overflow: hidden; }
.erreur__code { position: absolute; right: -2vw; top: 0; font-size: clamp(160px, 28vw, 420px); font-weight: 700; letter-spacing: -0.06em; line-height: .8; color: var(--surface); z-index: -1; user-select: none; }
.erreur .lead { margin-top: 24px; max-width: 52ch; }
.erreur__actions { justify-content: flex-start; margin-top: 32px; }
.erreur__suggest { margin-top: clamp(64px, 8vw, 112px); }

/* ---------- Visite guidée ---------- */
.visite { padding-bottom: var(--section); }
.visite__list { border-top: 1px solid var(--line); counter-reset: none; }
.visite__step { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.visite__num { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.visite__step h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.visite__step p { color: var(--secondary); max-width: 70ch; }
.visite__tip { margin-top: 8px; font-size: 15px; }
.visite__tip strong { color: var(--ink); }
.visite__chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.visite__chiffres p { background: var(--surface); padding: 24px; color: var(--secondary); }
.visite__chiffres strong { display: block; font-size: 40px; letter-spacing: -0.03em; color: var(--ink); }
@media (max-width: 799px) { .visite__step { grid-template-columns: 1fr; } .visite__chiffres { grid-template-columns: 1fr 1fr; } }
.cards[hidden], .projets-map[hidden] { display: none; }

/* ---------- Témoignages : version enrichie ---------- */
.temoignages { background: var(--surface); }
.temo-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.temo-feature { display: grid; grid-template-columns: 7fr 5fr; gap: 40px 72px; align-items: center; }
.temo-feature__quote { margin: 0; position: relative; padding-top: 40px; }
.temo-feature__mark { position: absolute; top: -28px; left: -6px; font-size: 180px; line-height: 1; font-weight: 700; color: var(--orange); }
.temo-feature__quote blockquote { margin: 0; position: relative; }
.temo-feature__quote p { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.14; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.temo-feature__quote figcaption { display: grid; gap: 2px; margin-top: 28px; font-size: 16px; }
.temo-feature__quote figcaption > span { color: var(--muted); }
.temo-feature__quote .link-arrow { justify-self: start; margin-top: 16px; }
.temo-feature__media { margin: 0; aspect-ratio: 4 / 5; }
.temo-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.temo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 88px); }
.temo-card { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; background: var(--canvas); border: 1px solid var(--line); transition: border-color .25s, transform .4s var(--ease-out); }
.temo-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.temo-card blockquote { margin: 0; }
.temo-card blockquote p { font-size: 18px; line-height: 1.5; color: var(--ink); }
.temo-card__projet { display: flex; align-items: center; gap: 14px; text-decoration: none; padding-top: 20px; border-top: 1px solid var(--line); }
.temo-card__projet img { width: 56px; height: 56px; object-fit: cover; flex: none; }
.temo-card__projet > span { display: grid; gap: 2px; font-size: 14px; line-height: 1.3; }
.temo-card__projet > span span { color: var(--muted); }
.temo-card__projet:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .temo-feature { grid-template-columns: 1fr; }
  .temo-feature__media { aspect-ratio: 4 / 3; order: -1; }
  .temo-feature__mark { font-size: 120px; top: -18px; }
  .temo-cards { grid-template-columns: 1fr; }
}
.marker-cluster { border-radius: 50%; cursor: pointer; transition: transform .2s; }
.marker-cluster:hover { transform: scale(1.1); }

/* ---------- Témoignages en carrousel ---------- */
.temo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.temo-controls { display: flex; align-items: center; gap: 8px; }
.temo-count { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 12px; }
.temo-count b { color: var(--ink); font-weight: 600; }
.temo-arrow { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); background: var(--canvas); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.temo-arrow:hover { background: var(--ink); color: #fff; }
.temo-arrow svg { width: 20px; height: 20px; }
.temo-carousel { position: relative; }
.temo-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.temo-track::-webkit-scrollbar { display: none; }
.temo-track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.temo-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 7fr 5fr; min-height: clamp(420px, 46vw, 600px); background: var(--canvas); border: 1px solid var(--line); }
.temo-slide__media { position: relative; display: block; overflow: hidden; background: var(--line); }
.temo-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.temo-slide:hover .temo-slide__media img { transform: scale(1.03); }
.temo-slide__tag { position: absolute; left: 20px; bottom: 20px; padding: 8px 12px; background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.temo-slide__body { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 56px); }
.temo-slide__mark { font-size: 140px; line-height: .7; height: 60px; font-weight: 700; color: var(--orange); }
.temo-slide blockquote { margin: 0; }
.temo-slide blockquote p { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; text-wrap: pretty; }
.temo-slide__who { display: grid; gap: 4px; padding-top: 24px; border-top: 1px solid var(--line); }
.temo-slide__name { font-size: 18px; font-weight: 600; }
.temo-slide__org { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.temo-slide__org::before { content: ""; width: 6px; height: 6px; background: var(--orange); }
.temo-slide__type { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.temo-slide__who .link-arrow { justify-self: start; margin-top: 14px; }
.temo-dots { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.temo-dot { width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.temo-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); background: var(--line); transition: background-color .3s; }
.temo-dot[aria-current="true"]::after { background: var(--ink); }
.temo-progress { flex: 1; height: 1px; background: transparent; margin-left: 16px; max-width: 160px; position: relative; overflow: hidden; }
.temo-progress i { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.temo-progress.is-running i { animation: temo-progress var(--temo-delay, 7s) linear forwards; }
@keyframes temo-progress { to { transform: scaleX(1); } }
@media (max-width: 899px) {
  .temo-slide { grid-template-columns: 1fr; min-height: 0; }
  .temo-slide__media { aspect-ratio: 4 / 3; }
  .temo-slide__body { gap: 20px; padding: 24px; }
  .temo-slide__mark { font-size: 100px; height: 40px; }
  .temo-arrow { width: 44px; height: 44px; }
  .temo-head { align-items: flex-start; }
}

/* ---------- Bouton d'appel flottant ---------- */
.call-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: stretch; background: var(--orange); color: var(--ink); text-decoration: none; box-shadow: 0 2px 0 var(--ink), 0 18px 36px -14px rgba(0, 0, 0, .4); transform: translateY(24px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease-out), opacity .3s, box-shadow .2s; }
.call-float.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.call-float:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink), 0 22px 40px -14px rgba(0, 0, 0, .45); }
.call-float:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink), 0 10px 24px -12px rgba(0, 0, 0, .4); }
.call-float__icon { display: grid; place-items: center; width: 52px; background: var(--ink); color: #fff; flex: none; }
.call-float__icon svg { width: 22px; height: 22px; }
.call-float__num { display: flex; align-items: center; padding: 0 20px; min-height: 52px; font-size: 18px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.call-float.is-visible .call-float__icon svg { animation: call-ring 3.2s ease-in-out 1s 2; transform-origin: 50% 50%; }
@keyframes call-ring { 0%, 70%, 100% { transform: none; } 74%, 82%, 90% { transform: rotate(-14deg); } 78%, 86%, 94% { transform: rotate(14deg); } }
@media (max-width: 599px) {
  .call-float { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .call-float__icon { width: 48px; }
  .call-float__num { min-height: 48px; padding: 0 16px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .call-float.is-visible .call-float__icon svg { animation: none; } }
@media (max-width: 899px) {
  .portfolio__bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .portfolio__bar .filters { min-width: 0; }
  .view-toggle { justify-self: start; }
}

/* Références : respiration sous la section grise des témoignages */
.temoignages + .references { padding-top: var(--section); }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

/* Agence : portrait de David plus présent */
.fondateur__grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px 80px; }
.fondateur__photo { width: 100%; max-width: 480px; aspect-ratio: 7 / 6; }
.fondateur__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .fondateur__grid { grid-template-columns: 1fr; } .fondateur__photo { max-width: 100%; } }

/* =====================================================================
   Questionnaire projet
   ===================================================================== */
.qz-page { padding-bottom: var(--section); }
.qz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.qz { min-width: 0; }
.qz-loading { color: var(--muted); }
.qz-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 0; }
.qz-steps button { width: 100%; display: grid; gap: 6px; justify-items: start; padding: 10px 0 12px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--muted); }
.qz-steps button:disabled { cursor: not-allowed; opacity: .55; }
.qz-steps__n { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; background: var(--canvas); }
.qz-steps__t { font-size: 13px; line-height: 1.25; }
.qz-steps .is-current button { color: var(--ink); }
.qz-steps .is-current .qz-steps__n { background: var(--ink); border-color: var(--ink); color: #fff; }
.qz-steps .is-done .qz-steps__n { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.qz-bar { height: 3px; background: var(--line); margin-bottom: 40px; }
.qz-bar i { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease-out); }
.qz-form, .qz-syn, .qz-merci { display: grid; gap: 28px; }
.qz-step-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qz-step-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.025em; margin-top: -18px; }
.qz-step-title:focus { outline: none; }
.qz-field { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.qz-field legend, .qz-label { font-size: 18px; font-weight: 600; line-height: 1.35; padding: 0; margin-bottom: 12px; }
.qz-field legend + * { margin-top: 0; }
.qz-req { color: var(--orange-hover); margin-left: 2px; }
.qz-opt, .qz-multi { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.qz-hint { font-size: 14px; color: var(--muted); }
.qz-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.qz-choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); background: var(--canvas); cursor: pointer; font-size: 15px; line-height: 1.3; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.qz-choice:hover { border-color: var(--secondary); }
.qz-choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.qz-choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fbfbf9; }
.qz-choice:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.qz-input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); background: var(--canvas); font: 400 16px/1.4 var(--font); color: var(--ink); border-radius: 0; }
.qz-input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.qz-input[aria-invalid="true"], .qz-field[aria-invalid="true"] .qz-choice { border-color: #b3261e; }
.qz-textarea { min-height: 150px; resize: vertical; }
.qz-prec { display: grid; gap: 8px; padding: 16px; background: var(--surface); border-left: 2px solid var(--orange); }
.qz-prec label { font-size: 14px; font-weight: 600; }
.qz-err { color: #b3261e; font-size: 14px; font-weight: 500; }
.qz-err:empty { display: none; }
.qz-alert { padding: 14px 16px; background: #fbe9e7; color: #8a1c15; font-size: 15px; }
.qz-live { font-size: 14px; min-height: 20px; }
.qz-live.is-ok { color: var(--green, #1f6b3a); }
.qz-live.is-err { color: #b3261e; }
.qz-live.is-warn { color: #8a4b00; }
.qz-sug { border: 1px solid currentColor; background: none; color: inherit; font: 500 13px var(--font); padding: 2px 8px; cursor: pointer; margin-left: 6px; }
.qz-drop { display: flex; align-items: center; justify-content: center; min-height: 96px; border: 1px dashed var(--secondary); background: var(--surface); cursor: pointer; font-weight: 500; text-align: center; padding: 16px; }
.qz-drop:hover { background: #efefec; }
.qz-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.qz-drop:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
.qz-files { display: grid; gap: 6px; }
.qz-files li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); font-size: 14px; }
.qz-files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz-files small { color: var(--muted); }
.qz-files button { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; width: 32px; height: 32px; }
.qz-rgpd { padding: 20px; background: var(--surface); font-size: 14px; line-height: 22px; color: var(--secondary); display: grid; gap: 10px; }
.qz-rgpd h3 { font-size: 15px; color: var(--ink); }
.qz-rgpd mark { background: #fde3c6; color: #7a3d00; padding: 0 3px; }
.qz-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.qz-nav__right { display: flex; flex-wrap: wrap; gap: 12px; }
.qz-nav .btn[disabled] { opacity: .45; cursor: not-allowed; }
.qz-save { font-size: 13px; color: var(--muted); min-height: 18px; margin-top: -16px; }
.qz-syn__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.qz-syn__head .qz-step-title { margin-top: 0; }
.qz-syn__tools { display: flex; gap: 8px; }
.qz-syn__block { border-top: 1px solid var(--line); padding-top: 18px; }
.qz-syn__block h3 { font-size: 16px; margin-bottom: 10px; }
.qz-syn__block dl { margin: 0; display: grid; }
.qz-syn__block dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.qz-syn__block dt { font-size: 14px; color: var(--muted); }
.qz-syn__block dd { margin: 0; font-size: 15px; }
.qz-missing { color: #b3261e; font-weight: 600; }
.qz-prec-out { font-size: 14px; color: var(--secondary); }
.qz-merci { padding: 40px; background: var(--surface); }
.qz-merci .qz-step-title { margin-top: 0; }
.qz-merci__ref { font-size: 18px; }
.qz-merci__ref strong { font-variant-numeric: tabular-nums; background: var(--orange); padding: 2px 8px; }
.qz-demo { font-size: 14px; color: var(--secondary); padding: 12px 14px; border: 1px dashed var(--line); background: var(--canvas); }
.qz-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.qz-aside__card { padding: 24px; background: var(--surface); display: grid; gap: 14px; }
.qz-aside__card--plain { background: var(--canvas); border: 1px solid var(--line); }
.qz-next { display: grid; gap: 12px; counter-reset: n; }
.qz-next li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--secondary); }
.qz-next li::before { content: counter(n); display: grid; place-items: center; width: 24px; height: 24px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.qz-next strong { color: var(--ink); display: block; }
.qz-aside__tel { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.qz-teaser { display: grid; gap: 4px; padding: 18px 20px; background: var(--orange); color: var(--ink); text-decoration: none; margin: 8px 0 4px; }
.qz-teaser span { font-size: 15px; }
.qz-teaser:hover { background: var(--orange-hover); }
@media (max-width: 1099px) { .qz-layout { grid-template-columns: 1fr; } .qz-aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) {
  .qz-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .qz-steps__t { display: none; }
  .qz-steps .is-current .qz-steps__t { display: none; }
  .qz-choices { grid-template-columns: 1fr; }
  .qz-aside { grid-template-columns: 1fr; }
  .qz-syn__block dl div { grid-template-columns: 1fr; gap: 2px; }
  .qz-merci { padding: 24px; }
  .qz-nav .btn { flex: 1 1 100%; justify-content: center; }
  .qz-nav__right { flex: 1 1 100%; }
}
@media print {
  .site-header, .site-footer, .call-float, .qz-aside, .qz-steps, .qz-bar, .qz-nav, .qz-syn__tools, .page-hero .breadcrumb, .mobile-menu, .skip-link { display: none !important; }
  .qz-layout { display: block; }
  body { font-size: 12pt; }
}

/* Questionnaire : envoi et confirmation (cahier des charges, feuilles 16-17) */
.qz-send { display: grid; gap: 12px; padding: 24px; background: var(--surface); border-left: 3px solid var(--orange); }
.qz-send h3 { font-size: 18px; }
.qz-send p { color: var(--secondary); }
.qz-send__demo { font-size: 14px; padding: 10px 12px; border: 1px dashed var(--line); background: var(--canvas); }
.qz-send__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.qz-send__actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.qz-feedback { padding: 12px 14px; font-size: 15px; font-weight: 500; }
.qz-feedback--warning { background: #fdf0dc; color: #7a3d00; }
.qz-feedback--error { background: #fbe9e7; color: #8a1c15; }
.qz-merci__mode { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--green, #1f6b3a); }
.qz-merci__mode.is-demo { color: #7a3d00; background: #fdf0dc; padding: 8px 12px; justify-self: start; }
.qz-mail { margin: 0; padding: 18px 20px; background: var(--canvas); border: 1px solid var(--line); font: 400 14px/1.6 var(--font); white-space: pre-wrap; color: var(--secondary); }
@media (max-width: 699px) { .qz-send { padding: 18px; } .qz-send__actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- logo officiel, couverture d'accueil, équipe & partenaires ---------- */
.logo--img { display: block; line-height: 0; }
.logo--img img { display: block; height: 46px; width: auto; }
.footer__logo.logo--img { padding: 14px 16px; }
.footer__logo.logo--img img { height: 52px; }
@media (max-width: 899px) { .logo--img img { height: 38px; } }
.hero .hero__logo { position: static; grid-column: 1 / -1; width: clamp(220px, 42vw, 620px); height: auto; opacity: .88; margin-bottom: clamp(12px, 3vw, 40px); filter: drop-shadow(0 2px 18px rgba(0,0,0,.25)); }
.hero[data-logo="off"] .hero__logo { display: none; }

.people { padding: var(--section) 0; }
.people--partners { background: var(--surface); }
.people .section-head { display: grid; gap: 16px; margin-bottom: 40px; }
.people .section-head .lead { max-width: 56ch; color: var(--secondary); }
.people__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; }
.people__card { display: grid; gap: 6px; align-content: start; }
.people__photo { aspect-ratio: 6 / 7; background: var(--surface); overflow: hidden; display: grid; place-items: center; margin-bottom: 10px; }
.people--partners .people__photo { background: #fff; aspect-ratio: 4 / 3; }
.people__photo img { width: 100%; height: 100%; object-fit: cover; }
.people--partners .people__photo img { object-fit: contain; padding: 18px; }
.people__mono { font-size: 44px; font-weight: 600; letter-spacing: -.02em; color: var(--muted); }
.people__card h3 { font-size: 20px; font-weight: 600; }
.people__agence { font-size: 15px; color: var(--secondary); }
.people__card .link-arrow { margin-top: 6px; }
.people__card--todo .people__photo { border: 1px dashed var(--line); background: transparent; }
.people__card--todo h3 { color: var(--muted); font-weight: 500; }

/* questionnaire v3 */
.qz-intro { font-size: 16px; line-height: 1.55; color: var(--secondary); margin-top: -8px; }
.qz-intro strong { color: var(--ink); }
.qz-contact { display: grid; gap: 22px; padding: 22px 22px 24px; border: 1px solid var(--line); background: var(--canvas); min-width: 0; }
.qz-contact--second { border-left: 2px solid var(--orange); }
.qz-contact__title { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.qz-syn__contact { padding: 12px 0 4px; }
.qz-syn__contact h4 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 2px; }
.qz-mails { display: grid; gap: 10px; }
.qz-mail__head { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--secondary); margin-top: 6px; overflow-wrap: anywhere; }
.qz-mail { overflow-wrap: anywhere; }
@media (max-width: 699px) {
  .qz-contact { padding: 16px; }
  .qz-send__actions .btn { white-space: normal; line-height: 1.3; text-align: center; justify-content: center; max-width: 100%; } /* « Voir un exemple de confirmation (sans envoi) » débordait à 390 px */
}
.people__join { margin-top: 40px; }

/* partenaires : présentation façon appel d'offres (colonnes portrait teintées par spécialité) */
.pp { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 12px; scrollbar-width: thin; }
.pp__grp { flex: none; display: grid; grid-template-rows: auto 1fr; scroll-snap-align: start; }
.pp__cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: 0 4px 10px; border-bottom: 4px solid var(--c); margin-bottom: 6px; white-space: nowrap; }
.pp__grp ul { display: flex; gap: 6px; }
.pp__p { position: relative; width: clamp(132px, 13vw, 170px); height: clamp(380px, 38vw, 470px); background: var(--c); overflow: hidden; display: flex; flex-direction: column; }
.pp__img { position: relative; flex: 1; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 35%, #2a2a2a); }
.pp__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.pp__img::after { content: ""; position: absolute; inset: 0; background: var(--c); mix-blend-mode: multiply; opacity: .55; }
.pp__mono { font-size: 40px; font-weight: 600; color: rgba(255,255,255,.75); }
.pp__id { position: absolute; left: 10px; bottom: 96px; top: 14px; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; gap: 4px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); z-index: 1; }
.pp__id strong { font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.pp__id span { font-size: 12.5px; line-height: 1.2; opacity: .95; }
.pp__logo { flex: none; height: 84px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 30%, #fff); }
.pp__logo img, .pp__logo span { width: 62px; height: 62px; border-radius: 50%; background: #fff; object-fit: contain; padding: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 700; text-align: center; line-height: 1.1; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); overflow: hidden; }
a.pp__logo:hover img, a.pp__logo:hover span { outline: 2px solid var(--ink); }
.pp__p:not(:has(.pp__logo)) .pp__id { bottom: 14px; }
.pp__grp { width: min-content; }
.pp__cat { white-space: normal; min-height: 3.2em; display: flex; align-items: flex-end; line-height: 1.25; }
.pp__img { background: color-mix(in srgb, var(--c) 78%, #fff); place-items: start center; }
.pp__img:has(img) { background: #222; }
.pp__mono { margin-top: 22px; font-size: 30px; color: rgba(255,255,255,.85); }
.pp__img:not(:has(img))::after { display: none; }
.qz-direct { margin: 20px 0; padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--surface); display: grid; gap: 6px; }
.qz-direct__num { font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.qz-direct__num a { color: var(--ink); }
.qz-direct__num a + a, .qz-direct__num a:last-child:not(:first-child) { font-size: 15px; font-weight: 500; }

/* pied de page et implantations (retours du 21/10) */
.footer__logo.logo--img { background: none; padding: 0; }
.footer__contact { grid-column: 1 / -1; font-size: 17px; font-weight: 600; color: var(--orange); }
.footer__contact a { color: var(--orange); }
.office__region { color: var(--muted); font-size: 15px; margin-top: -4px; }
.offices__contact { margin: 12px 0 28px; font-size: 17px; font-weight: 600; }
.offices__contact a { color: var(--ink); }
.moe { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.moe .h3 { margin-bottom: 16px; }
.moe__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 32px; }
.moe__list dt { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.moe__list dd { font-size: 17px; font-weight: 500; margin: 2px 0 0; }
.moe__list a { color: var(--ink); }
.logos--img li > a { display: grid; place-items: center; gap: 8px; width: 100%; height: 100%; text-decoration: none; }
.logos--img li > a:hover img { filter: none; opacity: 1; }
.projet-body .moe { grid-column: 1 / -1; display: grid; grid-template-columns: inherit; gap: inherit; }
.projet-body .moe[hidden] { display: none; }
.projet-body .moe .h3 { margin: 0; }
@media (max-width: 899px) { .projet-body .moe { grid-template-columns: 1fr; } }

/* anciens collaborateurs et entreprises de chantier */
.people__anciens { margin-top: 56px; }
.people__anciens .h3 { margin-bottom: 24px; }
.people__list--anciens .people__photo img { filter: grayscale(1); }
.entreprises { padding: var(--section) 0; }
.entreprises .section-head { display: grid; gap: 16px; margin-bottom: 32px; }
.entreprises .section-head .lead { color: var(--secondary); max-width: 56ch; }
.entreprises__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.entreprises__list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 120px; }
.entreprises__list li > a, .entreprises__list li { display: grid; place-items: center; align-content: center; gap: 8px; padding: 18px; text-align: center; text-decoration: none; color: var(--ink); }
.entreprises__list li > a { padding: 0; width: 100%; height: 100%; }
.entreprises__list img { max-width: 130px; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.entreprises__list li:hover img { filter: none; opacity: 1; }
.entreprises__list small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.entreprises__nom { font-weight: 600; }
.projet-body .moe--entreprises .entreprises__list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

/* expertises : carte et pastilles */
:root { --exp-architecture: #F08D1B; --exp-interieur: #80596F; --exp-urbanisme: #4B735B; }
.pastille--architecture, .mk--architecture { fill: var(--exp-architecture); }
.pastille--interieur, .mk--interieur { fill: var(--exp-interieur); }
.pastille--urbanisme, .mk--urbanisme { fill: var(--exp-urbanisme); }
.pastilles { display: inline-flex; align-items: center; gap: 4px; vertical-align: -1px; }
.pastille { width: 11px; height: 11px; flex: none; display: block; }
.card__cat { display: flex; align-items: center; gap: 10px; }
.lieu__meta .pastilles { margin-right: 10px; }
.pastilles--labels { flex-wrap: wrap; gap: 6px 16px; }
.pastille-l { display: inline-flex; align-items: center; gap: 8px; }
.facts .pastilles--labels { font-size: 17px; }
.exp-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--secondary); }
.exp-legend li { display: inline-flex; align-items: center; gap: 8px; }
.exp-legend .pastille { width: 12px; height: 12px; }
.portfolio__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin: 16px 0 28px; }
.portfolio__meta .filters__status { margin: 0; }
.portfolio.is-map [data-filters], .portfolio.is-map .portfolio__meta { display: none; }
.portfolio.is-map .portfolio__bar { justify-content: flex-end; margin-bottom: 20px; }
.exp-devise { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); }
.exp-devise .pastille { width: 14px; height: 14px; }
.anchors a .pastille { margin-right: 10px; }

/* Carte des projets : panneau de filtres + carte */
.pmap { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; align-items: start; }
.pmap__toggle { display: none; }
.pmap__filters { display: grid; gap: 22px; padding: 20px; border: 1px solid var(--line); background: var(--canvas); }
.pmap__title { font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.pmap__filters fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 2px; min-width: 0; }
.pmap__filters legend { padding: 0; margin-bottom: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pmap__opt { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 15px; line-height: 1.25; cursor: pointer; }
.pmap__opt input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.pmap__opt .pastille { width: 13px; height: 13px; }
.pmap__opt small { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pmap__status { font-size: 14px; color: var(--secondary); padding-top: 14px; border-top: 1px solid var(--line); }
.pmap__reset { justify-self: start; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; }
.pmap__reset:hover { border-color: var(--ink); }
.pmap__main { min-width: 0; }
.pmap__legend { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 12px; }
.pmap__multi { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pmap__multi-ico { display: inline-block; width: 26px; height: 26px; position: relative; }
.projets-map .projets-map__note { margin-top: 8px; }
@media (max-width: 899px) {
  .pmap { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pmap__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer; }
  .pmap__toggle::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .pmap__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
  .pmap__toggle small { margin-left: auto; color: var(--muted); font-size: 13px; }
  .pmap__filters { display: none; }
  .pmap__filters.is-open { display: grid; grid-template-columns: minmax(0, 1fr); }
  .pmap__title { display: none; }
  .pmap__legend { flex-direction: column; align-items: flex-start; }
}

/* Marqueurs : grande forme = expertise principale, petites formes en coin = autres expertises */
.pmap-marker { background: none; border: 0; }
.mk { position: relative; display: block; width: 26px; height: 26px; }
.mk__main { position: absolute; inset: 4px; width: 18px; height: 18px; stroke: #fff; stroke-width: 1.6; paint-order: stroke; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .35)); transition: transform .2s; }
.mk__subs { position: absolute; top: -3px; right: -5px; display: flex; gap: 1px; }
.mk__sub { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.4; paint-order: stroke; overflow: visible; }
.pmap-marker:hover .mk__main, .pmap-marker:focus-visible .mk__main { transform: scale(1.2); }
.pmap-marker:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Groupes : neutres (gris foncé), pour ne pas se confondre avec une expertise */
.pmap-cluster { background: none; border: 0; }
.pmap-cluster .marker-cluster { width: 34px !important; height: 34px !important; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/28px var(--font); text-align: center; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(38, 38, 38, .35), 0 2px 6px rgba(0, 0, 0, .25); }
.pmap-cluster:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 50%; }

/* Popup projet */
.leaflet-popup-content:has(.map-pop) { width: 260px !important; }
.map-pop { display: grid; color: var(--ink); padding: 0; }
.map-pop__media { display: block; }
.map-pop__media img { display: block; width: 100%; height: 140px; object-fit: cover; margin: 0; }
.map-pop__body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.map-pop .pastilles--labels { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--secondary); }
.map-pop .pastille { width: 10px; height: 10px; }
.map-pop .pastille-l { gap: 6px; }
.map-pop__title { font-size: 16px; line-height: 1.25; }
.map-pop__lieu { font-size: 13px; color: var(--secondary); }
.map-pop__lieu em { font-style: normal; color: var(--ink); font-weight: 500; }
.leaflet-container .map-pop__desc { margin: 0; font-size: 13px; line-height: 1.45; color: var(--secondary); }
.leaflet-container .map-pop__link { justify-self: start; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.leaflet-container .map-pop__link:hover { color: var(--orange-hover); }
.map-pop__body span, .map-pop__body strong { padding: 0; }
/* partenaires : nom et fonction sur deux lignes parallèles, alignées en bas (retour du 26/10) */
.pp__id { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; line-height: 1.15; }
.pp__id strong { font-size: 17px; letter-spacing: .04em; line-height: 1.1; }
.pp__id span { font-size: 13px; font-weight: 500; letter-spacing: .02em; line-height: 1.2; }
