/* Landing commerciale – même identité que les supports imprimés (Fraunces + Inter). */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

body.landing {
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --l-bg: #fbf9f6; --l-alt: #f3eee7; --l-ink: #1d1b19; --l-muted: #6f6a63; --l-line: #e2dbd1; --l-accent: #8c2f2b;
  background: var(--l-bg); color: var(--l-ink); font-family: var(--sans); font-size: 17px; line-height: 1.55;
}
.landing h1, .landing h2, .landing h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
.landing h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.05; margin: 0 0 1.1rem; font-variation-settings: "opsz" 96; }
.landing h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; margin: 0 0 2rem; font-variation-settings: "opsz" 72; }
.landing h3 { font-size: 1.18rem; margin: 0 0 .35rem; }
.landing p { margin: 0 0 .8rem; }
.l-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.l-narrow { max-width: 760px; }
.l-center { text-align: center; }

/* Navigation */
.l-nav { position: sticky; top: 0; z-index: 30; background: rgba(251,249,246,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--l-line); }
.l-nav .l-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; }
.l-logo { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--l-ink); text-decoration: none; white-space: nowrap; }
.l-logo span { color: var(--l-accent); margin: 0 .25rem; }
.l-nav nav { display: flex; align-items: center; gap: 1.2rem; font-size: .95rem; }
.l-nav nav a:not(.l-btn) { color: var(--l-ink); text-decoration: none; }
@media (max-width: 640px) { .l-nav nav a:not(.l-btn) { display: none; } }

/* Boutons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.4rem; border-radius: 12px;
  background: var(--l-accent); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--l-accent); transition: transform .12s, background .12s; }
.l-btn:hover { background: #742622; transform: translateY(-1px); }
.l-btn-ghost { background: transparent; color: var(--l-ink); border-color: #cfc7bb; }
.l-btn-ghost:hover { background: #fff; }
.l-btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .92rem; border-radius: 10px; }
.l-btn-block { width: 100%; }
.l-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1rem; }
.l-cta-center { justify-content: center; }

/* Hero */
.l-hero { padding: 3.5rem 0 4rem; overflow: hidden; }
.l-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 920px) { .l-hero-grid { grid-template-columns: 1.1fr .9fr; } }
.l-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--l-accent); margin-bottom: 1rem; }
.l-lead { font-size: 1.15rem; color: #3f3b36; max-width: 36rem; }
.l-note { font-size: .9rem; color: var(--l-muted); }

/* Téléphones (captures réelles) */
.l-phones { position: relative; height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
.l-phone { margin: 0; width: 260px; border-radius: 34px; padding: 9px; background: #1d1b19; box-shadow: 0 30px 60px -20px rgba(29,27,25,.35), 0 10px 20px -10px rgba(29,27,25,.25); }
.l-phone img { display: block; width: 100%; border-radius: 26px; }
.l-phones .l-phone { position: absolute; right: 0; top: 0; }
.l-phones .l-phone-back { left: 0; right: auto; top: 60px; transform: rotate(-5deg); opacity: .96; }
.l-phone-solo { width: 280px; margin: 0 auto; }
@media (max-width: 919px) {
  .l-phones { height: 470px; max-width: 360px; }
  .l-phone { width: 215px; border-radius: 30px; }
  .l-phone img { border-radius: 23px; }
}

/* Sections */
.l-section { padding: 4.5rem 0; }
.l-alt { background: var(--l-alt); }
.l-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: s; }
@media (min-width: 820px) { .l-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.l-steps li { background: #fff; border: 1px solid var(--l-line); border-radius: 18px; padding: 1.6rem; }
.l-steps b { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--l-accent); color: var(--l-accent);
  align-items: center; justify-content: center; font-weight: 700; margin-bottom: 1rem; }
.l-steps p, .l-features p { color: #4a4640; margin: 0; }

.l-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 920px) { .l-split { grid-template-columns: 1.3fr .7fr; } }
.l-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem 2rem; }
@media (min-width: 640px) { .l-features { grid-template-columns: 1fr 1fr; } }
.l-features li { border-top: 1px solid var(--l-line); padding-top: 1rem; }

/* Tarif */
.l-price { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--l-line); border-radius: 22px; padding: 2.2rem 2rem; text-align: center;
  box-shadow: 0 24px 50px -30px rgba(29,27,25,.35); }
.l-price-amount { font-family: var(--serif); font-size: 4rem; font-weight: 600; line-height: 1; margin: 0; }
.l-price-amount span { font-size: 1.3rem; color: var(--l-muted); font-family: var(--sans); font-weight: 500; }
.l-price-sub { color: var(--l-muted); font-size: .92rem; margin: .5rem 0 1.4rem; }
.l-price ul { list-style: none; padding: 0; margin: 0 0 1.6rem; text-align: left; }
.l-price li { padding: .55rem 0 .55rem 1.8rem; border-bottom: 1px solid #f0ebe4; position: relative; }
.l-price li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .55rem; height: .3rem; border-left: 2px solid var(--l-accent); border-bottom: 2px solid var(--l-accent); transform: rotate(-45deg); }
.l-price-foot { font-size: .85rem; color: var(--l-muted); margin: 1rem 0 0; }

/* FAQ */
.landing details { background: #fff; border: 1px solid var(--l-line); border-radius: 14px; padding: 1.1rem 1.3rem; margin-bottom: .7rem; }
.landing summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.landing summary::-webkit-details-marker { display: none; }
.landing summary::after { content: "+"; color: var(--l-accent); font-size: 1.3rem; line-height: 1; }
.landing details[open] summary::after { content: "–"; }
.landing details p { margin: .8rem 0 0; color: #4a4640; }

.l-final { padding: 5rem 0; }

/* Pied */
.l-footer { border-top: 1px solid var(--l-line); padding: 2rem 0 2.5rem; font-size: .9rem; color: var(--l-muted); }
.l-footer .l-wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.l-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.l-footer a { color: var(--l-muted); }

/* Pages inscription (même identité) */
.l-form-page { min-height: 100vh; padding: 2.5rem 0 4rem; }
.l-form-card { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--l-line); border-radius: 22px; padding: 2rem 1.6rem; box-shadow: 0 24px 50px -30px rgba(29,27,25,.3); }
.l-form-card h1 { font-size: 2rem; }
.l-slug { display: flex; align-items: stretch; border: 1px solid #d3ccc1; border-radius: 10px; overflow: hidden; background: #fff; }
.l-slug span { padding: .6rem .5rem .6rem .75rem; background: var(--l-alt); color: var(--l-muted); font-size: .9rem; display: flex; align-items: center; white-space: nowrap; }
.l-slug input { border: 0 !important; border-radius: 0 !important; min-width: 0; }
.l-recap { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--l-line); margin-top: .5rem; }
.l-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ajustements */
.l-btn { white-space: normal; text-align: center; line-height: 1.25; }
.l-nowrap { white-space: nowrap; }
/* Une colonne de grille ne doit jamais être élargie par son contenu (sinon débordement sur petit écran) */
.l-hero-grid > *, .l-split > *, .l-demo-grid > *, .l-steps > *, .l-features > * { min-width: 0; }
body.landing { overflow-x: clip; }
.l-center .l-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  .l-logo { font-size: 1rem; }
  .l-nav .l-wrap { min-height: 56px; }
  .l-kicker { letter-spacing: .1em; font-size: .72rem; }
  .l-cta .l-btn { width: 100%; }
}

/* Offre de lancement */
.l-offer { background: var(--l-ink); color: #fff; text-align: center; font-size: .92rem; padding: .55rem 16px; line-height: 1.4; }
.l-offer-days { display: inline-block; margin-left: .5rem; padding: .05rem .55rem; border-radius: 999px; background: var(--l-accent); font-weight: 600; font-size: .82rem; white-space: nowrap; }
.l-del { opacity: .75; font-weight: 500; }
.l-badge { display: inline-block; background: var(--l-accent); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; margin: 0 0 1rem; }
.l-price-old { margin: 0 0 .2rem; color: var(--l-muted); font-size: 1.15rem; }
.l-price-old del { font-family: var(--serif); font-size: 1.6rem; text-decoration-thickness: 2px; text-decoration-color: var(--l-accent); }
.l-accent { color: var(--l-accent); }

.l-short { display: none; }
@media (max-width: 640px) { .l-nav .l-long { display: none; } .l-nav .l-short { display: inline; } .l-nav .l-btn { white-space: nowrap; } }
@media (max-width: 380px) { .l-phones { height: 420px; } .l-phone { width: 190px; } .l-demo-card { padding: 1.2rem; } .l-price { padding: 1.8rem 1.2rem; } }

/* Démo */
.l-demo { background: #fff; border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); }
.l-demo .l-lead { margin: -1rem auto 2.2rem; max-width: 40rem; }
.l-demo-grid { display: grid; gap: 1.5rem; max-width: 900px; margin: 0 auto 1.2rem; }
@media (min-width: 760px) { .l-demo-grid { grid-template-columns: 1fr 1fr; } }
.l-demo-card { display: flex; flex-direction: column; background: var(--l-bg); border: 1px solid var(--l-line); border-radius: 20px; padding: 1.6rem; }
.l-demo-card > p:not(.l-demo-step) { color: #4a4640; }
.l-demo-step { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--l-accent); margin-bottom: .6rem; }
.l-demo-card .l-btn { margin-top: auto; }
.l-demo-qr, .l-demo-shot { margin: .4rem 0 1.4rem; display: flex; flex-direction: column; align-items: center; }
.l-demo-qr svg { width: 150px; height: 150px; background: #fff; border-radius: 12px; border: 1px solid var(--l-line); padding: 6px; }
.l-demo-qr span { font-size: .82rem; color: var(--l-muted); margin-top: .5rem; }
.l-demo-shot img { width: 100%; max-height: 210px; object-fit: cover; object-position: center 62%; border-radius: 12px; border: 1px solid var(--l-line); }
/* QR utile sur ordinateur seulement (sur téléphone : le bouton suffit) */
@media (max-width: 759px) { .l-demo-qr { display: none; } }

.l-logo img { display: block; height: 30px; width: auto; }
.l-foot-brand { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.l-foot-brand img { height: 22px; width: auto; }
@media (max-width: 640px) { .l-logo img { height: 24px; } }
