/* Site vitrine Litte : même tenue que l'application depuis le 2026-10-16, inspirée des pages
   Revolut Business : fond blanc, cartes gris clair arrondies, pilules noires, grands titres serrés. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/Inter-Regular.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/Inter-Medium.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/Inter-SemiBold.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/Inter-Bold.ttf) format("truetype"); }

:root {
  --bg: #FFFFFF;
  --card: #F4F4F4;
  --raised: #EBEBEB;
  --line: rgba(25, 28, 31, 0.08);
  --ink: #191C1F;
  --ink-2: #646A71;
  --ink-3: #8C9197;
  --inverse: #191C1F;
  --on-inverse: #FFFFFF;
  --on-inverse-2: rgba(255, 255, 255, 0.72);
  --radius: 24px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; }
.wrap {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
/* Icônes au trait (dessins Lucide), déclarées une fois en haut de page. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.mark { width: 32px; height: 32px; border-radius: 10px; background: var(--inverse); color: var(--on-inverse); display: grid; place-items: center; flex: none; }
.mark svg { width: 16px; height: 16px; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* Boutons : pilule noire pour l'action principale, gris clair pour le reste. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: 999px; border: 0; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; text-decoration: none;
  white-space: nowrap; background: var(--inverse); color: var(--on-inverse); transition: opacity .15s, transform .15s;
}
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.98); }
.btn.soft { background: var(--raised); color: var(--ink); }
.btn.light { background: var(--bg); color: var(--ink); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.final-card .btn:focus-visible { outline-color: var(--on-inverse); }

/* Titres */
h1 { font-size: clamp(42px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 500; margin: 0 0 24px; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 500; margin: 0 0 16px; text-wrap: balance; }
.eyebrow { color: var(--ink-2); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 18px; }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--ink-2); margin: 0 0 36px; max-width: 34em; }
.sub { color: var(--ink-2); font-size: clamp(17px, 1.7vw, 19px); line-height: 1.55; margin: 0; }
.fine { font-size: 14px; color: var(--ink-3); margin: 18px 0 0; }

/* Accroche : texte à gauche, carte de la Library à droite. */
.hero { padding: 72px 0 104px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 920px) {
  .hero { padding: 44px 0 88px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
.showcase { position: relative; background: var(--card); border-radius: 32px; padding: clamp(20px, 4vw, 44px) clamp(20px, 4vw, 44px) clamp(44px, 6vw, 64px); }
.showcase .auto { background: var(--bg); box-shadow: 0 1px 2px rgba(25, 28, 31, 0.06), 0 18px 40px -18px rgba(25, 28, 31, 0.22); }
.showcase .actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.showcase .pill { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: var(--inverse); color: var(--on-inverse); font-weight: 600; font-size: 15px; }
.showcase .count { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.showcase .count .i { width: 15px; height: 15px; }
.toast {
  position: absolute; left: clamp(16px, 3vw, 28px); bottom: -22px; display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 32px); background: var(--inverse); color: var(--on-inverse); border-radius: 999px;
  padding: 10px 18px 10px 10px; font-size: 14.5px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.4);
}
.toast .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; flex: none; }
.toast .ok .i { width: 15px; height: 15px; stroke-width: 2.6; }
.toast .ref { color: var(--on-inverse-2); }

/* Carte d'automatisation : bandeau noir (services, heure de passage), titre, phrase du métier. */
.auto { background: var(--card); border-radius: var(--radius); padding: 8px; display: flex; flex-direction: column; min-width: 0; }
.banner {
  background: var(--inverse); color: var(--on-inverse); border-radius: 18px; min-height: 128px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.tiles { display: flex; align-items: center; gap: 8px; }
.tile { width: 42px; height: 42px; border-radius: 11px; background: var(--bg); color: var(--ink); display: grid; place-items: center; flex: none; }
.tiles .sep { width: 16px; height: 16px; color: var(--on-inverse-2); }
.when { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 500; color: var(--on-inverse-2); }
.when .i { width: 15px; height: 15px; }
.auto-body { padding: 18px 14px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.auto h3, .auto h4 { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.auto p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.auto .uses { margin-top: auto; padding-top: 10px; display: grid; gap: 3px; }
.auto .uses p { font-size: 13.5px; line-height: 1.4; font-weight: 500; color: var(--ink-3); }
.auto .uses span { display: inline-block; min-width: 5.8em; font-weight: 600; color: var(--ink-2); }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 600px) { section { padding: 72px 0; } }
.head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.head .eyebrow { margin-bottom: 14px; }

/* Métiers : onglets sans script (boutons radio cachés, étiquettes en pilules). */
.trade-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 44px; }
.chips label {
  cursor: pointer; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--card); font-size: 15px; font-weight: 500; color: var(--ink); user-select: none; transition: background .15s, color .15s;
}
.chips label:hover { background: var(--raised); }
@media (max-width: 700px) {
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 36px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips label { flex: none; }
}
.panel { display: none; }
.panel-head { display: grid; gap: 6px; margin: 0 0 22px; }
.panel-head h3 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; margin: 0; }
.panel-head p { margin: 0; color: var(--ink-2); }
.autos { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .autos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .autos { grid-template-columns: minmax(0, 1fr); } }
.trades-cta { display: flex; justify-content: center; margin-top: 44px; }
/* Sur grand écran : les métiers en colonne à gauche, qui reste visible pendant qu'on parcourt les cartes. */
@media (min-width: 1000px) {
  .trades { display: grid; grid-template-columns: 264px minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .chips { grid-column: 1; grid-row: 1; position: sticky; top: 92px; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 6px; margin: 0; }
  .chips label { width: 100%; height: 48px; padding: 0 20px; font-size: 15.5px; }
  .panel { grid-column: 2; grid-row: 1; }
  .autos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#m-artisan:checked ~ .chips [for="m-artisan"],
#m-beauty:checked ~ .chips [for="m-beauty"],
#m-garage:checked ~ .chips [for="m-garage"],
#m-restaurant:checked ~ .chips [for="m-restaurant"],
#m-retail:checked ~ .chips [for="m-retail"],
#m-consulting:checked ~ .chips [for="m-consulting"],
#m-real-estate:checked ~ .chips [for="m-real-estate"] { background: var(--inverse); color: var(--on-inverse); }

#m-artisan:focus-visible ~ .chips [for="m-artisan"],
#m-beauty:focus-visible ~ .chips [for="m-beauty"],
#m-garage:focus-visible ~ .chips [for="m-garage"],
#m-restaurant:focus-visible ~ .chips [for="m-restaurant"],
#m-retail:focus-visible ~ .chips [for="m-retail"],
#m-consulting:focus-visible ~ .chips [for="m-consulting"],
#m-real-estate:focus-visible ~ .chips [for="m-real-estate"] { outline: 2px solid var(--ink); outline-offset: 3px; }

#m-artisan:checked ~ #p-artisan,
#m-beauty:checked ~ #p-beauty,
#m-garage:checked ~ #p-garage,
#m-restaurant:checked ~ #p-restaurant,
#m-retail:checked ~ #p-retail,
#m-consulting:checked ~ #p-consulting,
#m-real-estate:checked ~ #p-real-estate { display: block; }

/* Cartes simples (étapes, données) */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ol.cards { list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; min-width: 0; }
.card h3 { font-size: 21px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--inverse); color: var(--on-inverse); display: grid; place-items: center; font-weight: 600; font-size: 15px; margin-bottom: 32px; }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; margin-bottom: 32px; }
.ico .i { width: 22px; height: 22px; }

/* Tarifs : l'offre recommandée est cernée de noir. */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; border: 1.5px solid transparent; }
.plan.featured { border-color: var(--inverse); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { margin: 0; }
.badge { font-size: 12.5px; font-weight: 600; background: var(--inverse); color: var(--on-inverse); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.price { font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -0.04em; margin: 20px 0 0; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; display: grid; gap: 10px; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink); }
.plan li .i { width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.4; }
.plan .btn { width: 100%; }
.after { text-align: center; color: var(--ink-3); font-size: 14.5px; margin: 28px 0 0; }

/* Questions : rangées grises, signe dans une pastille blanche. */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
details { background: var(--card); border-radius: 20px; padding: 0 24px; }
summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-weight: 500; font-size: 18px; letter-spacing: -0.015em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background-color: var(--bg); background-repeat: no-repeat;
  background-position: center; background-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191C1F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
}
details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191C1F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
details p { margin: 0; padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* Appel final : grande carte noire. */
/* Entre deux sections : l'espace vient de leurs marges. */
.final { padding: 0; }
.final-card { background: var(--inverse); color: var(--on-inverse); border-radius: 32px; padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px); text-align: center; }
.final-card p { color: var(--on-inverse-2); margin: 0 auto 32px; max-width: 34em; font-size: clamp(17px, 1.7vw, 19px); }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 36px 0 52px; color: var(--ink-3); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

/* Pages légales */
.doc { max-width: 780px; padding: 72px 24px 96px; margin: 0 auto; }
.doc h1 { font-size: clamp(36px, 5.4vw, 54px); line-height: 1.06; margin: 0 0 12px; }
.doc .updated { color: var(--ink-3); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; margin: 48px 0 12px; }
.doc h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc ul { padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .doc { padding: 44px 16px 72px; } .doc table { display: block; overflow-x: auto; } }
.todo { background: var(--raised); color: var(--ink); border-radius: 6px; padding: 1px 7px; font-weight: 600; white-space: nowrap; }
.notice { background: var(--card); border-radius: 18px; padding: 16px 20px; margin: 0 0 36px; font-size: 15px; color: var(--ink-2); }
.notice strong { color: var(--ink); }

/* Page introuvable */
.lost { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.lost .lead { margin-left: auto; margin-right: auto; }
.lost .cta { justify-content: center; }
