/* Rondo — site vitrine + pages légales. Statique, zéro dépendance,
   hébergeable n'importe où (voir README.md). */

:root {
  --bg: #f7f4ef;
  --bg-raised: #ffffff;
  --text: #1c1712;
  --text-muted: #6b6259;
  --border: #e4ddd2;
  --accent: #c76a2e;
  --accent-ink: #ffffff;
  --code-bg: #efe8db;
  --max: 700px;
  --max-wide: 980px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141114;
    --bg-raised: #1d191b;
    --text: #f3ede4;
    --text-muted: #a89e92;
    --border: #322c2b;
    --accent: #e08a4d;
    --accent-ink: #1c1712;
    --code-bg: #241f1c;
  }
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header.site {
  border-bottom: 1px solid var(--border);
}

.site-bar {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand .mark svg {
  width: 15px;
  height: 15px;
}

nav.top {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

nav.top .langs {
  display: flex;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

nav.top .langs a {
  color: var(--text-muted);
  padding: 2px 4px;
}

nav.top .langs a.current {
  color: var(--accent);
  font-weight: 700;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

main.wide {
  max-width: var(--max-wide);
}

/* ---- landing ---- */

.hero {
  text-align: center;
  padding: 40px 0 8px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 30px;
}

.hero .cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn.primary:hover {
  text-decoration: none;
  opacity: 0.92;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn.ghost:hover {
  text-decoration: none;
  border-color: var(--accent);
}

.mockups {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 48px 0 8px;
}

.phone {
  width: 220px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

.phone-caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.mockup-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  margin: 88px 0;
}

.section h2 {
  font-size: 26px;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 8px;
}

.section p.sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.card .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card .icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.list-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

@media (max-width: 560px) {
  .list-features {
    grid-template-columns: 1fr;
  }
}

.list-features li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  align-items: flex-start;
}

.list-features li svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  margin-top: 2px;
}

.pricing {
  display: flex;
  justify-content: center;
}

.pricing .card {
  max-width: 380px;
  text-align: center;
}

.pricing .price {
  font-size: 34px;
  font-weight: 800;
  margin: 12px 0 4px;
}

.pricing .price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-bar {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bar nav {
  display: flex;
  gap: 16px;
}

/* ---- legal pages ---- */

.doc h1 {
  font-size: 30px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.doc .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.doc h2 {
  font-size: 19px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.doc p,
.doc li {
  font-size: 15.5px;
  color: var(--text);
}

.doc p {
  margin: 0 0 14px;
}

.doc ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.doc a {
  word-break: break-word;
}

.doc code {
  background: var(--code-bg);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.92em;
}

.doc-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}

.doc-nav a {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.doc-nav a.current {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}
