/* FrancMac — landing (CSS maison, sans build). Sobre, navy + accent doré. */
:root {
  /* Palette de l'app FrancMac : bleu foncé + or (cohérence app ↔ landing). */
  --navy: #131c2e;    /* bleu très foncé de l'app (header, hero, brand) */
  --navy-2: #0b1220;  /* fond sombre de l'app (dégradés) */
  --gold: #c9a227;    /* accent (CTA, détails) */
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --bg: #f5f6f8;
  --card: #ffffff;
  --max: 1040px;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { background: var(--navy); color: #fff; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; letter-spacing: .02em; }
.brand .dot { width: 32px; height: 32px; display: inline-block; flex: none;
  background: url('../logo_mark.svg') center/contain no-repeat; }
header.site nav a { color: #dfe4f0; text-decoration: none; margin-left: 20px; font-size: 15px; }
header.site nav a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 15px; font-family: inherit; }
.btn.primary { background: var(--gold); color: #2a2000; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn.ghost:hover { border-color: #fff; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 72px 0 80px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; font-weight: 800; }
.hero p.lead { font-size: 19px; color: #d7dcea; max-width: 640px; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 13px; color: #aeb6cc; }

/* Sections */
section.block { padding: 64px 0; }
section.block h2 { font-size: 26px; margin: 0 0 8px; color: var(--navy); }
section.block .sub { color: var(--muted); margin: 0 0 32px; max-width: 620px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(201,162,39,.15); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.band { background: var(--navy); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band .sub { color: #c8cee0; margin-left: auto; margin-right: auto; }

/* Forms */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .req { color: #c0392b; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid #cdd0da; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(20,54,122,.18); }
textarea { resize: vertical; min-height: 110px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; display: none; }
.form-msg.error { display: block; background: #fdecea; border: 1px solid #f3c2bd; color: #9c2c20; }
.hint { color: var(--muted); font-size: 13px; }

/* Prose (legal pages) */
.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.prose h1 { font-size: 30px; color: var(--navy); margin-top: 0; }
.prose h2 { font-size: 20px; color: var(--navy); margin-top: 30px; }
.prose p, .prose li { color: #33373f; }
.prose .updated { color: var(--muted); font-size: 13px; }

/* Footer */
footer.site { background: #0b1220; color: #aeb6cc; padding: 32px 0; font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.site a { color: #cfd6e6; text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: #fff; }

@media (max-width: 560px) {
  .hero h1 { font-size: 30px; }
  .row2 { grid-template-columns: 1fr; }
  header.site nav a { margin-left: 12px; font-size: 14px; }
}
