@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #111318; --ink-2: #3b3f49; --muted: #6b6f79; --paper: #faf7f2; --paper-2: #f1ebe1; --line: #e2dbcd;
  --accent: #e2553b; --accent-ink: #b8391f; --accent-soft: #ffb4a4; --deep: #1d4a55;
  --radius: 18px; --shadow: 0 30px 70px -30px rgba(17, 19, 24, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
h1, h2, h3 { font-family: 'Bricolage', 'Inter', sans-serif; line-height: 1.06; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 700; max-width: 20ch; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; border: 2px solid var(--ink); transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { padding: .5rem 1.05rem; font-size: .92rem; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; margin-right: auto; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--accent); }
.nav { display: flex; gap: 1.6rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--accent-ink); }

/* Accroche */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -12vw; top: -8vw; width: 46vw; height: 46vw; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%); pointer-events: none; }
.hero h1 { max-width: 16ch; position: relative; z-index: 1; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { position: relative; z-index: 1; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; position: relative; z-index: 1; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem 2rem; list-style: none; padding: 0; margin: 3rem 0 0; color: var(--ink-2); font-size: .95rem; position: relative; z-index: 1; }
.facts b { font-family: 'Bricolage', sans-serif; font-size: 1.6rem; color: var(--ink); display: block; line-height: 1.1; }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: #e9e5dd; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--accent-soft); }

/* Prestations */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: .4rem; }
.service .num { font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: .95rem; color: var(--accent); }
.service p { margin: 0 0 .6rem; color: var(--ink-2); }
.service ul { margin: auto 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .95rem; }
.service li::before { content: '→'; color: var(--accent); margin-right: .55rem; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; }
.principle { border-top: 2px solid var(--accent); padding-top: 1rem; }
.principle h3 { font-size: 1.08rem; }
.principle p { margin: 0; color: #c9c4ba; font-size: .96rem; }

/* Projets */
.projects { display: grid; gap: 2rem; margin-top: 3rem; }
.project { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; }
.project:nth-child(even) { grid-template-columns: .9fr 1.1fr; }
.project:nth-child(even) .shot { order: 2; }
.shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--paper-2); transition: transform .25s; }
.shot:hover { transform: translateY(-4px) rotate(-.4deg); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-body { padding: 1rem 1rem 1rem 0; }
.project:nth-child(even) .project-body { padding: 1rem 0 1rem 1rem; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); margin-bottom: .8rem; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2f9e44; box-shadow: 0 0 0 4px #d3f9d8; }
.project-body p { color: var(--ink-2); margin: 0 0 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.3rem; }
.tags li { font-size: .82rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .75rem; color: var(--ink-2); background: var(--paper); }
.visit { font-weight: 600; text-decoration: none; }
.visit:hover { text-decoration: underline; }

.wip { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.5rem; }
.wip-card { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.8rem; background: transparent; }
.wip-card .status::before { background: var(--accent); box-shadow: 0 0 0 4px #fde2dc; }
.wip-card p { color: var(--ink-2); margin: 0 0 .8rem; }
.wip-card .shot { margin: 1rem 0; aspect-ratio: 16 / 8; }

/* À propos */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.about .prose p { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 1.1rem; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.timeline li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; color: var(--ink-2); }
.timeline li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent); margin-top: .45rem; }

/* Contact */
.contact { background: var(--ink); color: #e9e5dd; }
.contact-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; }
.contact h2 { color: #fff; max-width: 18ch; }
.contact .eyebrow { color: var(--accent-soft); }
.contact p { color: #c9c4ba; font-size: 1.1rem; max-width: 52ch; }
.contact-card { background: #1b1e25; border: 1px solid #2c3039; border-radius: var(--radius); padding: 1.8rem; display: grid; gap: .6rem; }
.contact-card a.mail { font-family: 'Bricolage', sans-serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; color: #fff; text-decoration: none; word-break: break-all; }
.contact-card a.mail:hover { color: var(--accent-soft); }
.contact-card span { color: #9d988f; font-size: .95rem; }

.foot { background: #0b0c10; color: #9d988f; padding: 2.5rem 0; font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.foot a { color: #e9e5dd; margin-right: 1.2rem; }

/* Pages légales */
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; max-width: none; }
.legal p, .legal li { color: var(--ink-2); }

@media (max-width: 980px) {
  .nav { display: none; }
  .services, .about, .contact-in { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .project, .project:nth-child(even) { grid-template-columns: 1fr; gap: 1.2rem; }
  .project:nth-child(even) .shot { order: 0; }
  .project-body, .project:nth-child(even) .project-body { padding: .4rem; }
  .wip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .top-in { gap: .6rem; }
  .brand { font-size: 1.05rem; }
  .facts { gap: 1rem 1.6rem; }
}

.wip-title { margin-top: 4rem; }
.contact-btn { justify-self: start; margin-top: .6rem; }
