/* romain.biz — feuille unique, sans build */
:root {
  --bg: #F7F5F0;
  --bg-2: #FFFFFF;
  --ink: #1B1A17;
  --ink-2: #4A4741;
  --muted: #7A766D;
  --line: #E4E0D6;
  --accent: #1F5F5B;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EEEC;
  --warm: #C8722B;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27,26,23,.06), 0 12px 32px -12px rgba(27,26,23,.18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .75em; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247,245,240,.9); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { font-weight: 700; letter-spacing: -.01em; color: var(--ink); text-decoration: none; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; letter-spacing: 0; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: #EEEBE3; color: var(--ink); }
.nav a.cta { background: var(--ink); color: #fff; }
.nav a.cta:hover { background: #000; }
.brand, .nav a { white-space: nowrap; }
@media (max-width: 640px) { .nav a:not(.cta) { display: none; } .nav a.cta { font-size: .88rem; padding: 9px 12px; } .brand { font-size: 1rem; } }

/* Héros */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(32px, 5vw, 64px); }
.hero h1 { max-width: 18ch; }
.hero .lead { margin-top: 1rem; }
.hero .hint { margin-top: 1.5rem; font-size: 1rem; color: var(--ink-2); }
.hero .hint a { font-weight: 600; }

/* Liste des projets */
.projects { display: grid; gap: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 80px); }
.project { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .project { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .project:nth-child(even) .shot { order: 2; }
}
.project .text h2 { margin-top: .2em; }
.project .text h2 a { color: inherit; text-decoration: none; }
.project .text h2 a:hover { text-decoration: underline; }
.tagline { font-size: 1.15rem; color: var(--ink-2); font-weight: 500; margin-bottom: .8em; }
.facts { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: .82rem; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.visit { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; padding: 12px 18px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); min-height: 48px; }
.visit:hover { background: #17504C; }
.visit svg { width: 16px; height: 16px; }
.status { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; }
.status.private { color: var(--warm); background: #F6E8DC; }

/* Captures : cadre navigateur + téléphone en surimpression */
.shot { position: relative; padding-bottom: 12%; padding-right: 14%; }
.browser { background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.browser .bar { height: 26px; background: #ECE9E1; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: #CFCABE; }
.browser .bar span { margin-left: 8px; font-size: .68rem; color: var(--muted); background: #fff; border-radius: 5px; padding: 1px 8px; flex: 1; text-align: center; max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.phone { position: absolute; right: 0; bottom: 0; width: 27%; border-radius: 14px; background: #1B1A17; padding: 4px; box-shadow: var(--shadow); }
.phone img { border-radius: 11px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; width: 100%; }
.shot.no-phone { padding-right: 0; padding-bottom: 0; }

/* Bande « Vous avez un projet ? » */
.band { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.band .wrap { display: grid; gap: 20px; align-items: center; }
@media (min-width: 800px) { .band .wrap { grid-template-columns: 1fr auto; } }
.band h2 { color: #fff; margin: 0 0 .3em; }
.band p { color: #C9C4B8; margin: 0; max-width: 52ch; }
.band .visit { background: #fff; color: var(--ink); }
.band .visit:hover { background: #EEEBE3; }

/* Page projet */
.section { padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.cols { display: grid; gap: 28px; }
@media (min-width: 800px) { .cols { grid-template-columns: repeat(3, 1fr); } .cols.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps li::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.steps strong { display: block; margin-bottom: 2px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 18px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
.timeline .when { font-size: .85rem; color: var(--muted); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.stack li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: .9rem; }
.contact { text-align: center; padding: clamp(48px, 8vw, 96px) 20px; }
.contact .visit { font-size: 1.05rem; padding: 14px 22px; }
.contact p { max-width: 48ch; margin-left: auto; margin-right: auto; }

/* Pied */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--ink-2); }
