/* Clément Michy — feuille de style
   Langage graphique hérité des Remarquables : serif léger, labels pixel, coins pixel. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("../fonts/silkscreen-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #faf8f4;
  --soft: #f0ebe2;
  --soft-2: #e7e0d4;
  --ink: #413d3b;
  --ink-2: #2f2c2a;
  --muted: #6e6761;
  --line: #e2dbcf;
  --accent: #b0703d;
  --accent-ink: #8f5a2e;
  --accent-soft: #f3e3cf;
  --cream: #f6f1e9;
  --cream-muted: #c9c0b5;
  --px: 4px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--ink); color: var(--cream); padding: 10px 14px; text-decoration: none; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Langage graphique ---------- */
.px { clip-path: polygon(0 var(--px), var(--px) var(--px), var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px), 100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px))); }
.px-lg { --px: 8px; }
.label { font-family: "Silkscreen", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; color: var(--muted); }
.label-accent { color: var(--accent-ink); }
.pixel-rule { height: 4px; border: 0; margin: 0; background: linear-gradient(90deg, var(--ink) 50%, transparent 0) 0 0 / 8px 4px repeat-x; opacity: .3; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 300; line-height: 1.08; margin: 0; letter-spacing: -.012em; color: var(--ink-2); }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(34px, 4.6vw, 54px); text-transform: lowercase; }
h3 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; }
.lead { font-family: "Fraunces", Georgia, serif; font-weight: 300; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.45; color: var(--ink); }
.muted { color: var(--muted); }
em.soft { font-style: italic; color: var(--muted); }

.sec { padding: clamp(64px, 9vw, 112px) 0 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head .label { display: block; margin-bottom: 14px; }
.sec-head p { max-width: 460px; margin: 0; color: var(--muted); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 20px; font: 500 15px/1.1 "Inter", sans-serif; text-decoration: none; border: 0; cursor: pointer; background: var(--soft-2); color: var(--ink); transition: background .15s; }
.btn:hover { background: var(--line); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn .arr { font-family: "Silkscreen", monospace; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--accent-ink); }
.link .arr { font-family: "Silkscreen", monospace; font-size: 12px; margin-left: 6px; }

/* À compléter : repérable avant la mise en ligne */
.todo { background: var(--accent-soft); color: #6b4220; outline: 1px dashed var(--accent); outline-offset: 1px; padding: 0 4px; font-style: normal; }
.todo::before { content: "À compléter · "; font-family: "Silkscreen", monospace; font-size: .72em; letter-spacing: .04em; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(250, 248, 244, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.hd { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: flex-end; gap: 12px; text-decoration: none; color: var(--ink-2); }
.brand .logo-icon { width: 58px; height: auto; color: var(--ink-2); margin-bottom: 7px; }
.brand-name { font-family: "Fraunces", serif; font-weight: 300; font-size: 25px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink-2); }
.nav a.btn[aria-current="page"] { color: var(--cream); }
.nav a:not(.btn)[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin: 0 8px 2px 0; }
.nav .btn { min-height: 42px; padding: 11px 16px; color: var(--cream); }
.nav .btn:hover { color: var(--cream); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .hd { height: 64px; }
  .brand .logo-icon { width: 46px; margin-bottom: 6px; }
  .brand-name { font-size: 22px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 12px; background: var(--soft); border: 0; font: 500 14px "Inter", sans-serif; color: var(--ink); cursor: pointer; }
  .nav-toggle .bars { width: 16px; height: 10px; background: linear-gradient(var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 6px, transparent 6px 8px, var(--ink) 8px 10px); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-top: 1px solid var(--line); }
  .nav a:first-child { border-top: 0; }
  .nav .btn { margin-top: 14px; border-top: 0; }
}

/* ---------- Accueil : hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; }
.hero .label { display: block; margin-bottom: 22px; }
.hero h1 { max-width: 14ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px 56px; align-items: end; }
.latest { display: block; background: var(--soft); padding: 26px 24px 24px; text-decoration: none; color: inherit; }
.latest .picto { width: 54px; height: auto; color: var(--ink); margin-bottom: 26px; }
.latest .label { display: block; margin-bottom: 10px; }
.latest h3 { margin-bottom: 8px; }
.latest p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.latest:hover h3 { color: var(--accent-ink); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .latest { max-width: 460px; } }
.hero .lead { max-width: 640px; margin: 28px 0 32px; }
.horizon { margin-top: clamp(48px, 7vw, 84px); position: relative; }
.horizon svg { width: 100%; height: auto; color: var(--ink-2); }
.horizon .draw { animation: draw 2.6s steps(42, end) .2s both; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.horizon-labels { position: relative; height: 1.4em; margin-top: 14px; }
.horizon-labels span { position: absolute; top: 0; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .horizon .draw { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 640px) { .horizon-labels { font-size: 10px; } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { background: var(--soft); padding: 24px 20px 22px; }
.stat b { display: block; font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(40px, 4.4vw, 54px); line-height: 1; color: var(--ink-2); font-variant-numeric: lining-nums; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Marques */
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 0; padding: 0; list-style: none; }
.brands { gap: 12px 20px; }
.brands li { font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); letter-spacing: .02em; color: var(--ink); display: flex; align-items: center; }
.brands { gap: 12px 26px; }
.brands li::before { content: ""; width: 6px; height: 6px; background: var(--accent); margin-right: 10px; }
.brands-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px 40px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .brands-row { grid-template-columns: 1fr; } }

/* Cartes projets */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .cards, .cards.two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card .media { aspect-ratio: 4 / 3; }
.card-body { padding: 18px 2px 0; }
.card .label { display: block; margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; transition: color .15s; }
.card p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.card .role { font-size: 14px; color: var(--ink); }
.card .role::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--ink); margin: 0 8px 2px 0; }
.card:hover h3 { color: var(--accent-ink); }
.card:hover .media .picto { transform: translateY(-4px); }

/* Visuels et emplacements photo */
.media { position: relative; background: var(--soft); overflow: hidden; display: grid; place-items: center; }
.media img.photo { width: 100%; height: 100%; object-fit: cover; }
.media .picto { width: 30%; max-width: 150px; height: auto; color: var(--ink); opacity: .78; transition: transform .25s; }
.media .picto-people, .media .picto-megaphone { width: 40%; max-width: 190px; }
.offer-card .media .picto-people { width: 70%; }
.latest .picto-people { width: 80px; }
.media .media-logo { width: 72%; max-width: 380px; height: auto; mix-blend-mode: multiply; }
.media .media-cap { position: absolute; left: 12px; bottom: 10px; right: 12px; font-family: "Silkscreen", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.media.tone-2 { background: var(--soft-2); }
.media.tone-3 { background: var(--accent-soft); }
.media.tone-ink { background: var(--ink); }
.media.tone-ink .picto { color: var(--cream); }
.media.tone-ink .media-cap { color: var(--cream-muted); }

/* Offre (liste numérotée) */
.offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offers > li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.offers .num { padding-top: 4px; }
.offers .num .mini { width: 34px; height: auto; color: var(--accent-ink); }
.offers h3 { font-size: clamp(22px, 2.3vw, 28px); }
.offers p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .offers > li { grid-template-columns: 48px 1fr; } .offers > li p { grid-column: 2; } }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pillar { background: var(--soft); padding: 26px 22px 24px; }
.pillar .n { display: block; width: 12px; height: 12px; background: var(--accent); margin-bottom: 22px; }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Bandeau d'appel */
.cta-band { background: var(--ink); color: var(--cream); padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; align-items: end; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--cream); text-transform: none; font-size: clamp(32px, 4vw, 48px); }
.cta-band p { color: var(--cream-muted); margin: 18px 0 0; max-width: 520px; }
.cta-band .actions { justify-content: flex-end; }
.cta-band .picto { position: absolute; right: clamp(24px, 5vw, 64px); top: clamp(28px, 4vw, 44px); width: 110px; color: var(--cream); opacity: .16; }
@media (max-width: 820px) { .cta-band .picto { display: none; } }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: clamp(72px, 10vw, 128px); background: var(--ink-2); color: var(--cream-muted); padding: 56px 0 28px; font-size: 15px; }
.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.ft .f-logo { width: min(340px, 100%); height: auto; }
.ft .sig { font-family: "Fraunces", serif; font-style: italic; font-size: 19px; color: var(--cream); margin: 22px 0 0; }
.ft h4 { font: 400 12px "Silkscreen", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); margin: 0 0 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin: 0 0 8px; }
.ft a { text-decoration: none; }
.ft a:hover { color: var(--cream); text-decoration: underline; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(246, 241, 233, .14); font-size: 13px; }
.ft-bottom a { text-decoration: none; margin-left: 18px; }
.ft-bottom a:first-child { margin-left: 0; }
.ft-bottom a:hover { color: var(--cream); }
@media (max-width: 760px) { .ft { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */
.page-head { padding: clamp(44px, 7vw, 88px) 0 0; }
.page-head .label { display: block; margin-bottom: 18px; }
.page-head h1 { max-width: 16ch; text-transform: lowercase; }
.page-head .lead { max-width: 700px; margin: 24px 0 0; }
.page-head .crumbs, .crumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; counter-reset: s; }
.steps li { background: var(--soft); padding: 22px 18px 20px; position: relative; }
.steps li .n { font-family: "Silkscreen", monospace; font-size: 13px; color: var(--accent-ink); display: block; margin-bottom: 26px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }
.steps li:last-child { background: var(--accent-soft); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Offres détaillées */
.offer-cards { display: grid; gap: 12px; }
.offer-card { display: grid; grid-template-columns: 160px minmax(0, 1fr) 260px; gap: 20px 36px; background: #fff; padding: 28px; align-items: start; }
.offer-card .media { aspect-ratio: 1; }
.offer-card .media .picto { width: 52%; }
.offer-card h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 6px 0 12px; }
.offer-card p { margin: 0; color: var(--muted); }
.offer-card dl { margin: 0; font-size: 15px; }
.offer-card dt { margin-top: 0; }
.offer-card dd { margin: 6px 0 16px; color: var(--ink); }
.offer-card dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.offer-card dd a:hover { border-color: currentColor; }
@media (max-width: 900px) { .offer-card { grid-template-columns: 96px 1fr; } .offer-card dl { grid-column: 1 / -1; } }
@media (max-width: 520px) { .offer-card { grid-template-columns: 1fr; padding: 22px; } .offer-card .media { width: 88px; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.plain-list b { font-weight: 500; color: var(--ink-2); }
.plain-list span { color: var(--muted); }
@media (max-width: 640px) { .plain-list li { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--soft); padding: 24px 22px; }
.tile h3 { font-size: 22px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .label { display: block; margin-bottom: 16px; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .tiles, .tiles.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles, .tiles.four { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--soft); padding: 9px 13px 8px; font-size: 14.5px; font-weight: 500; }

/* Filtres projets */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 42px; padding: 10px 15px; border: 0; background: var(--soft); color: var(--ink); font: 500 14.5px "Inter", sans-serif; cursor: pointer; }
.filters button:hover { background: var(--soft-2); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.card[hidden] { display: none; }

/* Page projet */
.proj-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px 56px; align-items: end; }
.proj-head h1 { text-transform: none; max-width: 18ch; font-size: clamp(38px, 5.4vw, 66px); }
.proj-head .partners { font-family: "Fraunces", serif; font-style: italic; font-size: 22px; color: var(--muted); margin: 16px 0 0; }
.facts-dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts-dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts-dl dt { padding-top: 3px; }
.facts-dl dd { margin: 0; font-weight: 500; color: var(--ink-2); }
@media (max-width: 860px) { .proj-head { grid-template-columns: 1fr; } }
.proj-hero { margin-top: clamp(32px, 5vw, 56px); aspect-ratio: 16 / 7; }
.proj-hero .picto { width: 16%; max-width: 160px; }
.proj-hero .media-logo { width: 46%; max-width: 520px; }
@media (max-width: 640px) { .proj-hero { aspect-ratio: 4 / 3; } .proj-hero .picto { width: 26%; } .proj-hero .media-logo { width: 80%; } }

.proj-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.proj-facts div { background: var(--soft); padding: 20px; }
.proj-facts b { display: block; font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; color: var(--ink-2); }
.proj-facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .proj-facts div { padding: 16px 12px; } .proj-facts b { font-size: 28px; } .proj-facts span { font-size: 13px; line-height: 1.35; } }

.story { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 56px; padding: clamp(40px, 6vw, 64px) 0 0; }
.story > .label { padding-top: 8px; }
.story .body { max-width: 720px; }
.story .body p { font-size: 17.5px; }
.story .body p:first-child { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(20px, 2vw, 23px); line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }
.sq-list { list-style: none; margin: 0; padding: 0; }
.sq-list li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); font-size: 17px; }
.sq-list li:last-child { border-bottom: 1px solid var(--line); }
.sq-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; background: var(--accent); }
.made { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.made li { background: #fff; padding: 10px 14px 9px; font-size: 15px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin-top: clamp(40px, 6vw, 64px); }
.gallery .media:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
.gallery .media { aspect-ratio: 4 / 3; }
.gallery .picto { width: 22%; opacity: .5; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; grid-template-rows: none; } .gallery .media:first-child { min-height: 0; aspect-ratio: 4 / 3; grid-row: auto; } }
.proj-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.next-proj { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; margin-top: clamp(56px, 8vw, 88px); }
.next-proj h3 { font-size: clamp(24px, 3vw, 36px); }
.next-proj:hover h3 { color: var(--accent-ink); }
.next-proj .arr { font-family: "Silkscreen", monospace; font-size: 22px; }

/* À propos */
.about-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.about-head .media { aspect-ratio: 4 / 5; }
.about-head .media .picto { width: 34%; }
@media (max-width: 860px) { .about-head { grid-template-columns: 1fr; } .about-head .media { aspect-ratio: 4 / 3; max-width: 520px; } }
.prose { max-width: 720px; }
.prose p { font-size: 17.5px; }
.values { list-style: none; margin: 0; padding: 0; counter-reset: v; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.values .num { display: block; width: 10px; height: 10px; background: var(--accent); margin-top: 11px; }
.values h3 { font-size: 24px; }
.values p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .values li { grid-template-columns: 28px 1fr; } .values li p { grid-column: 2; } }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-family: "Silkscreen", monospace; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.timeline b { display: block; font-family: "Fraunces", serif; font-weight: 400; font-size: 21px; color: var(--ink-2); margin-bottom: 3px; }
.timeline span { color: var(--muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; } }
.communities { display: grid; grid-template-columns: 140px 1fr; gap: 14px 28px; align-items: start; }
.communities .label { padding-top: 10px; }
@media (max-width: 560px) { .communities { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; padding: clamp(22px, 3vw, 36px); }
.form h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 8px; }
.form > p { color: var(--muted); }
.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 7px; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 "Inter", sans-serif; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 13px 14px; min-height: 48px; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form .small { font-size: 13.5px; color: var(--muted); margin: 4px 0 18px; }
.side-card { background: var(--soft); padding: 26px 24px; margin-bottom: 12px; }
.side-card h3 { font-size: 24px; margin: 12px 0 8px; }
.side-card p { color: var(--muted); margin: 0 0 16px; }
.side-card.ink { background: var(--ink); color: var(--cream); }
.side-card.ink h3 { color: var(--cream); }
.side-card.ink p { color: var(--cream-muted); }
.side-card.ink .label { color: var(--cream-muted); }
.cal-slot { background: rgba(246, 241, 233, .06); border: 1px dashed rgba(246, 241, 233, .3); padding: 18px; font-size: 14px; color: var(--cream-muted); }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.contact-lines li:first-child { border-top: 0; }

/* Pages légales */
.legal h2 { font-size: clamp(26px, 3vw, 32px); text-transform: none; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; }

/* Merci / 404 */
.center-page { text-align: left; padding: clamp(64px, 10vw, 120px) 0 0; }
.center-page .picto { width: 120px; color: var(--ink); margin-bottom: 28px; }
.center-page h1 { text-transform: lowercase; }
.center-page .lead { margin: 22px 0 32px; max-width: 620px; }

/* Piliers à trois colonnes */
.pillars.three { grid-template-columns: repeat(3, 1fr); }
.pillars.three .pillar h3 { font-size: clamp(22px, 2.2vw, 26px); }
.pillars.three .pillar p { font-size: 16px; }
@media (max-width: 860px) { .pillars.three { grid-template-columns: 1fr; } }

/* Valeur ajoutée sur les pages projet */
.value { margin-top: 8px; background: var(--ink); color: var(--cream); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px 56px; align-items: start; }
.value .label { color: var(--cream-muted); padding-top: 10px; }
.value p { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--cream); max-width: 34ch; }
.value .insta { grid-column: 2; margin-top: 10px; }
.value .insta .btn { background: var(--accent); color: #fff; }
.value .insta .btn:hover { background: var(--accent-ink); }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; } .value .insta { grid-column: 1; } }

/* Galerie photo réelle : N photos */
.gallery[class*=" g"] { grid-template-rows: none; grid-auto-flow: dense; }
.gallery[class*=" g"] .media, .gallery[class*=" g"] .media:first-child { aspect-ratio: 4 / 3; min-height: 0; grid-row: auto; }
.gallery.g1 { grid-template-columns: 1fr; }
.gallery.g1 .media { aspect-ratio: 16 / 9; }
.gallery.g2, .gallery.g4 { grid-template-columns: 1fr 1fr; }
.gallery.g3, .gallery.g5, .gallery.g6 { grid-template-columns: repeat(3, 1fr); }
.gallery.g5 .media:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 640px) { .gallery[class*=" g"] { grid-template-columns: 1fr 1fr; } .gallery.g1 { grid-template-columns: 1fr; } .gallery.g5 .media:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }

/* Logo d'en-tête : tracé + nom */
.brand-logo { height: 44px; width: auto; }
@media (max-width: 820px) { .brand-logo { height: 30px; } }
@media (max-width: 380px) { .brand-logo { height: 25px; } }

/* Bandeau marques sous le hero */
.hero .brands-row { margin-top: clamp(48px, 7vw, 80px); }
.brands li.has-logo::before { display: none; }
.brands li.has-logo img { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.brands li.has-logo:hover img { filter: none; opacity: 1; }

/* Preuves sous les piliers */
.pillar { display: flex; flex-direction: column; }
.pillar p { flex: 1; }
.pillar .proof { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent-ink); }

/* Liens Instagram dans l'encadré valeur ajoutée */
.value .insta { grid-column: 2; margin-top: 18px; display: grid; gap: 10px; }
.value .insta .label { padding-top: 0; }
.value .insta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.value .insta a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 11px 15px; background: rgba(246, 241, 233, .1); color: var(--cream); text-decoration: none; font-weight: 500; font-size: 15px; }
.value .insta a:hover { background: var(--accent); color: #fff; }
.value .insta .arr { font-family: "Silkscreen", monospace; font-size: 12px; }
@media (max-width: 760px) { .value .insta { grid-column: 1; } }

/* Accueil : photo du hero */
.hero-photo { aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: var(--soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero-photo { aspect-ratio: 4 / 3; } .hero-photo img { object-position: 50% 40%; } }

/* Logos marques monochromes, tailles équilibrées */
.brands li.has-logo img { height: var(--h, 30px); max-width: 170px; filter: none; opacity: .85; }
.brands li.has-logo:hover img { opacity: 1; }
.brands { gap: 22px 40px; }
@media (max-width: 640px) { .brands li.has-logo img { height: calc(var(--h, 30px) * .8); } .brands { gap: 18px 28px; } }

/* Galerie de photos verticales */
.gallery.portrait { grid-template-rows: none; }
.gallery.portrait .media, .gallery.portrait .media:first-child { aspect-ratio: 3 / 4; min-height: 0; grid-row: auto; grid-column: auto; }
.gallery.portrait.p1 { grid-template-columns: minmax(0, 420px); }
.gallery.portrait.p2 { grid-template-columns: 1fr 1fr; }
.gallery.portrait.p3 { grid-template-columns: repeat(3, 1fr); }
.gallery.portrait.p4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .gallery.portrait.p3, .gallery.portrait.p4 { grid-template-columns: 1fr 1fr; } }

/* Qui suis-je */
.about-title { text-transform: none; max-width: 18ch; font-size: clamp(38px, 5.4vw, 64px); }

/* Photos : remplissent toujours leur cadre */
.media img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head h1.about-title { text-transform: none; }
.gallery.g7 { grid-template-columns: repeat(12, 1fr); }
.gallery.g7 .media { grid-column: span 4; }
.gallery.g7 .media:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 640px) { .gallery.g7 { grid-template-columns: 1fr 1fr; } .gallery.g7 .media, .gallery.g7 .media:nth-child(n+4) { grid-column: auto; } .gallery.g7 .media:first-child { grid-column: span 2; } }
