/* IQurve site: the app's colours (CONCEPT.md, "Identité visuelle") and its
   Sora font, served from this site (nothing loaded from Google Fonts). */

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

:root {
  --night: #1e3a8a;
  --yellow: #ffc233;
  --bg: #f2f6ff;
  --card: #ffffff;
  --text: #1a1c22;
  --muted: #545a6b;
  --line: #d5dbea;
  --accent: #1e3a8a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1530;
    --card: #14204a;
    --text: #e8ecf8;
    --muted: #a9b2cc;
    --line: #2a3766;
    --accent: #b7c8ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); }
main, header, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
header .home { text-decoration: none; color: var(--accent); font-size: 1.3rem; }
header .home b { font-weight: 600; }
header .lang { font-size: 0.9rem; }

.hero { text-align: center; padding: 40px 0 20px; }
.hero svg { width: min(320px, 80%); height: auto; }
.logo { font-size: clamp(3rem, 12vw, 4.5rem); color: var(--accent); margin: -10px 0 4px; letter-spacing: -0.02em; }
.logo b { font-weight: 600; }
.tagline { font-size: 1.25rem; margin: 0 0 28px; }
.soon {
  display: inline-block;
  background: var(--yellow);
  color: #1e3a8a;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 28px;
}

.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 32px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h2 { font-size: 1.1rem; margin: 0 0 6px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); }

.page { padding: 24px 0 8px; }
.page h1 { font-weight: 600; font-size: 1.8rem; line-height: 1.25; }
.page h2 { font-weight: 600; font-size: 1.2rem; margin-top: 2em; }
.page .updated { color: var(--muted); font-size: 0.9rem; }
.page li { margin: 0.3em 0; }

.note { color: var(--muted); font-size: 0.9rem; text-align: center; }

footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 20px 16px 32px; font-size: 0.9rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
