:root {
  --bg: #f6f4ef;
  --tint: #ece9e1;
  --card: #ffffff;
  --ink: #141414;
  --muted: #5d5a54;
  --line: #dcd8ce;
  --accent: #ff5a1f;
  --accent-ink: #ffffff;
  --accent-soft: #ffe7dc;
  --dark: #121216;
  --radius: 18px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 16px/1.2 var(--body); text-decoration: none; text-align: center;
  border: 1.5px solid var(--accent);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(255, 90, 31, .7); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); box-shadow: none; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--light { background: #fff; color: var(--dark); border-color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row--center { justify-content: center; }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 244, 239, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--display); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 6px 0 0 -2px var(--ink); }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { padding: 40px 0 64px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); margin-bottom: 22px; }
.hero__facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--muted); }
.hero__facts strong { display: block; font: 800 22px/1.2 var(--display); color: var(--ink); }
.hero__media { margin: 0; justify-self: center; }
.hero__media figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.phone {
  width: min(300px, 72vw); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden;
  background: var(--dark); border: 8px solid var(--dark);
  box-shadow: 0 40px 80px -30px rgba(20, 20, 20, .45), 0 0 0 1px rgba(0,0,0,.06);
  transform: rotate(2deg);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero__grid { grid-template-columns: 1.25fr 0.75fr; gap: 64px; }
  .phone { width: 320px; }
}

/* Logos */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.logos__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 48px; }
.logos__title { font: 500 14px/1.4 var(--body); color: var(--muted); letter-spacing: 0; }
.logos__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 48px; }
.logos__list img { height: 30px; width: auto; filter: brightness(0); opacity: .72; }

/* Sections */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 700px; margin-bottom: 44px; }
.section__head .muted { margin-top: 14px; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.clip__frame { aspect-ratio: 9 / 16; background: var(--dark); border-radius: var(--radius); overflow: hidden; }
.clip--wide { grid-column: 1 / -1; }
.clip--wide .clip__frame { aspect-ratio: 16 / 9; }
.clip__frame video { width: 100%; height: 100%; object-fit: cover; }
.clip__meta { padding: 16px 4px 0; }
.clip__meta h3 { display: inline; margin-left: 8px; }
.clip__meta p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.tag { display: inline-block; vertical-align: 3px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: var(--ink); color: var(--bg); }
.tag--concept { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; position: relative; }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 800 18px/1 var(--display); margin-bottom: 22px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Tarifs */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.plan--featured { border: 2px solid var(--ink); box-shadow: 0 30px 60px -40px rgba(20,20,20,.5); }
.plan__badge { position: absolute; top: -14px; left: 26px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.plan__price { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 12px; }
.plan__price span { font: 800 44px/1 var(--display); letter-spacing: -0.03em; }
.plan__price s { color: var(--muted); font-size: 20px; }
.plan__pitch { color: var(--muted); font-size: 16px; }
.plan__list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan__list li { padding-left: 28px; position: relative; font-size: 16px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan__note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* Comparatif */
.compare { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 600 15px/1.3 var(--body); color: var(--muted); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--muted); }
.compare .is-us { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.compare thead .is-us { color: var(--accent); }
@media (max-width: 640px) {
  .compare table { font-size: 13px; }
  .compare th, .compare td { padding: 12px 8px; }
  .compare tbody th { width: 24%; }
}

/* Témoignages */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { margin: 0; background: var(--card); border-radius: var(--radius); padding: 30px; }
.quote blockquote { margin: 0 0 20px; font: 600 20px/1.45 var(--display); letter-spacing: -0.01em; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.35 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--body); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 42em; }

/* CTA final */
.final { background: var(--dark); color: #fff; padding: 96px 0; text-align: center; }
.final h2 { font-size: clamp(34px, 5.4vw, 58px); max-width: 14em; margin: 0 auto; }
.final p { color: rgba(255,255,255,.72); margin: 18px auto 0; max-width: 32em; }
.final .cta-row { margin-top: 36px; }
.final__mail a { color: #fff; }

/* Pied de page */
.footer { background: var(--dark); color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; padding-bottom: 22px; }
.footer a { color: inherit; }

/* Page d'aperçu prospect (p/<slug>.html) */
.preview { padding: 32px 0 80px; }
.preview__grid { display: grid; gap: 36px; align-items: center; }
.preview h1 { font-size: clamp(34px, 5.6vw, 56px); margin-bottom: 18px; }
.preview .phone { transform: none; }
.preview .phone--wide { width: min(640px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; }
.preview .phone--wide video { border-radius: 14px; }
.preview__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.preview__list li { padding-left: 28px; position: relative; }
.preview__list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.preview__more { margin-top: 24px; font-size: 15px; color: var(--muted); }
.preview__media { margin: 0; justify-self: center; }
@media (max-width: 899px) { .preview__media { order: -1; } }
.preview__media figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 900px) {
  .preview { padding: 64px 0 112px; }
  .preview__grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
  .preview__grid--wide { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
  .preview__media { grid-row: 1; }
}

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