/* Site public de Fixi : présentation (décision 242), documents légaux,
   suppression du compte, FAQ. Couleurs et police de l'application. */
@font-face {
  font-family: "Readex Pro";
  src: url("/fonts/ReadexPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Readex Pro";
  src: url("/fonts/ReadexPro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Readex Pro";
  src: url("/fonts/ReadexPro-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Readex Pro";
  src: url("/fonts/ReadexPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --text: #1b1f2a;
  --muted: #5c6070;
  --background: #fbf9ff;
  --surface: #ffffff;
  --accent: #3049d6;
  --on-accent: #ffffff;
  --saffron: #f2a516;
  --soft: #e8ecfc;
  --line: #e1e0ea;
  --note: #fff4d6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ececf4;
    --muted: #adb0be;
    --background: #13141a;
    --surface: #1c1e27;
    --accent: #aab6ff;
    --on-accent: #121a52;
    --soft: #262a45;
    --line: #30323f;
    --note: #4d3a00;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.65 "Readex Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Tahoma, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
}

.top,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: 16px;
}

.home .top,
.home main,
.home footer {
  max-width: 1040px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.languages a {
  margin-inline-start: 12px;
}

main {
  padding-block: 8px 40px;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.3rem;
  margin-block: 2em 0.6em;
}

h3 {
  font-size: 1.05rem;
  margin-block: 1.4em 0.4em;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.draft,
blockquote {
  margin-inline: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--note);
}

mark {
  background: var(--note);
  color: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

th,
td {
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.documents li {
  margin-block: 8px;
}

/* --- Présentation --------------------------------------------------------- */

.hero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding-block: 32px 8px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 3.1rem);
  text-wrap: balance;
}

.hero img {
  justify-self: center;
  width: min(360px, 80vw);
}

.pitch {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.15rem;
}

.availability {
  color: var(--muted);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--on-accent);
}

/* « Bientôt » : annoncé, pas encore un lien. */
.button.soon {
  border-style: dashed;
  border-color: var(--line);
  color: var(--muted);
}

.button.saffron {
  border-color: var(--saffron);
  background: var(--saffron);
  color: #1b1f2a;
}

.steps,
.services,
.trust {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li,
.trust li,
.services li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.steps li {
  padding: 16px 18px;
  text-align: center;
}

.steps img {
  width: 180px;
}

.steps h3 {
  margin-block: 8px 4px;
}

.steps p,
.trust p {
  margin: 0;
  color: var(--muted);
}

.services {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.services li {
  padding: 14px;
  text-align: center;
  font-weight: 500;
}

.trust li {
  padding: 16px 18px;
}

.trust h3 {
  margin: 0 0 4px;
}

.pro {
  margin-top: 40px;
  padding: 8px 22px 12px;
  background: var(--soft);
  border-radius: 20px;
}

.pro h2 {
  margin-top: 16px;
}

/* --- Pied de page --------------------------------------------------------- */

footer {
  padding-block: 20px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

footer nav,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-note {
  color: var(--muted);
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
}
