/* ============================================================
   Spicy Agency — Landing design system (pages de captation)
   Autonome, aligné sur le branding (onyx / coral, Bebas / Epilogue / DM Mono).
   Réutilisable pour agence-klaviyo, combien-coute, email/SMS/WhatsApp…
   ============================================================ */

.lp {
  --onyx: #07060A;
  --coral: #FF6B4A;
  --coral-2: #FF8268;
  --ink: #FFFFFF;
  --muted: rgba(255,255,255,.66);
  --muted-2: rgba(255,255,255,.42);
  --line: rgba(255,255,255,.09);
  --card: rgba(255,255,255,.025);
  --card-2: rgba(255,255,255,.045);
  --radius: 18px;
  --container: 1080px;
  --measure: 720px;
}

.lp, .lp * { box-sizing: border-box; min-width: 0; }
.lp { background: var(--onyx); color: var(--ink); font-family: 'Epilogue', sans-serif; line-height: 1.7; overflow-x: hidden; }
.lp img { max-width: 100%; display: block; }
.lp p, .lp h1, .lp h2, .lp h3, .lp li, .lp a, .lp span, .lp figcaption { overflow-wrap: break-word; }
.lp ::selection { background: rgba(255,107,74,.28); color: #fff; }

.lp-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.lp-measure { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%; font-family: 'DM Mono', monospace; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; text-decoration: none; padding: 15px 26px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.lp-btn svg, .lp-btn span { line-height: 1; }
.lp-btn--primary { background: var(--coral); color: #0a0a0a; box-shadow: 0 8px 30px -12px rgba(255,107,74,.7); }
.lp-btn--primary:hover { background: var(--coral-2); transform: translateY(-2px); }
.lp-btn--ghost { background: rgba(255,255,255,.04); color: #fff; border-color: var(--line); }
.lp-btn--ghost:hover { border-color: rgba(255,107,74,.5); color: var(--coral); transform: translateY(-2px); }

/* ---------- Eyebrow / kicker ---------- */
.lp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; max-width: 100%; line-height: 1.5; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); margin: 0 0 18px; }
.lp-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px 1px rgba(255,107,74,.8); }

/* ---------- Hero ---------- */
.lp-hero { position: relative; text-align: center; padding: 152px 0 84px; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% -10%, rgba(255,107,74,.16) 0%, rgba(7,6,10,0) 60%); pointer-events: none; }
.lp-hero > .lp-container { position: relative; z-index: 1; max-width: 960px; }
.lp-hero__h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(34px, 5.1vw, 64px); line-height: 1; letter-spacing: .5px; color: #fff; margin: 0 auto 22px; max-width: 900px; }
.lp-hero__h1 em { font-style: normal; color: var(--coral); }
.lp-hero__sub { max-width: 58ch; margin: 0 auto 32px; font-size: clamp(15.5px, 1.5vw, 18px); font-weight: 300; line-height: 1.7; color: var(--muted); }
.lp-hero__sub strong { color: #fff; font-weight: 500; }
.lp-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.lp-proof { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .04em; color: var(--muted-2); }
.lp-proof b { color: var(--coral); font-weight: 500; }

/* ---------- Sections ---------- */
.lp-section { position: relative; padding: 84px 0; border-top: 1px solid var(--line); }
.lp-section--alt { background: linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.006)); }
.lp-section__head { max-width: 840px; margin: 0 auto 44px; text-align: center; }
.lp-section__head .lp-eyebrow { justify-content: center; }
.lp-h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: .5px; color: #fff; margin: 0; }
.lp-h2 em { font-style: normal; color: var(--coral); }
.lp-lede { margin: 18px auto 0; max-width: 60ch; font-size: 17px; font-weight: 300; color: var(--muted); }

/* Prose */
.lp-prose { max-width: var(--measure); margin: 0 auto; }
.lp-prose > p { font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--muted); margin: 0 0 20px; }
.lp-prose > p:last-child { margin-bottom: 0; }
.lp-prose strong { color: #fff; font-weight: 500; }
.lp-prose a { color: var(--coral); text-decoration: none; border-bottom: 1px solid rgba(255,107,74,.35); transition: border-color .2s; }
.lp-prose a:hover { border-color: var(--coral); }
.lp-prose ul { margin: 0 0 20px; padding: 0; list-style: none; }
.lp-prose ul li { position: relative; padding-left: 26px; font-size: 16.5px; font-weight: 300; color: var(--muted); margin-bottom: 12px; }
.lp-prose ul li::before { content: "→"; position: absolute; left: 0; color: var(--coral); }
.lp-prose h3 { font-family: 'Epilogue', sans-serif; font-size: 18px; font-weight: 600; color: #fff; margin: 30px 0 10px; }
.lp-prose--tight > p { margin-bottom: 14px; }
.lp-stack > * + * { margin-top: 44px; }

/* ---------- Stats ---------- */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 940px; margin: 0 auto; }
.lp-stat { text-align: center; padding: 26px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, border-color .25s ease; }
.lp-stat:hover { transform: translateY(-4px); border-color: rgba(255,107,74,.35); }
.lp-stat__num { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.04; color: var(--coral); letter-spacing: 1px; }
.lp-stat__label { display: block; margin-top: 8px; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); line-height: 1.4; }

/* ---------- Pricing ---------- */
.lp-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; transition: transform .25s ease, border-color .25s ease; }
.lp-plan:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.lp-plan--featured { border-color: rgba(255,107,74,.55); background: linear-gradient(180deg, rgba(255,107,74,.10), rgba(255,107,74,.02)); box-shadow: 0 30px 60px -30px rgba(255,107,74,.5); }
.lp-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #0a0a0a; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; white-space: nowrap; }
.lp-plan__name { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.lp-plan__price { font-family: 'Bebas Neue', sans-serif; font-size: 52px; line-height: 1; color: #fff; margin: 14px 0 4px; letter-spacing: 1px; }
.lp-plan__price span { font-family: 'Epilogue', sans-serif; font-size: 15px; font-weight: 300; color: var(--muted-2); letter-spacing: 0; }
.lp-plan__range { font-size: 13.5px; font-weight: 300; color: var(--muted); min-height: 40px; }
.lp-plan__features { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.lp-plan__features li { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 300; color: var(--muted); }
.lp-plan__features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 600; }
.lp-pricing-note { max-width: 640px; margin: 34px auto 0; text-align: center; }
.lp-pricing-note p { font-size: 15px; font-weight: 300; color: var(--muted); margin: 0 0 6px; }
.lp-pricing-note strong { color: #fff; font-weight: 500; }

/* ---------- Steps timeline ---------- */
.lp-steps { max-width: 720px; margin: 0 auto; position: relative; display: grid; gap: 20px; }
.lp-steps::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(var(--coral), rgba(255,107,74,.15)); }
.lp-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.lp-step__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--onyx); border: 1px solid rgba(255,107,74,.5); font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--coral); }
.lp-step__card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; }
.lp-step__tag { font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.lp-step__card h3 { font-family: 'Epilogue', sans-serif; font-size: 19px; font-weight: 600; color: #fff; margin: 6px 0 8px; }
.lp-step__card p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- Figures ---------- */
.lp-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.lp-figures--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.lp-fig { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.lp-fig img { width: 100%; height: 300px; object-fit: cover; object-position: top; transition: transform .5s ease; }
.lp-fig:hover img { transform: scale(1.03); }
.lp-fig figcaption { padding: 13px 16px; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); border-top: 1px solid var(--line); }

/* ---------- Ecosystem schema ---------- */
.lp-eco { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; justify-items: center; }
.lp-eco__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.lp-eco__node { text-align: center; padding: 22px 16px; background: rgba(255,107,74,.06); border: 1px solid rgba(255,107,74,.24); border-radius: 16px; }
.lp-eco__node b { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 26px; color: #fff; letter-spacing: 1px; }
.lp-eco__node span { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); }
.lp-eco__pipe { width: 1px; height: 30px; background: linear-gradient(rgba(255,107,74,.6), rgba(255,107,74,0)); }
.lp-eco__core { text-align: center; padding: 20px 34px; background: var(--coral); color: #0a0a0a; border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(255,107,74,.7); }
.lp-eco__core b { display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 28px; letter-spacing: 1px; }
.lp-eco__core span { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; opacity: .75; }

/* ---------- Tables ---------- */
.lp-table { overflow-x: auto; max-width: 1000px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; -webkit-overflow-scrolling: touch; }
.lp-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.lp-table thead th { font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); text-align: left; padding: 16px 18px; background: rgba(255,107,74,.06); border-bottom: 1px solid var(--line); }
.lp-table tbody td { padding: 15px 18px; color: var(--muted); font-weight: 300; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: top; }
.lp-table tbody tr:last-child td { border-bottom: none; }
.lp-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.lp-table td strong { color: #fff; font-weight: 500; }
.lp-table a { color: var(--coral); text-decoration: none; }
.lp-table a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.lp-ctaband { max-width: 900px; margin: 0 auto; text-align: center; padding: 56px 32px; border-radius: 24px; background: radial-gradient(120% 120% at 50% 0%, rgba(255,107,74,.16), rgba(255,255,255,.02)); border: 1px solid rgba(255,107,74,.24); }
.lp-ctaband__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.03; color: #fff; margin: 14px auto 16px; max-width: 22ch; letter-spacing: .5px; }
.lp-ctaband__text { max-width: 54ch; margin: 0 auto 26px; font-size: 15.5px; font-weight: 300; line-height: 1.65; color: var(--muted); }

/* ---------- FAQ (accordéon, réponses dans le DOM, lisibles sans JS) ---------- */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--card); overflow: hidden; transition: border-color .2s ease; }
.lp-faq__item.is-open { border-color: rgba(255,107,74,.4); }
.lp-faq__q { margin: 0; }
.lp-faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-family: 'Epilogue', sans-serif; font-size: 16.5px; font-weight: 500; color: #fff; line-height: 1.4; }
.lp-faq__btn:hover { color: var(--coral); }
.lp-faq__icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.lp-faq__icon::before, .lp-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--coral); transform: translate(-50%,-50%); transition: transform .25s ease; }
.lp-faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.lp-faq__item.is-open .lp-faq__icon::after { transform: translate(-50%,-50%) rotate(0); }
.lp-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.lp-faq__item.is-open .lp-faq__a { max-height: 600px; }
.lp-faq__a p { margin: 0; padding: 0 24px 22px; font-size: 15.5px; font-weight: 300; line-height: 1.75; color: var(--muted); }
.lp-faq__a a { color: var(--coral); text-decoration: none; border-bottom: 1px solid rgba(255,107,74,.35); }
/* Fallback sans JS : tout est déplié et lisible */
html.no-js .lp-faq__a { max-height: none; }
html.no-js .lp-faq__icon { display: none; }

/* ---------- Utilities ---------- */
.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.lp-reveal.is-in { opacity: 1; transform: translateY(0); }
html.no-js .lp-reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .lp-pricing { grid-template-columns: 1fr; max-width: 460px; }
  .lp-plan__range { min-height: 0; }
  .lp-plan--featured { transform: none; }
  .lp-figures, .lp-figures--2 { grid-template-columns: 1fr; max-width: 460px; }
  .lp-fig img { height: 240px; }
}
@media (max-width: 720px) {
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lp-hero { padding: 122px 0 60px; }
  .lp-section { padding: 60px 0; }
  .lp-container { padding: 0 20px; }
  .lp-hero__cta { flex-direction: column; align-items: stretch; }
  .lp-hero__cta .lp-btn { width: 100%; }
  .lp-btn { padding: 14px 18px; font-size: 12px; letter-spacing: .03em; }
  .lp-eco__row { grid-template-columns: 1fr; }
  .lp-step { grid-template-columns: 44px 1fr; gap: 14px; }
  .lp-steps::before { left: 21px; }
  .lp-step__num { width: 44px; height: 44px; font-size: 19px; }
  .lp-ctaband { padding: 40px 20px; }
  .lp-ctaband__title { font-size: clamp(26px, 7vw, 34px); }
  .lp-plan__price { font-size: 46px; }
}

/* ---------- Bloc "Nos services" (maillage croisé) ---------- */
.lp-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
.lp-service { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 26px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.lp-service:hover { transform: translateY(-4px); border-color: rgba(255,107,74,.4); background: var(--card-2); }
.lp-service__label { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.lp-service__name { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: .5px; color: #fff; }
.lp-service__desc { font-size: 13.5px; font-weight: 300; line-height: 1.5; color: var(--muted); }
.lp-service__go { margin-top: auto; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.lp-service--current { border-color: rgba(255,107,74,.45); background: linear-gradient(180deg, rgba(255,107,74,.10), rgba(255,107,74,.02)); }
.lp-service--current .lp-service__go { color: var(--muted-2); }
@media (max-width: 940px) { .lp-services { grid-template-columns: repeat(2, 1fr); max-width: 560px; } }
@media (max-width: 460px) { .lp-services { grid-template-columns: 1fr; max-width: 360px; } }


/* ---------- Figure unique (réalisation / capture email) — aperçu tronqué ---------- */
.lp-figure { max-width: 380px; margin: 36px auto; }
.lp-figure__frame { position: relative; max-height: 560px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.lp-figure__frame img { width: 100%; height: auto; display: block; }
.lp-figure__frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(7,6,10,0), var(--onyx)); pointer-events: none; }
.lp-figure figcaption { margin-top: 12px; font-size: 13.5px; font-style: italic; line-height: 1.5; color: var(--muted-2); text-align: center; }
