/* Site vitrine mifol.app — partagé par toutes les pages */
:root {
  --bg: #F2F3FF;
  --surface: #FFFFFF;
  --text: #1E1B4B;
  --body: #475467;
  --muted: #78716c;
  --brand: #2B58FF;
  --brand-hover: #1F45E0;
  --line: #EAECF0;
  --shadow: 0 2px 0 #dde1f0;
  --gradient: linear-gradient(135deg, #2B58FF 0%, #7B3FE4 55%, #FF7A45 100%);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); font-weight: 600; text-underline-offset: 2px; }
strong { color: var(--text); font-weight: 600; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ===== Header ===== */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 19px; text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--body); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.link-quiet { color: var(--body); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-quiet:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; border-radius: 10px; padding: 10px 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.btn:hover { background: var(--brand-hover); }
.btn-lg { font-size: 17px; padding: 14px 24px; border-radius: 12px; }

@media (max-width: 720px) {
  .nav { display: none; }
  .site-header .container { gap: 12px; }
  .header-actions { gap: 14px; }
}

/* ===== Accueil ===== */
.hero { padding: 72px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--text); font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero p { font-size: 19px; margin: 0 0 28px; max-width: 30em; }
.hero-art { background: var(--surface); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.hero-art img { display: block; width: 100%; height: auto; }
.hint { font-size: 14px; color: var(--muted); margin-top: 12px; }

@media (max-width: 860px) {
  .hero { padding: 40px 0 32px; }
  .hero .container { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
}

.section { padding: 56px 0; }
.section h2 { color: var(--text); font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 32px; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) {
  .section { padding: 40px 0; }
  .section h2 { font-size: 26px; margin-bottom: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.card .emoji { font-size: 32px; line-height: 1; margin-bottom: 14px; }
.card h3 { color: var(--text); font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.card p { margin: 0; }

.cta-band { background: var(--gradient); border-radius: 28px; padding: 48px 24px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 20px; }
.cta-band .btn { background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: #F2F3FF; }

.site-footer { padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ===== Pages de texte (confidentialité…) ===== */
.doc { max-width: 680px; margin: 0 auto; padding: 32px 16px 24px; }
.doc-hero { border-radius: 24px; padding: 28px 24px; margin-bottom: 20px; color: #fff; background: var(--gradient); }
.doc-hero h1 { margin: 0 0 6px; font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.doc-hero p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.doc-hero .updated { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.7); }
.doc section { background: var(--surface); border-radius: 20px; padding: 20px 20px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 12px; }
.doc h2 { margin: 0 0 8px; color: var(--text); font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.doc p { margin: 0 0 8px; }
.doc p:last-child { margin-bottom: 0; }
.doc ul { list-style: none; margin: 0; padding: 0; }
.doc li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.doc li:last-child { margin-bottom: 0; }
.doc li::before { content: ''; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
