/* Pages publiques (accueil, confidentialité, conditions) */
:root {
  --blue: #1a73e8; --blue-dark: #1558b8; --ink: #1a1a1a; --muted: #5f6368;
  --line: #e2e2e2; --soft: #f6f7f9; --tint: #e8f0fe;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: var(--blue); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand svg { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 0.92rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-block; padding: 9px 16px; border-radius: 8px; background: var(--blue); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.btn:hover { background: var(--blue-dark); }
.btn.ghost { background: #fff; color: var(--blue) !important; border: 1px solid var(--line); }

.hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 0 16px; }
.hero p { max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; color: var(--muted); }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

section { padding: 48px 0; }
section.alt { background: var(--soft); }
h2 { font-size: 1.5rem; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.icon-badge { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 12px; }
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(s); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.note { font-size: 0.85rem; color: var(--muted); }

.doc { padding: 40px 0 64px; max-width: 760px; }
.doc h1 { font-size: 2rem; margin: 0 0 4px; }
.doc .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.doc h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.doc p, .doc li { color: #333; }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--soft); }
.callout { background: var(--tint); border-radius: 10px; padding: 14px 16px; margin: 16px 0; font-size: 0.95rem; }
.todo { background: #fff3cd; border-radius: 4px; padding: 0 4px; }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 28px 0; font-size: 0.88rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); margin-right: 16px; }

@media (max-width: 600px) {
  .site-nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 40px; }
}
.grid.four { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
