@font-face { font-family: 'Bricolage'; src: url('fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('fonts/public-sans.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f8f3f1;
  --surface: #ffffff;
  --alt: #f1e6e3;
  --ink: #2b0d16;
  --muted: #6b4a53;
  --line: #e4d3cf;
  --brand: #a3123a;
  --brand-ink: #ffffff;
  --accent: #ff6a13;
  --yellow: #ffc800;
  --head: #7a0f2b;
  --head-ink: #fff6f2;
  --ok: #1f7a4d;
  --wa: #1f7a4d;
  --radius: 16px;
  --display: 'Bricolage', 'Segoe UI', system-ui, sans-serif;
  --body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #19080f; --surface: #26101a; --alt: #200c15; --ink: #fbeef0; --muted: #c9a9b0;
    --line: #43202d; --brand: #ff7a2f; --brand-ink: #1d0810; --head: #5c0b20; --ok: #5fd39a; --wa: #5fd39a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #2b0d16; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: var(--head); color: var(--head-ink); }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px var(--display); }
.brand span { white-space: nowrap; }
.brand em { font-style: normal; font-weight: 500; opacity: .8; }
.nav { display: none; margin-left: auto; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top .btn-small { margin-left: auto; }
@media (min-width: 860px) { .nav { display: flex; } .top .btn-small { margin-left: 0; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--accent); color: #1d0810; font: 700 16px var(--body); text-decoration: none; cursor: pointer; transition: transform .12s, filter .12s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-big { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-wa, .btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-yellow { background: var(--yellow); }
.hero .btn-wa, .hero .btn-ghost { color: var(--head-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.btn-wa { display: none; }
.has-wa .btn-wa { display: inline-flex; }

/* Accueil */
.hero { background: var(--head); color: var(--head-ink); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto -80px -120px auto; width: 380px; height: 380px; border-radius: 50%; background: var(--accent); opacity: .16; }
.hero-in { display: grid; gap: 40px; padding: 56px 0 72px; position: relative; z-index: 1; }
.eyebrow { font: 700 13px var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.eyebrow.dark { color: var(--brand); }
.hero h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 800; }
.hero h1 span { color: var(--yellow); }
.lead { font-size: clamp(17px, 2.4vw, 20px); margin-top: 20px; max-width: 34em; opacity: .94; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; font-weight: 500; }
.ticks li::before { content: '✓'; color: var(--yellow); font-weight: 800; margin-right: 10px; }
.hero-card { justify-self: start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 22px; padding: 26px; max-width: 360px; backdrop-filter: blur(4px); }
.card-top { font-weight: 600; opacity: .9; margin-bottom: 14px; }
.plate { display: flex; gap: 8px; background: var(--yellow); padding: 12px; border-radius: 14px; border: 3px solid #2b0d16; width: max-content; }
.plate span { width: 52px; height: 68px; display: grid; place-items: center; background: #fff7d1; color: #2b0d16; font: 800 44px var(--display); border-radius: 8px; }
.card-cap { margin-top: 14px; font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.card-note { margin-top: 6px; font-size: 15px; opacity: .9; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 84px 0 96px; } .hero-card { justify-self: end; } }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--alt); }
.section.dark { background: var(--head); color: var(--head-ink); }
.section h2 { font-size: clamp(28px, 4.6vw, 42px); font-weight: 800; }
.section-lead { margin-top: 14px; color: var(--muted); max-width: 40em; }
.section-lead.small { margin-top: 6px; font-size: 16px; }
.sub { font-size: 24px; margin-top: 52px; }

.cards { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h4 { font-size: 21px; }
.card p { color: var(--muted); font-size: 16px; }
.price { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--ink) !important; }
.price strong { font: 800 28px var(--display); color: var(--brand); }
.price span { font-weight: 600; color: var(--muted); }
.cards-quote { margin-top: 20px; }
.card-quote { border-style: dashed; background: transparent; }
.tag { align-self: flex-start; margin-top: auto; font: 700 12px var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); color: #2b0d16; padding: 5px 10px; border-radius: 999px; }

/* Étapes */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding-top: 4px; }
.n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font: 800 24px var(--display); margin-bottom: 14px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Paiement */
.two { display: grid; gap: 32px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.pay-grid { display: grid; gap: 16px; }
@media (min-width: 600px) and (max-width: 899px) { .pay-grid { grid-template-columns: 1fr 1fr; } }
.pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pay h3 { font-size: 20px; margin-bottom: 12px; color: var(--brand); }
.pay ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.soon { display: inline-block; margin-left: 6px; font: 700 11px var(--body); text-transform: uppercase; letter-spacing: .06em; background: var(--yellow); color: #2b0d16; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

/* Confiance */
.trust { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust article { border-top: 3px solid var(--accent); padding-top: 16px; }
.trust h3 { font-size: 21px; margin-bottom: 8px; }
.trust p { opacity: .88; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font: 700 18px var(--display); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 600 26px var(--body); color: var(--brand); }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); padding: 0 0 14px; }
details p + p { padding-top: 0; }
details .btn { margin-top: 6px; }
.link { color: var(--brand); font-weight: 700; }

/* Appel final */
.final { background: var(--brand); color: var(--brand-ink); padding: 64px 0; text-align: center; }
.final h2 { font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; }
.final p { margin-top: 12px; opacity: .95; }
@media (prefers-color-scheme: dark) { .final { background: #3a0f1d; color: #fbeef0; } }

/* Pied de page */
.foot { background: #2b0d16; color: #f3dde0; padding: 36px 0; }
.foot-in { display: grid; gap: 8px; }
.small { font-size: 14px; opacity: .8; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* v3 : pages, besoins, film, preuves */
.foot a { color: inherit; }
.link.light { color: var(--yellow); }
.pagehero { background: var(--head); color: var(--head-ink); padding: 56px 0 48px; }
.pagehero h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; }
.pagehero .lead { margin-top: 14px; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-top: 8px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0 0; }
.prose b { color: var(--ink); }
.prose .cta-row { margin: 0 0 8px; }
.note { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--yellow); background: var(--alt); border-radius: 8px; color: var(--ink) !important; font-size: 15px; }
.needs { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 760px) { .needs { grid-template-columns: repeat(2, 1fr); } }
.needs article { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.needs h3 { font-size: 20px; margin-bottom: 8px; }
.needs p { color: var(--muted); }
.group { margin-top: 20px; }
.group .sub { margin-top: 40px; }
.group .cards { margin-top: 16px; }
@media (min-width: 720px) { .group .cards { grid-template-columns: repeat(3, 1fr); } }
.steps5 { }
@media (min-width: 1000px) { .steps5 { grid-template-columns: repeat(5, 1fr); } }
.film-box { margin-top: 28px; position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #2b0d16; box-shadow: 0 12px 40px rgba(43,13,22,.25); }
.film-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.proof-demo { background: #fff7e6; color: #2b0d16; border-radius: 12px; padding: 16px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; transform: rotate(-2deg); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.ticket-demo { display: grid; gap: 4px; }
.ticket-demo i { font-style: normal; }
