/* =====================================================================
   Site public FalPay et pages de connexion (13/11/2026).
   Chargé APRÈS app.css et saas.css : même style plat que la console
   (cartes blanches à filet fin, pas de relief), plus les sections du site.
   ===================================================================== */
body.public { background: var(--bg); }
.top { border-bottom: 1px solid var(--line); box-shadow: none; }
.top .wrap { flex-wrap: nowrap; }
.top-nav a:not(.btn) { color: var(--ink-muted); font-weight: 500; }
.top-nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.s-burger { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: var(--radius-md); width: 42px; height: 42px; place-items: center; cursor: pointer; }
@media (max-width: 760px) {
  .s-burger { display: grid; }
  .top .wrap { flex-wrap: wrap; }
  .top-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 6px 0 14px; }
  .top-nav a { padding: 10px 4px; }
  .top-nav .btn { width: 100%; }
  body.nav-open .top-nav { display: flex; }
}

/* --------------------------------------------------------------- héros */
.s-hero { padding: 56px 0 40px; background:
  radial-gradient(50rem 24rem at 15% -10%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%); }
.s-hero-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.s-tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--brand); margin: 0 0 14px;
  background: color-mix(in srgb, var(--brand) 9%, transparent); padding: 4px 12px; border-radius: 999px; }
.s-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.s-hero h1 span { color: var(--brand); }
.s-lead { font-size: 1.12rem; color: var(--ink-muted); max-width: 34em; margin: 0 0 24px; }
.s-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.s-petit { display: block; font-size: .84rem; color: var(--ink-muted); margin-top: 12px; }
.s-tel { margin: 0; justify-self: center; width: min(300px, 100%); border-radius: 34px; padding: 10px;
  background: var(--ink); box-shadow: 0 24px 60px -24px rgba(16, 24, 40, .45); }
.s-tel img { display: block; width: 100%; height: auto; border-radius: 26px; }
.s-tel.petit { width: min(270px, 100%); }
@media (max-width: 860px) {
  .s-hero-grille { grid-template-columns: 1fr; }
  .s-hero .s-tel { width: min(250px, 80%); }
}

/* ------------------------------------------------------------ sections */
.s-bloc { padding: 64px 0; }
.s-alt { background: var(--surface); border-block: 1px solid var(--line); }
.s-bloc h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; margin: 0 0 22px; }
.s-etapes { list-style: none; counter-reset: e; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-etapes li { counter-increment: e; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.s-etapes li::before { content: counter(e); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 6px; }
.s-etapes span { color: var(--ink-muted); font-size: .94rem; }
.s-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-tuile { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: var(--bg); }
.s-tuile h3 { font-size: 1.02rem; margin: 0 0 6px; }
.s-tuile p { margin: 0; color: var(--ink-muted); font-size: .93rem; }
@media (max-width: 860px) { .s-etapes, .s-grille { grid-template-columns: 1fr; } }
.s-duo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.s-duo.s-inverse { grid-template-columns: minmax(0, 1fr) auto; }
.s-duo p { color: var(--ink-muted); }
.s-ecran { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(16, 24, 40, .35); }
.s-ecran img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .s-duo, .s-duo.s-inverse { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- prix */
.s-prix { display: grid; place-items: center; }
.s-offre { width: min(440px, 100%); background: var(--surface); border: 2px solid var(--brand); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.s-offre-l { font-size: .85rem; font-weight: 600; color: var(--brand); }
.s-offre strong { font-size: 2.4rem; letter-spacing: -.02em; }
.s-offre strong small { font-size: 1rem; color: var(--ink-muted); font-weight: 500; }
.s-offre .btn { width: 100%; }

/* ----------------------------------------------------------------- FAQ */
.s-faq { max-width: 760px; }
.s-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.s-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.s-faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.s-faq details[open] summary::after { content: "–"; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq p { color: var(--ink-muted); margin: 10px 0 0; }

/* ---------------------------------------------------------- développeurs */
.s-dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.s-dev p { color: var(--ink-muted); }
.s-dev .code { margin: 0; font-size: .82rem; overflow-x: auto; }
@media (max-width: 860px) { .s-dev { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ connexion / inscription */
.auth-side { background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); }
.auth .card { border: 1px solid var(--line); box-shadow: 0 12px 40px -24px rgba(16, 24, 40, .3); }
.auth-side .foot { background: transparent; color: inherit; opacity: .75; padding: 0; }
