/* =========================================================
   NUMHA — système de design commun (landing + remerciements)
   Même charte que les guides PDF : rouge unique, encre, N&B.
   ========================================================= */
:root {
  --red: #D7262E;
  --red-dark: #B01E25;
  --red-soft: #FBE9EA;
  --ink: #151515;
  --text: #2c2c2c;
  --muted: #6b6b6b;
  --line: #e2e2df;
  --mist: #f3f3f1;
  --stone: #e6e6e4;
  --paper: #ffffff;
  --wa: #e9e3da;
  --wa-me: #d9f2c7;
  --display: "Montserrat", system-ui, sans-serif;
  --serif: "Lora", Georgia, serif;
  --script: "Great Vibes", cursive;
  --wrap: 1160px;
  --radius: 4px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: var(--serif);
  color: var(--text);
  background: var(--paper);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block }
a { color: inherit }
strong, b { color: var(--ink) }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px }
.bw { filter: grayscale(1) contrast(1.06) }
.c { text-align: center }
.sec { padding: 112px 0 }
.sec.tight { padding: 80px 0 }
.bg-mist { background: var(--mist) }
.bg-stone { background: var(--stone) }
.bg-ink { background: var(--ink); color: #d6d6d6 }
.bg-ink h2, .bg-ink h3 { color: #fff }

/* grain papier, comme les pages du guide */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typo ---------- */
.kicker {
  display: inline-block;
  font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
}
.kicker::after { content: ""; display: block; width: 40px; height: 3px; background: var(--red); margin-top: 10px }
.c .kicker::after, .kicker.c::after { margin-left: auto; margin-right: auto }
.bg-ink .kicker { color: #ff6b72 }
.bg-ink .kicker::after { background: #ff6b72 }

h1, h2, h3, h4 {
  font-family: var(--display); color: var(--ink);
  line-height: 1.04; letter-spacing: -.015em;
}
h2 { font-weight: 900; font-size: clamp(32px, 4.6vw, 54px); text-transform: uppercase; margin: 18px 0 0 }
h3 { font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: 0 }
.r { color: var(--red) }
.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1; color: var(--ink) }
.lead { font-style: italic; font-size: clamp(18px, 2vw, 21px); color: var(--ink); line-height: 1.55 }
.sec-head { max-width: 760px; margin-bottom: 56px }
.sec-head.c { margin-left: auto; margin-right: auto }
.sec-head .lead { margin-top: 22px }
p + p { margin-top: 16px }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--red); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  padding: 21px 32px; border-radius: 2px;
  box-shadow: 0 16px 32px -16px rgba(215, 38, 46, .8);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--red-dark) }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px }
.btn .tag-price { background: #fff; color: var(--red); padding: 5px 10px; border-radius: 2px; font-size: 14px; letter-spacing: .02em; white-space: nowrap }
.btn .arr { width: 18px; height: 18px; flex: none; transition: transform .25s ease }
.btn:hover .arr { transform: translateX(4px) }
.btn.big { font-size: 16px; padding: 24px 38px }
.btn.full { width: 100% }
.btn.dark { background: var(--ink); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .6) }
.btn.dark:hover { background: #000 }
.btn.white { background: #fff; color: var(--red); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .5) }
.btn.white:hover { background: var(--ink); color: #fff }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none }
.btn.ghost:hover { background: var(--ink); color: #fff }
.link-no {
  display: inline-block; font-family: var(--display); font-size: 13.5px; font-weight: 600; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 8px 4px;
}
.link-no:hover { color: var(--ink) }
.under {
  font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--muted);
  margin-top: 16px; letter-spacing: .01em;
}
.under b { color: var(--ink) }

/* moyens de paiement */
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px }
.pay span {
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid var(--line); padding: 5px 9px; color: var(--ink); background: #fff;
}
.c .pay { justify-content: center }

/* ---------- barre du haut ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 20; padding: 22px 0 }
.top .wrap { display: flex; justify-content: space-between; align-items: center }
.logo {
  font-family: var(--display); font-weight: 900; letter-spacing: .34em; font-size: 15px;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.logo i {
  width: 28px; height: 28px; background: var(--red); color: #fff; font-style: normal; letter-spacing: 0;
  display: grid; place-items: center; font-size: 15px; border-radius: 50% 50% 50% 0;
}
.top .mini {
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: 3px;
}
.top .mini:hover { color: var(--red) }

/* ---------- bulle signature (forme du guide) ---------- */
.bubble { position: absolute; background: var(--red); border-radius: 50% 50% 50% 0 }

/* ---------- conversation WhatsApp ---------- */
.chat {
  background: var(--wa); border-radius: 18px; padding: 0 0 22px; overflow: hidden;
  box-shadow: var(--shadow); max-width: 420px; position: relative;
}
.chat .hd {
  display: flex; align-items: center; gap: 12px; background: #1f2c33; color: #fff;
  font-family: var(--display); font-size: 14.5px; font-weight: 700; padding: 14px 18px; margin-bottom: 18px;
}
.chat .hd i { width: 36px; height: 36px; border-radius: 50%; background: #6b7b83; display: block; flex: none }
.chat .hd small { display: block; font-weight: 500; color: #9fb0b8; font-size: 12px }
.chat .body { padding: 0 16px }
.msg {
  background: #fff; border-radius: 2px 12px 12px 12px; padding: 10px 14px 20px;
  font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--ink);
  max-width: 86%; margin-bottom: 10px; position: relative; line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: #999 }
.msg.ph { padding: 5px 5px 20px }
.msg.ph img { border-radius: 8px; filter: grayscale(1) blur(1.4px) contrast(1.1); aspect-ratio: 4/3; object-fit: cover }
.msg.me { margin-left: auto; background: var(--wa-me); border-radius: 12px 2px 12px 12px }
.chat .stamp {
  position: absolute; right: -14px; bottom: 26px; transform: rotate(-6deg);
  background: var(--red); color: #fff; font-family: var(--display); font-weight: 900; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5);
}
.staged { font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 12px }

/* ---------- listes à coches ---------- */
.checks { list-style: none }
.checks li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line) }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks.no li::before {
  background: #bdbdbd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- étapes numérotées ---------- */
.steps { counter-reset: s; display: grid; gap: 0 }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line) }
.step:first-child { border-top: 1px solid var(--line) }
.step .n { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--red) }
.step h3 { margin-bottom: 6px }
.step p { font-size: 16px }

/* ---------- FAQ ---------- */
.qa { border-bottom: 2px solid var(--ink) }
.qa button {
  all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  width: 100%; padding: 24px 0; font-family: var(--display); font-weight: 800; font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--ink); line-height: 1.3;
}
.qa button:focus-visible { outline: 3px solid var(--red); outline-offset: 4px }
.qa .ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red); position: relative; transition: transform .35s ease }
.qa .ic::before, .qa .ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2.5px; background: #fff; transform: translate(-50%, -50%) }
.qa .ic::after { transform: translate(-50%, -50%) rotate(90deg) }
.qa.open .ic { transform: rotate(45deg) }
.qa .a { max-height: 0; overflow: hidden; transition: max-height .4s ease }
.qa .a p { padding: 0 52px 24px 0; font-size: 16.5px }

/* ---------- pied de page ---------- */
footer { background: var(--ink); color: #9a9a9a; padding: 44px 0; font-family: var(--display); font-size: 13px }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center }
footer .logo { color: #fff }
footer nav a { color: #cfcfcf; text-decoration: none; margin-left: 20px }
footer nav a:first-child { margin-left: 0 }
footer nav a:hover { color: #fff }
footer small { display: block; width: 100%; font-size: 11.5px; color: #777; line-height: 1.6; border-top: 1px solid #2a2a2a; padding-top: 18px }

/* ---------- apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease }
.reveal.visible { opacity: 1; transform: none }
.d1 { transition-delay: .08s } .d2 { transition-delay: .16s } .d3 { transition-delay: .24s } .d4 { transition-delay: .32s }
@keyframes up { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: none } }
.load { opacity: 0; animation: up .8s ease forwards }
@keyframes float { 0%, 100% { translate: 0 0 } 50% { translate: 0 -10px } }

/* ---------- responsive commun ---------- */
@media (max-width: 980px) {
  .sec { padding: 80px 0 }
  .sec.tight { padding: 60px 0 }
}
@media (max-width: 640px) {
  body { font-size: 16.5px }
  .wrap, .narrow { padding: 0 16px }
  .btn { padding: 19px 22px; font-size: 13.5px; gap: 10px }
  .btn.big { padding: 21px 22px; font-size: 14px }
  .qa .a p { padding-right: 0 }
  .chat .stamp { right: 8px }
  footer nav a { margin: 0 16px 0 0 }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important }
  .reveal, .load { opacity: 1; transform: none }
}
