/* Atelier — public site (docs/publicite-produit/LOT7.md §5). Plain CSS, same identity as the app (docs/DESIGN.md). */
@font-face { font-family: Inter; src: url(/fonts/Inter-Regular.otf) format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/Inter-Bold.otf) format('opentype'); font-weight: 700; font-display: swap; }
:root {
  --ink: #15171d; --ink-2: #3a3d46; --ink-3: #5b5f6a; --paper: #f6f4f0; --surface: #ffffff; --line: #e4ded5;
  --accent: #b9410f; --accent-hover: #9c360b; --accent-soft: #fbe9df; --teal: #0f7c70; --teal-soft: #ddf1ee;
  --warn: #8a5a00; --warn-soft: #fbf0d9; --navy: #141a2b; --radius: 12px; --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-top: 1.6em; }
h3 { font-size: 1.15rem; margin-top: 1.2em; }
p, ul, ol { margin: 0 0 1em; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

/* header */
.site-head { background: var(--navy); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { color: #fff; }
.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; touch-action: manipulation; }
.site-nav ul { list-style: none; display: flex; gap: 4px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { color: #e9ecf5; text-decoration: none; padding: 6px 2px; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: #f08a5a; text-decoration-thickness: 2px; }
.site-nav .cta { background: var(--accent); color: #fff; border-radius: 8px; padding: 6px 14px; }
.site-nav .cta:hover { background: var(--accent-hover); text-decoration: none; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 12px; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
}

/* sections */
main { display: block; padding: 32px 0 56px; }
.hero { padding: 24px 0 8px; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; touch-action: manipulation; }
.btn:hover { color: var(--ink); border-color: var(--ink-3); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); color: #fff; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); padding: 0; list-style: none; margin: 0 0 1em; }
.grid > li { margin: 0; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #eeeae4; color: var(--ink-2); }
.tag.live { background: var(--teal-soft); color: var(--teal); }
.tag.soon { background: var(--warn-soft); color: var(--warn); }
.notice { border-left: 4px solid var(--warn); background: var(--warn-soft); padding: 12px 16px; border-radius: 8px; color: var(--ink); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* pricing */
.price { font-size: 1.6rem; font-weight: 700; margin: .2em 0; }
.price s { font-size: 1rem; color: var(--ink-3); font-weight: 400; margin-left: 6px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #f1ede6; font-size: .9rem; }
@media (max-width: 699px) {
  table, tbody, tr, td, th { display: block; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td, th { border: 0; padding: 4px 12px; }
}

/* gallery */
.gallery-item figure { margin: 0; }
.gallery-item .media { background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 9 / 16; display: flex; align-items: center; justify-content: center; }
.gallery-item .media.f-16x9 { aspect-ratio: 16 / 9; }
.gallery-item .media.f-1x1 { aspect-ratio: 1 / 1; }
.gallery-item .media.f-4x5 { aspect-ratio: 4 / 5; }
.gallery-item .media video, .gallery-item .media img { width: 100%; height: 100%; object-fit: contain; }
.gallery-item figcaption { padding-top: 8px; }
.gallery-item h3 { margin: 0 0 4px; font-size: 1rem; }

/* FAQ, articles */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq[open] summary { margin-bottom: 8px; }
.article { max-width: 72ch; }
.article .meta { color: var(--ink-3); font-size: .9rem; }
.article li { margin-bottom: .4em; }
.posts { list-style: none; padding: 0; }
.posts li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.posts h2 { margin: 0 0 6px; font-size: 1.25rem; }
.crumbs { font-size: .9rem; margin-bottom: 12px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--ink-3); font-size: .9rem; }
.site-foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
[hidden] { display: none !important; }
